Calculating resistors required

From: Danny T (danny_at_nospam.oops)
Date: 12/31/04


Date: Fri, 31 Dec 2004 11:10:01 +0000

Hi all,

Sorry for more reeeally basic questions, but advice I've been given by
different people conflicts, and some of the reading on the web is a bit
over my head, whereas you guys always seem to explain things well :)

I've got a programmed PIC16F chip, and I want to wire it up to a few
things... My power supply is 4AA batteries (about 6V), but my chip wants
about 5V. The switches connected to my chip also want about 5V.

My motor is driven from an output pin of the chip (which I guess, is
5V?), but the motor is 3V. My LEDs are 3V too.

I guess I need a resistor to reduce my 6V to 5V, which can then be
connected to the chip + input switches. The 5V output would be find for
the 5V LEDs, but I guess I need another resistor for each motor.

It's also been mentioned that my switches should be connected to 0V via
a resistor when "off", and 5V when "on". I don't understand the
reasoning for this :-\

Also, if I was to need 6V to drive something, but the output from my
chip is less, though my main supply is enough - how do I go about
changing a 5V (I think!) output, to 6V? I've been reading about
transistors thinking they do what I want, but I've just confused myself
even more!

Many thanks!

-- 
Danny


Relevant Pages

  • Re: DC Brushed Motor Current Sensing (and Limiting)
    ... > I have a quick question regarding current sensing in DC motors. ... Since the motor I am working with reverses ... > the internal working of the chip. ... > resistor) will be both positive and negative depending on motor ...
    (sci.electronics.design)
  • Re: Motor Wiring Help Please!
    ... I bought a Neptune washer model MAH5500BWW in 2001. ... The motor does not spin at all. ... "If the motor does not run: Check the 10 amp fuse located on the ... I replaced those parts and then discovered that the large custom chip was also fried so I ended up replacing the motor board, got lucky and a friend had an extra one through a screwup of the warranty service on his but you can order them from repairclinic.com. ...
    (sci.electronics.repair)
  • Re: sensing the signal from a IC Pin
    ... This capacitor and resistor controls the switching frequency ... >signal at this pin where the capacitor and resistor are connected. ... I suppose the circuit i connected is affecting the WM chip. ...
    (sci.electronics.design)
  • Re: Keyboard LED
    ... It's a chip with a resistor between the chip and the power supply... ... > Then I guess you'll have a series resistor of 180-220Ohm. ... I don't know that blue LEDs but I think there's no need to ...
    (sci.electronics.components)
  • Re: SN7432N TEST
    ... I do _not_ think it is possible to check out a chip by ... Note the test does not say it the device is good, it only tells you if the device is bad - or another device on the same leg as you are getting a bad reading from. ... I suspect that Tamster is measuring and that indeed won't tell you anything except for shorts - as he did not mention which range the meter was in the readings are valueless as a guide to possible failures. ... Call 872-5757 or Fax 872-2010 (Pinballs, Jukes, Video Games) ...
    (rec.games.pinball)