Shop OBEX P1 Docs P2 Docs Learn Events
5V and 12V Vehicle RPM signal and the Prop — Parallax Forums

5V and 12V Vehicle RPM signal and the Prop

eagletalontimeagletalontim Posts: 1,399
edited 2013-11-18 23:02 in Propeller 1
Good evening once again! I am altering a project that I already have working to be able to pick up a vehicle's tach signal. Right now, I am just using a 2 resistor voltage divider to drop the 5V raw signal voltage before it enters the Prop. This is working 100% and has been for over a year now. What I am attempting to do is to (A) protect the prop pin a little better, and (B) allow either a 5V or a 12V tach signal to be able to be connected to the Prop.

My thoughts to do this would be to use a simple NPN transistor with the incoming signal voltage dropped using a 150K and a 39K voltage dividing circuit. This would make the voltage of the base Pin on the transistor between 1.03V with a 5V signal or 3.3V with a 16V (Highest spike) signal. I am currently using some NPN 3904 transistors found here : http://rohmfs.rohm.com/en/products/databook/datasheet/discrete/transistor/bipolar/umt3904.pdf in a different project and noticed they can handle a max of 6V at the base. Would this possibly work for me or is there a better, more reliable way?

I am also wanting to read RPM from a range of 0 to 13,000 and for some reason can't seem to get my math figured out with using the above NPN transistor. It has a rise time of 35 ns and a fall time of 50 ns. If I want to read up to 13,000 rpm, how would I calculate if this transistor could handle 13,000 RPM. With my 4 cylinder, I get 2 pulses per revolution. So I must figure with a V8, it could be 4 pulses per revolution.

