nasa-jpl / open-source-rover

A build-it-yourself, 6-wheel rover based on the rovers on Mars!
https://open-source-rover.readthedocs.io
Apache License 2.0
8.55k stars 1.35k forks source link

Monolithic board testing fails at step two! Test pad T2 isn't GND #118

Closed JHPHELAN closed 5 years ago

JHPHELAN commented 5 years ago

Electrical Assembly Instructions / 2 Component Integration and Testing / 2.1 Power Distribution System:

"1. Begin by powering the board. In order to do this we will be bypassing the switch and volt meter, so this connection will look a little bit different than when you fully install the board into the rover. Insert the red wire on the Tamiya Battery Connector E35 into the IN terminal on connector J16, and the black wire to the GND terminal on the connector J15."

Do we really want to connect the battery to two different terminal blocks, or is one of these a typo? [apparently it DOES work once you realize that T2 is NOT ground but use the battery ground as reference]

IMG_4816

"2. Using a Digital Multimeter (DMM) probe the voltage accross the test points T1 and T2. These will tell you the voltage level that the board is at, which is the direct voltage of the battery. Verify that from T1 to T2 reads a positive number, and is between 12V and 16.7V depending on the charge state of your battery."

Doing this, there is NO voltage between T1 and T2 when voltage is present between the two wires.

Connecting the battery to the more logical terminals on J15 has a similar problem. Even shorting the POWR SWITCH J16 terminals failed to produce a voltage.

IMG_4817 IMG_4818

Further continuity testing revealed that test pad T2 DOES NOT CONNECT TO GROUND. All the other GND terminals on the board DO test as connecting to the GND terminal of BATTERY IN. I got an error message trying to view the PCB in KiCAD so I can't trace the problem. I'll have to skip this part and proceed under the assumption that T2 is mislabeled or not connected. So far no mention in the directions about installing the 12V or 5V regulators so they are not installed at this point.

"INSERT IMAGE OF ROBOCLAW WITH WIRES IN IT AND ROBOCLAW CON- NECTION TO BOARD" Permission granted.

IMG_4821 (Edited)

Jim Phelan Mars rover project lead USAi Labs (formerly Houston Robotics)

ericjunkins commented 5 years ago

I guess when I say "GND" yes this is being loose with the term "Ground". It refers to Battery Ground, or the (-) terminal of the battery. This is not Earth Ground.

Below shows the schematic of the board. image

I will have to dig in further to that test point, i'll try and verify with my boards. What is the error message from KiCAD? I want to make sure people can view/edit these boards so I want to try and help fix that as well. An FYI you should be able to view the schematic of this board at: https://github.com/nasa-jpl/open-source-rover/blob/electronics-pcb-rework/Electrical/Schematics/Monolithic%20Board.pdf

JHPHELAN commented 5 years ago

@ericjunkins I assumed that GND meant board GND / battery GND. But T2 doesn't have continuity to battery GND unlike every other GND designated terminal on the board. However, if you ignore the problem with T2 and measure against any actual GND on the board, it measures ok so far as I've gotten.

The obviously old (as it bears little resemblance to yours) schematic I have (Monolithic Board.pdf) shows: Monolithic Board cropped

But I was less concerned about the labels as the actual board traces. I may well be misusing KiCAD as I am not at all familiar with it, but when I tried to look at the actual construction of the PCB (Monolithic Board.pro) in KiCAD I got: Capture

Jim Phelan Mars rover project lead USAi Labs (formerly Houston Robotics)

JHPHELAN commented 5 years ago

BTW, my teacher at TXRX makerspace for Python & OpenCV, Dan Mailman, taught us that documentation always takes a back seat to creation. EXPECT that documentation will be incomplete, out of date and inaccurate. Just be pleasantly surprised when it actually works as hoped, just like your program. That attitude has saved me a LOT of frustration! JHP

ericjunkins commented 5 years ago

@JHPHELAN I'm trying to close some of these open issues one by one here. I should expect that T2 is always GND for the system no matter what. Were you still seeing issues where it was not? I wouldn't expect that to happen and am just trying to check and see if this still needs to be an open issue or not.

JHPHELAN commented 5 years ago

On my board T2 did not connect to anything. Continuity check between it and any other GND tests OPEN. JHP

ericjunkins commented 5 years ago

Ah okay, I found the error.. the following test point is not actually connected into the net. unconnected pin

leading to this via/net not being connected into the GND plane. unnamed net

Fixed here:

named trace