MartinFowler

Raspberry Pi RP2040 servo ESC 4-way tester

 
Overview

IMG_20211204_173939.jpg

IMG_20211204_175757.jpg~~~~~~~~~~~~Because the joystick was drawn wrong, 3V3 was soldered to a short circuit to ground, and it has been removed in the picture.

Introduction

Use the ready-made 0.96 OLED screen module to plug it in directly. The joystick is controlled by the PS4 joystick, which controls the throttle forward and backward and the direction left and right (please use one that supports linearity for replacement. If there are only 0 and 1 joysticks, linear control cannot be performed)

Four buttons, EN is responsible for turning on and off the ESC, Mode switches the ESC and servo modes, and Prev/Next switches the controlled servo or ESC.

The onboard CH340G is connected to UART1 and leads to the SWD debugging pin. All unused IOs are led out except GPIO29.

The USB power supply comes with a 0.5A fuse. VCC can be input through the ESC BEC (the ESC voltage for car models is generally 5V+. When switching the servo to 5V power supply, please pay attention to whether the servo can support such a high voltage). The over-protection reverse connection diode enters the LDO. , the servo power supply is straight-through, you can switch the LDO step-down 3.3V (current cannot exceed 1117 maximum current 0.5A) voltage through the switch or use the ESC BEC input voltage

update content

20221-12-07 v1.2

1. Add an anti-reverse connection diode to the ESC power supply to prevent USB VBUS from pouring back into the ESC.

2021-12-04 v1.1

1. Remove the rocker button and connect it to ground, otherwise 3V3 will be short-circuited to ground.

2. Move the buttons and joystick down a certain distance. The joystick and screen could not be used before.

3. Modify the PCB size to facilitate placement of mounting holes and consider the subsequent shell.

4. The screen GND and VCC were reversed, which has been fixed.

References

The Raspberry Pi RP2040 schematic refers to the Yuzuki2040 RP2040 development board by GloomyGhost , as well as the Raspberry Pi official RP2040 chip document and the Raspberry Pi PICO schematic.

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2024-11-22 15:03:24

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号