Dual 7-Segment LED Display


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    thats the interesting part, if you grab a screw driver and tap very close to the sensor it picks up small stuff, drop the hood closed about 18" up and you will see readings.

    and yes, tapping into the exsisting signal wire.

    What if it was run at 20MHz ?

    Yeah he doesn't spend much time at part-throttle, mostly easy driving, but on ramps and such its WOT. Same with me usually, I got a swapped GC Impreza (2000 2.5rs) with a 2002 wrx motor (EJ205) Did all the wiring myself so I have mastered diagrams, not to mention I am going to school for auto engineering, and already graduated from UTI auto technician.
    Last edited by erice1984; - 2nd July 2007 at 04:32.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by erice1984 View Post
    thats the interesting part, if you grab a screw driver and tap very close to the sensor it picks up small stuff, drop the hood closed about 18" up and you will see readings.
    What are you measuring with?

    [QUOTE]What if it was run at 20MHz ?[QUOTE]
    A/D converter speed doesn't care about oscillator speed, well, not really. The A/D converter will only run as fast as it will run, doesn't matter how fast you run the oscillator.
    The older A/D converters will 'only' run at about 20ksps, the new ones around 100ksps. Problem is, once you get up to those speeds, you're going to need good filtering at the front end.

    Yeah he doesn't spend much time at part-throttle, mostly easy driving, but on ramps and such its WOT.
    What I meant was, it's an EVO-8...probably a hot rod, street racing, etc.etc...

    So, write some code, try it out, see what happens, come back with questions....

  3. #3
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    A/D converter speed doesn't care about oscillator speed, well, not really. The A/D converter will only run as fast as it will run, doesn't matter how fast you run the oscillator.
    The older A/D converters will 'only' run at about 20ksps, the new ones around 100ksps. Problem is, once you get up to those speeds, you're going to need good filtering at the front end.
    Thats the problem, I know that is kilo samples per second, but as far as filtering I am lost. I have never had to deal with this stuff before.

    thanks.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by erice1984 View Post
    I have, just dont know how to interpret the signal, was looking for suggestions, and I have some code written for display etc.

    thanks.
    Well, what does your baseline (no knocking) signal look like?
    What does your knocking signal look like?
    I know what they 'should' look like according to the books, but what do YOUR signals look like, with YOUR input circuit, filters, etc.
    Post some 'scope pictures or something...

  5. #5
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    Wish I did have a pc o-scope, and my friend lives 1000 miles from me, so I am waiting on him.

    These sensors arent that accurate in the first place. but I guess I am waiting on him to get me some info on what the waveforms look like and what knock looks like with engine running and not running.

  6. #6
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    alright, so i figured out how to amplify the signal using an LM324N

    Only thing now is, should I use a comparator so when the knock hits and spikes it throws the voltage above causing a high signal? That would be my thought, and first approach.

    Next, how do I get the PIC to read those and more or less count them?

  7. #7
    Join Date
    Jul 2007
    Posts
    74


    Did you find this post helpful? Yes | No

    Default

    I found an IC that will do all the filtering etc for me and is digitally programmable... made by Intersil, the HIP9011

Similar Threads

  1. Conway's Game Of Life
    By wellyboot in forum mel PIC BASIC Pro
    Replies: 45
    Last Post: - 28th May 2020, 06:14
  2. Single digit 7 Seg LED clock - PIC16F88
    By thirsty in forum Code Examples
    Replies: 4
    Last Post: - 17th July 2009, 08:42
  3. Weird compile issue 7 segment LED display
    By George in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st June 2006, 02:12
  4. 7 segment digit problem (using Mister E's code)
    By jmgelba in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2005, 20:25
  5. WRITE not working
    By servo260 in forum mel PIC BASIC Pro
    Replies: 31
    Last Post: - 29th December 2004, 02:02

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts