element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Think ON Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Think ON Design Challenge
  • More
  • Cancel
Think ON Design Challenge
Blog SeB - Smart eBike
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vassily98
  • Date Created: 18 Mar 2020 6:49 PM Date Created
  • Views 141 views
  • Likes 6 likes
  • Comments 2 comments
Related
Recommended

SeB - Smart eBike

vassily98
vassily98
18 Mar 2020

One thing that eBikes really lack is the ability to act as connected devices (IoT) and a decent battery management system (BMS). I mean, we have seen hundreds of projects attempting to solve the first part (temperature and environment sensing), and this project does not miss that point. The second challenge is to have a bike that really takes care of the battery.

LiIon batteries have a relatively short lifespan, which in most cases is further shortened by incorrect use. Long disposal times affect lifespan total capacity depending on temperature and charge level. Considering the actual cost of a new battery pack, a better optimization may be worth.

Following the recommendations of these tables, the cells should be kept at a voltage greater than 4.15V only for a very limited amount of time.

When not using a battery for long periods of time (winter) it is important that it is kept at half charge and at low temperatures.

 

My battery management system is based on the new BLE board produced by ON-Semiconductors, the RSL1-SENSE-GEVK. It allows to create a good monitoring system at low cost and low energy consumption, integrating some useful sensors, LEDs, push-buttns and some interface pins. The measurement of battery voltage is done by an ADS1115 chip, mounted on a custom PCB that integrates also voltage regulation, a voltage divider and battery discharge circuit. The last is composed of a transistor controlling two (or one) resistors that gradually discharge the battery.

 

HARDWARE REQUIREMENTS:

- RSL10-SENSE-GEVK-DB kit;

- ADS1115 module;

- voltage regulator with input voltage >=42V;

- diode (generic);

- NPN transistor (generic);

- 2x 10uF capacitors (or similar);

- 330Ohm resistor;

- 1MOhm resistor;

- 2x 100kOhm resistors;

- 2x 5W 22Ohm resistors (or similar);

- 8-pin DIP socket;

- 2.54mm strip pin (male and female);

- PCB base;

- PCB connector;

- cables;

- Android/IOS Smartphone.

 

SOFTWARE REQUIREMENTS:

- Atmosphere IoT account;

- Atmosphere IoT Agent;

- Segger J-Link LITE Cortex-M environment.

 

HARDWARE SETUP AND SCHEMATICS:

Wire up everything as shown below. You can use a perfboard or a etched/milled PCB. I had troubles with my CNC3018 so I had to do a dirty perfboard.

Notes: I am using a PCB connector with screws, it is possible to use any type of connector. I also preferred to connect ADS1115 and RSL10 with strip pins and socket, because it is easier to disconnect them and use both in other projects. R5 and R6 are >1W and require more space. Please don't act like me and place a 16V capacitor on battery side!

I have prepared a 3D-printable box in order to house the project. Put everything in the box and place a small switch on the side. I had no black filament so I have covered everything with black tape to match the bike colour.

 

SOFTWARE SETUP:

Software was developed using Atmosphere IoT, which is a fast and easy way to create proof of concepts or even commercial solutions. I made a driver for ADS115, available in my blog. The embedded components of the project (the firmware of RSL10) captures environmental parameters (temperature, air quality), communicates with ADS1115 and manages the onboard LEDs. This data is then sent to the mobile app and displayed in a user-friendly manner.

1) Download and install J-LINK software and documentation pack from SEGGER website;

2) Download and install Atmosphere IoT Agent on the same computer, then add to environment PATH the JLink directory. Follow the tutorial available at the download page of Atmosphere;

3) Connect the J-LINK Lite debugger/programmer to the programming connector of RSL10-SENSE-GEVK and plug the USB connector to the PC. Don't forget that RSL10 need to be externally powered! (battery/power supply);

4) Open Atmosphere IoT Platform from any web browser. Login or register, then click over "Import Project" and select the code available below. Project should be already compiled, anyway press "Compile" button at the top of the page and wait about thirty seconds. When compilation finishes navigate to embedded project view and click the programming icon. Once process has finished, unplug USB and programming cables.

5) Take an Android/IOS smartphone and install Atmosphere IoT App. Login with the same account used for the platform. Launch the app just installed and navigate to "Devices". Click over "Add device" and select your RSL10. The app should now connect and start to display data. If not, reset button is your friend.

Attachments:
SEB_full-project.zip
Anonymous

Top Comments

  • dubbie
    dubbie over 2 years ago +1

    I am interested in getting an eBike (actually an eTricycle) so your project is of great interest to me. I have learned something about batteries as well. You have not indicated whether it worked or not…

  • vassily98
    vassily98 over 2 years ago in reply to dubbie +1

    Hi Dubbie, the project is working indeed! I have totally wrapped the box with black tape, so it should be effective against rain (maybe not a storm). The bike should not be left on the sun for long periods…

  • vassily98
    vassily98 over 2 years ago in reply to dubbie

    Hi Dubbie, the project is working indeed! I have totally wrapped the box with black tape, so it should be effective against rain (maybe not a storm). The bike should not be left on the sun for long periods of time so I did not take that into account.

     

    Just one tip, place resistors (R5/R6) of lower value if you want a shorter discharge time.

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • dubbie
    dubbie over 2 years ago

    I am interested in getting an eBike (actually an eTricycle) so your project is of great interest to me. I have learned something about batteries as well. You have not indicated whether it worked or not and a video would be good. Is the 3D printed box going to be weather proof - rain and sun?

     

    Dubbie

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube