Hi, I am working on a robot that is going to run on its own computer programing. However, I do not know how to program a CPU or hardrive for my robot. Furthermore, I am using air muscles and puller systems for the movement of the robot, except I need to control those functions with a computer. However how do you do that?
Yes I already know about them, however it says on their website that these circuit boards respond to outside occurences? I don't know if I'm being clear, but for example, it responds to light or sound. Also it is supposed to connect to a computer. What about a CPU by itself or some other harddrive/ hardware? Also can you program those circuit boards?
The Arduino is what you want to read analog(Light Temp etc) signals. It has 6 Analog inputs. To connect it to a computer you will need to buy either a Ethernet Shield or buy the Arduino with ethernet.
The other option is you could use a Raspberry Pi as this has ethernet built in and has a 32bit CPU for around the same cost as the Arduino what the Pi is lacking is Analog inputs so you would need to buy some ADC converters to convert the Analog signal to digital or buy a Arduino and attach it by USB.
If you need power go for the Pi. If you need simplicity go for the Arduino.
You will also need something to drive the motors as the Arduino can only output about 40mA and i think the Pi is much the same. That could just be something as simple as MOSFETS to something more complicated like a motor controller. You will need to test the motor under load as they can suck up the power. Which will effect your choice in controller.
Edit yes you program them. The chip is a ATTMega the Arduino is the programming side of things.
+1 for Lego. For 11 years they made a loss until they came up with Mind Storm, made it hackable, and it became an overnight success (from documentary on Discovery Channel). You buy a basic kit and it contains Bluetooth (and WiFi?) for controlling your robot.
Thanks for the advice. I will shop around a bit. But, I don't understand something: do you directly program the different switches like Arduino or do you connect it to another programed computer. Also, does Ardino only connect into computers or does it also connect into CPUs/Circuit boards? I am trying to make the robot compact by including the CPU inside the robot, so that it acts on program and I don't control it manually. However, I am not sure how to do this. So far I just compiled the code in C++ and casted the metal parts of the robot, I am having trouble figuring out how to control the limbs and ect.
The ATMega it self is a very basic 8-Bit CPU. Arduino is a language built on top of the ATMega. So it can run stand alone or it can communicate via Serial Communication over USB or you can use Ethernet and control it via TCP/IP. It can also go via wireless such as bluetooth and wi-fi or Zigbee but these will be add on boards.
So on your computer you can create a script to send commands to the Arduino via either method. So on the computer I can start up a serial connection and just send F(or some other key) the Arduino can then tell that you have sent the letter F and then do a task based on that. The Arduino can also send data back so it can tell the computer when the task has been done.
The Arduino has a set of Pin's that are GPIO(General Purpose Inputs Outputs) These pins can be set High and Low so in effect the Pin's on the Arduino are Computer Controlled Switches. The only issues is that they can only output about 40mA which will be far less than the motors will require. To fix this what you need to do is add MOSFET's this will let you put more current into the motors. More info about this here. http://bildr.org/2012/03/rfp30n06le-arduino/
There is loads more info about the Arduino on wikipedia http://en.wikipedia.org/wiki/Arduino There is also more examples here http://arduino.cc/en/Tutorial/HomePage More about the Arduino serial communication. http://arduino.cc/en/Reference/Serial