August 13, 2013 · adafruit arduino bash coding gpio hacks linux nodejs python raspberrypi rpi server WiringPi

Got bored with webserver, or: Playing with the GPIO

I'm hosting a website on my Pi. This website.

That's cool.

I do quite a lot of Linux server administration practice, learning BASH, Python

The RPi works fine, manages connection flow nicely, even though the root partition is on a rather slow Kingston USB drive. The Pi works 24/7 without problems. The average temperature oscillates around 48° C (118 F), even under big load.good luck

Now, I feel I should do something more with my Pi. It's a waste of money and it's resources to let it just lie under my sofa and be covered with dust. Thus, I've decided to do something productive. I'm going to start a project using my Pi. I suppose, first thing I'd do, would be a mini weather station. Yes, it's a repetitive and kinda dull thing to do with the Pi, but I want to start somewhere in the middle - not to noobie, not to big league. And somehow I like to check on the weather. Got in my home several thermometers, one barometer, but I also want to have something to collect data. And as a standard "analogue" thermometer doesn't have the ability to cluster figures, Pi is something that might help.

I've bought a Raspberry Pi Cobbler GPIO Electronics Starter Kit on eBay to get started with, some extra jumper cables, pin headers (those will be used later on, first of all, for adding a reset switch to my RPi), as well as DHT11 Temperature and Humidity Sensor. And since it's been about 15 years when I had a soldering iron in my hand, I've decided to start with a prototyping board.

The weather station project will be based on instructions provided on Adafruit website, yet, I'll be monitoring my own home and with the help of RPi Monitor, collect and visualise the data. After remembering how to use the soldering iron and learning to code like a boss, I'd start my own, unique project which I have in mind but won't mention yet.

While waiting for the components to arrive in my letterbox, I do the prototyping in my head and get to understand the GPIO programming on an empty stomach.

UPDATE

Nokia 5110 LCD Monochrome Display

Just bought Nokia 5110 LCD Monochrome Display to get my RPi display some info. In the beginning it'll be RPi Monitor components, such as Pi and home/room temperature. In time I'll add tactile switches to invoke commands on a menu to be displayed on the LCD screen in a mobile-like way, such as updating the system, making a backup, etc.

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pinterest
  • Pocket

Contact