Society of Robots - Robot Forum

Mechanics and Construction => Mechanics and Construction => Topic started by: offy on September 01, 2008, 04:43:35 PM

Title: $50 Robot Help
Post by: offy on September 01, 2008, 04:43:35 PM
I have started building my robot and I have been clueless on where the program goes. There seems to be no memory on the board I am building. Does the memory go in one of the other components I have? This is my first robot so I may have some very stupid questions.
Title: Re: $50 Robot Help
Post by: airman00 on September 01, 2008, 06:57:36 PM
program goes into the microcontroller
Title: Re: $50 Robot Help
Post by: offy on September 01, 2008, 07:03:45 PM
what part of the micro controller
Title: Re: $50 Robot Help
Post by: airman00 on September 01, 2008, 07:05:12 PM
please read the tutorial and follow the instructions

It will show you how to program a microcontroller
Title: Re: $50 Robot Help
Post by: offy on September 01, 2008, 07:11:31 PM
I know how to program it but what part of the microcontroller holds the program. There is no memory on it, atleast I don't think there is.
Title: Re: $50 Robot Help
Post by: MarkBrown on September 01, 2008, 07:45:00 PM
The ATmega8 chip that the tutorial has you buy has memory on it.  Learning how to program the chip isn't just writting the software, it also getting the software onto the chip.  The $50 robot was my first robot too and following the instructions taught me everything I needed to know to get the bot up and running.

Title: Re: $50 Robot Help
Post by: Webbot on September 01, 2008, 08:08:16 PM
I know how to program it but what part of the microcontroller holds the program. There is no memory on it, atleast I don't think there is.

Your micro-controller has lots of different sorts of memory contained within it - ie memory for holding the program you send down to it (that 'remembers' its contents in between power off/on, temporary memory used for storing variable etc whilst your program is running (thrown away when you power off/on).

Check the datasheet for the ATMega8. Google for 'atmega8 datasheet' and look at the PDFs.




Title: Re: $50 Robot Help
Post by: offy on September 02, 2008, 02:30:44 PM
So if I buy everything for the $50 robot I will be covered and wont need to buy any memory things?
Title: Re: $50 Robot Help
Post by: airman00 on September 02, 2008, 02:38:11 PM
So if I buy everything for the $50 robot I will be covered and wont need to buy any memory things?

yes

follow the instructions word for word