Microcontroller Programming

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Microcontroller Programming

Postby SilverToast » Fri Aug 16, 2013 6:42 pm

Does anyone program avr or pic microcontrollers?
What projects have you made with the microcontroller? How did you get started on programming microcontrollers?
User avatar
SilverToast
 
Posts: 294
Joined: Thu Jun 14, 2012 7:42 pm
Location: Here and there.

Re: Microcontroller Programming

Postby shooraijin » Sat Aug 17, 2013 9:12 pm

What are you planning to do with it? The PIC is probably easier to program, but the AVR is arguably more flexible; see http://www.electricstuff.co.uk/picvsavr.html

You might be better served by something like a BASIC Stamp or an Arduino for a first project; they're a lot easier to get started with.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Re: Microcontroller Programming

Postby SilverToast » Sun Aug 18, 2013 9:00 am

Thanks for the link!

I'm planning to make a robot that launches light weight objects like a ping pong ball or tennis ball at a certain angle using a spring and servos. I hope I can make/use an external program to calculate something like at what inital velocity do I need to launch the ball to get it at this position using this angle. It would take a while for me to do this.

I actually started with an arduino uno, but I got bored with the Arduino IDE. I already knew some C++ before I got an arduino so I thought I would move up from Arduino libraries to AVR. I use the linux AVR-GCC toolchain now to code and upload to the arduino uno through its bootloader.
Right now I'm just learning AVR basics.

I'll have to try pic's soon and other avr's.
User avatar
SilverToast
 
Posts: 294
Joined: Thu Jun 14, 2012 7:42 pm
Location: Here and there.

Re: Microcontroller Programming

Postby shooraijin » Mon Aug 19, 2013 5:53 pm

If you're used to AVR, then just stick with that. What you're looking to do is well within the capabilities of either architecture, and I think AVR will give you room to grow.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 121 guests