RPM Spinning (update)

by modelkitsdeluxe in Living > Health

2425 Views, 28 Favorites, 0 Comments

RPM Spinning (update)

photo_2022-04-24_11-44-28.jpg

******Tras unas semanas de pruebas, he actualizado el menú de la pantalla, ahora se ve mejor, dejo también la versión antigua******


Como uno mas del resto del mundo, acabamos estando en casa y cambiando ciertos ámbitos. Uno de ellos en mi caso a sido la forma de practicar deporte, en vez de ir al gim, pase a adquirir una bicicleta de spinning y clases online. Ahora, unos meses después de la adquisición, he decidido mejorarlo colocándole un cuenta revoluciones por minuto (imprescindible en spinning) y un soporte para el móvil.

El diseño se compone de una pantalla en la que se muestra las rpms y los metros (opcional) controladas por una placa mini micro (alimentado por una bateria de 9v) y un sensor de hall que detectará las pedaleadas.

----------

******After a few weeks of testing, I have updated the screen menu, now it looks better, I also leave the old version******


As one of the rest of the world, we end up being at home and changing certain areas. One of them in my case has been the way of practicing sports, instead of going to the gym, I went to buy a spinning bike and online classes. Now, a few months after the purchase, I have decided to improve it by adding a revolutions per minute counter (essential for spinning) and a mobile phone holder.

The design consists of a screen that shows the rpms and meters (optional) controlled by a mini micro board (powered by a 9v battery) and a hall sensor that will detect the pedaling.

Supplies

1.jpg

Necesitaremos una impresora 3d, y algunos componentes electrónicos entre ellos:

  • Placa pro micro
  • Pantalla oled 0,96" 128x64 I2C
  • Sensor de hall
  • Un imán de neodimio
  • 2 interruptores
  • Conectores
  • 1 Pila 9v 6LR61
  • Conector para la pila
  • Algunos tornillos

----------

We will need a 3d printer, and some electronic components among them:

  • pro micro plate
  • OLED display 0.96" 128x64 I2C
  • hall sensor
  • A neodymium magnet
  • 2 switches
  • Connectors
  • 1 Battery 9v 6LR61
  • battery connector
  • some screws

Diseño

bb.jpg
2.jpg

El diseño esta realizado íntegramente en tinkercad, y por si te gusta este proyecto y pero preferirias hacerle algunas modificaciones, te adjunto el enlace a tinkercad para que lo puedas editar fácilmente --> https://www.tinkercad.com/things/688jxH5PMse no obstante también adjunto las piezas por si te gusta así tal cual.

Necesitaremos imprimir uno de cada, menos del nombrado X2 que seran dos copias. Yo use pla en la impresion y sin problemas.

----------

The design is made entirely in tinkercad, and if you like this project and would prefer to make some modifications, I attach the link to tinkercad so you can easily edit it --> https://www.tinkercad.com/things/688jxH5PMse however, I also attach the pieces in case you like it just the way it is.

We will need to print one of each, except for the named X2, which will be two copies. I use pla in printing and without problems.

Soporte Del Movil

4.jpg
5.jpg
6.jpg
7.jpg

Como existen muchos modelos de smartphones y quería hacer algo mas genérico, pensé en este sistema, tan solo monta y atornilla sobre el soporte del móvil, el soporte vertical y posteriormente introduce los horizontales, pegalos a su medida y corta el sobrante si quieres.

----------

As there are many models of smartphones and I wanted to do something more generic, I thought of this system, just mount and screw on the mobile support, the vertical support and then insert the horizontal ones, glue them to your size and cut the excess if you want.

Pantalla

8.jpg
9.jpg
10.jpg

La pantalla va fija a su soporte con silicona caliente y después, lleva colocada una lamina de plástico transparente que abarque casi toda la superficie, para que? Pues para evitar que la caída de agua/sudor sobre la pantalla, penetre donde la electrónica, ese es el motivo de que lleve otro protector superior.

----------

The screen is fixed to its support with hot silicone and then, a transparent plastic sheet is placed that covers almost the entire surface, for what? Well, to prevent the fall of water / sweat on the screen, from penetrating where the electronics are, that is the reason why it has another upper protector.

Programación

a.jpg

