element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
555 Timers
  • Technologies
  • More
555 Timers
Forum Feedback on 555 timer Schmidt Trigger design
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join 555 Timers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 31 replies
  • Answers 2 answers
  • Subscribers 48 subscribers
  • Views 4130 views
  • Users 0 members are here
  • input conditioning
  • photo resistor
  • schmidt-trigger
Related

Feedback on 555 timer Schmidt Trigger design

colporteur
colporteur over 2 years ago

image

Can I get members insight into using a 555 timer as a schmidt-trigger design that I pulled from the Internet?

I found this schmidt-trigger design using a 555 timer. I would like to use it to condition the output of a photo-resistor. The 555 timer output will feed the input to a Arduino Mega. I'm in the process of bench testing the setup to finalize component values. While testing I figured I would throw it out to some more enlightened minds than mine for feedback.

I'm using the 555 only because I have a stock of them. I don't have any readily available smidth-trigger IC's so I figured I would go with what I have and build from scratch. Building from scratch especially using Internet designs comes with risk. I was hoping to mitigate the risk by getting community feedback.

If inquiring minds suggest you don't want to do this, that is a good thing.

  • Sign in to reply
  • Cancel

Top Replies

  • AE7HD
    AE7HD over 2 years ago in reply to colporteur +1
    I have a fair amount of experience with 555 timers, IR sensing, break beam circuits, etc. I'd like to help. But I need to know what you are trying to do. What is the ultimate goal?
  • colporteur
    colporteur over 2 years ago in reply to AE7HD +1
    Is this the sensor placement you are suggesting?
  • colporteur
    colporteur over 2 years ago in reply to Jan Cumps +1
    Sorry JC I have a reluctance to invest anymore effort in the IR solution. Modification of the train cars is something that frowned upon. This applied to even putting a magnet for another solution. I…
Parents
  • colporteur
    0 colporteur over 2 years ago

    Awesome feedback folks. Sorry for not responding. The regional telco decided to take my money and not provide me internet. Just got it fixed today. I was beginning to twitch and go to the library for a fix.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • AE7HD
    0 AE7HD over 2 years ago in reply to colporteur

    I have a fair amount of experience with 555 timers, IR sensing, break beam circuits, etc. I'd like to help. But I need to know what you are trying to do. What is the ultimate goal?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • shabaz
    0 shabaz over 2 years ago in reply to AE7HD

    Hopefully Sean can confirm, and it may need a photo of the current setup, but I believe it's related to model train detection.

    There's a thread here that came before this one:

     IR sensor: all that glitters is not gold 

    I think the current thread is to do with trying a different method with what Sean currently has, to save time ordering things.

    Hi colporteur ,

    Could you please show a detailed photo of the setup that fails, so that it can be easily seen what sort of distances and objects are involved?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • colporteur
    0 colporteur over 2 years ago in reply to AE7HD

    image

    There four sensors. Two senors paired at the front of the train and two paired at the rear of the train.  On initial startup all sensor must read the car and then after that they are OR'd. The sensor pair spacing accounts for the gap between cars. Since locomotives don't stop abruptly, the coasting is taking care of by the pairing.

    Issues:

    IR noise from LED over head lights in the room, Halogen trouble light under the bench and sun from a large window impact the sensitivity of the sensor. When sensitivity set high lots of false positives. When sensitivity set low, failure to detect car.

    Physical attributes of the bottom of cars and locomotives not consistent. Highs, lows and voids impact the sensor getting a reading. This makes it difficult to pass the initial all sensor reading check before starting the train motion sequence. Moving the train mm might light one sensor and turn off another.

    The IR sensors are impacted by the IR noise. Reduce the sensor sensitivity to limit the noise and the sensor doesn't read. Circle of life I don't want to die on any more.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • colporteur
    0 colporteur over 2 years ago in reply to AE7HD

    image

    There four sensors. Two senors paired at the front of the train and two paired at the rear of the train.  On initial startup all sensor must read the car and then after that they are OR'd. The sensor pair spacing accounts for the gap between cars. Since locomotives don't stop abruptly, the coasting is taking care of by the pairing.

    Issues:

    IR noise from LED over head lights in the room, Halogen trouble light under the bench and sun from a large window impact the sensitivity of the sensor. When sensitivity set high lots of false positives. When sensitivity set low, failure to detect car.

    Physical attributes of the bottom of cars and locomotives not consistent. Highs, lows and voids impact the sensor getting a reading. This makes it difficult to pass the initial all sensor reading check before starting the train motion sequence. Moving the train mm might light one sensor and turn off another.

    The IR sensors are impacted by the IR noise. Reduce the sensor sensitivity to limit the noise and the sensor doesn't read. Circle of life I don't want to die on any more.

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Jan Cumps
    0 Jan Cumps over 2 years ago in reply to colporteur

    glue little mirrors (like those on Indian elephant souvenirs) under the cars. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • colporteur
    0 colporteur over 2 years ago in reply to Jan Cumps

    I have two locomotive assigned to two trains for the development environment. Easy to place magnets front and back or mirrors. In production there are over ten locomotives and a few hundred cars. Train car can be any kind. The magnet is not scalable in my production implementation.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Jan Cumps
    0 Jan Cumps over 2 years ago in reply to colporteur

    I used the mirror approach for a turntable speed detector:

    image

     Vintage Turntable repair: Can I fix a Perpetuum Ebner from 1958 - part 7 - Make Speed Sensor from Scrap Parts 

    With one of the mirrors that dropped of this kind of elephant :) 

    image

    1 tiny animal has enough mirrors for the whole wagon park. If you combine that with the modulation suggestion, I bet you have a winning combination.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 2 years ago in reply to colporteur

    If the room is well lit, perhaps sense for ambient light using a light detector with a snoot around it. The absence of light falling on the sensor from above means something is directly overhead blocking the light and probably a train.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • dougw
    0 dougw over 2 years ago in reply to colporteur

    Maybe you can simply use ambient lighting as the light source for your photo sensors. A little opaque tube facing up would allow ambient light to reach the sensor only when a car is not above the sensor. It should be workable over a wide range of ambient lighting, If not you can set the sensitivity to be high and almost completely block all light with a simple tab under the truck.

    Another idea is to use a gap style optocoupler where a little wing under the train would pass through the gap and interrupt the optocoupler. (no signal conditioning required) 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 2 years ago in reply to dougw
    dougw said:
    a gap style optocoupler where a little wing under the train would pass through the gap and interrupt the optocoupler

    You could perhaps use the wheel of the train for that to avoid modifying all the rolling stock but you would likely only get pulses as the train passed - no way of detecting if a train was sitting there unless it had stopped with a wheel in the sensor. 

    Lift the beam up higher and then the train could break a wider beam but you would need appropriate track-side scenery to disguise the emitter/detector or light pipe. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • colporteur
    0 colporteur over 2 years ago in reply to Jan Cumps

    Sorry JC I have a reluctance to invest anymore effort in the IR solution.

    Modification of the train cars is something that frowned upon. This applied to even putting a magnet for another solution. I can place things of the cars of our layout but met opposition on other layouts. The fixing of the mirror will hold some challenges. The under carriage of cars is not consistent. The mirror would only sense one place. This is the same issue I had with the hall-effect sensor. The car can coast of the sensor.

    Thanks for the suggestion just the same. I will keep the mirror solution in my back pocket. Maybe I can use it at some point.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube