Tag Archives: Raspberry Pi
I gave a presentation to the Oh-Ky-In Amateur Radio Society on August 6, 2013. This was an update of the presentation I gave to the Cincinnati FM Club in February, which was an update of the presentation I gave to the Milford Amateur Radio Club a while back. This page is a set of links for those that attended or missed the presentation.
Presentation: Introduction_to_Arduino_Microcontrollers (PDF warning)
Have an Arduino board but not enough accessories or don't know where to get started? Seeed Studio has a "Sidekick Basic Kit" that can get you up and running - it doesn't have an Arduino, but it has a lot of components (etc) to get you started. And it's $20. Seeed Sidekick Basic Kit ($20)
NOTE: Look hard at what these packs include! There ARE differences.
Raspberry Pis and Beagleboard Blacks can be bought at Mouser, Digikey, and Newark Electronics/Element 14. Raspberry Pi accessories (like the Pi Plate an Pi Cobbler) can be bought at Adafruit or Newark Electronics/Element 14.
This is a continuation of my last blog post about having my Raspberry Pi log temperatures in my basement.
In the last blog post, I noticed some problems using Node.JS due to some caching issues. Today I found the answer to my problems: Cosm.com.
After some adjustments to my code, I started seeing some pretty cool graphs on Cosm's website.
So this seems like the right thing to use for this.
The modified shell script:
I am trying to have a green thumb. Right now, it is more of a pale yellow with a hint of orange. One thing I thought about doing was a temperature logger for plants that I'm starting and will be transplanted outside in mid-April, after the frost season ends in this area.
I initially thought about using an Arduino, but connecting the Arduino to my network would have required me to buy an Ethernet shield or a Wifi shield, both of which are quite expensive. I happen to have a USB wifi adapter hanging around and a Raspberry Pi that wasn't being used. Match made in heaven!
So the first thing I did was go search around on the Internet and found something from Adafruit that included source code and a hookup diagram for a DHT22 temperature and humidity sensor. Mine is an RHT03, which is similar.
I did find that my RHT03 does not run with 3.3v, so I changed the power rail to 5V, and viola!
The next thing I looked at was the source code. I made one minor change and recompiled - I edited everywhere where I saw temperature in Centigrade and changed it to Fahrenheit.
So the next step was to make it easy to get to. I don't want to log in to my Raspberry Pi via SSH terminal just to check the temperature. So I decided that it seems Node.JS is the way to go because I can very easily write a web server for it.
Nice and simple. And of course, the code:
UPDATE: I've had this running a few days, and realized that it seems Node.js does not like to update as fast as I would like. In fact, it doesn't update until I restart the server... not sure what to do about that, but it drastically limits the usefulness of that tool as a solution in this situation.
I was one of the first among the ham community to get a Raspberry Pi. Since getting it, I've felt somewhat lame because it took me a few days before plugging it into my TV and making sure it works. When I did that, I only ssh-ed into it for a few minutes.
I spent the next few weeks trying to figure out what to do. After all, the possibilities are endless. After much thought, I decided the best thing would be some sort of box that would connect to a TV and show something radio related. I thought about it and decided that the screen format of Sports Center (on ESPN) would likely be the way to go. Since it is sports and they try to cover a lot, they have a vertical scrolling bar on the left side that shows what they are talking about next (so you know if you want to stay watching or go to the loo or get another beer). I think that the vertical scroller is something to adapt to this, although it may not be as live as SC, it will give an indication of what's coming up next.
So for things on that bar, I can think of a few things:
- DX Spots
- Solar Weather
- Contest Calendar or contest stats (when in a contest)
- Log stats (recent QSO locations)
- Nearby satellites
Recent Headlines (perhaps from ARRL) (perhaps as a crawler at the bottom of the screen? Perhaps also including other news sources like SARC?)
So I'm looking for both ideas and volunteers. This project will be open-source and emphasis will be on making it skinnable, extendable, and something useful to the ham community. If you have an idea or can volunteer, feel free to leave it in the comments below or email me at callsign at callsign.us.