REVOLIGHTS™: ARDUNIO CLONE

Slides:



Advertisements
Similar presentations
AnaSonde Assembly. What is the AnaSonde? *Reads temperature, pressure, and humidity data from the atmosphere *After it is sent into the atmosphere, it.
Advertisements

Assembly Manual Mike Fortney 04/09/2004 CricketSat Receiver.
Jiggy Bot Aka Cyclops.
By: Alex Sowa Electrical Projects April 10 th, 2013.
FIRE FIGHTING ROBOT ELECTRO-MECHANICAL SYSTEMS TERM PROJECT 1
Basic Electronic Circuits. Final Design Challenge: Situation The “Drive Thru Family Laundry” is along a busy road. The facility is set back from the road.
Aaron Eastham Network Security & Electronics Program Dept. of Applied Engineering & Technology Eastern Kentucky University.
Assembly Manual Mike Fortney 04/02/2006 CricketSat Receiver.
Jonathan Poynter.  Reasoning Why I chose this idea.  Introduction  The Problem  Assumptions  Solution  Results  Conclusion.
Embedded Programming and Robotics Lesson 6 Mechanical Assembly 1.
Abstract Home gardening is still largely more art than science. While sensor solutions exist for professional farmers, few cheap and convenient devices.
Unmanned Surveillance Tank Frederick Guilfoil Eastern Kentucky University Dept. of Technology, CEN 499.
Unit 1 – Improving Productivity. 1.1Why did you use a computer? What other systems / resources could you have used? For unit 10,I had to make a power.
PI : TV A PI MEDIA CENTER Michael Hoskins Network Security & Electronics Program, Dept. of Applied Engineering & Technology, Eastern Kentucky University.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
DIY Engine management system: Take full control of your car
ENGINEERING TEAM PROJECT Group 52 SAFETY LIGHT JACKET.
Group Members: Brad Cox Kevin Burkett Tera Cline Arthur Perkins CS10 Battery Management System.
N-ABELD- NEW ARDUINO BASED ELECTRONIC LIQUOR DISPENSER Don Doty Eastern Kentucky University.
1 Computer Power Supply Amateur Radio Conversion For Cheap +12 vdc Power March 17, 2003.
ARDUINO GAME BOARD Shawn Denny Eastern Kentucky University May 8, 2013.
Micro Controlled Cabin Lights Ron Acker EKU Dept. of Technology, CEN/CET.
NET 499 Leonard Paul Vinas Network Security and Electronics Department of Technology.
Lab 04: AEV External Sensors Advanced Energy Vehicle (AEV)
May Team Information Client Department of Electrical and Computer Engineering, Iowa State University Faculty Advisor Professor Gary Tuttle Team Members.
Unit 1 – Improving Productivity Tyler Dunn Instructions ~ 100 words per box.
PHP MYWIKI Brian Casey Eastern Kentucky University.
Scrolling LED Project Michael Turovskiy IME 458 Dr. Jianbiao Pan 6/5/2013.
The Creative Problem Solving Pack. The following pages provide separate packs that you can use in the following situations. * Creative problem solving.
The Initial Problem Chapter 1, Section 1.6 #71 x = 793 x needs to be isolated on the left. Therefore, 341 should be subtracted from both sides: x.
Bowling Alley Communications Mark Patterson EKU Dept. of Technology, CEN.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis.
FIRST Electrical Design FIRST Robotics Championship Conference Steven Shade Team 1111 April 16, 2003.
SUPER TOASTER Wes Brown Eastern Kentucky University Computer Electronic Networking.
SECURING YOUR HOME AND HOME NETWORK Ryan Lewis Eastern Kentucky University Network Security & Electronics Spring 2015 Capstone.
3D C&P MACHINE MK. I Bryan Roark Eastern Kentucky University NET Capstone.
Introduction to Vexnet
CENTRAL SECURED PROXY NETWORK Zachary Craig Eastern Kentucky University Dept. of Technology, NET.
Circuits, Systems, & the Arduino. Challenge: Make the bulb light up! -Make observations and explain why it has the setup it does? - What are the components.
SOLARPACKING Mitch Vernon Eastern Kentucky University.
Basic Electronic Circuits. Final Design Challenge: Situation The “Stirland Family Drive-Thru Laundry” is located along a busy road. The facility is set.
Learning PowerPoint By: Katherine Myhr. I’m going to show a slide transition! Slide Transition!
A Quick Introduction to Arduino and Sensors Philip C. Fulmer, PhD, CHP Francis Marion University Florence, SC.
Raspberry Pi Garage Door Mark Barron NET 499 Eastern Kentucky University.
Auto turn off battery charger Auto turn off battery charger.
MIND CONTROLLED ROBOT BY ADITHYA KUMAR EIGHTH GRADE.
Copyright © Caroline Alliston 2016 ( Fun, practical, accessible and cost effective STEM projects for students aged 7-14 With.
Bike Rack Availability Tracking System Group 26: Sam Luo, Jason Pao, Jason Wang.
PARSLEY PIE BOX James (Kyle) Parsley Network Security & Electronics Program.
ISA CLICK CONTROL #38 – FALL 2014 ERIC BRUNNGRABER DRAKE ISABIRYE.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
LEARNBOT Matthew Williams Network Security and Electronics Program Dept. of Applied Engineering & Technology, Eastern Kentucky University.
Adam Turner Network Security & Electronics Program, Dept. of Applied Engineering & Technology, Eastern Kentucky University.
Abstract It is the goal of this project to create a traffic sign that will stand out amongst all of the other distractions that drivers face. The manner.
Having fun with code, using Arduino in a middle school CS classroom
Build on a Breadboard Simulator
Development of T3Maps adapter boards
Arduino Development for Beginners
USING A RASPBERRY PI AS A WATER DETECTION SYSTEM
Automated Ticket to Ride
By: Zeeshan Ansari, BEng (Hons) Electronic Engineering
Electronic Education Kits
By: Addison Duhon, Alex Lehocky, Elliot VanLandingham
CS-4540 Robotics Lab 00 - Introduction and OHM's law.
FIRST Long Island Presented by School-Business Partnerships of Long Island, Inc.
Programming Micro Controllers
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Intro to Arduino Part 2 The Breadboard
Presentation transcript:

REVOLIGHTS™: ARDUNIO CLONE Zack Fowler Network Security & Electronics Program, Dept. of Applied Engineering & Technology, Eastern Kentucky University

OUTLINE Abstract Motivation Introduction Problem Statement Proposed Solution Implementation Results Conclusions Future work

Abstract As more people look to bicycling as a healthy and cost-effective method of transportation, tackling safety concerns becomes even more important. The Revolights™ system is a great way to help improve bike riders’ visibility at night but does not come cheap. This is my economical Arduino-based clone of the Revolights™ system that offers life-saving technology to more people.

Motivation Since 2000, ACS data shows a 61.6% increase in bicycle commuting and the trend is continuing to grow. Addressing the safety concerns of commuting by bicycle is important to keep this trend. Some products, such as the Revolights™ system, are revolutionizing bicycle safety at night but are affordable only to a small fraction of riders. This project aims to reproduce the Revolights™ technology in a way that is both affordable and DIY-friendly

What is Revolights?

Introduction This project requirs learning/refreshing the following skills: Arduino programming at an intermediate level. Basic circuit design Basic Soldering Basic knowledge of bicycle mechanics

Problem Statement Conventional bicycle lights that mount to the handlebar stem or seat stem do not offer the rider sufficient visibility to vehicles approaching the biker at a perpendicular angle. The Revolights™ system provides a great way to solve this issue, but the high price of the product prevents many people from affording this revolutionary technology. This project addresses the high cost of the Revolights™ system and provides a much cheaper, DIY alternative. This technology will prevent bicycle-related injuries and fatalities and that is something that every rider should have access to.

Assumptions The final product of this project is exposed and vulnerable to weather and rough conditions. Since this project is assumed to only be used at night and on paved surfaces, I did not spend any resources on making this project weather proof, terrain proof, or aesthetically pleasing (the wiring).

Proposed Solution Steps taken to solve the problem: Brainstorming Learning and Designing (Arduino coding) Writing Code Choosing and ordering parts Assembling hardware Installing hardware Testing code Rewriting code Future improvements

Brainstorming I brainstormed the entire duration of the project as I was faced with new challenges and options: Platform – Arduino, Attiny 167, etc Road Bike vs new commuter bike Number of LEDs, colors, size of arc Which functions/variables to use in Arduino – millis(), arrays, float, long, attachInterrupt

Learning and Designing I didn’t formally design any diagrams or schematics (except some flow charts) for the purpose of aiding in the building of the system, but I made some for the presentation. I had to learn a TON about Arduino to pull this project off. I used the Arduino learning page and YouTube to do this. Majority of time spent researching the millis() function as that is the primary function driving my project. I also researched a lot about arrays to shrink the size of my code considerably.

Grand total of 200 lines of code

Writing Code I spent weeks pouring through the tutorials on Arduino’s main page and watching YouTube videos. I had help from my friend Henry who is a software developer. Creating a flow chart was a huge help. Trial and error before installing the hardware – I plugged the strands into a breadboard and watched the sequence of lights. Testing the code that way was difficult because it was impossible to tell if the arc was correct without the lights spinning.

Choosing Parts Platform – I chose Arduino because it is cheap (although not nearly as cheap as Attiny chips), very well supported/documented, and I had one avilable. The LEDs that are used were chosen because I could buy them in almost the exact quantity I needed, they were cheap, and they are bright with a decent viewing angle. The hall effects sensor that is used was chosen because it works exactly like a digital reed switch, making it simple and cheap.

Assembling Hardware I spent a couple hours in the lab soldering all of the LEDs, resistors, wires, and hall effects sensors together. The LEDs are wired in parallel, 12 pairs in white and 8 pairs in red, with one 620 ohm limiting resistor per pair. I verified that each strand of hardware was operational directly after soldering it together.

Installing Hardware To attach each strand to a spoke, I removed the spoke with a special tool and slid the strand around it and reset the spoke. I used electrical tape to secure the strand to the spoke, covering all exposed wiring. I tested each strand immediately for functionality after taping it to the spoke. After all the strands were secured to the spokes, I zip-tied the Arduino board as close to the center of the wheel as possible.

Installing Hardware At this point, each strand had more than enough wire to reach the appropriate pin on the Arduino. One at a time, I trimmed the positive wire of each strand to an appropriate length and inserted it into the correct pin. For the negative wires of each strand, I bundled them together, along with a wire grounded on the Arduino, and soldered them all together to form a common ground. I zip-tied the battery pack to the spokes to the spokes to provide power.

Testing Code I could not accurately test the interaction between the sensor and my code until all of the hardware was mounted on the wheel. To test my code, I would load it onto the Arduino and manually spin the wheel and observe the resulting LED sequence at different speeds.

Rewriting Code Due to proper planning and sufficient time invested in learning how to program the Arduino, no code modifications were necessary for the front wheel. However, once I realized the back wheel could only use 8 LEDs, I had to edit the array, the calRPM function, and the refreshLEDstate function to get the arc working correctly.

Future Improvements There is plenty of room for improvement on this project, including: Shrinking the project by using a chip like the Attiny 167 to replace the Arduino. Weather proofing the project and making the wires non-detachable. Decreasing the chance the LEDs become disoriented. Improving the overall aesthetics.

Future Improvements Some more additions I would like to eventually add to this project: Solar powered or rechargeable Wireless programming or programming via mobile (Android) Randomized stanbymode patterns Multi-color LEDs LEDs that respond to music

Implementation Getting the front wheel working was very straightforward and went surprisingly smoothly. Approaching the back wheel with the assumptions that it was going to be the same process as the front wheel was a mistake. The back wheel has 32 spokes whereas the front has 36, making it impossible to have 12 evenly spaced strands. Because of this, I had to rewrite parts of the code to accommodate 8 strands. Also, since the front wheel’s arc was 4 LEDs (120 degrees) and the back wheels was also 4 LEDs (180 degrees) I had to change the code for the front wheel to make a 6 LED arc (180 degrees) to match.

Results The most important result is a fully functioning Revolights™ clone using Arduino technology. This clone can also be reprogrammed by the user to alter the light sequence to their desire, an added functionality. The end result is cheap and DIY friendly, and most importantly it can save lives and prevent injuries.

Video

Conclusions This project was a ton of fun and I learned so much from it, especially how to motivate and educate myself. I fell in love with the simplicity and power of Arduino, I am inspired to build many more projects based on it. I feel like a badass riding this bike at night now.

References Arduino - Learn the basics. (n.d.). Arduino - Learn the basics. Retrieved March 28, 2014, from http://arduino.cc/en/Tutorial/HomePagehttp://arduino.cc/en/Tutorial/HomePage Program an ATtiny with Arduino. (n.d.). Instructables.com. Retrieved March 28, 2014, from http://www.instructables.com/id/Program-an-ATtiny-with-Arduino/ Revolights. (2013, July 22). YouTube. Retrieved March 28, 2014, from https://www.youtube.com/watch?v=yVjL6PN4_I4 bildr » A Strange Attraction. Various Hall Effect Sensors. (2011, April 5). bildr RSS. Retrieved March 28, 2014, from http://bildr.org/2011/04/various-hall-effect-sensors/ Open Source Hardware Group. (2012, August 10). Tutorial 12: Blink an LED without using the delay() function: Arduino Course for Absolute Beginners. YouTube. Retrieved April 20, 2014, from https://www.youtube.com/watch?v=y17QOtAVn_s Ribaric, T., & Younker, J. (). Arduino-enabled Patron Interaction Counting. Code{4}lib Ken. "ACS: Bike Commuting Continues to Rise | League of American Bicyclists." ACS: Bike Commuting Continues to Rise | League of American Bicyclists. N.p., 25 Sept. 2013. Web. 2 May 2014. <http://bikeleague.org/content/acs-bike-commuting-continues-rise>.

Acknowledgements Picture on Slide 1 - http://arduino.cc/en/Trademark/CommunityLogo Video on Slide 4 - https://www.youtube.com/watch?v=-UvO3QITwkU Picture on Slide 2 - http://www.freshnessmag.com/2013/04/08/revolights-x-mission-bicycle-company/ Picture on Slide 6 - http://gearjunkie.com/revolights-bike-lights Hall effect sensor picture Slide 20 - http://octopart.com/oh090u-optek-800069 Picture on Slide 34 - http://atmelcorporation.wordpress.com/2014/04/11/digispark-goes-pro-attiny167-on-kickstarter-%E2%80%A8%E2%80%A8/ I would like to thank my friend Henry Abbey for his invaluable role in helping me with the programming. I would also like to thank Aaron Eastham for his helpful support and encouragement through this project and his 9v battery pack he lent me. Thanks to the team at Revolights™ for designing the original product, it is revolutionary and inspiring.