To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 4552
  Basic Sensor Question
 
I just got my HB and am trying to test the sensor input, the docs say to hook up the microswitch between signal and ground, when I do this and close the switch my hb resets (because I just shorted it out...). I tried putting a resistor (330 ohm) in (...) (26 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 (...) (26 years ago, 21-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] [ ][ ][ ][ ][ ][ ][ ] [ (...) (26 years ago, 21-Oct-98, to lugnet.robotics.handyboard)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR