Skip to main content
12 events
when toggle format what by license comment
Aug 6, 2016 at 10:55 history edited Dave Tweed CC BY-SA 3.0
appended answer 250898 as supplemental
Jul 28, 2016 at 20:50 vote accept BartholomeusR
Jul 28, 2016 at 15:12 answer added Andy aka timeline score: 1
Jul 28, 2016 at 14:44 comment added WhatRoughBeast What is your Arduino sample rate? if you're sampling too coarsely (<3-5 times the expected pulse width) you'll get an output that looks a lot like that. A sample rate of 2 per pulse will do, but more is better.
Jul 28, 2016 at 14:35 comment added BartholomeusR @Steve G The double pulse is not a problem. Actually the soundcard waveform is nice and easy to interpret but why waveform on analog input of Arduino is so noisy?
Jul 28, 2016 at 14:30 comment added Steve G Presumably the double pulse (in the waveform from the soundcard) indicates Cylinder #1.
Jul 28, 2016 at 14:29 comment added BartholomeusR I was using interrupts but the readings was not what I expected that's why I connected it to an analog input, to see what is going on in the circuit.
Jul 28, 2016 at 14:27 review First posts
Jul 28, 2016 at 14:48
Jul 28, 2016 at 14:27 history edited BartholomeusR CC BY-SA 3.0
edited body
Jul 28, 2016 at 14:25 comment added user103993 Arduino's come with their own easy to implement interrupt. I've used it numerous times for rotary encoders and it seems like it's just the thing you might need. arduino.cc/en/Reference/AttachInterrupt
Jul 28, 2016 at 14:22 comment added Transistor It's a digital (on/off) signal. Why would you connect it to an analog input?
Jul 28, 2016 at 14:20 history asked BartholomeusR CC BY-SA 3.0