Skip to content

Commit

Permalink
Add some leds for driver control
Browse files Browse the repository at this point in the history
  • Loading branch information
lptr committed Nov 13, 2024
1 parent edc655d commit 104ac9c
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 40 deletions.
131 changes: 131 additions & 0 deletions wokwi/diagram.flow-control-mk6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"version": 1,
"author": "Lóránt Pintér",
"editor": "wokwi",
"parts": [
{ "type": "board-esp32-s3-devkitc-1", "id": "esp", "top": -0.18, "left": 4.57, "attrs": {} },
{
"type": "wokwi-led",
"id": "statusLed",
"top": -32.4,
"left": 186.2,
"attrs": { "color": "white" }
},
{
"type": "wokwi-resistor",
"id": "r1",
"top": 32.75,
"left": 163.2,
"attrs": { "value": "22" }
},
{
"type": "wokwi-potentiometer",
"id": "battery",
"top": -106.9,
"left": 9.4,
"attrs": { "value": "950" }
},
{
"type": "wokwi-resistor",
"id": "r2",
"top": 119.45,
"left": -116.6,
"rotate": 180,
"attrs": { "value": "22" }
},
{
"type": "wokwi-led",
"id": "dain1Led",
"top": 63.6,
"left": -178.6,
"attrs": { "color": "yellow", "label": "DAIN1", "flip": "" }
},
{
"type": "wokwi-led",
"id": "dain2Led",
"top": 63.6,
"left": -111.4,
"attrs": { "color": "orange", "label": "DAIN2", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r3",
"top": 119.45,
"left": -193.4,
"rotate": 180,
"attrs": { "value": "22" }
},
{
"type": "wokwi-led",
"id": "nsleepLed",
"top": 140.4,
"left": 167.4,
"attrs": { "color": "red", "label": "NSleep", "flip": "1" }
},
{
"type": "wokwi-resistor",
"id": "r4",
"top": 225.05,
"left": 152.2,
"rotate": 180,
"attrs": { "value": "22" }
},
{
"type": "wokwi-led",
"id": "dbin1Led",
"top": 169.2,
"left": -178.6,
"attrs": { "color": "yellow", "label": "DBIN1", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r5",
"top": 227.25,
"left": -109.6,
"rotate": 180,
"attrs": { "value": "22" }
},
{
"type": "wokwi-led",
"id": "dbin2Led",
"top": 169.2,
"left": -111.4,
"attrs": { "color": "orange", "label": "DBIN2", "flip": "" }
},
{
"type": "wokwi-resistor",
"id": "r6",
"top": 225.05,
"left": -193.4,
"rotate": 180,
"attrs": { "value": "22" }
},
{ "type": "wokwi-logo", "id": "logo1", "top": 278.4, "left": 0, "attrs": {} }
],
"connections": [
[ "esp:TX", "$serialMonitor:RX", "", [] ],
[ "esp:RX", "$serialMonitor:TX", "", [] ],
[ "statusLed:C", "esp:2", "black", [] ],
[ "statusLed:A", "r1:2", "green", [] ],
[ "r1:1", "esp:3V3.2", "green", [ "v0" ] ],
[ "battery:VCC", "esp:3V3.1", "red", [ "v0" ] ],
[ "battery:GND", "esp:GND.2", "black", [ "v0" ] ],
[ "battery:SIG", "esp:1", "green", [ "v0" ] ],
[ "dain1Led:A", "esp:16", "green", [] ],
[ "dain1Led:C", "r3:2", "green", [ "h-28.4", "v19.2" ] ],
[ "r2:1", "esp:GND.1", "black", [ "v0" ] ],
[ "dain2Led:A", "esp:17", "green", [] ],
[ "dain2Led:C", "r2:2", "green", [ "h0" ] ],
[ "r3:1", "esp:GND.1", "black", [ "v0" ] ],
[ "r4:1", "nsleepLed:C", "green", [ "v0" ] ],
[ "nsleepLed:A", "esp:47", "green", [ "v0" ] ],
[ "r4:2", "esp:GND.4", "green", [ "v0" ] ],
[ "dbin1Led:A", "esp:8", "green", [] ],
[ "dbin1Led:C", "r6:2", "green", [] ],
[ "r5:1", "esp:GND.1", "black", [ "v0" ] ],
[ "dbin2Led:A", "esp:18", "green", [] ],
[ "dbin2Led:C", "r5:2", "green", [] ],
[ "r6:1", "esp:GND.1", "black", [ "v0" ] ]
],
"dependencies": {}
}
40 changes: 0 additions & 40 deletions wokwi/diagram.mk6.json

This file was deleted.

0 comments on commit 104ac9c

Please sign in to comment.