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
4551  |  4553
Subject: 
Basic Sensor Question
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 21 Oct 1998 21:17:47 GMT
Original-From: 
Julian Porter <[jporter@mindspring]stopspammers[.com]>
Viewed: 
1388 times
  
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 the circuit this stopped the reset but I could not
get the switch to change states in ic, it is always 255. I am new to
electronics and appreciate any help you can give.

Julian
jporter@mindspring.com



Message has 2 Replies:
  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)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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