Tag Archives: Raspberry Pi

Library for Reading a 16 Button Keypad on the Raspberry Pi

In this lesson we show you how to create a Python Class and Library that allows you to easily get user input on a Raspberry Pi from a 16 button keypad. This will allow very easy interaction with the keypad.

The Library Code which we develop in the video is presented below for your convenience:

To use this code as a library, save it in the same folder as your python programs, and save it as KPLIB.py


This is a simple demo program that calls the library above, to receive input from the keypad.


Creating a programmable Temperature Alarm with the Raspberry Pi

In this video lesson we show how to create a programmable temperature alarm using the Raspberry Pi, the DHT11 sensor, the ADC0834, a potentiometer and a buzzer. The results are displayed on a LCD1602 LCD display with a i2c connection. The device operates in either program mode or monitor mode. Pressing the button puts you in programming mode. In this mode you turn the potentiometer until your desired set temperature is reached. Then pressing the button again will switch you to monitor mode. In monitor mode the current temperature and humidity are displayed on the LCD. When the temperature exceeds your setpoint, the buzzer will release an audible alarm. Below is the schematic for our build.

temperature sensor
This schematic shows how to create a programmable temperature alarm

AI on the Jetson Nano LESSON 62: Create a Streaming IP Camera from a Raspberry Pi Zero W

In this lesson we learn to make a streaming IP camera with a Raspberry Pi Zero W, and Raspberry Pi camera. The Pi will create a RTP stream, which can then be read by a Jetson Nano on the same network. We use OpenCV to read the frames on the NVIDIA Jetson Nano side.

This is the command to launch the Raspberry Pi camera, and start the RTP stream. This command works well for the Raspberry Pi Camera, version 1.

For the Version 2 Camera, I recommend:

This is the Gstreamer code on the Jetson Nano side to grab the RTP Frames. On host= below, be sure to use the IP address of your Raspberry Pi.



Comparison of Raspberry Pi Zero Model W and Onion Omega 2+

There is a lot happening in the Maker Space! We have just watched two new major releases of embedded microprocessor platforms . . . the Raspberry Pi Zero Model W and the Onion Omega 2+. Both these platforms are impressive in that they both offer a small package with onboard WiFi for $10.   This combination of features, price and size opens up  a new world of possibilities for compact, portable projects.

After reviewing both of these platforms, we choose the Raspberry Pi Zero model W as the platform we will be pursuing at this point. The video above gives a head to head comparison of the two platforms, and the rational behind our decision.