In SX Microcontrollers, SX/B Compiler and SX-Key Tool, eagletalontim wrote: Is there any simple way to read an RPM signal from a cam angle sensor for a 4 cylinder? I am hoping to be able to hook up the RPM signal wire to the SX chip and be able to use the RPM's to change certain variables in my existing program or call functions at a preset RPM. I have read up on the COUNT and PULSIN commands, but I am lost when it comes to math like this. I have no idea how to measure the frequency of what is coming from the RPM signal wire on the car. I can hook up a meter to the wire and it will show about 1v at idle and about 3v to 4v at 5k rpm +, but if I hook a transistor and a relay to it, it hums when I rev it up instead of latch. I just basically need a function that will read the signal and output the proper RPM into a variable that i can use in other parts of my existing program. Thanks for the help in advance! ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=274144 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)