Skip to content

coding-lemur/distance-warner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bicycle distance-warner

description

You can use an ultrasonic sensor and an Arduino nano to measure the distance between your bike and a passing car.

It is recommended to keep a distance of 1.5 meters.

If the car is too close the LEDs start to flash.

demo

bicycle distance warner demo

you need

  • VS code with platform.io extension
  • one Arduino Nano or Uno
  • one HC-SR04
  • a few WS2812 compatible LEDs
  • many wire
  • a soldering iron
  • patience 😉

circuit diagram

curcuit diagram