InfraRed ramblings


+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,157

    Default InfraRed ramblings

    Using this 940nm LED set on Amazon: https://www.amazon.ca/dp/B01HGIQ8NG

    Can I have the transmitter LED on without any pulsing? (resistor values are temporary, did not do any calculations yet)

    Name:  IR schematic.png
Views: 18
Size:  15.2 KB

    This circuit was inspired by this tutorial: https://www.instructables.com/Intro-to-IR-Circuits/

    I just want to detect a hole in a disk; no communication.


    Examples on google often use 38kHz or 56kHz, but their receiver has 3 pins; VDD, VSS and DAT. That leads to me to believe there's more going on in that receiver.

    This guy has a really nice way to calculate the values:

    Last edited by Demon; Yesterday at 01:54.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: InfraRed ramblings

    if there is any ambient light leakage a ir sensor like SEN-19018 would be better than a photo diode, with the bonus of making
    led modulation unnecessary too.

    if the distance between led and sensor is small [under 10mm] then you only need a small current through led 5 to 20 mA
    would be heaps
    Warning I'm not a teacher

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,157


    Did you find this post helpful? Yes | No

    Default Re: InfraRed ramblings

    There will be minimal light leakage. These will be on either side of a disk, as close as I can get them.

    I plan on putting black heatshrink over the LEDs as close as I can to the rotating disk.

    This will be used as a way to home a stepper (fuel gauge on a flight sim); I need to find 0 easily. I'm sure there as more precise techniques, but I'm looking for a simple low-cost solution that works.

    I was planning on using these steppers: https://www.amazon.ca/dp/B0CPSLS944
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  4. #4


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: InfraRed ramblings

    Search optical interrupter. These are used often for homing.

    https://www.amazon.ca/s?k=optical+in...ref=nb_sb_noss

  5. #5
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,157


    Did you find this post helpful? Yes | No

    Default Re: InfraRed ramblings

    ARGH! That's what they're called. I knew these existed, I just didn't know their names.
    My Creality Ender 3 S1 Plus is a giant paperweight that can't even be used as a boat anchor, cause I'd be fined for polluting our waterways with electronic devices.

    Not as dumb as yesterday, but stupider than tomorrow!

  6. #6


    1 out of 1 members found this post helpful. Did you find this post helpful? Yes | No

    Default Re: InfraRed ramblings

    You can also use a hall effect IC and a small magnet. The hall effect ic's come in a 3 pin TO-92 package and are easy to interface to your micro.

    For example

    https://dronebotworkshop.com/stepper-motor-hall-effect/

Similar Threads

  1. InfraRed communication
    By Alexey in forum General
    Replies: 0
    Last Post: - 15th February 2020, 05:53
  2. InfraRed Data Com
    By rayzrocket in forum Off Topic
    Replies: 5
    Last Post: - 29th March 2010, 15:42
  3. Infrared x PIC
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th December 2009, 18:30
  4. infrared help
    By griffin in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th December 2008, 05:34
  5. infrared
    By bmohnsen in forum General
    Replies: 1
    Last Post: - 2nd May 2007, 16:35

Members who have read this thread : 5

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