If there is an easier way to do this or a better SMD IC that will handle this already, please let me know. I am almost ready to put in a HUGE parts order to Digikey. Any help is GREATLY appreciated!
«1

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2013-10-14 19:07
    and noticed they can handle a max of 6V at the base.
    That's a misreading.
    I am also wanting to read RPM from a range of 0 to 13,000 and for some reason can't seem to get my math figured out with using the above NPN transistor. It has a rise time of 35 ns and a fall time of 50 ns. If I want to read up to 13,000 rpm, how would I calculate if this transistor could handle 13,000 RPM. With my 4 cylinder, I get 2 pulses per revolution. So I must figure with a V8, it could be 4 pulses per revolution.

    Any help is GREATLY appreciated!

    1 / (35ns + 50ns)
    1 / 85ns
    11.7 MHz

    13000rpm *4 pulse / rev
    52000 ppm
    867 pps
    Really not a Propeller-related subject, it's about transistors, transistor specs, BW.
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-14 19:21
    I am trying not to fry the Prop when using this circuit since I am currently just using a voltage divider. I don't have to use a transistor if there is something better that will connect to the prop and do what I am looking to do. I figured since I am working with the Prop, someone may be able to help. Strange things could happen in an automotive environment, especially noise related issues. I would go with an LM1815 if I could fit it on my board since I already have good working code and circuit that would drop right in, but I don't have the room on my circuit board.
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2013-10-14 19:43
    I addressed the transistor and mathematics matters nonetheless.
    (Your ppms/rpms aren't a concern unless those pulses are "super narrow", which I doubt.)

    Missed that "GREATLY appreciated" part. :zombie:
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-14 20:27
    I do appreciate the better understanding of the math for the transistor "pulse" ability! I could not get it right for some strange reason....or maybe i did, but did not realize it :p Would I be safe just using a voltage divider (150K and 39K) connected directly to the Prop?
  • PJAllenPJAllen Banned Posts: 5,065
    edited 2013-10-15 11:50
    What's the source (electronically) of this 12V rpm dealio?
    To me, a lot depends on knowing that.
    What to do should be tailored to that.

    If it's something that's already pulled-up then I wouldn't just start hanging resistors.

    Maybe you could go with a variation of the Philips I2C 5V-3V level shifter (only as 12V-3V)?
    Maybe you could use a opto device (speed considerations), if there's current enough to light the IRED in one.

    Transient suppression diodes, zener-like devices for clamping, are out there.
    Automotive is moving more and more to opto and fibre, etc.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2013-10-16 14:00
    Would a MOSFET not be better for this than a BJT? Surely the gate of a MOSFET could handle any voltage the 12V rail of your car is going to send, and then your output is one of two known constants, independent of the 12V rail.
  • Jim FouchJim Fouch Posts: 395
    edited 2013-10-16 18:05
    You may want to consider using a comparator. Something like a LM339N which has 4 in one package. Simply set your reference voltage with two resistor and use the open collector outputs to drive your input pins to the prop.

    One nice thing about this is it places a very low load on your input signals from the car/motorcycle. Normally in the micro amp range. I have seen some strange things happen if you load the tach/speed signals as it also affects the other devices that rely on those same signals. On one of my bikes, the tach would kind of float with my circuit connected and sometimes even if the circuit was removed, but the cable was left connected. Some strange antenna side effect.

    Also, using a Zener diode is another option to protect the prop from a higher voltage input. http://www.electronics-tutorials.ws/diode/diode_7.html
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-16 18:34
    This is no different to any other higher voltage input to the Prop that has been addressed in the past. My recommendation is to KISS and just use the two resistors. If you use 470K for the input resistor it will limit the current which will end up being clamped by the Prop's substrate "diodes" anyway. There is no real need for a voltage divider at all and there is no loading on the Tacho input expect for the 470K resistor which could even be 1M or more in this case. However it wouldn't hurt to add a pull-down on the Prop pin of around 150K which also acts as a voltage divider, not to protect anything, but to raise the input sensing threshold from 1.6V up to 6.6V which helps with noise on the line. Unless the input current is appreciable (not) there is no need for further clamping as in the case of zeners etc.
  • LoopyonionLoopyonion Posts: 24
    edited 2013-10-17 03:08
    This link is to an old post back in 2008:-http://forums.parallax.com/showthread.php/107295-RPM-sensing-project...need-assistance/page2?highlight=28205.
    ms357_tachs.jpg
    The image is a schematic of the Megasquirt, an open source engine management system, and its RPM sensors, being magnetic, or hall effect. Please excuse the formatting of my post, for some reason the enter key does not enter a CR..
    1024 x 760 - 94K
  • LoopyonionLoopyonion Posts: 24
    edited 2013-10-17 03:31
    tacho input circuit.PNG


    I also looked at this one from the 28205 prop board, the input spec shows

    input specs rpm.PNG


    The input tolerances are quite wide ranged.
    462 x 345 - 13K
    729 x 252 - 12K
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-17 04:01
    Loopyonion wrote: »
    tacho input circuit.PNG
    I also looked at this one from the 28205 prop board, the input spec shows
    input specs rpm.PNG

    The 10K and diodes are totally redundant due to the minimal clamp current that would flow, there is no way that the input signal through 470K could ever cause a problem not even at a much higher voltage. As for the cap that would only be necessary for noisy non-digital signals.
  • LoopyonionLoopyonion Posts: 24
    edited 2013-10-17 05:09
    Theres a little side project im working on, that needs to pick up a 5v pulse from a tacho, but some vehicles will use 12v (older models). Im thinking, a mix between the two. Can an opto be used to provide the input to the prop, but the opto input have a zener diode at 5v, to keep the opto in its tolerances? sort of a hybrid of the two systems that then isolate, and accept between the saturation of the opto, up to the zeners max voltage? Ill sketch a diagram later on if time permits.
  • Jim FouchJim Fouch Posts: 395
    edited 2013-10-17 06:04
    Loopyonion wrote: »
    Theres a little side project im working on, that needs to pick up a 5v pulse from a tacho, but some vehicles will use 12v (older models). Im thinking, a mix between the two. Can an opto be used to provide the input to the prop, but the opto input have a zener diode at 5v, to keep the opto in its tolerances? sort of a hybrid of the two systems that then isolate, and accept between the saturation of the opto, up to the zeners max voltage? Ill sketch a diagram later on if time permits.

    The only issue I see with using an Opto is you need to draw about 10ma from the input (tach/speed) signal to drive the LED of the opto. You could use some other circuit before the opto's LED to limit the current on the tach/speed signal.
  • LoopyonionLoopyonion Posts: 24
    edited 2013-10-17 11:22
    supra trans schem.JPG


    This schematic is from a Supra Auto transmission control board by Jim Edwards. It appears to use a 12v pulse for RPM signal. This appears to be yet another method.:)
    982 x 726 - 91K
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-17 14:50
    Simply pulling out schematics as suggestions without any appreciation of them can only confuse, not help. The John Edwards circuit is using unity gain opamps and clips the input signal to -0.7V/5.7V using diodes but then uses a 10K in the output of the opamp which effectively makes the opamp redundant as the input is coupled by 10K anyway, it could have been coupled without the opamp.So this looks like the author just played it safe and copied parts of other circuits too.

    Almost the same goes for the Falstad circuit, it seems to have the seemingly obligatory clamp in there in the form of a Zener yet the input resistor value is very high at 100K. Low voltage Zeners are not ideal for starters in that they have a "soft knee" and start to leak current as they approach the knee resulting in a lower voltage in this case but it still works, although again it is redundant due to the high input resistance of 100K (I=V/R = 7V/100K = 700ua). So it could easily have used a 470K instead also without the Zener. The use of a simple linear regulator without any kind of input filtering works fine on the bench but is not really recommended for automotive use which indicates inexperience.

    So as I said before, KISS, just use the two high value resistors, maybe a cap, all the other stuff is just fluff.
  • LoopyonionLoopyonion Posts: 24
    edited 2013-10-17 15:09
    Heres the quadrover rpm schematic in simulation, the prop pin looks to be too high.

    http://www.falstad.com/circuit/#%24+1+5.0E-6+109.66331584284586+50+5.0+50r+304+336+384+336+0+470000.0r+384+368+384+448+0+220000.0c+528+368+528+448+0+3.3E-9+1.1384227601593058E-17r+528+336+608+336+0+10000.0g+704+384+704+464+0R+704+240+704+192+0+0+40.0+3.3+0.0+0.0+0.5w+160+336+304+336+0w+384+336+528+336+0g+384+448+384+480+0g+528+448+528+480+0w+608+224+608+336+0p+608+128+656+128+0w+608+128+608+224+0w+384+368+384+336+0w+528+368+528+336+0d+704+304+704+240+1+0.805904783d+704+384+704+304+1+0.805904783w+608+336+640+336+0w+640+336+640+304+0w+640+304+704+304+0R+112+288+48+288+0+5+40.0+14.0+0.0+0.0+0.5w+112+288+160+336+0o+11+64+0+34+5.0+9.765625E-5+0+-1


    Peter, KISS is correct, but, numerous posts and methods have been made on the forum, yet, no one method has been agreed as good and industry standard.

    If i get time tomorrow, ill have a look at your method. It would save a lot of hassle:)

    This RPM sense thread is something that ive been drawn to, as it fits nicely with a 2nd project RPM counter im hoping to try. I appreciate your time in having a look. I dont mean to add to confusion by posting diagrams, hopefully we can find a solution.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-17 15:48
    Loopyonion wrote: »
    Heres the quadrover rpm schematic in simulation, the prop pin looks to be too high.

    http://www.falstad.com/circuit/#%24+1+5.0E-6+109.66331584284586+50+5.0+50r+304+336+384+336+0+470000.0r+384+368+384+448+0+220000.0c+528+368+528+448+0+3.3E-9+1.1384227601593058E-17r+528+336+608+336+0+10000.0g+704+384+704+464+0R+704+240+704+192+0+0+40.0+3.3+0.0+0.0+0.5w+160+336+304+336+0w+384+336+528+336+0g+384+448+384+480+0g+528+448+528+480+0w+608+224+608+336+0p+608+128+656+128+0w+608+128+608+224+0w+384+368+384+336+0w+528+368+528+336+0d+704+304+704+240+1+0.805904783d+704+384+704+304+1+0.805904783w+608+336+640+336+0w+640+336+640+304+0w+640+304+704+304+0R+112+288+48+288+0+5+40.0+14.0+0.0+0.0+0.5w+112+288+160+336+0o+11+64+0+34+5.0+9.765625E-5+0+-1


    Peter, KISS is correct, but, numerous posts and methods have been made on the forum, yet, no one method has been agreed as good and industry standard.

    If i get time tomorrow, ill have a look at your method. It would save a lot of hassle:)

    This RPM sense thread is something that ive been drawn to, as it fits nicely with a 2nd project RPM counter im hoping to try. I appreciate your time in having a look. I dont mean to add to confusion by posting diagrams, hopefully we can find a solution.

    Oh boy, in all the increasing clutter the obvious solution also happens to be the simplest. The appellation "Industry standard" is meaningless without industry knowledge, don't just copy a circuit because it has been used before.
  • Jim FouchJim Fouch Posts: 395
    edited 2013-10-17 16:33
    One thing to be careful about a simple single resistor is while it may keep the current low for the high voltage, it may not help with the logic low. I had a project where I needed to read all the inputs from a motorcycle. Some were 5V while many were 12 to 13.8V. One of the signals was coming from the Side Stand indicator. It's high was whatever the battery/regulator voltage was. So, when the bike was not running, high was ~12V and when it was running it was ~13.8V. The problem was the low signal was not 0V. It was something strange like 2V. It had something to do with a diode that was in the circuit from the manufacturer of the motorcycle. So, while the pin was protected from the high voltage, the low voltage was not low enough to allow the propeller to see it as LOW. It was higher than the low threshold of the 3.3V propeller pin.

    It is in cases like this that a LM339 will allow you to adjust what YOU want the threshold to be. While being more complicated, it gives you the ability to adjust.

    In most cases, the simple single resistor will work. You just need to make sure you know what your input signal will look like under all operating conditions.

    Here is a video of that project using a Propeller to replace the instrument panel of my bike....
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-19 03:30
    Wow, there have been a bunch of posts since I last checked! Most of them all have to do with only 1 input voltage (12V or 5V). Maybe it was missed, but I would like to have this "universal" and be able to work with either a 12V signal or a 5V signal without changing anything on the circuit or adjusting anything. I am trying to "KISS" for the user as they would more than likely not be able to fine tune / adjust anything. From what I am seeing right now, I probably need to go with the LM1815 since it hand handle a wide range of input voltage and outputs a 5V square wave based on the wave coming into the input. My biggest problem is that I do not have enough room on my board to put one :( I was hoping to a simpler solution that was small enough to fit in the left over area of my circuit board.
  • Jim FouchJim Fouch Posts: 395
    edited 2013-10-19 04:12
    Wow, there have been a bunch of posts since I last checked! Most of them all have to do with only 1 input voltage (12V or 5V). Maybe it was missed, but I would like to have this "universal" and be able to work with either a 12V signal or a 5V signal without changing anything on the circuit or adjusting anything. I am trying to "KISS" for the user as they would more than likely not be able to fine tune / adjust anything. From what I am seeing right now, I probably need to go with the LM1815 since it hand handle a wide range of input voltage and outputs a 5V square wave based on the wave coming into the input. My biggest problem is that I do not have enough room on my board to put one :( I was hoping to a simpler solution that was small enough to fit in the left over area of my circuit board.

    The LM1815 looks like a pretty neat chip. Only down side is you would need a chip for each input you're trying to connect to. Would get pretty expensive quickly if you wanted to sense many signals.

    One thing with a LM339 is you could use a PWM output in software to set the reference voltage allowing the code/user to adjust the threshold for the inputs.

    As long as you're insured that your low state on the 12V inputs is pretty close to 0V then the simple single resistor solution would be the best and would also work on the 5V signals.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-19 04:15
    Wow, there have been a bunch of posts since I last checked! Most of them all have to do with only 1 input voltage (12V or 5V). Maybe it was missed, but I would like to have this "universal" and be able to work with either a 12V signal or a 5V signal without changing anything on the circuit or adjusting anything. I am trying to "KISS" for the user as they would more than likely not be able to fine tune / adjust anything. From what I am seeing right now, I probably need to go with the LM1815 since it hand handle a wide range of input voltage and outputs a 5V square wave based on the wave coming into the input. My biggest problem is that I do not have enough room on my board to put one :( I was hoping to a simpler solution that was small enough to fit in the left over area of my circuit board.

    I don't understand what you are missing, the resistor method is happy with 3V, 5V, 12V, 24V, whatever. You can of course adjust the ratio so that it only works when it's above a certain voltage but otherwise a 1:1 ratio is fine and will work pretty much with any voltage. Even if you don't have a square wave it doesn't really matter either as once the threshold has been crossed it is effectively "square" in that it is either high or low. It probably pays to have software that confirms an edge and debounces it but that only requires a small delay and a resample anyway.

    The single resistor that Jim mentions is fine too but the "pulldown" resistor is recommended and this pulldown could also be treated as a voltage divider if you wanted to trim the threshold voltage but the thing is, just put in two resistors, you can fiddle the values later if you like, no need to wait for 3 months R&D on this minor detail.
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-19 05:29
    I have been calculating resistors for a voltage divider circuit but can't seem to pin down 2 specific resistors that will divide the voltage down to above 1.6v and below 3.3V with both a 5V input and a 12V (battery voltage 11V to 16V) input. I am trying to calculate for a worst case senario while trying to protect the prop pin for an unexpected voltage spike. This will only be installed on vehicles with ignition modules so the output should come from the ECU.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-19 05:53
    I have been calculating resistors for a voltage divider circuit but can't seem to pin down 2 specific resistors that will divide the voltage down to above 1.6v and below 3.3V with both a 5V input and a 12V (battery voltage 11V to 16V) input. I am trying to calculate for a worst case senario while trying to protect the prop pin for an unexpected voltage spike. This will only be installed on vehicles with ignition modules so the output should come from the ECU.

    I think you are missing the point of why high value series resistors are mentioned as they limit the current to the Prop pin which can deal quite well on its own in clamping small amounts of current (< 500ua). Without the Prop connected then you will be able to measure the higher voltage because it is not clamped but once it's connected to the Prop the voltage will not rise much above this clamped value.
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-19 06:02
    So by using the standard voltage divider calculations, the output voltage will be wrong since the Prop will alter this? I know the prop can handle an input of 3.3V safely and needs at least 1.6V to register the pin as HIGH. So with a 5V signal, I would need it to read at the prop (while connected to a pin) at least 1.6V and less than 3.3V in order for the pulse to be counted. Then, if the user has a vehicle that outputs battery voltage per pulse (11V to 16V), I would need the same resistor voltage divider to read above 1.6V at the prop pin and below 3.3V. Based on my calculations, with a "worst case scenario" of a 16V spike, no resistor voltage divider will accept both a 5V and a 11V to 16V pulse and output below 3.3V and 1.6V. Maybe I am missing something or just not understanding something :( Does the Prop already have a pull down resistor that changes these values?
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-19 06:50
    So by using the standard voltage divider calculations, the output voltage will be wrong since the Prop will alter this? I know the prop can handle an input of 3.3V safely and needs at least 1.6V to register the pin as HIGH. So with a 5V signal, I would need it to read at the prop (while connected to a pin) at least 1.6V and less than 3.3V in order for the pulse to be counted. Then, if the user has a vehicle that outputs battery voltage per pulse (11V to 16V), I would need the same resistor voltage divider to read above 1.6V at the prop pin and below 3.3V. Based on my calculations, with a "worst case scenario" of a 16V spike, no resistor voltage divider will accept both a 5V and a 11V to 16V pulse and output below 3.3V and 1.6V. Maybe I am missing something or just not understanding something :( Does the Prop already have a pull down resistor that changes these values?

    Do you know like when you feed a resistor into the base of an NPN for instance that the resistor's job is to limit the current but the base of the transistor is "clamped" at 0.6V? There is no "divider" there. In somewhat similar manner the clamping diodes start to conduct and bleed current from the input pin when the voltage goes more than 0.3V above Vdd. As long as that current is under 500ua it is within acceptable datasheet limits. All you need for this is a current limit resistor and at 16V for instance the minimum resistor value is calculated as R=V/I where V = 16V - 3.6V (Vdd+0.3) = 12.4V / 500ua = 24.8K. But that's the minimum value and we don't have to go anywhere near that as the Prop pin resistance is extremely high (CMOS) so we can use a much higher value resistor and still be safe (current limited) even for much higher voltages.

    BTW\, When your question has been answered multiple times you have got stop yourself from asking more questions and just ponder over the answers because all the information is there, anymore only adds clutter.
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-19 08:44
    Ok, I will stop asking questions. Still not sure I can answer my specific question based on the info here as I don't fully understand everything listed. I will look into a schmitt trigger as I think that is what I am needing.... if it is a 5V pulse or a 12V pulse, the output will, no matter what, be a 5V or 3.3V pulse depending on what rail I connect to.
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2013-10-20 00:37
    Ok, I will stop asking questions. Still not sure I can answer my specific question based on the info here as I don't fully understand everything listed. I will look into a schmitt trigger as I think that is what I am needing.... if it is a 5V pulse or a 12V pulse, the output will, no matter what, be a 5V or 3.3V pulse depending on what rail I connect to.

    The "stop asking questions" is not about not being bothered to answer your questions, it's just that they have been answered multiple times and it's like you keep taking a lucky dip with the various answers rather than just trying a very simple approach at no cost that has been explained extensively. Go figure.
  • eagletalontimeagletalontim Posts: 1,399
    edited 2013-10-20 07:33
    Maybe I should better explain why I am asking the questions. When I mess with electronics, I know that components operate at specific voltages. The current is a whole other thing to me and I have not quote grasped that yet. Most of the time, when one of my questions is answered, it is answered in a way that I feel like I should have gone to college to understand it. Everything I know about electronics is self taught so I am limited when it comes to the math areas.

    When you talk about a max of 500ua current, that to me is saying put a high value resistor in the circuit till the component does not get hot. If the max voltage of a component input is say 3.3V +/- 0.3V and I have a 5V power source, all I know I can do is either put in a 3.3V regulator, or put a resistor voltage divider to bring the voltage down to 3.3V. I use online calculators to help me figure this out. I would not be able to tell you if a 1/8, 1/4, or 1/2 watt is needed. I would LOVE to learn all the math involved with electronics! It would make things so much easier on everyone, including me. The way I have learned is to either tear something apart and trace the circuit or buy bread boards to easily change out components quickly if something gets too hot or is not wire up correctly. If I get stuck on something, I try to research it but usually get stuck since I don't understand what the triangle symbol means, or what the "fancy" looking "B" means along with many of the other symbols. I do know that "V" or "E" = Voltage, "I" = current, and "R" = resistance. Common sense tells me not to merge the "+" rail directly with ground as that is a 0 ohm short.

    So having said all that, I hope you now understand why I continue to ask question. Without asking questions, I would probably still be staring at a blinking LED (My first project).

    What has worried me with this part of my project is the wide range of voltage I am wanting to read vs the "HIGH" threshold of the prop pin and the max voltage to the prop pin. Since the code I am using waits for the pin to go low, then high, then low again, I need to make sure the voltage going into the prop drops below the "HIGH" threshold of 1.6V and then increases above that 1.6V reliably.

    You posted this : "All you need for this is a current limit resistor and at 16V for instance the minimum resistor value is calculated as R=V/I where V = 16V - 3.6V (Vdd+0.3) = 12.4V / 500ua = 24.8K."

    That made me understand a bit more about what I was working with, but I am still worried about voltage for some reason. That may work with a 16V input, but I am not sure on a 5V input. I really wish I understood more!

    Right now, I have a 741 op amp that is connected to the 5V rail and it switches the output to the negative side for each pulse coming in. If the input is 5V or 16V, the output gets pulled to ground and it give me a square wave. I have connected it so that it does not switch the output to ground with a voltage below 4V. Maybe this is a more expensive way to go about this, but I am ensured that I will never exceed the prop pin's input voltage no matter if the incoming pulse from the tach is 12V or 5V. This consists of 1 op amp and 3 resistors. Using the 2 resistor method may be cheaper, but I worry too much about frying something because I did not calculate it correctly.
  • nyjenyje Posts: 35
    edited 2013-10-20 07:46
    @Peter, programmer here with only experimential experience in electronics. Just read this thread and, it appears I cannot get my head round this concept, it would be world changing (from an interfacing pov).. see if i have this right. with this layout..
    12v-------470k------Prop pin
                      |
                    150k
                      |
                     0v
    
    ...the prop would be ok?... Because the 470k makes sure the current flow is trivial, and the propeller's internal protection will deal with the voltage disparity?(not lookin for a guaruntee, if you would do it with your prop thats good for me ;)

    also

    same at 5v with same circuit?
    how high a dc voltage would You connect to it and feel confident of getting away with it?

    If i've grokked this correctly, its incredible and thankyou very very much for opening my electronics eyes a little wider ;-)
Sign In or Register to comment.