Diiliev / E-Bike_Memory_Seat_With_Serial

E-Bike Memory Seat allows you to adjust the seat height of your electric bicycle with just one press of a button on your smartphone.
2 stars 0 forks source link

Interesting project! #1

Open epe opened 11 months ago

epe commented 11 months ago

A nice usecase would be sharing bikes as well as messengers..

May I ask why you used a Max232 board instead of the Arduino on board COMM Port via USB?

Best, Eric

Diiliev commented 11 months ago

Hello Eric,

Thank you for your interest in our project.

We chose not to use USB because when the bicycle was moving it caused significant vibrations which could potentially disconnect the cable. To ensure a reliable connection between the PC and the microcontroller, we chose to use the serial COM port on the PC which had a male D-sub DE-9 connector with screws. However the serial COM port on the PC used the RS-232 communication protocol which has a voltage range between -15V and +15V which is not compatible with the Arduino's 5V operating voltage. We needed something that would allow us to connect the Arduino to the PC with a DE-9 connector, using the RS232 communication protocol and had a voltage level converter. MikroElektronika's MAX232 board had all of these features and that is why we chose it.

Best regards, Dimitar

epe commented 11 months ago

Hi, I guess thats how engineer would solve the Vibration issue? Just throw in more parts that could break.

I'd Just fix the usb cable with a zip tie, but hey, I'm not an enginneer. :-) All the best with your project