Monday, April 19, 2010

[DIY] how to start programming with arduino


  1. Download image from the arduino website.
  2. Extract the downloaded file into a folderimage
  3. proceed to \drivers\FTDI USB Drivers and make sure the drivers are in it.
image
  1. Plug in arduino to the computer using the provided USB cable.
  2. When it prompts to install driver for the USB to serial converter, point it to the location where 3. is located.
  3. After installing complete, a reboot is necessary.
  4. Click on image to start programming.





<>
  1. This is how the IDE looks like.
  2. each project is called a sketchimage
  3. In this location, there are sample codes on how the arduino can be used. We will use file->examples->digital->button.image
  4. Make the connections for the LED and the switch. Connect JC1 to pin 2 and LED (JC2) to pin 13.
  5. Click on play buttonimage to start compiling. Once compiled, below screen will be shown. image
  6. Click on image to upload it to arduino.
  7. Press reset button on arduino after download to start the code uploaded.
  8. Happy programming.

No comments: