Raspberry Pi GSP Dashcam

My main project is a Raspberry Pi GPS Dashcam which uses a raspberry camera module and gps webcam in order to record the surroundings as well as allow the user to know where they are located.


Jeremy W.

Area of Interest

Electrical Computer Engineering

Mechanical Engineering


Monta Vista High School


Incoming Senior

Final Milestone

Third Milestone

Second Milestone

First Milestone

For my first milestone, I got the raspberry camera module to capture still pictures as well as record videos. In order to get these functions to work, on the raspberry pi, I created two programs using the python. The first program is used to take a still photo. In this program, I called a function to present a live image of what the raspberry camera module sees onto the screen. Then, a time action is called in order to give the user time to get ready before the photo is taken. Then the still photo will be taken after the set time has passed. After the photo is taken, a function is called to stop the preview of the live image on the screen. The second program was coded to record ten second videos. In this program, I set up the configurations of the video and then I call for the live image to be shown on the screen. This is then immediately followed with a start recording function to record everything the raspberry camera module sees. The time functions is then called to give the user ten seconds. After ten seconds, the stop recording function is called to end the video and stop preview function to stop the live image on the screen. During this milestone, I ran into a couple of problems. One of the problems I had was setting up the raspberry pi as there were a lot of cables that I didn’t have. I had to constantly ask for wires that I thought were necessary for raspberry pi. Then, I was unable to connect it to my computer because there were no adaptors were able to connect to the ports my computer had. In order to fix this, I changed my computer to a monitor which had the ports that were needed. In addition, I figured out that cables like the ethernet cable were unnecessary to get the raspberry pi to function. Another problem I had was creating new names for the new photos and videos that are getting taken. At first, the names would not change so the new images and videos wouldn’t save since the names would have already been used. In order to fix this problem, I coded in the program to count the number of files in the folder and increase the number after the name to always have a new name. This gave me the chance to learn about os module which is something that allows the user to interface with the operating system that Python is running on. For my next milestone, I will connect the usb webcam to the raspberry pi and get it to function with the raspberry camera module.

RGB Night Light

The RGB Night light is a circuit that powers a RGB LED light which turns on when it detects that it is dark. It also allows the user to choose the night light color from magenta, blue, cyan, green, yellow, orange, and red. This RGD Night Light, which is powered by 5 volts, has a photoresistor, a potentiometer, three 330 Ω resistor, a 10k Ω resistor, twelve jumper wires, and a RGB LED light. The photoresistor is a resistor that uses light wavelengths to determine its resistance in the circuit. This allows, the night light to know when it’s dark which prompts it to turn on. The circuit also has a potentiometer which is a manual adjustable resistor. This allows the user to change its resistance which ultimately changes the voltage of the circuit. This then changes the night light color as it is programmed to change the color of the RGB LED light based off that resistance. The resistors in this circuit help control the amount of current that flows towards the RGB night light and the RGB LED light is a light that uses red, green and blue values to determine the color of the light.   During this starter project, I had a problem in the beginning when I was unable to find any 330 ohm resistors. In order to solve this problem, on the supplies tables, I found resistors that did not have their resistance labeled. This allowed me to learn about the colors that are on the resistors and what they represent. By learning what the colors represent,  I was able to find the 330 ohm resistors and make the project work.

STEM Summer Camps Coding & Robotics Classes For Kids San Francisco Coding & Robotics Classes For Kids New York Coding & Robotics Classes For Kids Denver Coding & Robotics Classes For Kids Palo Alto STEM Summer Camps For Kids in New York STEM Summer Camps For Kids in Palo Alto STEM Summer Camps For Kids San Francisco STEM Classes For Kids in New York STEM Classes For Kids in Palo Alto STEM Classes For Kids in San Francisco Code Classes For Kids Code Classes For Kids in New York Code Classes For Kids in Palo Alto Code Classes For Kids in San Francisco STEM Summer Camps For Kids

Leave a Comment

Start typing and press Enter to search