The Arduino IDE has a sketch to turn an Arduino into a programmer, so you upload that sketch to the Arduino, then connect up as described here.
Once connected, use the Arduino IDE, and select tools, programmer, Arduino as ISP.
Then tools, burn bootloader.
This is the wiring/circuit from the Arduino.cc site guide linked to higher up.
From Blackpool GNU Linux User Group |
The USB to serial module to the right of the breadboard can be bought on Ebay for less than £1.50p here:-
http://www.ebay.co.uk/itm/190685792376?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649
The windows driver, for vista/7/8 is here:- http://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.aspxThis is Cefn’s picture of how to attach the USB module
With USB attached like this, no external power supply or batteries are required, and you can use it in exactly the same way as a £20 Arduino Uno.
The finished stripboard version, which can use external power, or be powered by USB.
From meetings |
Moving on to connecting wireless transceivers. The aim is to allow an arduino fitted with one of these transceivers and a temperature sensor to send data back to a second arduino acting as a base station. The two in the picture below are managing about 12 metres range through walls, and should allow me to place temperature sensors all over the house. I am following information found on this site. Open energy monitoring project
From Blackpool GNU Linux User Group |
The next step will be to build these temperature sensor boards up on stripboard, and set them up with battery power, and power saving code, as described here:- http://interface.khm.de/index.php/lab/experiments/sleep_watchdog_battery/
Worth linking to the Optiloader alternative too. It's what we tend to use @ShrimpingIt. See the section “Getting your Shrimp working” at http://shrimping.it/blog/bill-of-materials/
LikeLike
For minimum complexity to do low power sleeping, you could look at the Jeelib loseSomeTime(…) utility for this…
http://jeelabs.org/2011/12/13/developing-a-low-power-sketch/
…as they are experts on low power, especially for sensor nodes…
http://jeelabs.org/tag/lowpower/
LikeLike
Thanks Cefn
LikeLike