top of page

Embedded Systems Project

This video was my term project for my Embedded Systems class. In the code, I made an int interrupt so that it would wait for me to push a button on the PIC board before doing a simulation of a roulette wheel. Then it stays inside a loop changing the color of the light and the frequency of the speaker until a flashlight was shined on the light sensor. After this, it would let you know if you won or not.

On the hardware side, I had an LED RGB light hooked up to a binary counter counting from zero to seven. This gave it the eight different colors that it cycles between. At the same time, the speaker is cycling between eight different frequencies. On the circuit, there is an op amp outputting zero volts. However, once the light sensor gets shined on by a flashlight makes it so the op amp outputs five volts into the PIC board, which is the signal for it to exit the loop and reach the end of the program.

Computer engineering is a mix between software and electrical engineering, meaning I have to be knowledgeable in both coding and circuits. This project really helped me realize how much the two go hand in hand and how knowing about one can help you with the other.

© 2023 by Joshua Hewett. Proudly created with Wix.com

bottom of page