 | | Dead HB
|
|
Hi All, While I was building my sumo robot I managed to short a wire in my HB. I put a wire that was connected to a multimeter and also connected to another part of the robot, into a digital sensor input, sparks came out and it smelt like burnt (...) (28 years ago, 22-Oct-98, to lugnet.robotics.handyboard)
|
| |
 | | Read A/D converter
|
|
"HI" , I am trying to read the A/D converter but the program gets "Hung-Up" on the line "ANALOOP", the CCF bit never sets. Please give me a hint. Here is the Assembly code. /* MAGLEV.ASM, Magnetic Levitation by Hector Noriega, 28JUNE1998.*/ /*Handy (...) (28 years ago, 22-Oct-98, to lugnet.robotics.handyboard)
|
| |
 | | Re: Basic Sensor Question
|
|
if a sensor connector row looks like this -- [ ][ ][ ][ ][ ][ ][ ] [ ][ ][ ][ ][ ][ ][ ] [ ][ ][ ][ ][ ][ ][ ] 6 5 4 3 2 1 0 then to connect to sensor 0, you plug the switch into the places marked "[X]": [ ][ ][ ][ ][ ][ ][X] [ ][ ][ ][ ][ ][ ][ ] [ (...) (28 years ago, 21-Oct-98, to lugnet.robotics.handyboard)
|
| |
 | | Re: Basic Sensor Question
|
|
You were right, also it seems my board is wired incorrectly analog(0) controls the connector marked 7 on the hb. Thanks for your help! Julian -----Original Message----- From: Scott R. Harris <srharris@phoenix.Pr...ceton.EDU> To: Julian Porter (...) (28 years ago, 21-Oct-98, to lugnet.robotics.handyboard)
|
| |
 | | Re: Basic Sensor Question
|
|
It sounds like you've got the switch between +5V and GND. What pins exactly are you connecting to? The sensor connections Are like this: _ _ _ G + I N 5 N D V P You dont need a resistor to use a microswitch. The HB inputs have pull-up resistors, so (...) (28 years ago, 21-Oct-98, to lugnet.robotics.handyboard)
|