something special

  • Random
  • Archive
  • RSS
  • Ask me anything

As a first Arduino project, I decided to try and combine a few of the examples I’ve seen into something “useful”. Luisa has a Lego train set and one piece is a rail crossing with guards that go up and down. This is a first attempt at a basic Arduino controlled crossing. A photocell senses when the train passes by it and drops the gate while lighting a stop light. As the train goes away, the gate is returned to the upright position and the stop light goes out. The ambient light setting is initialized on setup, so just hitting “reset” on the Arduino will calibrate things.

Sensor and LED

Hacked servo to raise/lower gate

Still has a few quirks to sort out. Getting used to the basic Arduino language leaves something to be desired too. Looking out for a good evented library and state machine is next on the list. Will post all source to GitHub eventually.

    • #fb
    • #Arduino
  • 11 months ago
  • 4
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

4 Notes/ Hide

  1. vigerpersinger likes this
  2. corvus-sapiens likes this
  3. tannhauser-gate-01 likes this
  4. katriin likes this
  5. joshdevins posted this
← Previous • Next →
Avatar I'm Josh. I live in Berlin, Germany (relocated from Vancouver, Canada).

Other versions of me
Something Special (tech blog)
Ex-pat Newlyweds

  • @joshdevins on Twitter
  • Facebook Profile
  • joshdevins on Vimeo
  • joshdevins on Flickr
  • joshdevins on Soundcloud
  • Google
  • My Skype Info
  • Linkedin Profile
  • joshdevins on github

Following

  • laureola
  • jstn
  • cabinporn
  • aussicht
  • colchrishadfield
  • peterbaker
  • thesiblings
  • wahlforss
  • sebastianwaters
  • weedevinses
  • soundcloud
  • marco
  • wiredvanity
  • whenyouhavekids
  • sabine
  • staff
  • ramonhaindl
  • minimalmac
  • readmill
  • katriin
  • moneyisnotimportant
  • ailines
  • littleohm
  • wtfevolution
  • whenyouliveinberlin
  • awesomepeoplehangingouttogether
  • sophiemadeleine
  • david-noel
  • 9eyes
  • caitlinwinner
  • kristininberlin
  • tweektv
  • hannahsgarden
  • siofan
  • mxfh
  • tonysojka
  • fabianmu
  • germanpizzas
  • shootinggallery
  • theeconomist
  • engineering
  • marieelliott
  • patrickbeser
  • penandink
  • rasberrypibeginnersguide
  • whenyoureallyliveinberlin
  • howmanyareinspace
  • scaffoldage
  • wheningit
  • ianruhter
  • bangpowpow
  • fiahless
  • johanoskarsson
  • thechangelog
  • nonobvioussolutions
  • boredandroid
  • supersecret
  • alesserphotographer
  • lassunsscheitern
  • deutschdoodles
  • getamen
  • medformat
  • techberlin
  • alexanderljung
  • crystalclark
  • ifttt
  • klangberater
  • daninkenya
  • skailines
  • hipstergrammers
  • superfancyvelcroibex
  • fritzing
  • sammich
  • tumblrmeetupberlin
  • nikete
  • annytime
  • amenhq
  • goldencage
  • alisoncaitlin
  • peterboersch
  • amandacox
  • schoenersonntag
  • yoelly
  • adafruit
  • kristenthom

Tumblr Likes

  • Photo via sabine

    The freckles are back.

    Photo via sabine
  • Photo via aussicht
    Photo via aussicht
  • Photo via littleohm

    January baby at the park.

    Photo via littleohm
  • Photo via colchrishadfield

    You can see how high we are when you see how close this jet trail is to the ground.

    Photo via colchrishadfield
See more →
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile
Effector Theme by Pixel Union