Jeenodes, Jeelinks, USB BUBs and AA Power Boards

Although the basic principle of "50 things you can do with a keg" should hold regardless of the application of electronics and household electricity, you will derive the most labor saving and automation from their use where available.

It would be possible to brew beer or do in-vessel hot composting making good use (and re-use) of the keg without computers or electronics or electricity at all and development along these lines should be of great importance if for no other reason than that they increase the portability and resource security of operations overall.

For those willing and able to pick up some new and useful skills (mostly some light soldering and copy-pasting code and copying video tutorials exactly) the trick of open source electronics should not elude you.

That being said, most of the sensors and actuators involve four electronic devices.

  • A JeeLink - JL0030 which acts as the central node and tie-in to your (hopefully linux, but it works on Windows/Mac as well) computer.
  • One or more JeeNodes - JL0010, a low-cost radio-enabled arduino variant. Think of it as just the brains of a small computer, with no monitor or keyboard, with low power use and low data rates.
  • One AA Power board - JL0560 for each JeeNode you want to run wirelessly, for use with NiMh rechargeable AA batteries.
  • USB BUB II - MD0206 which allows you to turn any mini-USB cable (comes included) into an FTDI cable to hook the JeeLink/Nodes up to your PC. Or you can get the MD0205 which doesn't come with a mini-USB cable, in the event you already have a bunch of these lying around.

Hook a temperature sensor up to a JeeNode and it becomes a radio-enabled thermometer in a mesh network. Use of SSRs to control your typical (american) home's 120 volt power supply to a heat stick gives you a physical actuator.

This use of mesh networks to control sensors and actuators to reduce or even eliminate labor in agricultural, industrial and culinary processes is known as SCADA

Jeenode v6

USB BUB II

Ought there to be a video on how to solder the USB BUB II for particular versions of the Jeenode?

After soldering the USB BUB II and Jeenode v6, just follow this (but ignore the POF and just stick an LED on the board, no soldering necessary). It may be that not every USB port works so try to find one that doesn't throw an error in the Arduino IDE. Try editing the 500 to give different time values like 3000 on and 2000 off (3 seconds on, 2 seconds off) to see that it works.

http://jeelabs.net/projects/cafe/wiki/Pof_02_hello_world

http://jeelabs.net/projects/cafe/wiki/First_steps

If for some reason your JeeLink doesn't have the RF12demo sketch, I assume you have to check this out??? http://jeelabs.org/2009/05/07/rf12-configuration-in-eeprom/

How does all this transfer between PC and JeeNode work anyway? http://jeelabs.org/2010/07/04/uploading-isp-ftdi-huh/

Sometimes if you get gibberish in the Serial Monitor (terminal in the Arduino IDE) it means you have to set the baud differently.

JeeMon is kind of like the Drupal of physical computing. Still in its early stages. Executables for this open source project can be found here http://jeelabs.org/pub/jeemon/

Building a soldering workshop

Thank you for your order from www.elexp.com.

Your order number is XXXXXX. Your order will be processed shortly. Your credit card will be charged only when we ship the order.

You have ordered the following:

Qty Description Unit Amount

1 (0605258) Xytronic Variable $17.90 $17.90 Temperature Soldering Iron Model 258

1 (060842) RSR Soldering Iron Stand $3.95 $3.95 Sheetmetal Stand With Sponge

1 (060836) RSR Helping Hand and $3.95 $3.95 Magnifier Set

1 (0602JIC2030) Versatile Stripper and $9.95 $9.95 Cutter 20-30 AWG

1 (060210) Mini Long Nose Pliers $1.95 $1.95 4-One-Half In.

1 (0602MS01) Xcelite Flush Cutter Model $5.81 $5.81 170M WEB SPECIAL

1 (0603TTLF) Tip Tinner - Lead Free $5.75 $5.75 one-hlf oz.

1 (060702) Solder Roll 0.031 In. 1lb. $15.90 $15.90

                                   Subtotal:                $65.16
                                   Shipping & Handling:     $9.00
                                   Total:                   $74.16

Setting up the Arduino IDE for JeeNodes

cd $HOME
mkdir temp999
cd temp999
wget https://github.com/jcw/jeelib/tarball/master
sudo tar xvf master (so it's owned by root)
sudo find / -name libraries | grep arduino
sudo mv j* /usr/share/arduino/libraries/JeeLib (or where ever your libraries folder is)
cd ..
rm -r temp999

Software for jeelinks

Plug in your jeelink to a USB port. Try different ports if it's not showing up.
Start up the Arduino IDE.
Set the board type to Arduino Uno.
Set the COM or port to the correct USB port. It's best to have only one device (jeelink or jeenode) plugged in at one time so you don't accidentally overwrite the wrong device.
Verify and upload this modified jeelink code

Software for jeenodes

Plug in your jeenode into your USB-BUB II.
Plug the USB-BUB II into a USB port. Try different ports if it's not showing up.
Start up the Arduino IDE.
Set the board type to Arduino Duemilanova w/ Atmega328.
Set the COM or port to the correct USB port. It's best to have only one device (jeelink or jeenode) plugged in at one time so you don't accidentally overwrite the wrong device.
Copy/paste the appropriate code into the window.
Click the Upload button (rightward pointing arrow) to upload your code.

Code:
Temperature sensor
Heat stick

Soldering a USB-BUB II

I only soldered one part onto mine to get configuration 1 from here

Soldering a jeenode

The particular version of jeenode we'll be doing is version 6. Instructions are the same as for version 5 here.

Soldering an AA Power Board

Note that you don't actually need an AA power board to run a jeenode. It's just a way to make jeenodes run off a single AA battery. [FIXME: Need to find a picture of how to hook up a jeenode without the AA power board]

I run my jeenodes off Apple rechargeable batteries. Apple, yuck. But it's environmentally friendly and the cheap option until Open Source Ecology solves this for the open source hardware community.

I have mine in "inline" mode as seen here which only requires me to solder:

  • the two clips for the battery
  • the FTDI header (same as the USB-BUB II)