element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Arduino
  • Products
  • More
Arduino
Arduino Forum Arduino (attiny 85) sensor triggered carnival-style light bar question
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Arduino to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 15 replies
  • Subscribers 418 subscribers
  • Views 1963 views
  • Users 0 members are here
  • lighting
  • led
  • arduino_development_environment
  • arduino
  • atmel
Related

Arduino (attiny 85) sensor triggered carnival-style light bar question

e14 Contributor
e14 Contributor over 13 years ago

Hi everybody, I'm very much a "maker", and I know electroinics and have some familarity with Arduino, and have a general question and would like to dip my toe in the water per-se to see if what I would like to accomplish is can be done with relatively low cost.

 

I run my dogs as part of an agility troup here in Michigan in the United States. For those unfamilary with the sport, we find ways to burn off our dogs energy while getting them and ourselves some exercize. Pictured below is one of my Welsh Pembroke Corgi's jumping a hurdle.We perform our shows for charity at both indoor arenas as well as outside fairgrounds.

 

Our group consists of small dogs (like Ben, pictured) that generally clear the hurdle with only an inch or two of distance, to much larger dogs, where their feet still clear the hurdle by a bit, but the dog's body goes over the hurdle by perhaps a foot. (so a fairly large distribution of hurdle clearance differece)

 

So here is what I could like to accomplish:

 

When a dog clears the jump, I would like to have one strip of addressable LEDs on mounted to each side of the hurdle light up in a way similar to the old carnival "he-man" attractions where a person swings a mallet hitting a target pad, which usually sending up a weight upwards to hit a bell, but in later versions just had lights that sequentially and additively lit up a bar of lights to indicate success.

 

A couple ways I'd like to consider approaching it:

 

#1: I could use an ultrasonic sensor mounted to the base and when a dog passes over the hurdle, the sensor measures the distance and lights a number of the LEDs light up in sort of a sine wave up-and-down look (greater height more leds are light up and then down). The problem I see with this approach is the width of these jumps is about 3 feet and I wonder if a dog jumping the hurdle close to one end will trigger the sensor. Maybe two sensors? Ideas?

 

#2: I was thinking about using some PIR sensors like shown here on ebay They are cheaper, but I wonder if they can be used in direct outdoor light. They don't need much sensing accuracy, and it is possible to mount the sensor about half way up one of the sides, again triggering when any size dog passes over the hurdle.

 

Ideally, I'd like to be able to get a day's worth of jump time out of a 9-volt battery, or maybe put in a 3S 12v rechargeable Li-Po battery. In any given day, there is going to be much more idle time than actual time where the LEDs are going to be on.

 

Finally, to conserve costs, do you think this project can be ported to an ATTINY 85, then the cost per hurdle would be significantly reduced.

 

Probably my biggest concern is being able to sense something under lots of direct sunlight, then next battery life.

 

General thoughts or ideas?

 

Roger

 

 

image

  • Sign in to reply
  • Cancel
Parents
  • billpenner
    0 billpenner over 13 years ago

    OK Roger.. A much better picture of what is desired.  You need to trigger an up/down timer upon close approach of the dog. Try a PIR sensor and adjust sensitivity to trigger at short distance in front of the hurdle. The dogs will rarely jump at a height much greater than the base of the hurdle. So place the PIR at the bottom center of the base point at the approach. I believe that will work. Test for confirmation. You won't have to build triggers or anything since the output of the PIR can trigger the up/down counter or Arduino. The delay can easily be adjusted to create a sine of triangle type function with the LEDs. Some experimentation should confirm effect. Depending on your time frame, bright and colorful LEDs on Ebay are very reasonable in price. Drivers might be needed with the Arduino but I think a U/D counter will drive them directly.

    Sorry I didn't under the full needs at the beginning. Please advise of the progress.

    Bill

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • billpenner
    0 billpenner over 13 years ago

    OK Roger.. A much better picture of what is desired.  You need to trigger an up/down timer upon close approach of the dog. Try a PIR sensor and adjust sensitivity to trigger at short distance in front of the hurdle. The dogs will rarely jump at a height much greater than the base of the hurdle. So place the PIR at the bottom center of the base point at the approach. I believe that will work. Test for confirmation. You won't have to build triggers or anything since the output of the PIR can trigger the up/down counter or Arduino. The delay can easily be adjusted to create a sine of triangle type function with the LEDs. Some experimentation should confirm effect. Depending on your time frame, bright and colorful LEDs on Ebay are very reasonable in price. Drivers might be needed with the Arduino but I think a U/D counter will drive them directly.

    Sorry I didn't under the full needs at the beginning. Please advise of the progress.

    Bill

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube