Archive for the ‘R.Pi’ Category.

Multi-Service Flight Tracker

(Photo by Dan Gitwood/Getty Images)

There are many flight tracking services around the web and most of them are based on ADS-B receivers placed by individuals. Few months ago I put together simple GP antenna, RTL-SDR and installed Pi-Aware software. It fed data to FlightAware. Soon after one of my mod-school friends asked if I could do the same for FLightRadar24. After some search I found this github repo: Balena ADS-B Multi-Service Flight Tracker. I had good experience with balena (for LoRa gateways) and followed the really excellent step-by-step instructons. Below are some details about my installation of this Multi-Service Flight Tracker.

The plane tracker is now feeding online (with short outages) since August 2019.

Here are links:

https://flightaware.com/adsb/stats/user/s54mtb

https://www.flightradar24.com/account/feed-stats/?id=24076

https://planefinder.net/coverage/receiver/102325

Continue reading ‘Multi-Service Flight Tracker’ »

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’ »

Smart nesting box

Smart nesting box is small wooden box for nesting birds. It is equipped with the live camera feed and some sensors. Four smart nesting boxes were made and three of them were placed in the wild. One was inhabited with the great tit in te early march 2017. After that, the bird laid 11 eggs. The bird then incubated eggs for 12 days. On the Easter Monday, the first shells cracked and newborns started poping out of the eggs.

Blok shema gnezdilnice z večino sestavnih delov. 

I prepared the whole project for local school. The nesting boxes were made by 8 children aged from 11 to 14 during afternoon classes. It was great fun and the young scientists learned many new skills from electronics, materials, hand tools, crafting, programming, components, circuit design, biology, photography, physics, etc… The nesting box is described in detail here with all necessary production steps. Contact for further info is m@v4.si. The three nesting boxes placed in the wild have…

live video feed and sensor readouts available H E R E.

Continue reading ‘Smart nesting box’ »

Raspberry Pi breakout board with ESD, PoE and Cortex M0

This is Raspberry Pi GPIO connector breakout board with some additional features:

  • “Real” or “passive” PoE with 12V output
  • 5V DC/DC module
  • Additional 3,3V regulator
  • ESD protection on all GPIO pins
  • two additional pins for each pin on R.Pi 40 pin GPIO connector
  • Separate UART and I2C headers
  • 3,3V Supply for periphery is selectable: from R.Pi or from external regulator
  • STM32F070 or similar in TSSOP-20 housing for controlling additional sensor or any other hardware
  • Jumper for Cortex-M0 / R.Pi UART connection

First prototype

Continue reading ‘Raspberry Pi breakout board with ESD, PoE and Cortex M0’ »

Simple Rh, T and p sensor with UART communication

The Pressure, temperature and humidity sensor based on MS5637 HDC1080 originally (Rev. 2) operates via RS485 interface and multidrop HDLC-like protocol.  I decided to simplify this for use with Raspberry Pi, arduion or any other mass platforms. First, I took away the RS485 transceiver and second, I simplified the communication.

First adaptation was easy:

Remove RS485 driver and connect Rx/Tx to A/B

Continue reading ‘Simple Rh, T and p sensor with UART communication’ »

Tiltable housing for Raspberry pi camera

The second version (here is larger 1st version with fixed angle) of R.Pi camera housing is smaller with 9 LEDs and possibility to adjust camera angle.

Adjustable housing with 9 LEDS for IR illumination

The 3D models are available on 3DcontentCentral or in GrabCad.

STL for 3D printing is on Thingiverse.

 

Raspberry pi camera housing

This is housing for R.Pi camera V2 with LED illumination.

Camera housing

It is 3D printable housing and PCB with 9 IR LEDs with enable.

Continue reading ‘Raspberry pi camera housing’ »

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’ »

Raspberry Pi “folded” USB connector

The R.Pi is excellent module for many applications. Unfortunately it is not easy to stack USB modules connected to it. When USB module, e.g. RTL-SDR is attached to the R.Pi, the whole package become very long requiring larger box. One solution is to use USB extension cable, but it again require additional space. Here is another, more compact solution:

  1. remove the USB connector from your module
  2. place SIL header at the pins for USB connector
  3. connect the USB module back “folded around the corner”

usbvinkel1 usbvinkel2 usbvinkel3

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’ »