TinyMLjs


A set of hardware independent web-page, client-side (No Internet required) programming tools to help bring Machine Learning Proof of Concept's to more students, by using the power of the web with javascript-tensorflowJS and the simplicity of the C/C++ microcontroller serial print command combined together using Google's WebSerial that works on any desktop (or laptop) computer.

Note: WebSerial using a polyfill works on a few Android phones such as some of the Google Pixel phones.

Github for TinyMLjs here : https://github.com/hpssjellis/tinyMLjs

Demos

Note: Feb 2025 working on client-side-javascript ai-agents. Intelligent Arduino style microcontrollers in the web browser client-side

Link to site https://hpssjellis.github.io/my-examples-of-ai-agents/public/index.html


Skip to basic instructions

    Acceleration x,y,z time-series Demos: Now works for any sensor other than Vision and Sound

  1. Best acceleration Nano33BleSense Does not have latest features.
  2. Best acceleration NiclaVision-Acceleration and Time of Flight
  3. Best acceleration RAK2270 Sticker Tracker
  4. Best ./ble/ble00.html Trying both webBLE and WebSerial
  5. Note: This is also for other sensors! Always the best so far x,y,x acceleration page. CSV and Senses work and ML works, classification works, cell phone (Apple & Android) motion works


  6. Next Acceleration Draft: for nicla-vision a49-next-acceleration.html - model view working, live edit not
  7. Next Acceleration Draft: for nicla-vision a50-next-acceleration.html - adding live model editing WORKS!
  8. Next Acceleration Last: for nicla-vision a51-next-acceleration.html - tidy it up and test
  9. Next Acceleration Draft: for RAK2270 Sticker Tracker a52-next-acceleration.html- GOOD for RAK, but mouse motion issue
  10. Next Acceleration blanked out mouse motion a53-next-acceleration.html
  11. Next Acceleration for RAK2270 trying to fix mouse motion a54-next-acceleration.html Since it is good for the classroom, works but decimals
  12. Next Acceleration a55-next-acceleration.html fixing mouse motion
  13. Next Acceleration a56-next-acceleration.html fixing mouse motion
  14. Next Acceleration a57 This is good!
  15. 58 RAK Next Acceleration a58
  16. 58 Nicla Vision a58
  17. 58 Nano 33 Ble Sense a58
  18. A59-next-using-nano33ble-sense Working on this nowe
  19. New 2025
  20. ./ble/ble00.html Most stable version
  21. ./ble/ble01.html
  22. ./ble/ble02.html
  23. ./ble/ble03.html
  24. ./ble/ble04.html
  25. ./ble/ble05.html New Stable BLE kind of working to train an IMU using ML
  26. ./ble/ble06.html
  27. ./ble/ble07.html
  28. ./ble/ble08.html
  29. ./ble/ble09.html
  30. ./ble/ble10.html


Basic instructions




Made by Jeremy Ellis. Twitter @rocksetta, or @rocksetta@masto.ai or GitHub profile at https://github.com/hpssjellis
This Github at https://github.com/hpssjellis/tinyMLjs Use tinyMLjs at your own risk!

Design By Max S. Github at https://github.com/maxbiz100
Started Jun 4th, 2023 Version 0.1.0-2