element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Project14
  • Challenges & Projects
  • More
Project14
Blog BrightH2O light!
  • Blog
  • Forum
  • Documents
  • Theme Suggestions
  • Polls
  • Members
  • More
  • Cancel
  • New
Join Project14 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: julior
  • Date Created: 11 Dec 2017 5:11 PM Date Created
  • Views 1918 views
  • Likes 8 likes
  • Comments 6 comments
  • arduio
  • bicycle
  • neopixels
  • led strip
  • bike
  • leddisplaych
  • led
  • lights
  • holidayspecialch
  • rgbw
  • 5050 rgb led strip
  • attiny
  • attiny85
  • safety
  • opensource
Related
Recommended

BrightH2O light!

julior
julior
11 Dec 2017
image

Cool LED Display

Monthly project competitions, chances to earn prizes, you decide project themes, your ideas, your projects, turn ideas into projects.

Back to The Project14 homepage image

Project14 Home
Monthly Themes
Monthly Theme Poll

 

brighth2o lights
image

WHY: Making cycling safer!

The purpose of making this project is, to increase a cyclist safety in hopes to decrease accidents. The BrightH2O bottle increases safety by making you more visible.

WHAT: What was used to create it

The prototypes are based off an Attiny85 development board. Here is the hardware used to create it:

  • Digispark attiny85 development board
  • RGBW Led ring
  • 850 mAh rechargeable battery

Other:

  • Lipo Charger
  • Water Bottle
  • 3D Printer to printed cap

HOW: Building the prototype

Hardware

First step is to get the hardware wired together. Start by solder the LED Ring to the board. There are 3 wires to connect, power ground and signal.

 

 

 

 

 

image

 

 

1 / 2 • RGBW LED RING

 

 

 

 

 

 

image

 

 

1 / 2 • Led ring connected to Attiny development board

The board is powered can be powered by a Lithium polymer battery.

 

 

 

 

 

image

 

 

1 / 2 • Rechargeable battery with power button

After getting the hardware connected, its time to install any drivers and Software.

Software

Follow these steps to get your computer setup to program the development board: http://digistump.com/wiki/digispark/tutorials/connecting

You'll need to add the following to the "Additional Boards Manager URLs”. Then install Digistump boards and examples.

http://digistump.com/package_digistump_index.json

 

image

 

Install from Board Manager, after updating the preferences

After the you able to upload programs to the board, we will need to install a library to help us control the LEDS. We'll be using the NeoPixel library.

NeoPixel library installation steps: https://learn.adafruit.com/adafruit-neopixel-uberguide/arduino-library-installation

From the Sketch menu, > Include Library > Manage Libraries... In the text input box type in "NeoPixel". Look for "Adafruit NeoPixel by Adafruit" and select the latest version by clicking on the dropbox menu next to the Install button. Then click on the Install button. After it's installed, you can click the "close" button.

 

image

 

Library Manger - search NeoPixel

LED Code

Now that your system is ready, we start programming the LEDS. Open the 'simple' example from NeoPixel:

 

image

 

Open the 'simple' example

Change the pin 1, and set the correct amount of LEDS.

#define PIN            1   #define NUMPIXELS      16  

You will need to change the following line when using REGW leds:

Adafruit_NeoPixel strip = Adafruit_NeoPixel(16, PIN, NEO_RGBW + NEO_KHZ800);  

After those changes you should be able to upload the example and see the LEDS turn on!

 

image

 

We have light!

LED ANIMATOR

You can create you own patterns and animations by using this sequencer app: http://brightwaterbottle.io/animator/

 

image

 

Animation Maker

After you have created your animation. You can then copy the output and upload to the board.

Ride safe!

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 7 years ago +3
    Hi Julio, This is an excellent and practical application. The bottle would work for people walking along roadways as well as bikers. John
  • mcb1
    mcb1 over 7 years ago +3
    Nice project. Given me an idea for xmas decorations ... might be next year though. Cheers Mark
  • DAB
    DAB over 7 years ago +1
    Nice post. I hope your project helps keep people aware of cyclists. DAB
Parents
  • jw0752
    jw0752 over 7 years ago

    Hi Julio,

     

    This is an excellent and practical application. The bottle would work for people walking along roadways as well as bikers.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • jw0752
    jw0752 over 7 years ago

    Hi Julio,

     

    This is an excellent and practical application. The bottle would work for people walking along roadways as well as bikers.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • 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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube