Posts Tagged ‘Arduino’

h1

Handy Function

November 5, 2015

A while back I wrote this handy function for Arduino called rolling average.  This is a good function to have when working with sensors from a weather station.

It could easily be adapted to have an array with 24 objects in it to average something like light levels or sunshine over a day.  To do this I would change  int sensorReadings[10]; to int sensorReadings[24]; and long interval = 2000; to long interval = 3600000;.  This way it updates once an hour for 24 hours.

I find using a light sensor is an easy to test that it works correctly.

I set it up like this – https://learn.adafruit.com/photocells/using-a-photocell

Read the rest of this entry ?

h1

Miffy Lamp

July 6, 2015
Miffy

Miffy

Recently while in NYC I spotted the Miffy Lamp in a store window.
Since it only used white colored LEDs, I decided to replace them with a Neopixel Ring from Adafruit. This ring has 12 RGB LEDs and Adafruit’s sample code had me up and running in no time.

I also paired it with a Jeenode so I could get the weather from my weather station.
I also needed a level shifter as the Jeenode is 3.3 v and the Neopixel runs on 5v.

The last part I added was a 1k pot so I could dim the light.

The bottom already had 3 screw holes and the main hole.  I didn’t need to make any new holes, just make the existing ones bigger.  I put everything inside and screwed down the pot, adding a knob.  I also cut plastic cover from scrap and screwed it in place.

Now I have a Miffy Lamp in my living room that automatically changes it’s color based on the temperature.

Read the rest of this entry ?

h1

Eat Sign

August 10, 2013

EatRecently while on vacation I picked up two plastic letters and one metal one spelling EAT.

I am starting to make a sign for my kitchen using 2 TLC5940 chips and roughly 15 – 30 leds.  The exact number of leds I need is still to be determined. How to wire up the TLC5940 can be found here.

The letters will be slightly raised off the backing panel, allowing light from the leds to show.  I will be drilling holes through the backing panel and inserting the leds from behind.

The general idea is to use a photo resistor so the sign automatically comes on when dark enough.

I will also have a push button on the side so you can toggle through different modes.  Right now I have 3 modes.  Normal mode turns on one LED at at a time until all are lit up.  Blink mode blinks all the lights. Fade mode fades the leds up, down and up again, finally leaving them on at full brightness.

Check out the short video for the set up and the 3 modes.  In the video I am covering the photo resistor to get the lights to go on and then pushing the button to toggle through the modes.

Read the rest of this entry ?

h1

Air Quality Egg

January 7, 2013

Air Quality EggFinally received my Kickstarter backed Air Quality Egg.  This project uses an Arduino like board to measure the temperature, humidity, carbon monoxide (CO) and nitrogen dioxide(NO2).

You have one egg shaped device that is your base station and hooks up to your internet router.  The second egg shaped sensor you hang outside and it contains all the sensors that measure your air quality.

The data is uploaded to Cosm.com.  You can see my feed at https://cosm.com/feeds/96118.  Right now you need to look at the data on Cosm, but eventually they will have a cool website called airqualityegg.com

There currently is a known issue with the temperature reading as it won’t give negative numbers.  This has been fixed in the software, but you need to download it and then reload software onto both your base station and your sensor station.   See the Wicked Device forum for details.  I am waiting for someone else to try this first before I try to fix my setup.

All in all, a pretty easy setup and a nice job done by the folks behind this.  I can’t wait to see what people do with the data.

Read the rest of this entry ?

h1

Mastermind Update

October 23, 2012

This project is taking a little longer than I thought. Added a button and LCD screen and have most of it working. Now trying to get it all to fit into an old cigar box. I think I will leave the sides of the box alone, but will probably decorate the top somehow. Read the rest of this entry ?

h1

Standalone Arduino

May 29, 2012

Stand Alone ArduinoRecently I purchased enough parts to make 10 Arduinos, following this tutorial.

The reason for this is that you get a price break on most parts when buying 10 or more.

Because of this, I was able to get the cost of each one to under $10, not including some parts I already had.  This will save me a lot of money in the long run.

I bought my parts from Jameco for about $70, not including the board, power socket or LED. I already had these parts.

Read the rest of this entry ?

h1

Lucky Panda Fortune Teller

January 16, 2012

Lucky PandaI finally finished this project. I had previously made a much smaller version with only a LCD screen, but no printer as they were not available at the time.

First I started out getting the thermal printer to work with an Arduino and a LCD screen.

Read the rest of this entry ?