Skip to content
View in the app

A better way to browse. Learn more.

BuildHub.org.uk

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ESP32 S3 m5Stack Cores3 swmbo friendly watering system!

Featured Replies

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!

IMG_3929.jpg

IMG_3930.jpg

IMG_3931.jpg

  • Author

Suppose really this thread should be in the networking/automation section .... 

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….

  • Author
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 .

IMG_3935.jpeg

  • 3 weeks later...
  • Author

Today’s tasks were tiling or fun stuff .

SWMBO is out so unsurprisingly fun stuff won !

Swapped to an esp32 lite atom . So small .

Attached ultrasonic transducer - all seems good . The 2 holes ; ultrasonic lead and usb psu . Couldn’t find grommet connectors for usb lead where it fits through and they tighten for a waterproof connection . So just pumped both holes with ct1 😉

Discoverd these ‘ things ‘ you slide over a wire . Twist two wires together , move the sleeve and heat ! . Soldered joint and heat shrink in one ! I then heat shrank ontop .

Tomorrow once ct1 is dry will do a test deploy outside I.e fix to a wooden batton and put it across water barrel opening .

IMG_4350.jpeg

IMG_4351.jpeg

Edited by Pocster

  • Author

Tried and failed with m5stack audio hat . Complete shite . Headphone socket suggesting audio out as would expect . But routes completely different from internal speaker . Couldn’t get it working - tried every example and ChatGPT , best was crackly shite .

Swore a lot than wired an amp off gpio . Works but forgot how microscopic everything is ! 

IMG_4446.jpeg

Does it need to be so complex, and does it need to be proportional?

 

https://www.flowfitonline.com/products/electric-floating-level-gauge-no-nc-with-1-switch-contact-l-400mm?gad_source=1&gad_campaignid=21794319016&gbraid=0AAAAADzzHCEY_4iDYCgXisebrdUdhSWTm&gclid=Cj0KCQiAy6vMBhDCARIsAK8rOgk-rdyVGK0LD4-SkDkY2XZI24iZ0BafQP_MQK02LpIHahQhGC0SI8YaAhekEALw_wcB

 

Cheaper ones about, just a random grab.

 

@Alan Ambrose, 2 of these maybe, at different heights, and a dual pump setup may be better (simpler and more reliable)?

Just now, Nickfromwales said:

Does it need to be so complex, and does it need to be proportional?

 

I think @Pocster wants to do it for the 'fun' of it. Maybe mistress is away?

  • Author

Oi (expletive deleted) buddies !

We do this because we can . Also other uses for said technology. 

  • 2 weeks later...
  • Author

Deployed !

Loads of issues with the 3d printed case . I’ll rethink that .

IMG_4780.jpeg

2 hours ago, Pocster said:

Loads of issues with the 3d printed case

Is that a 3D printed transparent cover on the box? I didn't know you could print clear plastic.

  • Author
2 hours ago, Gone West said:

Is that a 3D printed transparent cover on the box? I didn't know you could print clear plastic.

No . The box is bought. The internal white support thing to house cores3 , speaker , amp etc - needs redesigning 

5 minutes ago, Pocster said:

My cad skills limited 

Learn from the Master.

 

 

On 06/02/2026 at 16:26, Pocster said:

Couldn’t find grommet connectors for usb lead where it fits through and they tighten for a waterproof connection .

 

Print in tpu.

  • Author
1 hour ago, Onoff said:

 

Print in tpu.

Ain’t got any . Using abs 

  • Author

(expletive deleted)ing depth sensor ! It’s shite ! Or at least the beam is so wide it’s useless in a water barrel 

  • 3 weeks later...
36 minutes ago, Pocster said:

Cant wait to stick it in .

The sound has just gone up two octaves.

Was that the sales pitch they used to flog it.

  • 3 weeks later...
  • Author

Deployed !

code not an issue with ChatGPT but the supplied analog to digital converter that came with the probe is shite . Completely non stable readings even when not in water !

Quick chat with my best mate and we ordered a different one . With current code worked instantly.

The percentage water remaining seems incorrect ( though the calcs were based off the tank height ) . Rather than bring in and reflash ( didn’t add OTT updates ) - might just frig the number by a multiplier to scale it better in home assistant .Doesn’t need to be especially accurate but reasonable .

Edited by Pocster

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.