Authors

Ibrahim Abdullahi

Faculty of Engineering and Technology, Ladoke Akintola University of Technology, Nigeria

Temitope Adeyemi

Faculty of Computing with Computer Science, Ladoke Akintola University of Technology, Nigeria

Abstract

This project presents the design and development of a speed control system for an electric bicycle (E-Bike) using an ESP32 microcontroller and BTS7960 motor driver. The system utilizes a potentiometer for user input to control motor speed, which is displayed on an I2C LCD along with calculated RPM and speed percentage. A key feature of this project is the implementation of a software threshold mechanism that ensures the displayed speed and RPM values remain at zero until the PWM signal reaches a minimum value of 40, accounting for the motor's stall voltage characteristics. An infrared-based rotary speed sensor was initially incorporated for closed-loop feedback, though the final implementation successfully demonstrates calculated speed values derived from PWM input. The system is powered by a 12V 5A SMPS with an LM2596 DC-DC converter providing regulated 5V and 3.3V supplies for the various components. This project serves as a foundational prototype for E-Bike speed control systems, demonstrating the practical application of embedded systems in electric vehicle technology.

Keywords

E-Bike Speed Controller ESP32 BTS7960 Motor Driver Electric Bicycle Control System PWM Speed Control Brushless/Brushed DC Motor Control Embedded System for Motor Control

Citation of this Article

Ibrahim Abdullahi, & Temitope Adeyemi. (2026). E-Bike Speed Controller Using ESP32 and BTS7960 Motor Driver. Journal of Artificial Intelligence and Emerging Technologies (JAIET). 3(3), 1-8. Article DOI: https://doi.org/10.47001/JAIET/2026.303001

Licence Copyright (c) 2026 Journal of Artificial Intelligence and Emerging Technologies. This work is licensed under a Creative Commons Attribution Non Commercial 4.0 International Licence.

References

  1. M. R. A. Cahyono, I. Mariza, and Wirawan, "Electric Bike Monitoring and Controlling System Based on Internet of Things," Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 11, no. 1, pp. 53-60, 2022.
  2. N. C. Susanti, "Ubah Sepeda Konvensional Jadi Sepeda Listrik Dengan e-Bike Kit berbasis ESP32," Fakultas Vokasi Universitas Airlangga, 2025.
  3. A.Hakim, H. Effendi, I. Yelfianhar, and D. E. Myori, "IoT-based motor speed monitoring using infrared sensor," Journal of Industrial Automation and Electrical Engineering, vol. 1, no. 1, 2025.
  4. Vishwa Chetanbhai Lakhnakiya. (2025). Cognitive CloudOps: Integrating Generative AI for Predictive Infrastructure Management and Self-Optimizing DevOps Pipelines. International Current Journal of Engineering and Science (ICJES), 4(9), 30-38. Article DOI: https://doi.org/10.47001/ICJES/2025.409006
  5. ABSathi, "BTS7960 43A High Power Motor Driver – Heavy Duty DC Motor Controller for Robotics & Research," labsathi.com.
  6. F. Fayyadhah, "Penerapan Sensor Getar dan Sensor Suhu untuk Pemantauan Motor DC Berbasis IoT," Undergraduate Thesis, Universitas Bina Darma, 2024.
  7. Muhammad H. Rashid, Power Electronics: Circuits, Devices and Applications, 3rd ed., Upper Saddle River, NJ, USA: Pearson Education, 2011.
  8. Bimal K. Bose, Modern Power Electronics and AC Drives, Upper Saddle River, NJ, USA: Prentice Hall, 2002.
  9. Ned Mohan, Tore M. Undeland, and William P. Robbins, Power Electronics: Converters, Applications and Design, Hoboken, NJ, USA: John Wiley & Sons, 2003.
  10. Frede Blaabjerg, Zhe Chen, and Søren Baekhoej Kjaer, “Power Electronics as Efficient Interface in Dispersed Power Generation Systems,” IEEE Transactions on Power Electronics, vol. 19, no. 5, pp. 1184–1194, 2004.
  11. Mohammed Abdullah Alrabeei, & Mohammed Fadhl Abdullah. (2026). Early Anomaly Detection in Network Traffic Using Deep Learning Techniques Based on NetFlow Data. International Research Journal of Innovations in Engineering and Technology - IRJIET, 10(1), 185-189. Article DOI https://doi.org/10.47001/IRJIET/2026.101023
  12. Ibrahim Sefa, “Electric Bicycle Control System Design Using Embedded Microcontroller,” International Journal of Electrical Engineering Research, vol. 5, no. 3, pp. 201–208, 2013.
  13. dfigueroa11, "Alimentación," GitHub Wiki, 2022.
  14. alf45tar, "LM2596 used in some boards," PedalinoMini Discussion 537, GitHub, 2024.
  15. Infineon Technologies, "BTS7960B High Current PN Half Bridge Datasheet," Infineon, 2005.