El programa es muy sencillo, se trata de medir el tiempo que tarda en dar una vuelta, ver las veces que lo haría en un segundo y multiplicarlo por un minuto (60 segundos).

Para el tema de la distancia, la puse en metros, ya que en una clase corta, de unos 30 minutos se harán alrededor de 15 km y esta mas chulo ver subir los metros que no esperar para ver como suben de 100m en 100m :) Si quieres ponerlo acorde a tu bicicleta, necesitaras medir el radio de la rueda y a su vez el numero de vueltas que da con cada vuelta completa del pedal, en mi caso el radio mide 0.25 metros y da 2.75 vueltas, por lo que abre el código y modifica esos valores a conveniencia.

Sube el código a tu pro micro antes de seguir con el montaje, luego sera mas complicado por el poco espacio en el que esta todo.

----------

The program is very simple, it is about measuring the time it takes to go around, see how many times it would do it in one second and multiply it by one minute (60 seconds).

For the subject of distance, I put it in meters, since in a short class, about 30 minutes will be around 15 km and it is cooler to see the meters go up than not to wait to see how they go up from 100m in 100m :) If you want to put it according to your bike, you will need to measure the radius of the wheel and in turn the number of revolutions that it makes with each complete revolution of the pedal, in my case the radius measures 0.25 meters and makes 2.75 revolutions, so open the code and modify those values ​​as desired.

Upload the code to your pro micro before continuing with the assembly, then it will be more complicated due to the little space in which everything is.

Electronica

tacometro_bb.jpg
13.jpg
11.jpg
12.jpg
14.jpg
15.jpg
18.jpg
19.jpg
16.jpg
17.jpg

La electrónica es bastante sencilla, seguir el esquema y poco mas, como cosas a tener encuenta, instala pines a 90º en los terminales de la placa, también puedes soldarlos directamente e incluso quitar el conector trasero, que es el encargado de ir hasta el sensor de hall.

----------

The electronics is quite simple, follow the diagram and little else, as things to take into account, install pins at 90º on the terminals of the board, you can also solder them directly and even remove the rear connector, which is responsible for going to the sensor hall.

Sensor De Hall

3.jpg
20.jpg
21.jpg
22.jpg

Usa silicona caliente para fijar el sensor de hall a su cajita, coloca el imán en el pedal y posteriormente, pega con cinta de doble cara el sensor en una ubicación en la cual se produzca la detección del sensor. Yo rellene los agujeros con silicona caliente para evitar que entrara el agua/sudor que pudiera caerle, no es necesario que haya contacto físico entre el sensor y el imán, solo asegúrate de que el imán esta por su cara correcta, es decir, la parte delantera del sensor detecta los campos magnéticos positivos y la trasera los negativos (o viceversa ¿?). Te dejo un pequeño video donde se aprecia la detección.

----------

Use hot glue to affix the hall sensor to its housing, place the magnet on the pedal, and then double-sided tape the sensor to a location where sensor detection will occur. I filled the holes with hot silicone to prevent the water/sweat that could fall on it from entering, it is not necessary for there to be physical contact between the sensor and the magnet, just make sure that the magnet is on its correct side, that is, the part The front of the sensor detects positive magnetic fields and the rear negative ones (or vice versa?). I leave you a small video where you can see the detection.

Test!

photo_2022-04-24_11-44-42.jpg
photo_2022-04-24_11-44-31.jpg

Coloca el contador en el manillar, si viene grande, usa un trozo de espuma para que sirva de relleno.

Con uno de los interruptores se controla el encendido, con el otro se visualiza solo en pantalla las rpm en grande o en mas pequeño junto a los metros recorridos.

Espero que te haya gustado, intente hacerlo genérico para todas las bicicletas, pero sino es el caso, espero que te sirva de inspiración y utilices o modifiques a conveniencia los materiales.

Adjunto un pequeño vídeo del funcionamiento.

----------

Place the counter on the handlebars, if it is big, use a piece of foam to serve as padding.

With one of the switches the ignition is controlled, with the other the rpm is only displayed on the screen in large or smaller along with the meters traveled.

I hope you liked it, I try to make it generic for all bicycles, but if not, I hope it inspires you and you use or modify the materials as you see fit.

Attached is a short video of how it works.