This idea came to me in a moment of Dad inspiration.
I love to let my girls ride their bikes, but then i also don't want them going too far just in case.
The iBrake system allows the girls to have the freedom but me the piece of mind knowing that i can stop their bikes remotely from up to 100 metres away!
The system comprises 2 main parts, the iBrake (servo and actuator) and the iBrick (the home of the batteries, Blynk Board and brick compatible lid)
Using the Blynk Board and Blynk custom iOS app, i am able to turn on the brake on and also able to turn on the 12 LED lights that surround the iBrick. I used super-bright white LED's to be safe and seen! The lights flash when the brake has been applied to give you a visual cue that the brake as been deployed
I printed the housings at 0.2mm 20% infill, the Rack and Pinion were printed out at 80% infill with 3 perimeters for extra strength.
first things first.. it's time to familiarise yourself with the SparkFun Blynk Board
Did you have fun? good isn't it!
I added pins for GND, 5 and 12. 5 is used to control the LED's and 12 is the PWM controller for the servo
This little stripboard is used to hold the darlington pair that will control the LED's (i used a darlington as the switch to stop frying the pin on the blynk board)
The rest of the wires are just volts and ground. this is a handy star point for everything volty.
So the next step was to add the LED's and resistors, just simply solder the legs together. and repeat on the other side for 12 in total
These can then be connected to the little strip board
The Blynk Board is powered by a USB power bar. The servos and LED's are powered by 4xAA batteries in a holder. Those servos are current hungry little things
Next step was the code
The Blynk Board was re programmed to connect directly to my iPhones personal hotspot, so this can be used when no other wifi is available
The code can be found at the bottom as usual.
The App is set up as follows
Create a new blynk sketch, make a note of the auth number to pop in your code.
You will need 2 buttons and a slider.
1 button controls the bike lights, the 2nd one controls the braking. The slider controls how long the delay is until the brake can be taken off again (by default it's 5 seconds).
When the Brake is enganged the lights flash regardless of their previous state for the set number of seconds.
The buttons should be set up like this.
The iBrake is fitted over the brake cable as shown here using some self tapping screws that also secure the servo.
The iBrick housing is attached here using the printed clamp and 2 x M5 screws and Nuts.
The enclosure can be viewed and downloaded here.
Comments