GitXplorerGitXplorer
j

BikeHorn

public
2 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
0f3bcb044b2a4a71551e8ea6d43b97424430c79b

Merge pull request #4 from jgOhYeah/development

jjgOhYeah committed a year ago
Unverified
01ad5e5752cc47a652490aee43aa45f870258608

Fixed ADC not being turned on to measure battery voltages

committed 2 years ago
Unverified
85881a264e5db94e8b3bb7bae91cff62994776a0

Implemented various states (old changes not committed)

committed 2 years ago
Unverified
41c412e1ff54f495e05b784cefb922fbd0f7bbe6

Button wakes up alarm

committed 2 years ago
Unverified
99e7409a52232107c779a8b6a6e27560c6ef5b31

Alarm movement detection & simple triggering works

committed 2 years ago
Unverified
b193174f4d8327a8d01550cb9a3edb7f4f00e985

accelerometer null hypothesis works

committed 2 years ago

README

The README file for this repository.

BikeHorn

A "musical" siren for bicycles. Overview photo of the horn from an angle

This design was published in the Circuit Notebook section of the Februrary 2022 issue of the Silicon Chip magazine. Feel free to have a look there if you would like a nice explanation / writeup of the horn's operations and construction.

Main steps for building and usage

  1. Modify the Arduino nano for low power and low voltage usage.
  2. Build the circuit - see BikeHornPCB for a PCB design. The siren is from an old smoke alarm.
  3. 3D print the case.
  4. Optimise parameters for each note to be the loudest possible - see Tuning for details.
  5. Generate the tunes to play using this Musescore plugin. Paste this into tunes.h in the main BikeHorn sketch.
  6. Upload to the Arduino and test.
  7. Mount on bicycle / vehicle and have fun.

See the Silicon Chip section or the Images directory for relevent diagrams and images of the horn.

A low resolution gif that gives an idea of order of assembly:
AssemblyGIF.gif

Extensions

I have attempted to make the firmware fairly modular and most non-core parts have been included as externsions. This allows for easier maintenance and customisation. For more details on enabling, disabling and writing extensions, please see the extensions documentation.