Showing posts with label Programming. Show all posts
Showing posts with label Programming. Show all posts

Thursday, July 24, 2014

Weatherstation - Barometric Pressure Sensor

I ended up getting a BMP180 pressure sensor. I also made a major change to my weatherstation: I have decided to make the transmitter using a 430G2553 microprocessor. By using deep sleep mode and only taking readings every 30 s or so, I can run the weatherstation off of two D batteries for much longer than an Arduino.

Sunday, April 20, 2014

Arduino Weatherstation - RF Communication

I'm still waiting on my SparkFun Redboards. In the meantime, I received one 433 MHz transmitter and one 433 MHz receiver. Since I have a TI MSP430G2553 and a Duemilanove lying around, I thought I'd get them "talking" to each other.

Monday, April 14, 2014

Arduino Weatherstation - Temperature

I ended up purchasing a DHT22/AM2302 sensor, so I quickly put together a rudimentary Arduino sketch to read the temperature and relative humidity and calculate the dew point.

Sunday, April 6, 2014

TI Launchpad Morse Code Generator

In electric circuit theory lab, we were assigned one of several projects using a TI MSP430 microcontroller. I chose to make a simple Morse code generator. I programmed the microcontroller code using Energia, which allows you to program the TI as if it were an Arduino.

This simplifies programming immensely, with functions for outputting square waves and blinking the onboard LED. In hindsight, if I were to re-do this project, I would use the millis()function instead of delay() to set the timing.