elkayem / ESP_NIXIE

Code and schematics for driving a Nixie tube clock with a NodeMCU 1.0 ESP8266 development board
GNU General Public License v3.0
56 stars 13 forks source link

Clock not working #1

Open HonzaPo opened 4 years ago

HonzaPo commented 4 years ago

Hi, I would ask for help. I tried to build a clock, but they don't work. Nixie doesn't show anything. Wifi settings work, oled display shows time. I tried the test code www.instructables.com/id/Driving-two-Nixie-tubes-with-an-Arduino-via-a-shif/ with esp modification and it works, so I don't know what's wrong. Code in Annex. I use: NodeMCU V3.0 (Clone board). Esp8266 boards version 2.5.2. Thank you.

ESP test nixie.txt

elkayem commented 4 years ago

Hmm... the fact that the nixies work with the code from the instructables site suggests that you should be seeing something on the tubes. Double check that your wiring matches my schematic since it does look like the sample code you sent is a little different. Also, use my latest version of code (from last week) and check that pin D3 with a multimeter. It should be high. If it is low, then the code is turning off the nixies for some reason, likely from the Auto Shutoff feature.

Can you use the rotary encoder to change the settings? Check to see if the Auto Shutoff feature is disabled. If the button on the rotary encoder isn't working reliably, it could be that you need to add a 10K pullup resistor from pin D0 to 3.3V. (I really need to add that to the schematic.) Most boards seem to get by without that resistors, but a few don't. See my github page for more details. I updated it recently.

I have not used this with the NodeMCU V3.0, but I think it is the same except for size. It is possible but unlikely that there is some subtle difference. You may be the first one to try it with that board.

Other than that, it may take a little troubleshooting. I can assure you that many people have built this and have it working, so it probably isn't a bug with the code. If you do find an issue though, please do let me know.

Larry

HonzaPo commented 4 years ago

Problem solved. I connected oscilloscope to pins D5, D6, D7 no data (square signal), only 3.3v. I changed the cable and uploaded again program and it works. I don't know why everything worked (display, encoder, wifi) except the shift register signal. I use a rotary encoder module, and it has preparation for a pullup resistor. Thanks for the help and great tutorial. How can I send you a photo of clock as you have requested on the github page after I finish them?