background image

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/

 

 

Summary of Contents for Gemini Two

Page 1: ...019 www nixology uk Assembly Instructions Gemini Two tube clock nixology uk REVISION HISTORY Issue Number Date Reason for Issue Draft 1 24 04 2019 New document First Release 06 05 2019 Update 1 21 05...

Page 2: ...on access to an NTP Time source for operation WiFi connection configured via a captive portal on the clocks own Access Point Supports NeoPixels for tube illumination and confirmation of data type bein...

Page 3: ...bon cable from this connector to your choice of tubes The arrangement of the signals on the connector matches those available from PV Electronics for the QTC clock range Tube Cells for other tube type...

Page 4: ...ated by this circuit can give a potentially LETHAL ELECTRIC SHOCK DISCLAIMER This product is supplied as a kit of parts intended only for suitably qualified electronic engineers who are suitably quali...

Page 5: ...wick braid or a solder sucker can be useful if you accidentally create solder bridges between adjacent solder joints Other items you will need The clock kit does not include a power adapter The clock...

Page 6: ...rammed 1 Two Tube Clock PCB You will also need 2 x your choice of Nixie Tubes not supplied The board uses the same 2x6 header arrangement as the PV Electronics QTC clock so any PV Electronics QTC comp...

Page 7: ...Gemini Two Tube Clock 7 Update 1 21st May 2019 www nixology uk...

Page 8: ...to what the values of the resistors are then use a multimeter to check them R1 R2 100R Brown Black Black Black R3 R4 10K Brown Black Black Red Sockets and Headers These are all mounted on the top of...

Page 9: ...a USB cable to the WeMos for monitoring status information without inserting the optional extension headers that are supplied with the WeMos If mounting the NCH8200HV under the board then mount the p...

Page 10: ...2019 www nixology uk Remove the power supply and trim the short ends of the socket pins on the other side of the board Mounting pins cut off after soldering NCH8200HV mounted on bottom of board NCH82...

Page 11: ...Gemini Two Tube Clock 11 Update 1 21st May 2019 www nixology uk NCH8200HV mounted on the bottom of the board Remove the NCH8200HV from the clock...

Page 12: ...ely where it may not be affected so much by any heat generated by the clock and associated components Solder the header pins to the BMP280 Which side you solder the pins to will depend on your chosen...

Page 13: ...Gemini Two Tube Clock 13 Update 1 21st May 2019 www nixology uk Take care to orient the WeMos correctly so that the pins get soldered to the correct side...

Page 14: ...kets headers that were supplied with the WeMos into the underside of the PCB and then plug the WeMos in to these headers The purpose of plugging the WeMos in at this stage is to help get the socket he...

Page 15: ...pins and sockets this is designed to mount ONLY on the underside of the PCB PLEASE NOTE PIN SOCKET Method now superseded skip to the Alternative Space Saving method Follow the same procedure as used f...

Page 16: ...IN towards the outer edge of the PCB Alternative SPACE SAVING method This MUST BE DONE AFTER soldering R1 R2 R3 R4 and the 8 pin DIL socket in to place If you would like to reduce the overall height...

Page 17: ...is sufficient clearance between them and the Buck Converter PCB With the mounting pins provided 4 way header pins there is no need to trim the legs of the 8 pin DIL socket used for the opto couplers...

Page 18: ...0V supply Inset the NCH8200HV power supply into the sockets on the board Re attach the 12V supply and check that 170V is being produced by the NCH8200HV by connecting a multimeter to the GND and HV te...

Page 19: ...ate 1 21st May 2019 www nixology uk Plug in the following on the bottom of the PCB 1 x WeMos D1 Mini taking care to align the pins correctly and orient the WeMos so that the Antenna end is closest to...

Page 20: ...the WeMos will be trying to connect to a WiFi signal and failing You could also connect the WeMos to a PC using a micro USB cable not supplied and use the terminal mode of the Arduino IDE or PuTTY to...

Page 21: ...Viewed from above Tubes can be attached in a variety of ways If your Tube Cells have female socket headers then these could be attached directly to the board for testing Take care to orient the conne...

Page 22: ...Gemini Two Tube Clock 22 Update 1 21st May 2019 www nixology uk...

Page 23: ...e IP address 192 168 4 1 and the configuration screen should be displayed It should look similar to this Select Configure WiFi and choose your AP from the list of those found Enter the WiFi password i...

Page 24: ...e data being displayed alternates each minute The Date is displayed as a sequence of DD MM and YY The date display is accompanied by a change of LED lighting colour to ORANGE The Temperature is displa...

Page 25: ...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 WiF...

Reviews: