Skip to content

Latest commit

 

History

History

devices

homlet devices

DIY devices for homlet.

Jeenode

Jeenode design by JC Wippler: http://jeelabs.net/projects/hardware/wiki/JeeNode

References

TinyTX

TinyTX design by Nathan Chantrell: https://web.archive.org/web/20200925223440/https://nathan.chantrell.net/tinytx-wireless-sensor/

Setup

Arduino IDE Setup (on my Mac):

      #include “Arduino.h”       // for delayMicroseconds, digitalPinToBitMask, etc

add:

      #include “pins_arduino.h”  // for digitalPinToBitMask, etc
  • Install DallasTemperature lib into ~/Documents/Arduino/libraries/DallasTemperature/
  • Install Jeelib into ~/Documents/Arduino/libraries/jeelib/

Programmer setup:

Program ATTiny84:

  • Setup ATTiny support in Arduino thanks to: http://code.google.com/p/arduino-tiny
  • Select Tools/Board > ATtiny84 @ 8Mhz (internal oscillator; BOD disabled)
  • Select Tools/Programmer/USBasp
  • Select Tools/Burn Bootloader. Note that this isn’t actually burning a bootloader to the ATtiny (it doesn’t use one), it is just using this function to set the AVR fuses to configure the oscillator at 8MHz.
  • Upload a TinyTX_* sketch

Build circuit:

Issues:

  • If the sketch is stuck during call to rf12_sendWait then Burn Bootloader to fix the issue

References