Published On Nov 25, 2022
I wanted a web-based controller for my pond pumps. Here's a very quick walkthrough of the full project.
► PCBWay $5 for 10 pieces https://www.pcbway.com
► Use coupon code *PCBWay8th-RSB* to get $10 off a $40 order! Coupon lasts for THREE months. Limited number of coupons available.
For the code and pictures and just more information see my GitHub:
https://github.com/RalphBacon/254-ESP...
DETAILS
I decided that a very simple, time-based pond-pump controller was enough for my tiny barrel pond. And three fishes.
An ESP32 microcontroller was used because I wanted to be able to control the relays (that control the two pumps) via the web, using my phone. Having designed the circuit, then the PCB (restricting myself to the maximum 100mm x 100mm that most PCB fabs have) I cut a wooden base plate for the enclosure.
This made it very easy to mount the PCB, relays module board and anything else I needed. With a transparent lid it was easy to see the 7-segment time and countdown display.
► I made use of the task scheduler library from arkhipenko:
Cooperative multitasking for Arduino, ESPx, STM32, nRF and other microcontrollers
https://github.com/arkhipenko/TaskSch...
INFORMATION
Random Nerds (Rui Santos) cribsheet for 'safe' ESP32 GPIO pins (but see my augmented version in this GitHub, ready for download)
https://randomnerdtutorials.com/esp32...
More information (including all links, sketches & PDFs in my GitHub):
https://github.com/RalphBacon/254-ESP...
► List of all my videos
(Special thanks to Michael Kurt Vogel for compiling this)
http://bit.ly/YouTubeVideoList-RalphB...
► If you like this video please give it a thumbs up, share it and if you're not already subscribed please consider doing so and joining me on my Arduinite (and other μControllers) journey
My channel, GitHub and blog are here:
------------------------------------------------------------------
• / ralphbacon
• https://ralphbacon.blog
• https://github.com/RalphBacon
• https://buymeacoffee.com/ralphbacon
------------------------------------------------------------------
My ABOUT page with email address: / ralphbacon