RC India
Welcome Guest, please login or register.
 
Pages: [1]   Go Down
0 Members and 1 Guest are viewing this topic. Topic Tools Topic Tools 
Read
« on: January 31, 2013, 05:56:03 PM »
Bilal
Plane Lover
Forum Hero

*****

Reputation Power: 8 
Bilal has no influence.
Offline Offline

City: Hyderabad
State: Telangana
RC Skills: Intermediate
Posts: 546
Join Date: Mar, 2011

scratch builder and DIYer




Hello everyone,

I know this is off topic, but since I don't know a better place to ask for....so please bear with me

I want to learn microcontroller programing, but don't know where to begin with?
I know programing in C and C++ and little bit of basic electronics, like the function and use of transistors, diodes, mosfets etc.
I even did a workshop last year where we used picBASIC microcontroller to build and program a line follower robot, but everything in the kit was plug and play type and the entire emphasis of the workshop was on generating and implementing the code.....so I didn't learn much from it.  Bang Head
I want to learn stuff like controlling a dc motor and/or servo with a microcontroller and how to interface various sensors like IR and ultrasonic sensors with the microcontroller itself......but don't know where and how to start with........the large no of options available in microcontrollers like Atmega, Arduino, PIC, AVR confuse me to hell Head Scratching

So please suggest me some beginner friendly way to learn this stuff

thanx in advance
Bilal
Logged

Cessna - 184
Mr. Moss
Self-Design Glider
550 DIY Quad
Scratch Build TriCopter
VT-Allrounder
Telemaster 400
ZMR 250
 

Read
« Reply #1 on: January 31, 2013, 07:10:33 PM »
girishsarwal
Plane Lover
Forum Hero

*****

Reputation Power: 17 
girishsarwal has no influence.
Offline Offline

City: Gurgaon
State: Haryana
RC Skills: Beginner
Posts: 1420
Join Date: May, 2012

DIYer



Bilal

As a startup,

1. there are two major families of microcontrollers available for hobbyists, viz. PIC and AVR. PIC is an older microcontroller and uses higher voltages etc for programming etc, the AVR on the other hand is considered to be easier to learn and faster. They both have thire pros and cons
2. For both you would need a C compiler to compile your code, there are free tools for both
3. You will need a programmer, and probably a development board (you can build your own if you have some previous experience with soldering etc...)

two websites that will help you are:

http://www.extremeelectronics.com
http://maxembedded.wordpress.com

These are both done by Indian authors and can really get you started.

Hope that helps you to startup. Let me know if you have any questions.
GS
« Last Edit: January 31, 2013, 07:23:28 PM by anwar » Logged

gs
 

Read
« Reply #2 on: January 31, 2013, 07:26:21 PM »
Abhishek Goudar
Plane Lover
Senior Member
***

Reputation Power: 3 
Abhishek Goudar has no influence.
Offline Offline

City: Hubli
State: Karnataka
RC Skills: Beginner
Posts: 181
Join Date: Oct, 2012



Bilal,
I have been using microcontrollers as a part of my engineering course for a while now. And the choice certainly goes with the application. For starters, i would recommend arduino, it is very user friendly. It dispenses with all the intricate details of the core and basics. However if you are interested in learning through the basics, then PIC or AVR is a good substitute, however programming will be a tad difficult. For instance, the arduino environment has a built in library for servo rotation, which is easy to manipulate. With conventional approach through micro-controllers, you'll have to set up the timers, load basic values and make initializations Smiley
The same goes for interfacing the afro mentioned sensors Smiley So for a user friendly inception, arduino by and far the better approach Smiley
hope i could convey something useful Smiley
Logged
 

Read
« Reply #3 on: January 31, 2013, 07:37:01 PM »
rastsaurabh
Plane Lover
Forum Hero

*****

Reputation Power: 19 
rastsaurabh has no influence.
Offline Offline

