Projects

Microcontroller (Water Dispenser)

For my microcontroller class we were tasked with a final project and I chose to make a water dispenser using a PSoC 4200m microcontroller with capacitive sensors to sense water levels. The setup included three LEDs on the side. The bottom red light indicated the bottle was low/empty, the second green light indicated the bottle was half empty, and the third green light indicated the bottle was full. Only two sensors were needed for this. One sensor was placed at the halfway point and the other was at the top. A 5V water pump was used in the reservoir to pump the water into the bottle.

The user could press the switch on the PSoC to turn on the pump and initiate the refill process. Once the water level reached the top sensor the pump would automatically turn off to avoid any spills. This process really only allows for the user to have a full bottle. So, I added the additional functionality of allowing the user to press the button at any point in the process to turn the pump on or off allowing for specific water levels based on user preference.