At "Testing I" step and LS2 won't light #120
Replies: 17 comments 13 replies
-
Some thoughts: The 74HC595's are 8-bit serial to parallel shift registers. The data for the LEDs is sent out as a serial stream thought the shift register from one 595 IC to the next 595 IC and so on. Let me say this a different way: Each 595 has a serial input and a serial output, the ESP32 sends the serial stream to the first 595s input in the chain, the first 595s output feeds the next 595s input and so on. We know the serial bit stream is making it past LS2 LED as the LEDs after it work (LS3..LS7), and it sounds like the LD0 to LD7 LEDs work as well. This would indicate to me the serial data stream through all the 595s is working. You've tested LS2 with the jumper wire and it seems to work. You've also indicated R42 looks good. One thought: Is pin 2 on the 595 folded under the IC? Did the same thing happen on the 595 you swapped in? I've seen bad sockets cause multiple IC pins to be bent before you realize it's happening. Some troubleshooting ideas: Check the color bands on R42 to make sure it matches R41 and R43. With U2 removed check the resistance of R42 vs R41 and R43. It should be very close. It not it could be a mismarked resistor. With U2 removed take a close look at pin 2 inside the socket (not the solder joint, look at the hole in the socket). Does it look like the other pins in the socket? I've seen sockets where a pin inside the socket is damaged that isn't obvious without a close look. Pin 2 on the 595 must make good contact with the pin inside the socket. These are double swipe sockets so the pin should make contact inside a little U shaped metal receiver such that the pin is connected on both sides. With U2 removed check the resistance from U2 Pin 2 (one lead to the pin in the socket) to R42. It should measure 0 ohms. With U2 installed measure the resistance from U2 pin 2 (touch the shoulder on the pin up against the plastic package) to R42. It should be 0 ohms. As a note: Let us know what you find. |
Beta Was this translation helpful? Give feedback.
-
Let me give it a bit more thought. Do you have an volt/resistance meter? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, You're soldering doesn't look bad. We all progress from it being difficult to becoming easier and more reliable over time. For the circular pads you should see full wetting of the pad (it's all covered in solder). The solder will form a little volcano shape with the component lead sticking out the top. If you end up with a solder ball either the pad isn't fully wetting (try some flux) or you have too much solder. Take pride in the work you've done and the skills you're learning. This is all a journey, and we all learn and improve each time we take on a project. Let us know what you find. |
Beta Was this translation helpful? Give feedback.
-
Thanks, Neil. Sorry for going quiet, but I have been busy at work. I have managed to try a few things.
Could it be that ESP32-PICO-KIT is actually at fault? The fact that the 3.3 V line holds rock steady while the 5.0 V line fluctuates quite a bit (an never reaches 5V) makes me wonder. I have not been able to find a powered USB hub to test yet. Chris PS - I appreciate the positive feedback and encouragement. The helpful nature is why I have enjoyed engaging with the retro computing community. |
Beta Was this translation helpful? Give feedback.
-
This is excellent news! LS2 is still a mystery but we will get it figured out. I'm finally at my new place (been a LONG move) and will have my stuff delivered next week though it will take time to get my lab fully setup. At the moment I have a blank PCB and my good meter. I'll go over your photos in more detail and will compare against my board then we can go from there. |
Beta Was this translation helpful? Give feedback.
-
One more round of measurements. Jumper the RESET switch location so the system sits in RESET so all the LEDs are in test mode (are on). You should be able to put one of the address/data toggle switches into the RESET switch location and use it to hold the system in RESET. If the pin that drives the LED is measures lower then the other pins swap the IC with another one and test again. My gut is the LED is the issue but taking these steps before replacing it will help me understand the issue for future debugging efforts. As a note: |
Beta Was this translation helpful? Give feedback.
-
Any progress on this? Did swapping the LED work? |
Beta Was this translation helpful? Give feedback.
-
Hello Neil, I was unexpectedly called away for the past two weeks and just got back. I hope to continue with the LED swap this weekend and am eager to let you know how it goes. Fingers cross. Thanks for the continued support and interest! |
Beta Was this translation helpful? Give feedback.
-
Sorry my eyes aren't that great but is that a solder joint between the ground plane and pin 2 of U2? Could just be a reflection but it looks like there might be a slight join? ![]() |
Beta Was this translation helpful? Give feedback.
-
Thanks for the critical eye on the photos, @acsidental and @nbreeden2. The solder flake was in fact just some flux residue that caught the light of my work lamp to appear silver/white. I reflowed the joint of pin two of U2 as suggested and there was no change. I then replaced the LED in LS2 with a spare that came with the kit. After installation, I regret to say that the same problem persists. When I power up the board with the RPi power supply and hold it in reset mode with S4 jumpered, all LEDs light except LS2. Jumpering the positive pole of C4 to the positive pin of LS2 via R42 lights the LED without trouble. For sanity's sake I rechecked:
And for completeness, I also ran the same checks as you last suggested, @nbreeden2: QA: 4.91 V I guess we can now rule out the LED, or? Is it possible that something further up the line is causing this? Thanks, Chris |
Beta Was this translation helpful? Give feedback.
-
One more attempt, can you please: |
Beta Was this translation helpful? Give feedback.
-
I believe we've looked at every possible hardware issue from several different directions; it seems the hardware is fine. |
Beta Was this translation helpful? Give feedback.
-
Cool. I've been meaning to do a video on how to flash the ESP32 using python from the command line in Windows. I'll get this created and posted. |
Beta Was this translation helpful? Give feedback.
-
We finally have an explanation of the LS2 LED issue. You are safe to continue the assembly of the kit! Let us know how it goes! |
Beta Was this translation helpful? Give feedback.
-
Dave and I are friends. This issue came up and as we discussed it, he looked up your order, saw it was a Cromemco kit, he knew that LS2 was different between the two systems (STACK vs 2MHz/4MHz) and dug into the source code. |
Beta Was this translation helpful? Give feedback.
-
You're very welcome. -Neil |
Beta Was this translation helpful? Give feedback.
-
I have just finished step 26 in the assembly instructions (i.e. all ICs are in place). "Testing I" almost succeeds entirely. The ESP32-PICO-KIT starts properly as indicated by its terminal output and I can connect to its local AP and see the GUI. I can insert the power rocker switch and turn on the simulation and lights appear. I can toggle run and stop just fine as in assembly video 11 [1]. So far so good!
When I attempt to trigger the reset switch by shorting the middle and bottom pads of S4 (3:30 in the video), all the lights come on as expected except for LS2.
I know the LED in LS2 works from testing during assembly. I confirmed this by using a jumper to connect IC U2's pin 2 to power from capacitor C4 and the LED lights up. Resistor R42 checks out, too. Using a multimeter, it looks like the pin 2 of U2 never goes high. I swapped out the 74HC595 of U2 with the U1 and U3 and LS2 remains out. I additionally swapped around the 74HC165s and LS2 remains out. For good measure, I reflowed all IC sockets and reseated all chips, but LS2 remains out.
I found this post [2], which suggests checking continuity of pins 10-14 of all 74HC595s. Pins 10-13 all check out on all chips, but there is no continuity between any pin 14s. I am not sure if this tells me anything.
I'd appreciate any suggestions for further testing or troubleshooting!
Thanks!
[1] https://youtu.be/VrSLJicIlcU
[2] https://github.com/orgs/thehighnibble/discussions/52#discussioncomment-5806331
Beta Was this translation helpful? Give feedback.
All reactions