City: Noida
State: Haryana
RC Skills: Intermediate
Posts: 1558
Join Date: Mar, 2012



Girish is the one who can guide in the RC way..... I already took first starting class yesterday night ...... Thumbs Up

regds
Saurabh
Logged
 

Read
« Reply #4 on: January 31, 2013, 07:48:15 PM »
girishsarwal
Plane Lover
Forum Hero

*****

Reputation Power: 17 
girishsarwal has no influence.
Offline Offline

City: Gurgaon
State: Haryana
RC Skills: Beginner
Posts: 1420
Join Date: May, 2012

DIYer



@rastsaurabh sir  Shocked
Please don't put me on an altar. I am here to bring whatever I know to the community.

Yes it totally depends on the application. Arduino is the way to go if you want to do a thing or two. If you really want to go kickass on stuff, native programming is useful. As a generality, uc programming is loads of sleepless nights, and if you go down the assembler route, only a few hours of sleep is what one gets. When you say c++, note that a very good understanding of pointers, pointer arithmetic, memory layouts, memory allocation and assignment, arrays, binary arithmetic, bits and bytes, octal, hexadecimal, binary etc and a strong base on how semiconductors wotk are more than just essential. uc programming simply starts where the class 12th course we get to do leaves us. And then there are preferences, I've always like to do the hard things first so the easy ones become a walk in the park Wink
Logged

gs
 

Read
« Reply #5 on: January 31, 2013, 08:13:58 PM »
KALYANPRODHAN
Global Moderator
Forum Hero

*****

Reputation Power: 17 
KALYANPRODHAN has no influence.
Offline Offline

City: Kolkata
State: West Bengal
RC Skills: Intermediate
Posts: 1584
Join Date: Jul, 2010

Information sharing improves knowledge of both.



try talkingelectronics site. google it.
Logged

We have to unite and to prove ourself to make indigenous products as well as marketing / Canvasing them. I'm sure we must achieve success if we try unitedly.
 

Read
« Reply #6 on: January 31, 2013, 08:21:11 PM »
jayantpradhan
Plane Lover
Senior Member

***

Reputation Power: 3 
jayantpradhan has no influence.
Offline Offline

City: purulia
State: West Bengal
RC Skills: Beginner
Posts: 192
Join Date: Oct, 2012

be the first one to crash....



picaxe microcontroller is the best way to learn programming and experimentation....... i can help you on all types of picaxe chips....
Logged

fan of scratch building......
 

Read
« Reply #7 on: January 31, 2013, 10:26:45 PM »
deepakkshr
Embedded Engineer
Plane Lover
Senior Member
***

Reputation Power: 2 
deepakkshr has no influence.
Offline Offline

City: Bangalore
State: Karnataka
RC Skills: Advanced
Posts: 120
Join Date: Dec, 2012



i would suggest you to go with arduino, its a great way to start, if your learning this for your projects, experiments. This will be very easy. No 0x00 or 0xFF   Grin ... There are many readily available arduino compatible sensors too. All you need to get is a arduino compatible hardware. That will cost from 700-4500.
visit www.arduni.cc
Logged
 

Pages: [1]   Go Up
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Want to learn Heli - Advise needed.
Beginners Zone
divay99 4 4285 Last post October 19, 2010, 11:57:10 AM
by ANTA
help needed for programming my ESC
Electric Power
Deepu5292 1 2752 Last post December 04, 2011, 05:34:46 PM
by Deepu5292
HobbyKing ESC Programming card needed
Wanted
Dharmik 1 2029 Last post February 13, 2012, 12:13:29 PM
by amitnautiyal93
how does a microcontroller acquires the control signals
Radios and Receivers
S_D 3 2184 Last post March 28, 2013, 09:46:51 PM
by S_D
ESC not arming wih microcontroller
Electric Power
vinayak_2020 3 2764 Last post February 20, 2014, 11:19:15 PM
by vinayak_2020