Home made optical rencoder issues


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Thank you all for your input. It seems this was never going to be as easy as i initially thought.

    I have not had much chance to play with the setup just yet. I have been concentrating on trying to print better disks. If the toner is totally opaque, it will block IR.

    Alain you may use this method for UV exposure of your boards but UV is at the other end of the spectrum to IR. We can't really expect them to perform the same.

    I have a 10k resistor on the collector of the transistor now, and as i have stated before, this setup works perfectly with other objects breaking the beam. No silly mass counts or bouncing of the circuit. The only other thing i thought of (and what nick just mentioned) was to reduce the intensity of the IR LED to see if it is less likely to penetrate any flaws in the toner (at least limit it enough to keep the transistor off).

    Failing that, Although super awkward for something this small, i'll probably have a shot at aligning 2 disks as Al mentioned earlier.

    I'm almost there - I don't really want to go to a full re-design of the sensors just yet...

  2. #2
    Join Date
    Sep 2009
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Ok, so i stuck one of my disks under the microscope and to be honest they look pretty darn good! The toner is solid and the edges are a little 'furry' but only about 1 micron (1/1000mm) is furry. I doubt many commercial encoders would be much better.

    There were a couple of sub micron holes but this particular disk had not been cared for - it was one of my test ones. I doubt they would have any effect anyway.

    So, where does that leave me? Well, it means doubling the disks is probably pointless but making the clear slots smaller might be of some help. I sincerely doubt that a 1 micron 'edge' is going to cause a problem for a sensor that is likely to have a beam width of probably at least 10 times that.

  3. #3
    Join Date
    Sep 2009
    Posts
    19


    Did you find this post helpful? Yes | No

    Default

    Ok, so i've managed to have a bit of a play with my encoders - hardware and software and managed to get it 'smooth'.

    I changed from disks with 6deg clear and 6deg black to 2 and 10deg. This made a big difference but did not resolve the problem.

    I also printed these disks in colour but they are still black. The PS file i have for making the disks orgininally printed black. I changed it to print colour but all levels are 0 so it prints black but with the CMY colours. This makes for a much denser print.

    On top of that, a simple 2ms pause at the top of the ISR before reading the port gave it sufficient time to settle in either an on or off position.

    Problem solved! Thanks to all that helped me out.

    Andrew

Similar Threads

  1. Home made PCB's
    By Smart in forum Off Topic
    Replies: 22
    Last Post: - 23rd October 2010, 19:02
  2. 2 Beam Optical Pulse Generator
    By WOZZY-2010 in forum Schematics
    Replies: 8
    Last Post: - 6th April 2010, 05:03
  3. USB Optical mouse as motor encoder
    By RodSTAR in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th August 2008, 16:09

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