Skip to content

CraigDawson/ble-weather-station-enhanced

Repository files navigation

ble-weather-station-enhanced

Make: Bluetooth book's BLE Weather Station with enhancements

alt text

Introduction

There are two improvements done to the original BLE Weather Station from the Make: Bluetooth book (see references below)

  1. A tri-color LED module was added to indicate the weather: green - fair, yellow - change, and red - stormy. This is based on the barometer. The code for this is on the UNO.

  2. A python program was added to read the UNO's serial port and store the data in a CSV logfile so it can be plotted in Excel or another spreadsheet program.

  3. The only change to the phonegap code was to change the local location in the javascript code.

New LED Wiring

Below is how you wire the tri-colored LED. alt text

Example plot of CSV output file

alt text

References:

Book:

Hardware:

Kit 1: Make:Bluetooth Book Parts Pack

Note: these are the only components needed from kit 1

Kit 2: SainSmart New Basic Starter Kit for Arduino

Note: The RGB LED board is all that is needed and an UNO (the one above or this one)

  • RGB component It is a board with an RBG LED, limiting resistors, and pins. You could use the discrete components instead.
  • Kit does include a UNO board

Original Book Code:

About

Make: Bluetooth book's BLE Weather Station with enhancements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published