Funky v2 rev 1

I haven’t been able to use my miniature nodes the Funky v1 or Funky v2 with my energy harvesting board yet, in the means of plug-and-forget type of solution. Basically the issue is that we have a slowly rising voltage from the energy harvesting board, but the RFM12B will consume 0.68mA until fully initialized and put to…

Soil moisture sensing revisited

I have previously created a DIY soil moisture sensor, but wiring it required couple resistors. I was recently reading a post by JCW on using a light sensor and figured I could simplify my setup using the same basic idea – using an Analog input with the internal pull-up enabled:   That pretty much simplifies…

Wallpaper prank

I wish I did this for April 1st, but here is it anyway 🙂 I wanted to test out the HID keyboard features of the Arduino Leonardo compatible Funky v2, so during my research on the subject  I accidentally stumbled upon a project called “USB Ducky“; One of the example uses was to use the…

Software I2C test

The Funky v2 is so small in size, that only few pins are available on the side header. This is because its main purpose is to interface with one, at most couple sensors while running on battery. The hardware TWI/I2C pins are not available on the side header, but that doesn’t cause much trouble as…

Funky v2 low power example

I have consolidated my accumulated so far experience on running the ATmega32U4+RFM12B based Funky v2 in low power mode in this example sketch. I managed to bring the power consumption down to 0.04mA, which makes it possible for the Funky v2 to run on CR2032 button cell battery. For the sketch to run optimally, I used different fuse settings…

Detecting USB connection on the Funky v2

When designing low-power code for the ATmega32U4-based Funky v2 (code, optimized for running on battery power), it is important to power down all unused peripherals as soon as possible in the code. The USB circuitry draws significant amount of power, so naturally we’d aim to power it off first. What that causes though, is lost USB connectivity…

Frequency counting test

This is something I long wanted to try out – frequency counting with my Funky v2. I used Albert’s Arduino frequency counter library for the purpose. I’d test it by doing 6 kHz PWM and try to count that. The interrupt pin on Funky v2 is Digital 2 and the PWM is Digital 13, so I…

Funky v2 as RFM12B to Raspberry Pi gateway

Funky v2 enumerates as a CDC device when plugged in to your Raspberry Pi without the need of any driver, so it is pretty easy to get it working as a RFM2Pi board. Useful If you decide that for some reason you need Raspberry Pi’s GPIO header free. Simply upload this sketch, plug the Funky v2…