Society of Robots - Robot Forum
Mechanics and Construction => Mechanics and Construction => Topic started 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.
-
program goes into the microcontroller
-
what part of the micro controller
-
please read the tutorial and follow the instructions
It will show you how to program a microcontroller
-
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.
-
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.
-
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.
-
So if I buy everything for the $50 robot I will be covered and wont need to buy any memory things?
-
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