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 »


Miffy Lamp

July 6, 2015


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 »


Weather Station

June 23, 2015

I’ve been working on updating my weather station.

The new setup is as follows.

Two Jeenodes outside to a Jeenode inside, which is connected by 12C to a Yun.

See more details and some photos below.
Read the rest of this entry »


Arduino Day

March 29, 2015

Yesterday we went to Arduino Day at MIT and learned what is coming down the Arduino pipeline.

Massimo Banzi announced two main things.  First, soon you will be able to access the Arduino IDE through your web browser.  This looks really cool.

Secondly, Arduino is working on a modular or plug and play system named Eslov.  This would make it easier and quicker for people to make devices.


We also saw a demo of the Yun by Tom Igoe and a demo of  Temboo  both of which were amazing.

Temboo is an easy way to interface a lot of API’s like Dropbox, Yahoo Weather, NOAA and works well with the Arduino Yun. In the demo a service called Nexo was used to access a cellphone.  You put your Nexmo credentials into Temboo and Temboo creates all the Arduino code for you right then, just upload it to your Arduino.

In the demo a distance sensor was used to trigger the Arduino which then called the cell phone by going through Temboo & Nexmo.  A button was pushed on the phone to respond to the call and this triggered an led to light up on the Arduino.  Very interesting stuff.


Arduino Day

March 28, 2015

ArduinoWhat are you doing for Arduino Day?

Use code ARDUNIODAY at Adafruit.com for a 10% discount.

Sparkfun is also discounting Arduino items up to 30%.


Official website and where to find events near you.




Starter Kit

March 8, 2015

I’ve created a starter kit for a young girl’s birthday present.

I included the speaker for one of the projects in the book and the photosresistor because it is an easy way to see cause and effect.  The ABC (Arduino Basic Connections Book) is excellent and from an Indiegogo campaign by pighixx.  I can’t find the book anymore, but his website is excellent and has mostly the same info. http://www.pighixxx.com

Have I missed anything or is there something else you would include?

1. Arduino Uno
2. Super Sylvia’s Awesome Project Book 2
3. Arduino Basic Connections book
4. Hookup Wire
5. Red, green & yellow 5mm LEDs
6. Half size and small bread board
7. 150 oh, 1k & 10k resistors
8. 10k potentiometer aka pot
9. Photoresistor
10. Breadboard friendly pushbuttons
11. Breadboard friendly speaker
12. 6xAA battery holder with plug soldered (it comes un soldered)
13. Cable to connect USB to Arduino

Click through for some photos

Read the rest of this entry »


Arduino Day

February 27, 2015

Arduino Day is coming on 3/28/15.  Find an activity near you.

Arduino Day 2015


Get every new post delivered to your Inbox.