![Nixie Clock Gemini Two Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/nixie-clock/gemini-two/gemini-two_assembly-instructions-manual_1697058025.webp)
Gemini Two Tube Clock
25
Update #1 (21
st
May 2019)
www.nixology.uk
Loading new software
The WeMos will come pre-programmed, In order to load the latest software into
your WeMos you will need to use a tool called esptool.exe which, if you have
installed the Arduino IDE on a Windows PC and have added WeMos support then
you will find it in your profile path. Mine was located at:
AppDataLocal/Arduino15/packages/esp8266/tools/esptool.4.13/esptool.exe
Once you have located the tool, copy it to a working directory where you have
also saved the latest bin file for the clock code then execute the following
command:
esptool.exe -vv -cd nodemcu -cb 921600 -cp COMx -ca 0x00000 -cf software.bin
Be sure to replace COMx with the relevant COM port for your connected WeMos
and replace software.bin with the name of the .bin file that you have received.
eg.
esptool.exe -vv -cd nodemcu -cb 921600 -cp COM6 -ca 0x00000 -cf
GemeniOTA-PIR-Async-BMPckeck.ino.bin
Once the software has been loaded, the WeMos will restart and will try to
connect to WiFi. Use a mobile phone or other WiFi enabled device to connect to
the AP that is broadcast and set it up to access your WiFi. Once this has been
done, the clock should run, place the WeMos back on the clock PCB taking care
to orient it correctly and power up the clock.
You can monitor the serial port in order to see what the clock is doing, you
should see some activity on the tubes if they have been connected.
The software also supports OTA programming so if you already have it
connected to your network and you know its IP address, you can update the
software OTA using the espota.py python script. You will need to have installed
Python for this to work.
A typical command line for this method would look something like this (assuming
that the WeMos is connected to your LAN and is at IP 192.168.100.125, the
password for OTA uploads is
‘
Z566
’
):
python.exe espota.py -i 192.168.100.125 -p 8266
–
auth=Z566 -f
C:\bin\GemeniOTA-PIR-Async-BMPckeck.ino.bin
Here is a link to an instructable on OTA programming:
https://www.instructables.com/id/IoT-Over-the-Air-Update-OTA-ESP8266/