Simple beam break sensor


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I dont want people to be able to see the beam but if i cant get IR working then that might be the only option.

    Thanks for the links. Ill have a read through them

  2. #2
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Im trying to get this 555 circuit working but nothing is happening. Ive been following a few different diagrams on the internet and none of them seem to work

    I found this calculator on google. I entered 38.5KHz, 50% duty cycle and 0.001uF (1nF) capacitor. It said to use an 18.7K resistor for RB and 0K for RA. Ive been using a 15K resistor with a 5K variable resistor as another website said. It doesnt really matter if its at the right frequency for now though. the LED just wont light up at all (im using an LED for now so i can see it working).

    Ive tried putting the output through a transistor. Ive tested the transistor by itself and it works fine.

    My circuit currently looks like the one on that calculator site. Does anyone know what ive done wrong or what to check next?

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    http://www.uoguelph.ca/~antoon/gadgets/555/555.html
    The above tells a lot about the 555. Try the metronome sample and step it up.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    Ive had a read of that page and i tried the metronome example but its still not working. I didnt have a 250K variable resistor so i use a 220K normal resistor and i connected and LED to the output (and tried through a transistor).

    Ive tried 4 different 555s now so im sure its not the chips that are at fault

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Been awhile since I have played with a 555, but I seem to remember something about different types.

    What are the numbers on you 555s?
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    I swapped to a different breadboard and its starting to look a little better. The metranome circuit worked. Ive put it back how i had it to start with and it seems to be oscillating but not properly.

    The circuit ive been copying is the Infrared Emitter 555 Schematic.

    The chips i have are NE555N. Aparently the ones that start with NE are good for driving LEDs etc directly

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Mold...Mold on the bread board.

    You may be picking up some stray capacitance someplace.
    Dave
    Always wear safety glasses while programming.

  8. #8
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by The Master View Post
    I don't want people to be able to see the beam, but if I cant get IR working then that might be the only option.

    Thanks for the links. Ill have a read through them
    red laser / infrared filter might work . . .
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  9. #9
    Join Date
    Jun 2007
    Location
    Mansfield, UK
    Posts
    697


    Did you find this post helpful? Yes | No

    Default

    This seems to be working now. The calculators ive used say that RA (or R1) should be 0K. The circuit doesnt work unless i put a 1K resistor in. Ive tried a few lower values but the LED will go off after a set amount of time then not come back on. 1K doesnt give me a 50% duty cycle but it seems to be alright.

    Once it was flashing correctly i changed the other values to what the calculator said and the LED came on but dimmer than usual so i assume its flashing really fast. I replaced with an IR LED and it now works over 2M

    I hope it keeps working once its all soldered into a PCB :P

Similar Threads

  1. Need a cheap touch sensor idea.. here it is
    By mister_e in forum Code Examples
    Replies: 20
    Last Post: - 16th April 2016, 22:42
  2. Ultrasonic distance sensor with PIC16F84A
    By MrRoboto in forum mel PIC BASIC
    Replies: 3
    Last Post: - 29th June 2009, 09:01
  3. PICBASIC PRO-coding for wireless sensor node
    By syazila in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th February 2009, 00:05
  4. Replies: 0
    Last Post: - 2nd February 2009, 23:23
  5. Replies: 6
    Last Post: - 18th January 2008, 08:17

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