Society of Robots - Robot Forum

Software => Software => Topic started by: darthvader5500 on April 25, 2010, 04:13:04 AM

Title: Programming (where can I learn the basics)
Post by: darthvader5500 on April 25, 2010, 04:13:04 AM
Hey guys, I'm making a robot for a school project, its gonna have 4 wheels, be controlled from my computer via bluetooth, and maybe have an arm or 2. I might simplify it if it proves too complex. I'm new to programming, so, my question is, can someone give me a site where I can learn the basics of programming? I'm probably gonna use an AVR microcontroller, if that helps.
Title: Re: Programming (where can I learn the basics)
Post by: Choco_liger on April 25, 2010, 04:37:54 AM
http://www.docstoc.com/docs/23921067/Tutorial-on-Bluetooth-Programming/ (http://www.docstoc.com/docs/23921067/Tutorial-on-Bluetooth-Programming/)

This maybe?

The links from the thing might help too.
Sorry if this doesn't help. I don't know much about bluetooth or programming either.
Title: Re: Programming (where can I learn the basics)
Post by: corrado33 on April 25, 2010, 08:28:54 AM
One of the most commonly used languages to program AVRs is C.  Here's the first site that popped up on google.

http://www.cprogramming.com/ (http://www.cprogramming.com/)

C programming isn't that hard, it's all formatting.  Try to look at the tutorials on that site, then ask questions here. 

Here's that site's C tutorial..

http://www.cprogramming.com/tutorial/c/lesson1.html (http://www.cprogramming.com/tutorial/c/lesson1.html)

I read through a little of it, it seems pretty good.

EDIT:  You need to learn how to program in C before you even think about programming an AVRs.  I would simply trying to run programs on the computer before you try to make a robot do anything.

Since you're a student, you can go to this website...

https://www.dreamspark.com/default.aspx (https://www.dreamspark.com/default.aspx)

to download visual studio.  This will let you make C programs and run them on your computer.