Page 2 of 2
Re: STE RTC DCF77
Posted: 05 Nov 2022 21:26
by DoG
It get power from a adjustable buck converter and then fed through a MCP1700-3302E LDO to get 3.3V to the ESP-01S and the MAX3232 board. Connected to a MegaST.
SSID_small.jpg
Hardware3_small.jpg
DB25_small.jpg
Re: STE RTC DCF77
Posted: 05 Nov 2022 21:42
by czietz
Something is very weird with the communication. For example, when it says "Available Wifi networks:" and then, in the next line, "wifi", it is showing an echo of the command. But the device is not supposed to echo the commands.
Re: STE RTC DCF77
Posted: 06 Nov 2022 09:42
by czietz
Hence, you need to figure out what is causing the commands to echo in your setup. I suggest the following experiment:
Take a serial terminal program of your choice, configure it to 9600 bit/s, 8N1, no flow control. (And be sure to disable "local echo" by the terminal program so you don't get fooled.)
Then, with everything connected and powered, please press Ctrl+M, then type "vers" (without the quotes), then press Ctrl+M again. You should see an answer from the module like this:
IMG_5246.JPG
More crucially, you should
not see the command ("vers") being echoed (not even while typing it). However, your previous screenshot (from WIFICONF) shows that commands (like "wifi") are in fact echoed.
You can then start removing parts (e.g. unplugging the ESP-01) and see when the echo ceases.
Re: STE RTC DCF77
Posted: 06 Nov 2022 17:45
by DoG
As you said, still having echo, even after removing the ESP-01. So probably the Max3232 module. I don't have a schematics for the module and there is 6 capacitors on it which is a bit weird (maybe they have used 2 for bypass). It is so small so hard to measure.
Either desolder the Max3232 from the board and solder directly to the legs or order a DIP variant from a local seller.
Anyway, here is the output from AtariTerm:
20221106_150539.jpg
Re: STE RTC DCF77
Posted: 07 Nov 2022 07:05
by czietz
The answer looks normal. Thus, the ESP8266 sees the commands and is able to reply to them. But it's the additional and unexpected echo that causes the client SW (be it WIFICONF or WIFISET) to choke.
Re: STE RTC DCF77
Posted: 09 Nov 2022 21:24
by DoG
Got the DIP version of MAX3232 from local store. Remade the PCB on veroboard. Fed it 3.3V directly. Now it is working great. I was thinking making a small PCB and fitting in a DB25 case. How fast is the ESP8266 on booting btw? Can you take 5V from the Atari and mount it inside instead?
SSID working small.jpg
New veroboard PCB.jpg
Re: STE RTC DCF77
Posted: 10 Nov 2022 06:40
by czietz
DoG wrote: 09 Nov 2022 21:24
How fast is the ESP8266 on booting btw? Can you take 5V from the Atari and mount it inside instead?
Never tried that. The module is ready to accept commands within 1 - 2 seconds. The connection to your Wifi will take longer; but there's a timeout in WIFISET to wait for that connection.