OpenSprinkler › Forums › Hardware Questions › OpenSprinkler › ESP32
- This topic has 2 replies, 2 voices, and was last updated 3 weeks, 2 days ago by
ClaytonRoss.
-
AuthorPosts
-
May 9, 2023 at 10:58 am #75592
ClaytonRossParticipantare there any plans for a few versions incorporating esp32?
All those ample GPIOs
The Bluetooth, gateway function used in Tasmota and ESPhome would allow for incorporating sensors
https://tasmota.github.io/docs/Bluetooth/ESP32 has some models with ext antennas as well
https://en.wikipedia.org/wiki/ESP32
I have also seen LoRa esp23 , made by Pycom
it would be niche but for farms and remote locations, Lora controllers would be really cool.
They make an LTE one as well.lastly, can an AC expander be attached to a DC controller? if not maybe consider making the next version agnostic so you can any or both and power directly
May 9, 2023 at 11:55 am #75598
RayKeymasterYes, I do have plans to switch to ESP32 at some point. The ample GPIOs won’t make a huge difference because we will always need to have expanders, therefore how much GPIO the main controller has is irrlevant as the expanders cannot use GPIO pins from the main controller. The extra GPIOs do help with enabling more sensors especially analog sensors.
ESP8266 also has versions with external antenna plug (ESP-07S).
We haven’t moved to use ESP32 mainly because it takes time to develop, test, and get familiar with a new microcontroller. With ESP8266 we are familiar with it, know the quirks. Also, since the firmware files for both have extension name .bin once we switch to ESP32, there needs to be a good way to make sure users download the correct firmware (i.e. they need to know whether they should download the one for ESP8266 or ESP32, since the files have the same extension name). This is rather difficult to make sure as uploading the wrong firmware can jail the controller.
Regarding expander: NO, you can NOT use a AC expander attached to a DC controller. It won’t cause any hardware damage but you will find that zones on AC expander can only turn on but not turn off. This is because of the way AC transistors work.
There are ways to make a universal expander that works with both AC and DC. That is by using solid state relays (SSRs). But solid state relays are significantly more expensive than traics or MOSFETs, I mean the price difference is in the range of 20 to 100 times. I don’t think it makes economic sense to go with that option.
May 9, 2023 at 9:57 pm #75610
ClaytonRossParticipantcool , thank you for the reply ,
yeah I did not know if you could attach an AC expander to a DC unit and modify it , and feed it directly with AC.
thank you again for the reply for the few things I need ac for, I can use an SSR a
CheersI am buying a New Open sprinkler, sadly my old one was cremated when my shop building burned down
it was many years old 6+ but worked great -
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler › ESP32