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
Better World with Arduino
  • Challenges & Projects
  • Project14
  • Better World with Arduino
  • More
  • Cancel
Better World with Arduino
Blog Polite Passing and Safer Bicycling – the talking bike helmet with turn signals ** Version 3 ** Nicla ME gyro over BLE for trigger sensing
  • Blog
  • Forum
  • Documents
  • Events
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Better World with Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: robogary
  • Date Created: 25 May 2022 12:53 AM Date Created
  • Views 5965 views
  • Likes 9 likes
  • Comments 1 comment
  • ble
  • pinocchio
  • nicla
  • bluetooth low energy
  • better world with Arduino
  • arduino
  • betterworldch
Related
Recommended

Polite Passing and Safer Bicycling – the talking bike helmet with turn signals ** Version 3 ** Nicla ME gyro over BLE for trigger sensing

robogary
robogary
25 May 2022

Make the World a Better Place : Polite Passing and Safer Bicycling – the courteous talking bike helmet with turn signals 

reference the Version 1 for some background and a video

/challenges-projects/project14/betterworld/b/blog/posts/polite-passing-and-safer-bicycling-the-talking-bike-helmet-with-turn-signals-version-1

This Version 3 helmet is to use the Nicla ME mounted on the bike helmet to transmit gyro signals to the Arduino Nano Sense 33 on the handlebars 

via Bluetooth BLE for triggering the turn signals or by pushbuttons on the handlebars. The audio and speaker would be moved to the handlebars. 

The turn signal LEDs would still be on the helmet. 

Here are the schematics

image 

image

Here is a photo of my test rig with my project helper Pinocchio.

Pinocchio's talent is software.

Its a great team complement, Im more of a concept dreamer and a hardware person.

image

Here is Pinochhio coaching me on BLE coding. Funny, his nose didnt seem that big before...........

image

Here are reference documents to help guide in the design of BLE code using Nicla and Arduino.

https://www.arduino.cc/reference/en/libraries/arduinoble/

https://docs.arduino.cc/tutorials/nano-33-ble-sense/cheat-sheet

https://docs.arduino.cc/tutorials/nicla-sense-me/cheat-sheet

https://www.bluetooth.com/blog/a-developers-guide-to-bluetooth/

https://www.bluetooth.com/learn-about-bluetooth/tech-overview/

https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf

The Better World with Arduino ends tomorrow May 25th. 

I'm submitting the project without the application code being operational.  The BLE code can be written in a multiple number of ways, the first 1000 ways I tried dont work. It will happen tho.  

Even without functional code, the World is better with Arduino.

 

  • Sign in to reply
  • javagoza
    javagoza over 3 years ago

    I'm not using the gyro signals but the BSEC data, but it is the same.

    The project: Simple Remote Air Quality Monitor Project Tutorial - Blog - Better World with Arduino - element14 Community

    The code:

    https://github.com/javagoza/Remote-IAQ-Monitor

      
      #include "Arduino_BHY2Host.h"
      
      SensorBSEC co2Sensor(SENSOR_ID_BSEC);
      
      ....
      
      BHY2Host.debug(Serial);
      
      
      // NiclaWiring NICLA_VIA_BLE
      while (!BHY2Host.begin(false, NICLA_VIA_BLE)) {}
      Serial.println("NICLA device found!");
      co2Sensor.begin();
      
      .....
      
      BHY2Host.update(100);

    • 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