Last week, upon the arrival of my BMP180 sensor, I quickly did some experimenting and since all of the results were just as I expected, I really need to transfer all of my setup to a pcb so that I can concentrate in the creation of the firmware.
This was my previous setup:
And now, this is my shield:
I made this sketch in less than an hour, because I was so very excited.
More about the shield:
The shield can be used in a lot of ways. I designed it to be flexible and all modules I used can be easily removed and replaced with another module. Here is the list of components I used:
- 1.8" tft display, I have chosen this over my Nokia 5110 lcd module because this tft display is a lot more functional, offers twice as much resolution at 128x160 pixels as compared to Nokia 5110's 84x48 resolution, small footprint, full color and most importantly power consumption is very low, so a coincell battery can still be used for this project.
- Femtoduino, it is the only microcontroller I have at the moment so I have no choice but to use it.
- Buzzer, I needed somehow to hear some sounds so this is a good addition.
- BMP180, this is the main reason why I came up with this shield, it is a very functional sensor because with it, I can measure altitude, vertical velocity, atmospheric pressure, relative temperature and humidity.
- DC-DC Step-down converter, this module converts 5V to 3.3V. This is needed in the shield because the Femtoduino requires 5V while the 1.8" TFT Display and BMP180 requires 3.3V.
I still have plans to add more modules like the accelerometer and the digital compass which anytime soon will be arriving.
Finally, I took a video of the shield featuring the digital clock, the ringtone program that I downloaded from the internet, the screen for displaying the temperature, pressure, altitude and the vertical velocity. I am still in the process of finding ways to make the firmware efficient and planning to improve the splash screen. I am also going to add more functionalities like the device must be able to store the readings using the 3kB eeprom that is builtin the Femtoduino and display these reading on a line graph. The 3kB is already good enough to store the following:
- 1 minute of readings at 1 sec interval
- 1 hour of readings at 1 min interval
- 1 day of readings at 15 mins interval
- 1 week of readings at 12 hrs interval
- 1 month of readings at 5 days interval
Here's the video: