adiciona podômetro e telinha

This commit is contained in:
2026-02-12 16:04:06 -03:00
parent 203a4a006d
commit b7419154aa
3 changed files with 404 additions and 328 deletions

View File

@@ -3,186 +3,74 @@
"author": "Amaro Lopes",
"editor": "wokwi",
"parts": [
{
"type": "board-esp32-devkit-c-v4",
"id": "esp",
"top": 0,
"left": 0,
"attrs": {}
},
{
"type": "chip-heartrate",
"id": "chip1",
"top": -114.18,
"left": -148.8,
"attrs": {}
},
{ "type": "board-esp32-devkit-c-v4", "id": "esp", "top": 0, "left": 0, "attrs": {} },
{ "type": "chip-heartrate", "id": "chip1", "top": -114.18, "left": -148.8, "attrs": {} },
{
"type": "wokwi-resistor",
"id": "r1",
"top": -33.6,
"left": -67.75,
"rotate": 90,
"attrs": {
"value": "1000"
}
"attrs": { "value": "1000" }
},
{ "type": "wokwi-slide-switch", "id": "sw1", "top": -130, "left": 127.9, "attrs": {} },
{ "type": "wokwi-mpu6050", "id": "imu1", "top": 167.02, "left": 175.12, "attrs": {} },
{ "type": "wokwi-led", "id": "led1", "top": -32.4, "left": 167, "attrs": { "color": "red" } },
{
"type": "wokwi-text",
"id": "text1",
"top": -163.2,
"left": 67.2,
"attrs": { "text": "devagar" }
},
{
"type": "wokwi-slide-switch",
"id": "sw1",
"top": -130,
"left": 127.9,
"attrs": {}
"type": "wokwi-text",
"id": "text2",
"top": -163.2,
"left": 153.6,
"attrs": { "text": "rápido" }
},
{
"type": "wokwi-mpu6050",
"id": "imu1",
"top": 99.82,
"left": -199.28,
"attrs": {}
"type": "board-ssd1306",
"id": "oled1",
"top": 99.14,
"left": 288.23,
"attrs": { "i2cAddress": "0x3c" }
},
{
"type": "wokwi-led",
"id": "led1",
"top": -32.4,
"left": 167,
"attrs": {
"color": "red"
}
}
"type": "wokwi-pushbutton",
"id": "btn1",
"top": 111.8,
"left": -144,
"attrs": { "color": "green", "xray": "1" }
},
{ "type": "wokwi-vcc", "id": "vcc1", "top": -37.64, "left": 326.4, "attrs": {} },
{ "type": "wokwi-vcc", "id": "vcc2", "top": -37.64, "left": -230.4, "attrs": {} }
],
"connections": [
[
"esp:TX",
"$serialMonitor:RX",
"",
[]
],
[
"esp:RX",
"$serialMonitor:TX",
"",
[]
],
[
"esp:3V3",
"chip1:VCC",
"green",
[
"h-187.01",
"v-134.4"
]
],
[
"chip1:GND",
"esp:GND.2",
"black",
[
"v28.8",
"h244.76"
]
],
[
"r1:1",
"chip1:BTN",
"green",
[
"h0"
]
],
[
"r1:2",
"esp:3V3",
"green",
[
"h0"
]
],
[
"esp:35",
"chip1:OUT",
"green",
[
"h-23.81",
"v-182.4"
]
],
[
"sw1:1",
"chip1:BTN",
"green",
[
"v0"
]
],
[
"sw1:2",
"sw1:3",
"black",
[
"v0"
]
],
[
"sw1:3",
"esp:GND.2",
"black",
[
"v0"
]
],
[
"imu1:VCC",
"esp:3V3",
"red",
[
"v0"
]
],
[
"imu1:GND",
"esp:GND.2",
"black",
[
"v-134.4",
"h28.88"
]
],
[
"imu1:SCL",
"esp:22",
"green",
[
"v9.6",
"h268.88",
"v-67.2"
]
],
[
"imu1:SDA",
"esp:21",
"green",
[
"v0"
]
],
[
"esp:GND.2",
"led1:C",
"black",
[
"v-19.2",
"h-4.76"
]
],
[
"esp:17",
"led1:A",
"green",
[
"h0"
]
]
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "esp:3V3", "chip1:VCC", "red", [ "h-187.01", "v-134.4" ] ],
[ "chip1:GND", "esp:GND.2", "black", [ "v28.8", "h297.6", "v96" ] ],
[ "r1:1", "chip1:BTN", "red", [ "h0" ] ],
[ "esp:35", "chip1:OUT", "green", [ "h-23.81", "v-182.4" ] ],
[ "sw1:1", "chip1:BTN", "green", [ "v0" ] ],
[ "sw1:2", "sw1:3", "black", [ "v0" ] ],
[ "sw1:3", "esp:GND.2", "black", [ "v0" ] ],
[ "imu1:SDA", "esp:21", "green", [ "v0" ] ],
[ "esp:GND.2", "led1:C", "black", [ "h81.24" ] ],
[ "esp:17", "led1:A", "green", [ "h0" ] ],
[ "oled1:GND", "esp:GND.2", "black", [ "v0" ] ],
[ "oled1:SCL", "esp:22", "green", [ "v0" ] ],
[ "esp:21", "oled1:SDA", "green", [ "h254.44" ] ],
[ "esp:3V3", "r1:2", "red", [ "h0" ] ],
[ "oled1:VCC", "vcc1:VCC", "red", [ "v0" ] ],
[ "vcc2:VCC", "esp:3V3", "red", [ "v0" ] ],
[ "imu1:SCL", "esp:22", "green", [ "v0" ] ],
[ "imu1:GND", "esp:GND.2", "black", [ "v0" ] ],
[ "imu1:VCC", "vcc1:VCC", "red", [ "v-153.6", "h86.48" ] ],
[ "btn1:1.r", "esp:25", "green", [ "v0" ] ],
[ "esp:GND.1", "btn1:2.r", "black", [ "h0" ] ]
],
"dependencies": {}
}