Tag Archives: ATmega

CuVoodoo #014 – the spark counter

my custom wireless electricity meter:
While renewing my distribution board the land lord decided to remove the electricity meter. Now I can't note how much electricity I am using. So I decided to build and install my own electricity meter: the spark counter. Using a cheap power meter (i.e. peacefair PZEM-004), a microcontroller (i.e. Arduino Nano 3.0), radio transceivers (i.e. nordic nRF24L01+), a single board computer (i.e. Raspberry Pi), and some storage and visualization tools (i.e. influxDB and grafana) I am now able to measure, log, and monitor my electricity consumption.

documentation source files watch on other devices (youtube)

I also briefly describe how to use a Saleae Logic clone logic analyzer with PulseView and sigrok.

warning: the electricity meter I am presenting will only work for 1 phase 2 wires power distribution systems. I have a 3 phases 4 wires system and I am doing it wrong.

Published: 2015-10-29 by King Kévin

CuVoodoo #012 – to the edge of the horizon, and beyond

building an ambient light for the screen:
The CuVoodoo ScreenLight mimics the Philips ambient lighting. The idea is to have LEDs on the back of the screen, lighting on the sides the same color as the border on the screen, creating an ambient light. To implement this I used: VLC (with the AtmoLight video filter) or boblight (way better) to output over serial the colors to be shown on the LEDs; an Atmel ATmega328P microcontroller at 16 MHz (i.e. Arduino Nano 3.0) to control the LEDs and show the values received over serial; a strips of WS2812B chained LEDs (i.e. BlinkyTape), individually controlled using a data line.

documentation source files watch on other devices (youtube)


Published: 2015-08-07 by King Kévin

CuVoodoo #010 – manipulating laundry maids

reversing washing machine payment cards:
To use the washing machines in my apartment complex you need to pay using a rechargeable contact card. I was curious to find out how it works. It turns out it's an I²C EEPROM in a card. By recording the communication between the card and the machine I figured out where and how the credit value is stored. Now I can read and write the value on cards using a Raspberry Pi or simple micro-controller, but also program my own cards to work with the machines.

documentation source files watch on other devices (youtube)


Published: 2015-05-07 by King Kévin

CuVoodoo #009 – taming glouttonous lions

building an electronic cat repeller to guard the fridge:
My sneaky cat can open all doors, even the fridge door. No meat is safe any more. To prevent that I built a cat repeller using an Atmel ATmega328P Arduino Nano 3.0 board. An HC-SR501 PIR motion detector checks if the cat is nearby. Then an E18-D80NK range detector verifies if the cat is in front of the fridge. If this is the case a ~24 kHz PWM signal will generate an ultrasound using a piezoelectric diaphragm, encouraging the cat to leave the premisses. If it still opens the fridge, a human audible alarm will sound until it is closed.

documentation source files watch on other devices (youtube)

Published: 2015-04-07 by King Kévin

CuVoodoo #008 – attaching sunbeams to the ceilling

LED strip based light installation:
Using LED strips, an ATX power supply, and a custom board I created a nice and bright light installation for my room.

documentation source files watch on other devices (youtube)

additional links:

Published: 2015-03-08 by King Kévin

CuVoodoo #007 – building an infrared cock grenade

Using infra-red LEDs I re-implemented the LaserTag protocol MilesTag v2. With that I made an LaserTag grenade by putting a custom board placed in a cock shell.

documentation source files watch on other devices (youtube)

Published: 2015-02-10 by King Kévin

CuVoodoo #006 – connect a bathroom scale to the computer

I found out the weight measured by a Korona KFW-55 bathroom scale is encoded using PWM. Using a micro-controlled I can interpret this value and send it to a computer over USB and bluetooth.

documentation source files watch on other devices (youtube)

about strain gauges:

  • a short video about strain gauges: nerdkits
  • more details about how different strain gauges: stackexchange

similar projects:

Published: 2015-01-29 by King Kévin