Pocster Posted Tuesday at 14:55 Posted Tuesday at 14:55 After an eventful and almost pointless exercise in trying to get any cheap esp32s3 board and screen to work due to poor/no documentation Zillions of boards Even the same model number from the same supplier can be different! e.g. they change the touch screen chip! Lvgl 8/9 variations Toolchain issues e.g. espriff say use their tools - but they don't work always Absolute minefield of shite - no wonder the CYD are so cheap So I gave up and went for something that would work .. the M5stack Cores3!! So first screen is the % of water in the barrel ( this it gets via HA from a standard esp32 with a ultrasonic transducer and mqtt) Backdrop is animating . Wifi symbol to show if connected or not. 2nd screen choose minutes 2/4/6/8 ( some graphics to finish ) Plays a pcm audio e.g. "2 minutes selected" 3rd screen Timer countdown. Uses mqtt to tell HA to turn on the shelly outdoor wifi switch to the pump Some graphics need to be altered ( different background I think - though 8MB PSRAM fills up quickly ). I also added some pc audio that's triggered randomly and says things like "Get (expletive deleted)ed" I thought it was funny ; SWMBO less impressed!! Most the code with quite a lot of effort on my part done with ChatGPT. Before you all jump in and shout Claude is better - I know it is. But I need a lot of tokens!. I enjoyed this project even though as an ex games programmer I made the tiny UI all game like! More projects planned - using chatgpt to accelerate my learning and let its code be sometimes questionable... I've got 2 more cores3 which I want to put above 2 other water barrels i.e. simply to show how much water is in them each - no touch/actions required. Then a compute module 5 with QT to replace my annoying Android home assistant web dashboard!
Pocster Posted Tuesday at 16:49 Author Posted Tuesday at 16:49 Suppose really this thread should be in the networking/automation section ....
Alan Ambrose Posted yesterday at 07:42 Posted yesterday at 07:42 Neat Can I ask about the transducer - is it reliable & accurate? I need some set-ups where I control a pump based on water depth in a sump…. 1
Pocster Posted yesterday at 08:03 Author Posted yesterday at 08:03 17 minutes ago, Alan Ambrose said: Neat Can I ask about the transducer - is it reliable & accurate? I need some set-ups where I control a pump based on water depth in a sump…. Yes its pretty good ! The results from it were a bit jumpy so I got chat to average out readings . This is the unit . For my needs of simply scaling water in a barrel 0 - 100% it’s accurate enough - I would say a 2/3cm error margin .
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now