Maker Pro

Recent content by diego

  1. D

    Help connecting a pin

    Thanks for your help First thing you are right I shouldn't draw the phototransistor upside down. I started drawing it that way because that's how the CNY70 is built I don't know why, +Vcc goes on opposite corners for the CNY70. Second thing circuit B probably is the most common design I...
  2. D

    Help connecting a pin

    + transistor Okay so I added a transistor and now the circuit looks like in the picture. I don't know if that's what you meant, but with everything connected as in the picture in the input pin of schmitt trigger I'm getting values of 0.2 V when passing a black color and between 2 and 3 V when...
  3. D

    Help connecting a pin

    I'll rephrase Right, I didn't explained quite right. I have a phototransitor connected to +Vcc and to ground through a 10k resistor, next to this phototransistor there's an infrarred diode so that when I pass a sheet of paper the infrarred light is reflected and the voltage between the 10k...
  4. D

    Help connecting a pin

    Hi, I'm using the following circuit, problem is that by default the schmitt trigger (that is the IC) has about 1V in the input pin (of course if I connect to ground it will be 0 V) thing is I want to put in the input the voltage given by the phototransistor, but when this voltage is < 1, instead...
  5. D

    Help with PIC 18F, motors, and L293D

    Solved it Thank you I've solved apparenty the, voltage was fluctuating too much, I used a regulator(7805) and now its working perfectly fine.
  6. D

    Help with PIC 18F, motors, and L293D

    So I got the circuit that can be seen the drawing, and with it I can control the motors using the PIC, right know I've got a very basic program which only makes all possible motor spins. The circuit works fine until I apply some resistance to the motors which in turn makes them draw more...
  7. D

    Help with dc motor connected to a PIC microcontroller.

    Finally I solved what I did was the following: Use the RC circuit suggested by Resqueline and the capacitors as suggested here: http://www.beam-wiki.org/wiki/Reducing_Motor_Noise and here http://www.kronosrobotics.com/an142/GAN142.shtml Note that the RC is not the only way to reduce...
  8. D

    Help with dc motor connected to a PIC microcontroller.

    The noise is almost none, I think I'm going to try what is suggested in the following web page to reduce it to none thanks for all your help. http://www.beam-wiki.org/wiki/Reducing_Motor_Noise
  9. D

    Help with dc motor connected to a PIC microcontroller.

    I'll upload pictures tomorrow (right now I'm going to sleep) but I can tell you I am using a small motor (4 miliHenries of inductance) with a couple of gears and 4 AA rechargeable duracell batteries which give me between 4.6 and 5.5 volts (they're 1.2 volts according to the label and about 2200...
  10. D

    Help with dc motor connected to a PIC microcontroller.

    You're absolutely right, I've forgotten some things about electronics, and for some reason I kept the idea in my head that Vcc meant the voltage supply. I tried the solution, that is treated the Vcc node as a seperate node from the power supply separated by a resistor of 10 Ohms, and a...
  11. D

    Help with dc motor connected to a PIC microcontroller.

    Would you care to explain to me why is it the same deal? Having the 10 ohms resistor connected to +5V on one end and to +5 V on the other end. Should I just discard the resistor??
  12. D

    Help with dc motor connected to a PIC microcontroller.

    Oh, I see what you were trying to do, but suppose you only had 5 V supply no 9 V and those 5 V also need to go to the motor, what would you do then?? (funny thing my 5 looks like a 9)
  13. D

    Help with dc motor connected to a PIC microcontroller.

    Sorry but could you explain to me your fix, because I see a resistor connected to the power source a two points?? How can this be I mean no current will go through the resistor. I supposed you meant having the motor and the resistor in series and all of this in parallel with the capacitor but I...
  14. D

    Help with dc motor connected to a PIC microcontroller.

    All right i'll try that thanks. Btw it's been sometime since I use electronics so I'm a bit rusty can you recomend me a book to read?
  15. D

    Help with dc motor connected to a PIC microcontroller.

    Yes there is a mistake in my drawing, indeed every resistor that says 330k is not 330k but 330 ohms. Thanks for pointing it out. How would you connect decoupling capacitors? Because I've been thinking it with my brother and came to the conclusion that some sort of cicuit like the following...
Top