Building an AI integrated speedometer for the cycle

  • Context: Electrical 
  • Thread starter Thread starter geekynerd
  • Start date Start date
  • Tags Tags
    Ai internetofthings
geekynerd
Messages
65
Reaction score
12
the heading make the project look simple but it is not but it is not too hard. before heading into the problem i am facing lemme tell you the rough idea. i have some sensors which i am going to connect with whicarduino board and later get data from those sensors and use a model to recogonize the ride pattern and give me inisghts on ride

this project is my forst official iot project. a project where i work with electronics on hand. i researched bought some parts such as
* arduino uno (microcontroller)
* mpu6050 (six axis sensor)
* hc05 (bluetooth module)
* reed switch (swictch which state decided my the magnetic field around it)
* a oled screen

my rough plan is connect all this component to the arduino and the from the mpu6050 i can get the acceleration of the cycle and inclination of the road and even temps, from reed switch attached to by shock absorber reacts to the magnet attached to the spokes which can tell the accurate speed and hc05 bluetooth module to send the data to the phone and recieve the data from the phone

i am also planning to build a app for it. it is connected to the cycle whenever the ride starts and like I will preset the travel location in the app so the directions to the destinations will be sent by the app to the arduino board and will be displayed on the screen. for every 5 meter every data from the sensor will be tagged with the location on the gps(which is my phone) and stored in the database

later these data will be fed to a ai model which will analyze the pattern and trends across time and give me insights [i need to work on this ai part still not sure thought it will be cool if i implemented this feature] you mid find this like "oh he asked to chat gpt and it reccomended this feature" but no i this all things are original human ideas no ai hallucination. coz my friends said ah ai ideas but no.

i used ai to research what kind of part needed to build my idea but all the feature of the idea is human made and made by me

**let me go into the problems i am facing **
* i dont know who to attach the reed switch and magnet. i can like attach magnet using m-seal but reed switch must be conected to board so two long wires must be connected to shock absorber to handlebar(where the speedometer will obvious be)

* how will i attach my components. breadboard is too big and i can belive in soldering as it might come off because of the vibrations

* going to give power supply using powerbank i a using for my phone. is that good or bad (need some opinions)

* as i said i am new to software will my idea work or is there anything flaw in my idea i am not sure if so please point out

thanks for reading my thread leave your opinions below. hoping for some valuable advice.
 
Physics news on Phys.org
geekynerd said:
* i dont know who how to attach the reed switch and magnet. i can like attach magnet using m-seal but reed switch must be conected to board so two long wires must be connected to shock absorber to handlebar(where the speedometer will obvious be)
I'll attach a picture of my MTB speedometer magnet and pickup below. The magnet has a screw that attaches it to one of the spokes on the front wheel; you can buy them at pretty much any bicycle shop. The pickup element like your reed switch is cable-tied to the front fork leg and the cable is routed up the right fork to the handlebars. There is enough extra wire length to allow for accommodating the varying length of the fork leg as I ride.

Blue MTB speedometer sensor and magnet.webp
 
geekynerd said:
thanks for reading my thread leave your opinions below. hoping for some valuable advice.
The software programming is pretty well the easiest part of your project. Your main problem is what to contain the electronics in and how to secure it all. You will need a display and buttons unless you intend to use your phone to control it all. Your container and the wiring needs to ve VERY waterproof, vibration proof and impact proof. (Look at bike computers that are available, for useful ideas. You will need to be (or become) good at mechanical assembly so that your device will last long enough to have time for all the analysis you propose. Bits of string and electrical tape may not be enough to allow you to detach the system and take it indoors to modify it, charge it and read the data etc.

I include this link to show you the sort of care that's involved in a small part of a proper rugged project. Please do a lot of research and reading before making any decisions about your design; avoid disappointment at a late stage. I've been there many times and 'half way along' modifications can be a real pain.

Good luck but 'look before you leap'.
 

Similar threads

  • · Replies 59 ·
2
Replies
59
Views
11K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
Replies
10
Views
6K
Replies
3
Views
5K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K