Posts tagged ‘Raspberry Pi’

Outdoor housing for Telraam Traffic counting camera

I recently found interesting project https://www.telraam.net/ It’s an open source project where a Raspberry Pi with camera counts traffic passing by (pedestrians, bicycles, cars and other heavy vehicles). The device is (as stated by authorts) “mounted on the inside of an upper-floor window with a view over the street. To send the traffic count data straight to the central database, the device needs a continuous Wi-Fi connection to the internet.”
I placed one in my home on the window and it started counting some day after installation.

Next I wanted to install one in my remote location, where I have internet for other IoT purposes. There is no “upper-floor window”, which means I should place my raspberry and camera outside. Here is how I did it…

Continue reading ‘Outdoor housing for Telraam Traffic counting camera’ »

Call URL with keypress on Raspberry Pi

Here is scenario:

pushbutton is connected to Raspberry Pi GPIO pin. Whet button is pressed, R.pi calls remote URL.

This can be useful for many simple applications, like detecting and timestamping passes at certain location.

The R.pi should be up and running. Connect the pushbutton to free GPIO. In our example we connected the button to pin 11. The pin is configured with the pullup, which means the button must pull the GPIO pin to ground. Pin 12 on r.Pi model 2B (40 pin P1) is GND:

Ultra simple schematic for this example

Now prepare some simple script on your fancy web browser, which will be called when someone presses the button. Here is example, which simply adds one line with time and date at the end of the file “log.txt” every time when file is loaded:

Continue reading ‘Call URL with keypress on Raspberry Pi’ »

Simple 5 minutes housing for Raspberry Pi with Camera

I took old cover from plastic sewer pipe (it was never used ha ha). Then I drilled four holes for M3 screws and one bigger hole for camera module lens. The housing was prepared from one litre PET bottle. I cut the bottle to proper size and inserted raspberry Pi with the camera inside the bottle. Next the LAN cable with passive 5V “PoE” was inserted.

Finally, I heated the bottle with hot air gun at the camera side to shrink a little bit and tightly close the gap between the plastic camera “holder” and the bottle .

Photos below will tell more than thousand words:

Continue reading ‘Simple 5 minutes housing for Raspberry Pi with Camera’ »

Raspberry Pi + RTL SDR dongle = APRS Rx only gate (Part Two – Decoder)

This is part two (here is part one) of the tutorial how to use Raspberry-Pi in APRS gateway.

rpi

In part one I explain how to install OS for Raspberry Pi and get RTL dongle up and running, which enables radio reception and listening received signal with FM demodulator on audio jack (simple FM receiver).  For next steps you will need HAM licence with own call sign. Mine is S54MTB.

Continue reading ‘Raspberry Pi + RTL SDR dongle = APRS Rx only gate (Part Two – Decoder)’ »

Raspberry Pi + RTL SDR dongle = APRS Rx only gate (Part one – FM Radio)

rtl

Introduction

I have couple of raspberry pi’s laying around doing nothing useful. I decided it’s time to use it better than dust collectors. This tutorial is placed here for reference for any OM who would like to setup APRS Rx only node based on R.pi. Here’s what you’ll need (hardware):

… and software:

Continue reading ‘Raspberry Pi + RTL SDR dongle = APRS Rx only gate (Part one – FM Radio)’ »