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
Smarter Life
  • Challenges & Projects
  • Design Challenges
  • Smarter Life
  • More
  • Cancel
Smarter Life
Blog Smarter Life Challenge: Smart Bicycle Light (update #9 - project summary)
  • Blog
  • Forum
  • Documents
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ajkahl
  • Date Created: 16 Jan 2014 9:06 AM Date Created
  • Views 938 views
  • Likes 1 like
  • Comments 2 comments
  • psoc4
  • smarter_life_challenge
  • winners
  • smarter_life
  • bike_light
Related
Recommended

Smarter Life Challenge: Smart Bicycle Light (update #9 - project summary)

ajkahl
ajkahl
16 Jan 2014

Firstly I just want to thank those that have contributed to and been involved with the organisation of this competition, there has been some really interesting content posted over the last few months.


 

As far as my project goes I'm pretty happy with where it has ended up, I have a solid hardware design and a bunch of clean code to progress the whole thing from. In my final post for the comp I want to give and overview and summary of where things are at, and hint at where they might go in the future.

 

 

Pioneer kit

 

 

I've used, abused (and had gather dust) a bunch of development kits and boards over the years, the pioneer kit is definitely at the top of the pile. It allowed me to get up and running quickly, with no messing about in setting up programming/debug environments. Software-wise creator is pretty good to that end. I think there's always a risk with development hardware that they just end up being chip carriers or on the flip-side vastly too complicated. Both of these can be deal-breakers when the whole point of them is to evaluate a technology, if one can't do that quickly or what's provided doesn't have enough features to do so then people will move on to something else. The pioneer kit hardware has the balance reasonably close to ideal in this regard. That being said some of the connectors and connector layouts seems a little arbitrary (yes I know primarily one would use arduino shields but the connections beyond that compatibility don't make a huge amount of sense, particularly the off board programming connector). Further the power configuration and fit/no-fits I think are overly complicated, or could be substituted for configuration switches removing the need for solder re-work. The limited support for stand-alone SWD targets (ie. to psoc4s only) is also a mark against.

 

I understand fully that there were likely many other constraints and compromises made in the design of this board that I'm not aware of, this is simply my personal experience, and undoubtedly others will have used this hardware in other ways that will have exposed other strengths and weaknesses.

 

Smart bicycle light concept

 

 

I've tried throughout to extend the simplicity of what is essentially a bike light you can forget about down to the nitty-gritty of implementation. This meant minimising hardware componentry where possible (a good example of this was ditching the body touch sense in favour of a mechanical tap gesture for user input), and making the most of the Psoc architecture to keep lines of code (at least ones that aren't auto-generated..) to as low a count as possible. The result of which is well on the way to meeting the original spec, with some nice additions along the way (the 'free' low-overhead kind, not the scope-creep-kinda-too-late-but-will-do-it-anyway kind).

 

 

Status


As it stands I have code that is in my mind ~90% production ready running on a stand-alone target board that 100% represents the production electronic design schematically. It will currently:

 

 

- Turn on when it's dark, mounted to the bike and movement is detected, making a sounds when it does so

- Turn on manually when the body of the light is tapped twice (like a double click on a mouse)

- Turn off after a period of no movement, light or when removed from the bike, making a sound when it does so

- Flash in a number of different modes (fast, slow, glow, alternating colour, rainbow, solid)

- Change and store flash modes when the light is on and the body of the light is tapped twice

- Change it's primary colour based on orientation, white when horizontal (mounted on handlebars), red when vertical (mounted on seatpost)

- Charge it's battery when connected to a USB port or charger, and indicate charge level on the LEDs

- Audibly alert the user to a low battery when it turns on

 


image

 

Future


In the coming weeks I plan to get to work on bedding down the mechanical design, enough so at least I can build some mockups/samples from prints. If all goes well I may then look to crowd sourcing a production batch, obviously this is not as simple as it sounds and there are many things to be considered for that to come off. But working towards putting together a pitch is a good way to continue. Beyond that there may be a spin of production electronics of a given form factor (probably ~ the size of the battery in the pic above) and testability, testing, sourcing, specifying, tooling, testing, testing, compliancing, testing and producing...

 

Thanks again everyone for your input. I'll be sure to give updates on any progress here.

 

 

Cheers

 

 

Anthony

 

  • Sign in to reply
  • vsluiter
    vsluiter over 11 years ago

    Hi Anthony,

     

    Nice writeup. Good and candid review of both the PSOC Pioneer Kit and your own work. Do post here if you start your indiegogo / kickstarter campaign!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    Good summary.

     

    I agree that you did a very good job in the time you had and you definitely explored the capability of the PSOC board.

     

    Well done,

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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