No description
Find a file
2024-03-03 14:16:39 +01:00
.vscode Allow mode change without manual reset 2024-03-02 18:33:36 +01:00
include first commit 2024-02-11 20:19:01 +01:00
lib first commit 2024-02-11 20:19:01 +01:00
src Added health check for joystick 2024-03-03 14:16:39 +01:00
test first commit 2024-02-11 20:19:01 +01:00
.gitignore first commit 2024-02-11 20:19:01 +01:00
Crane.png Added readme and icons 2024-02-11 20:47:35 +01:00
platformio.ini Added Bluetooth serial options 2024-02-25 11:54:56 +01:00
psControllerColored.png Added readme and icons 2024-02-11 20:47:35 +01:00
README.md Added health check for joystick 2024-03-03 14:16:39 +01:00
smartphone-mobile-icon.png Updated readme 2024-03-02 18:40:41 +01:00

WilhelmiCrane-esp32

An automated crane controlled by a PS4 remote controller or android app.

logo logo logo

The project was created for an 9th degree student project to automate a crane.

The crane can be controlled by a wired connected arduino joystick, or after connecting a PS4 controller using a bluetooth Playstation controller. In the last update also a playstion app was added which can be used as an alternatove to the PS4 controller, also allowing to chnange the RGB Color values.

The motors support the analog controll by using PWM motor controll.

ESP32 code

https://github.com/bjoernboeckle/WilhelmiCrane

Setup

The crane is controlled using an ESP32 ESP32 NodeMCU, which controlls three DC motors by using two L293D motor drivers.

ESP32 - Pin Komponente Funktion
12 Blaue LED Verbindungsstatus
35 Schalter Mode (PS4 oder App)
Drehen
23 L293D Oben Enable 1,2 PWM
22 L293D Oben Input 1 Links
21 L293D Oben Input 2 Rechts
Hoch/Runter
5 L293D Oben Enable 3,4 PWM
18 L293D Oben Input 3 Runter
19 L293D Oben Input 4 Hoch
Laufkatze
15 L293D Unten Enable 1,2 PWM
2 L293D Unten Input 1 Vor
4 L293D Unten Input 2 Zurück
Joystick
39 Joystick x Drehen
34 Joystick y Laufkatze
32 Joystick switch Hoch/Runter
RGB LED
25 Rot
26 Grün
27 Blau