Just a few notes at the moment – a work in progress. This is just what I’m doing – your mileage may vary.
The WIFI chip behind the modules. By most accounts it is not 5V tolerant. I’m using 2 modules, the D1 Mini Pro and the smaller ESP-01S.
The D1 has a USB interface on-board and programs reliably plugged directly into the PC. The 01S needs a 3.3V USB adapter so I got a couple of those small USB adapters they plug directly into. But this was not reliable until I installed a 1K resistor in series with the TX line to the module. The USB chip is applying 5V to the RX pin of the 8266, which it doesn’t seem to like. The USB adapter also needs a switch to Gnd on the GPIO0 line to enable programming. Tasmotizer can install the network configuration to the D1 so it connects directly to your wifi network after programming. Tasmotizer programs the 01S but has problems configuring it which means you have to use a cellphone to connect via wifi to the 01S which presents an access point, to configure it for the network – an extra step. It may be a problem with the sequence I’m using but I tried many variations.
Command reference: here
I’m using the D1-Mini-Pro because it has the external antenna option and the ESP-01S (S means 1MB flash) because it’s small and cheap.
Install Tasmota using Tasmotizer – I’m using Kubuntu, running Tasmotizer from the command line.
To get correctly dated messages you set timezone at the web interface console by entering the command “timezone 12” – for New Zealand. Timezone without the 12, will display the current setting. The number “12” is an offset in hours from UTC.
ESP-8266 D1-mini Pro – ACW-1A*
A carrier board for the D1, providing power supply and input/output connections. The design purpose was to provide a outdoor unit for control/monitoring. The narrow module can be housed inside a 32mm diameter conduit making it waterproof and suitable for outdoor elevated mounting for best wifi range.
- mounts a standard ESP-8266 D1-Mini-Pro module (not supplied)
- power supply nominal 12V DC
- dc-dc 5V regulator module
- relay output – 2A, 35V ad/dc, C-NC-NO
- mosfet output – 5A, 12V – switches -ve
- 1 each, optically isolated input and output
- ten general purpose i/o connections
- narrow to fit inside 32mm electrical conduit
- mounts various 2.4Ghz wifi antennas
- corner mounting holes
For outdoor mounting, possibly raised, up a pole or on a roof the ACW_1A module can be mounted inside a standard 32mm electrical conduit. The antenna can be sealed into the conduit or protruding through a hole in the end cap – sealed with silicon RTV. The antenna can be a simple 1/4 wave as shown or for longer ranges a higher gain or directional antenna.
For shorter ranges, the on-board antenna can be used.
Note : Unless specified, you will need to supply the ESP-8266 D1-mini-pro and wifi antenna if required.
For specific application the unit can be supplied complete and ready to install with a suitable wire tail for connection to power and input/output.
PIC – ESP-01 board
This is an update of a previous control board that I have used for several applications. The on-board PIC controller performs the particular function required. The expansion includes on-board mains power supply and ESP-01 for basic remote monitoring or control.