JeeNode, JeeLink and the Arduino IDE

The Arduino IDE is used to program and debug your Arduino-compatible boards. JeeLabs has a variety of Arduino-like boards. I use the following settings in the Arduino IDE:

On Mac OS X, the Serial port (Tools/Serial Port) should be set to a device named /dev/tty.usbserial-XXXXXXXX. The speed should be set at 57600 bps.

JeeLabs device Arduino IDE: Tools/Board
JeeLink v3 Arduino Uno
JeeNode v6 Arduino Duemilanove or Nano w/ ATmega328

TIP: If you have more than one board, multiple serial port devices will exist. You can easily find out the right one by checking the available entries first (in Tools/Serial Port), then plugging in the board, then checking again.

ZeroPlus LAP-C 16032 Logic Analyser

When working with digital electronics, a Logic Analyser can come in handy to display and decode all these signals. I recently bought an entry-level Logic Analyser with 16 channels – more than enough for testing and debugging my future JeeNode projects. It offers a large selection of downloadable Protocol Analysers. These software plugins are installed on your computer, and aid in interpreting bus signals like RS232, I2C, CAN and SMI.


The Zeroplus LAP-C 16032 comes with Windows-software. There is an Open Source project called “sigrok” that offers alternative software for the Zeroplus Logic Cube series of analysers. They also support Protocol Analysers in the form of Python plugins.


Apparently the Zeroplus LAP-C series can be modified to unlock new features, like sampling speed and memory depth.


Linkdump: Arduino and JeeLabs

Here’s a bunch of assorted links that I dug up searching for Arduino and JeeLabs stuff:


Data logging and reporting:

  • Live Graph – Plot and explore your data in real-time!
  • Pachube – Store, share & discover realtime sensor, energy and environment data from objects, devices & buildings around the world.



Rotary encoders:



Getting started with the RF12 wireless module on a JeeNode

I recently ordered a couple of JeeNode v6 boards. These boards are mostly Arduino-compatible (standard shields won’t fit) and optionally contain an RF12 radio module. They are ideal for creating wireless sensors.

On Mac OS X, the Arduino IDE stores your sketches in your home directory, under ~/Documents/Arduino. Open a Terminal window and type the following commands:

cd ~/Documents/Arduino
mkdir libraries
cd libraries
svn co svn://
svn co svn://

Done! The RF12 library is now installed. Do not forget the Ports library, or you will see errors like this:

RF12demo.cpp:7:19: error: Ports.h: No such file or directory

Restart the Arduino IDE. You should now see several new entries under File | Sketchbook | libraries | RF12. Open the RF12demo sketch and try to compile it. There should be no errors.

For a more meaningful demonstration you will of course need at least 2 JeeNodes with RF12. Load File | Sketchbook | libraries | RF12 | pingPong and try to compile it. Upload to both JeeNodes and watch the Serial Monitor. If there is traffic you will be greeted by “OK Hello!”:

Send and Receive
OK Hello!
OK Hello!