View: 247|Reply: 2

Adeept Robot HAT 2.0 motor encoders connection

[Copy link]

1

Threads

2

Posts

17

Credits

Newbie

Rank: 1

Credits
17
Post time 2024-1-30 01:58:59 | Show all posts |Read mode
Hi everyone!

I'm thinking to replace existing morots by motors with encoders for AWD car.

The question is that I need to connect somehow encoders to Raspberry PI (4B) via HAT, to do that I need 4 pins - 2 for power (3.3 or 5v) and 2 for data (AB-phase encoder) for each motor (most likely I can parallel power for both encoders, but for data I need 4 GPIO ports).

Based on https://www.adeept.com/video/sta ... uit%20Schematic.pdf I'm thinking to use Tracking (or MPU6050 or UART) and IIC headers for connection but I have no idea which type of connectors to buy.

Probably someone knows what should I choose?

Reply

Use magic Report

0

Threads

51

Posts

189

Credits

Administrator

Rank: 9Rank: 9Rank: 9

Credits
189
Post time 2024-2-6 15:37:41 | Show all posts
If you use the IIC interface, you need to use the corresponding "XH2.54mm" terminal.
If you use MPU6050, you need to use "2.54mm" pin header.
It is recommended to use 2.54mm pin headers to weld at 40 circular holes. The 40 circular holes correspond to the 40 Pins of the Raspberry Pi.
Reply

Use magic Report

1

Threads

2

Posts

17

Credits

Newbie

Rank: 1

Credits
17
 Author| Post time 2024-2-8 02:05:33 | Show all posts
Adeept_Devin replied at 2024-2-6 03:37 PM
If you use the IIC interface, you need to use the corresponding "XH2.54mm" terminal.
If you use MPU6 ...

Many thanks for your advice! Just have ordered 2p20 pin header!
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules