template gy-521 working for mpu6050

This commit is contained in:
Priec
2025-12-08 20:57:35 +01:00
commit 3dfda03a3b
4 changed files with 332 additions and 0 deletions

24
diagram.json Normal file
View File

@@ -0,0 +1,24 @@
{
"version": 1,
"author": "Anonymous maker",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-devkit-c-v4",
"id": "esp",
"top": -105.6,
"left": 24.04,
"attrs": { "env": "micropython-20231227-v1.22.0" }
},
{ "type": "wokwi-mpu6050", "id": "imu1", "top": 23.02, "left": 251.92, "attrs": {} }
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "esp:21", "imu1:SDA", "green", [] ],
[ "esp:22", "imu1:SCL", "yellow", [] ],
[ "esp:3V3", "imu1:VCC", "red", [ "v-48", "h297.67" ] ],
[ "esp:GND.2", "imu1:GND", "black", [] ]
],
"dependencies": {}
}