RCU Forums - View Single Post - CDI gr8flyer55
View Single Post
Old 09-23-2012 | 03:58 AM
  #383  
jpanhalt
 
Joined: Oct 2005
Posts: 168
Likes: 0
Received 0 Likes on 0 Posts
From: Parma Heights, OH
Default RE: CDI gr8flyer55

ORIGINAL: COM

how much would be entailed in writing a small program say for 12F683 that could take inputs from the hall effect and the existing micro output, take the time difference and with rpm as a reference, output degrees delay on an LCD display
A 12F683 by itself won't work for writing to a lcd. you need a pic with more pins or use a serial lcd.

But that would be a neat little device.
I wrote a little program (Assembly) last Winter for a 12F683 to take the PWM from a Memsic accelerometer, convert it to angle inclination and transmit that angle to a 2X16 serial LCD. The input was just the PWM. Times for the start, stop, and total period of the PWM cycle were detected and measured at about 200 Hz. The inputs you are talking about would be very similar. Obviously, it is not a plug-in, ready to go program for this application, but it is quite similar. I won't have time to work on it until later this Winter and after I finish extension of the project to a GLCD. If someone wants the code to work on, I can send it to you, but it is quite rough. I am just a novice at programming.

It is a neat idea, and I mention the above only to illustrate that it is doable maybe as a future refinement.

John