Hi guys, thank you for your help so far!
I've spent some time searching and have managed to find one 5v tolerant board with wifi so far: the Espruino
https://www.espruino.com/WiFi.
However, our team feels that it its too expensive and may not be easy to programme, since it runs Java.
In light of there being few options for 5v boards with wifi to choose from, my team has decided to go with the ESP32 DevkitC + level shifter route instead.
We've decided on the logic level converter (LLC) from Sparkfun (
https://www.sparkfun.com/products/12009?_ga=2.29430071.9452288.1578581922-580743905.1571318123).
After reading the hookup guide, here is how I would like to connect the LLC to the sensor and ESP32 DevkitC:
3v3 pin of ESP32 DevkitC --> LV on LLC
GND of ESP32 DevkitC --> GND on LLC
DAC on ESP32 DevkitC --> LV1 on LLC
5v from battery pack (also connected in parallel to 5v sensor)--> HV on LLC
GND of of battery pack (also connected in parallel to 5v sensor) -->GND on LLC
PWM output of 5v sensor --> HV1 on LLC
I've also attached a rough circuit diagram for your reference.
May I check with you guys if the circuit will work? Instead of using a 6v battery pack and 5v voltage regulator, we may also use a 5v power bank attached to the ESP32 DevkitC via Microusb.
Thank you!
Mike I'm not sure how to use a pullup + reverse diode and but will research and may use it as a last resort.