Using Ambient Light Sensors - Arduino Made Easy(er) Lesson 05

Опубликовано: 27 Май 2026
на канале: Toms Trains and Things
3,729
84

In This Lesson Of Arduino Made Easy, we show you how to determine the best settings to use to trigger your components. Using the Serial Monitor, we will find the best settings and change criteria as we change the ambient lighting in the room.

We use an else if statement in this lesson in the same manner as an if statement. We could have used another if statement to achieve the same results.

The continuation of this lesson will be on May 5, 2018 when we take this sketch a little further by adding LED's to simulate the grade crossing lights.

Please visit my website for more information on Arduino:
https://tomstrainofthought.com/

SHOP FOR ITEMS SEEN IN THESE VIDEOS:
https://www.amazon.com/shop/tomstrain...


If you would like to help with translating this or any other video of mine, click this link: http://www.youtube.com/timedtext_cs_p...


Subscribe To This Channel https://goo.gl/Af3bK0
Watch This Video Most Popular https://goo.gl/tFshUw

BECOME A PATRON
  / tomkvichak  

CONTACT INFORMATION:
[email protected]
  / tomkvichak  
  / froginflorida  

S U P P O R T THIS C H A N N E L
Patreon:   / tomkvichak  
PayPal : https://paypal.me/tomstrainsandthings

PLAYLISTS OF INTEREST:
What You Should Know Before Starting Your Model Railroad
   • What You Should Know Before Starting Your ...  

Useful Tools For The Model Railroader
   • Useful Tools For The Model Railroader  

Model Railroading For Beginers
   • Model Railroading For Beginners  

Electrical Projects Videos
   • Electrical Project Videos  

Wiring On Your Model Railroad
   • Wiring On Your Model Railroad  

Disclaimers: all opinions are my own, sponsors are acknowledge. Affiliates are: Amazon, TubeBuddy, 1&1, & Magix GmbH