element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents IoT on Wheels Part 1: Smart Bike -- Episode 302
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Ben Heck Featured Content requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 23 Jul 2017 12:27 AM Date Created
  • Last Updated Last Updated: 4 Aug 2017 7:24 AM
  • Views 750 views
  • Likes 3 likes
  • Comments 1 comment
Related
Recommended

IoT on Wheels Part 1: Smart Bike -- Episode 302

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

Community Feedback
Featured Bonus Content
See All Episodes

 

 

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

Ben, Karen, and Felix are joined by Bob Baddeley, a local electrical engineer, for their IoT on Wheels Design Challenge project.  Ben works on the mechanical design in Autodesk Fusion 360, Felix gets started working with the Nucleo Board, and Bob shows them how to connect Bluetooth expansion board to an iOS app.

 

Join the IoT on Wheels Design Challenge:

 

IoT on Wheels Design Challenge

 

The team is working on a device that fits onto your bicycle and communicates with your smartphone over Bluetooth LE to pass information back and forth.  It will be able to send a message to an administrator if you hit a pothole, there will be an alarm built into it, vibration and tilt detection, and more. This project is for the IoT on Wheels Design Challenge on element14. They'll be using the ST microelectronics Nucleo64 along with a Bluetooth expansion module.  Felix brought in a bicycle for the team to base their measurements on.

 

Once they know how much room they have to work with Ben goes to work drafting a design in Autodesk Fusion 360.  It won’t be a one size fits all solution,  it will work for this Design Challenge as it will be specific to this build. They won’t be printing the tubes they are drafting, but the drawing will give them a good reference for their build.  With the Fusion 360 symmetrical extrusion, you specify length from center, not the total length. After he’s done they’ll know where to put the surface of their object and where to put their mounting clamp.

 

Felix gets started working with the Nucleo Board by going to the ARM mbed OS developer site.  Clicking on compiler will take you to the online integrated development environment so you can begin working with your programs. You could install IDE’s and compiler toolchains but the online development saves you from the hassle because online development handles all of this for you.  He firsts walks you through selecting the Nucleo-L476RG (Nucleo 64) as your hardware platform and then gets a blinky example going.  Coding examples such as the blinky example are common when working when writing programs for your microcontroller. Once the blinky example is compiled he saves it as a .bin file on his local machine. The nucleo that is plugged in shows up as a mass storage device.  He grabs the binary file and simply drags and drops it into he nucleo.

 

Bob Baddeley joins Felix to help him understand how the provided Bluetooth example, a heart rate monitor program, is connecting with the other Bluetooth devices.  They modify the existing Bluetooth demo for their purposes because it’s the fastest way to understand how it works.  When a Bluetooth LE device starts up it will advertise its presence, the smart phone will get a list of services that are available to connect to, within those services such as heart rate monitor are defined characteristics associated with them.  Characteristics have attributes like read or write or notify.  Notify will tell you when there is an update to the value. The phone app that they will create needs to send and receive data from Nucleo board, including setting the Real Time Clock. For their example, they are going to write their wown service and within that service they’ll have characteristics like button 1 pressed, button 2 pressed, and shake. They’ll need a characteristic they can write to for the alarm enabling and disabling. They’ll also have to send information to it for configuring the date and time. They’ll need to write a timestamp for every time it connects.

 

Bob Baddely uses an app on his IOS device called LightBlue from a a company called Punch Through. LightBlue (iOS) acts like a serial terminal for connected Bluetooth devices. He walks Ben and Felix through the Bluetooth services that can be connected to while using the app.  This program can also send data to the Bluetooth device.  Now that Ben has a basic idea of how the hardware is going to work, he continues working on the mechanical design in Fusion 360.

 

Disclaimer

  • iot on wheels design challenge
  • hack
  • autodesk fusion 360
  • accellerometer
  • bluetooth le
  • iot on wheels
  • lsm6dsl
  • x-nucleo-iks01a2
  • stm32 nucleo
  • microcontroller
  • x-nucleo-idw04a1
  • st microelectronics
  • episode 302: iot on wheels part 1: smart bike
  • x-nucleo-idbo5a1
  • 3d gyroscope
  • bluetooth le expansion board
  • heck
  • ben
  • tbhs_ep
  • design challenges
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +1
    Nice episode. I liked how easy they put the MBED parts together and constructed the Bluetooth app. DAB
  • DAB
    DAB over 7 years ago

    Nice episode.

     

    I liked how easy they put the MBED parts together and constructed the Bluetooth app.

     

    DAB

    • Cancel
    • Vote Up +1 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