Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: geek1 on December 26, 2008, 07:02:07 AM

Title: Roboduino help for a noob
Post by: geek1 on December 26, 2008, 07:02:07 AM
Hi guys, keep in mind I am a total noob so please bear with me. I was just wondering if anyone could tell me how to connect the Roboduino to my PC?

Thanks
Title: Re: Roboduino help for a noob
Post by: Ro-Bot-X on December 26, 2008, 07:35:29 AM
Easy! Use the USB cable that comes with the kit, download the Arduino software from Arduino website (http://www.arduino.cc/en/), install the drivers as per the instructions on the Getting Started (http://arduino.cc/en/Guide/Windows) page, write your sketch in Arduino, download it to the Roboduino! You can open the Serial Monitor to send data and receive (Serial.print) data or you can use Hyperterminal for the same thing. Make sure you select the correct Com port at the same speed you declared it in your sketch (default 9600 bps).
Title: Re: Roboduino help for a noob
Post by: geek1 on December 26, 2008, 10:13:53 AM
does that work if I'm programming in straight C?
Title: Re: Roboduino help for a noob
Post by: airman00 on December 26, 2008, 10:23:41 AM
does that work if I'm programming in straight C?
if you are programming in straight C you will need to use a hardware programmer to program in the C.

I think the Arduino bootloader might also accept straight C - can someone verify this for me?
Title: Re: Roboduino help for a noob
Post by: geek1 on December 26, 2008, 10:25:34 AM
does that work if I'm programming in straight C?
if you are programming in straight C you will need to use a hardware programmer to program in the C.

I think the Arduino bootloader might also accept straight C - can someone verify this for me?

what is a hardware programmer?
Title: Re: Roboduino help for a noob
Post by: airman00 on December 26, 2008, 10:31:58 AM
this is a hardware programmer
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3808

I'm pretty sure you won't need a hardware programmer and could just use the Arduino bootloader. I'll look around online right now. \
EDIT: I even think the Arduino environment can handle regular C, after all the Arduino library is written in C.

I'll get you an answer by Monday.
Title: Re: Roboduino help for a noob
Post by: geek1 on December 26, 2008, 12:18:28 PM
thanks airman00, you have been a great help with all my problems so far, thanks again!!! :D :D :D :D :D :D :D :D :D :D :D
Title: Re: Roboduino help for a noob
Post by: geek1 on December 26, 2008, 04:13:19 PM
hey airman, 1 more quick question, could you tell me how to connect a DC motor to Roboduino?
Title: Re: Roboduino help for a noob
Post by: airman00 on December 26, 2008, 04:40:16 PM
hey airman, 1 more quick question, could you tell me how to connect a DC motor to Roboduino?
you'd need a motor controller
Pololu has some nice ones
Title: Re: Roboduino help for a noob
Post by: Ro-Bot-X on December 26, 2008, 06:49:07 PM
Arduino bootloader emulates STK500 protocol to upload the hex file. You can write the code in AVR Studio (plain C) and use AVR Dude to upload the hex file after you make it. Just select STK500 as a programmer in AVR dude.
Title: Re: Roboduino help for a noob
Post by: RoBoTicS on December 31, 2008, 01:23:47 PM
Awesome thanks Ro-Bot-X