1
0
mirror of https://github.com/whowechina/chu_pico.git synced 2025-01-18 17:24:05 +01:00

PCB v1 done

This commit is contained in:
whowechina 2023-08-27 10:35:17 +08:00
parent a8b947d694
commit 659dac7d57
16 changed files with 186717 additions and 24686 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"board": {
"active_layer": 36,
"active_layer_preset": "",
"active_layer": 44,
"active_layer_preset": "All Copper Layers",
"auto_track_width": true,
"hidden_nets": [
"GND"
@ -18,9 +18,9 @@
"selection_filter": {
"dimensions": false,
"footprints": false,
"graphics": true,
"graphics": false,
"keepouts": false,
"lockedItems": false,
"lockedItems": true,
"otherItems": false,
"pads": false,
"text": true,

View File

@ -45,7 +45,7 @@
"silk_text_upright": false,
"zones": {
"45_degree_only": false,
"min_clearance": 0.6
"min_clearance": 0.7999999999999999
}
},
"diff_pair_dimensions": [

View File

@ -1151,6 +1151,9 @@
(junction (at 107.95 54.61) (diameter 0) (color 0 0 0 0)
(uuid 0de7844b-b2a8-433f-9d7c-4352bce4fd90)
)
(junction (at 338.455 218.44) (diameter 0) (color 0 0 0 0)
(uuid 1008c87e-98f0-4ee9-a64c-a2e0f7192316)
)
(junction (at 107.95 224.79) (diameter 0) (color 0 0 0 0)
(uuid 1169a5cd-7324-4cec-95bd-124474d7086b)
)
@ -1211,15 +1214,9 @@
(junction (at 82.55 254) (diameter 0) (color 0 0 0 0)
(uuid 34b1c7b6-baba-4699-82c1-3b64b9fda6c8)
)
(junction (at 306.07 234.315) (diameter 0) (color 0 0 0 0)
(uuid 34c6c1b3-8587-4847-98d4-928cda85e57e)
)
(junction (at 120.65 269.24) (diameter 0) (color 0 0 0 0)
(uuid 36047b1c-7ded-47cf-b623-14da441a35a5)
)
(junction (at 331.47 234.315) (diameter 0) (color 0 0 0 0)
(uuid 3bf0c164-6c45-4e52-a0dc-2e93ef4e3d12)
)
(junction (at 133.35 224.79) (diameter 0) (color 0 0 0 0)
(uuid 3fd2f9aa-8550-45cd-bf37-e9b31225bed9)
)
@ -1238,9 +1235,6 @@
(junction (at 243.205 118.11) (diameter 0) (color 0 0 0 0)
(uuid 45eda633-c5fd-4876-89e2-5a37f9a419bd)
)
(junction (at 306.07 241.935) (diameter 0) (color 0 0 0 0)
(uuid 48e0c337-873d-4126-bb25-ec9464d936c0)
)
(junction (at 120.65 209.55) (diameter 0) (color 0 0 0 0)
(uuid 4afbd97c-df0a-4b34-bbf0-6daaa6437a15)
)
@ -1250,15 +1244,12 @@
(junction (at 158.75 229.87) (diameter 0) (color 0 0 0 0)
(uuid 4bd91d54-8d4b-49d7-9632-ec4464a1fdf0)
)
(junction (at 318.77 218.44) (diameter 0) (color 0 0 0 0)
(junction (at 300.355 218.44) (diameter 0) (color 0 0 0 0)
(uuid 4c2d33ed-3b77-49b1-b792-2f8bbc58dcb0)
)
(junction (at 306.07 210.82) (diameter 0) (color 0 0 0 0)
(junction (at 287.655 210.82) (diameter 0) (color 0 0 0 0)
(uuid 4dbff787-7d32-4b34-a599-7852c09470e6)
)
(junction (at 331.47 241.935) (diameter 0) (color 0 0 0 0)
(uuid 53bebafc-ef22-4c08-a5bc-aebc6c0b6d90)
)
(junction (at 196.85 209.55) (diameter 0) (color 0 0 0 0)
(uuid 53e9598f-2c2d-4b6c-94bd-23c2b7b17cf3)
)
@ -1280,15 +1271,21 @@
(junction (at 95.25 224.79) (diameter 0) (color 0 0 0 0)
(uuid 641ee555-94ae-43a4-8609-9fe59f336bc5)
)
(junction (at 306.07 218.44) (diameter 0) (color 0 0 0 0)
(junction (at 287.655 218.44) (diameter 0) (color 0 0 0 0)
(uuid 6444e88f-a131-4767-8448-11e868685b2d)
)
(junction (at 351.155 218.44) (diameter 0) (color 0 0 0 0)
(uuid 6ba1a213-9bab-40fa-8887-129923e83e5a)
)
(junction (at 247.65 154.94) (diameter 0) (color 0 0 0 0)
(uuid 6c9c0e0e-ae07-4b8e-803f-002238d528cb)
)
(junction (at 327.66 68.58) (diameter 0) (color 0 0 0 0)
(uuid 6cc7c2b8-457e-4bbe-9c3c-19dfc468ec58)
)
(junction (at 351.155 210.82) (diameter 0) (color 0 0 0 0)
(uuid 6d3cdf19-2dfb-4ac7-a205-f14535c78bbf)
)
(junction (at 118.11 64.77) (diameter 0) (color 0 0 0 0)
(uuid 7105036b-408b-44b3-9168-36ebb2978052)
)
@ -1313,18 +1310,21 @@
(junction (at 146.05 209.55) (diameter 0) (color 0 0 0 0)
(uuid 8b00f2b2-8bf8-4947-810d-a0beee344bad)
)
(junction (at 325.755 210.82) (diameter 0) (color 0 0 0 0)
(uuid 90abec7b-381b-414b-a700-26825c01c681)
)
(junction (at 247.65 229.87) (diameter 0) (color 0 0 0 0)
(uuid 93da91c8-792c-4fc8-a6c8-16c73a16ccad)
)
(junction (at 318.77 234.315) (diameter 0) (color 0 0 0 0)
(uuid 9472c3fb-34b7-459b-8138-645f7e32e6b3)
)
(junction (at 243.205 152.4) (diameter 0) (color 0 0 0 0)
(uuid 95666bf2-28ed-4939-b275-d96c035e03b5)
)
(junction (at 247.65 224.79) (diameter 0) (color 0 0 0 0)
(uuid 99380547-c86e-408b-8b71-d816ddd225d9)
)
(junction (at 325.755 218.44) (diameter 0) (color 0 0 0 0)
(uuid 9a3d98a8-6bbd-4ef4-92de-4d748cea814a)
)
(junction (at 95.25 229.87) (diameter 0) (color 0 0 0 0)
(uuid 9bb46a20-9ef5-4730-8ab8-86a4335c6b07)
)
@ -1337,7 +1337,7 @@
(junction (at 243.205 162.56) (diameter 0) (color 0 0 0 0)
(uuid 9d5a906b-6d9b-4db4-b5fd-9f74f4fa6bd8)
)
(junction (at 318.77 210.82) (diameter 0) (color 0 0 0 0)
(junction (at 300.355 210.82) (diameter 0) (color 0 0 0 0)
(uuid 9fb0209b-9342-492d-abb2-8be7ff826719)
)
(junction (at 107.95 254) (diameter 0) (color 0 0 0 0)
@ -1355,12 +1355,18 @@
(junction (at 158.75 245.11) (diameter 0) (color 0 0 0 0)
(uuid a6c0df0a-5add-4035-a64d-3de660f29404)
)
(junction (at 313.055 210.82) (diameter 0) (color 0 0 0 0)
(uuid a6cad2da-cc2f-4f21-99da-c4dee4f88c54)
)
(junction (at 107.95 269.24) (diameter 0) (color 0 0 0 0)
(uuid aecc5559-0f12-4f7e-b85b-89653eaf01a0)
)
(junction (at 133.35 245.11) (diameter 0) (color 0 0 0 0)
(uuid b11605b9-3338-464d-98bb-03ba1dd25057)
)
(junction (at 338.455 210.82) (diameter 0) (color 0 0 0 0)
(uuid b158a706-0188-4664-96c9-4fbfffd99758)
)
(junction (at 107.95 229.87) (diameter 0) (color 0 0 0 0)
(uuid b18af837-556c-4628-a8b7-66514eebe6e1)
)
@ -1418,9 +1424,6 @@
(junction (at 77.47 166.37) (diameter 0) (color 0 0 0 0)
(uuid cb9dac25-6ccb-4ac1-8154-367547ab39d2)
)
(junction (at 318.77 241.935) (diameter 0) (color 0 0 0 0)
(uuid cd738e92-5e18-4514-b163-b814febc807b)
)
(junction (at 133.35 229.87) (diameter 0) (color 0 0 0 0)
(uuid cd7a81db-7741-4ca0-b8fd-59d4237a19b4)
)
@ -1478,9 +1481,15 @@
(junction (at 158.75 224.79) (diameter 0) (color 0 0 0 0)
(uuid f1888d3b-e607-4cd1-9edf-48a3daff2b86)
)
(junction (at 327.66 82.55) (diameter 0) (color 0 0 0 0)
(uuid f518cda8-4006-4442-8acb-3ff9afbebb9a)
)
(junction (at 105.41 52.07) (diameter 0) (color 0 0 0 0)
(uuid f7b25509-3515-495d-bbeb-3f2c3d815ad2)
)
(junction (at 313.055 218.44) (diameter 0) (color 0 0 0 0)
(uuid fb19b553-dfe1-44f4-b543-74ea51d02b20)
)
(junction (at 234.95 229.87) (diameter 0) (color 0 0 0 0)
(uuid fb286335-5944-4e19-be16-668d5a81b52b)
)
@ -1615,6 +1624,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 13714c52-1233-4190-a4ab-c8c001a1b4ec)
)
(wire (pts (xy 351.155 218.44) (xy 363.855 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 167885fd-84ca-4519-b45c-328e330961d9)
)
(wire (pts (xy 104.14 52.07) (xy 105.41 52.07))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 16ab062e-5bc1-4ea9-9246-c8521224509c)
@ -1767,7 +1780,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 341338eb-5126-46db-b1b7-d0197e43f936)
)
(wire (pts (xy 314.96 45.72) (xy 289.56 45.72))
(wire (pts (xy 314.96 45.72) (xy 297.18 45.72))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 34bdfaff-1902-4acd-9a92-fdad462d33fa)
)
@ -1887,10 +1900,6 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4adcfb4d-7d50-4bc3-bc95-b7a633f31cb9)
)
(wire (pts (xy 318.77 234.315) (xy 331.47 234.315))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4af5084d-c6c6-4e56-95fa-e96614eb37f3)
)
(wire (pts (xy 256.54 145.415) (xy 261.62 145.415))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4b2212ac-b254-446a-a183-1b61ef0d2fba)
@ -1911,7 +1920,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4d7c9eb2-5521-4d71-9cf9-dec10921d3b4)
)
(wire (pts (xy 297.18 102.87) (xy 297.18 81.915))
(wire (pts (xy 297.18 102.87) (xy 297.18 82.55))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 4dae2da5-0021-4df4-8112-b9f09806f4d2)
)
@ -1935,7 +1944,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 54484ec9-1b94-4d0b-bbf7-371b69814028)
)
(wire (pts (xy 318.77 210.82) (xy 331.47 210.82))
(wire (pts (xy 300.355 210.82) (xy 313.055 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 54d1c2cb-2931-42db-8202-bb1f6e9a3348)
)
@ -1983,6 +1992,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6042d878-1a8e-4ff8-9824-1efc4e36cb1b)
)
(wire (pts (xy 313.055 218.44) (xy 325.755 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 62cf6ce6-ee71-4541-93af-2e51871639d0)
)
(wire (pts (xy 95.25 269.24) (xy 107.95 269.24))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 64ded521-8555-4edb-bd4c-c6839c44e975)
@ -1995,10 +2008,6 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 69ac4b6e-cc20-4cbf-8f23-8f17d651ae69)
)
(wire (pts (xy 331.47 241.935) (xy 344.17 241.935))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6b055927-e3d8-4373-b765-4130aec01daa)
)
(wire (pts (xy 209.55 229.87) (xy 222.25 229.87))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 6bb24dfe-9a59-4e7b-8e6e-04ec2882a4e2)
@ -2115,7 +2124,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 84cbc744-2a69-4977-8d64-95ebdb8ebf70)
)
(wire (pts (xy 306.07 218.44) (xy 318.77 218.44))
(wire (pts (xy 287.655 218.44) (xy 300.355 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 872f251b-f971-4765-8d99-d45ce5883d9c)
)
@ -2215,7 +2224,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9ea3566c-d6f1-4fa1-9aa0-797ac9eff1ce)
)
(wire (pts (xy 318.77 218.44) (xy 331.47 218.44))
(wire (pts (xy 300.355 218.44) (xy 313.055 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid 9f367107-8120-486e-ba12-aefa37a0f26a)
)
@ -2227,6 +2236,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a047dca3-0560-4f89-b6ed-d62babb88be9)
)
(wire (pts (xy 313.055 210.82) (xy 325.755 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a39fed37-30eb-477c-8d0b-9d5657dfcca7)
)
(wire (pts (xy 340.36 40.64) (xy 349.25 40.64))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a40e0968-6033-4808-89c5-bd675d101ae3)
@ -2243,6 +2256,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a6b2e352-e26c-4e3b-b77f-15f38ea4af1b)
)
(wire (pts (xy 327.66 81.28) (xy 327.66 82.55))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a70a1e9c-864e-487a-ba9f-40e5e69d8ef6)
)
(wire (pts (xy 247.65 224.79) (xy 260.35 224.79))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid a849087c-6eae-477e-a85c-8b8d186ad51d)
@ -2303,10 +2320,6 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid af2ae871-43c7-4bda-a546-bc2f9eb17192)
)
(wire (pts (xy 331.47 234.315) (xy 344.17 234.315))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid af2ddefc-d801-4942-84d1-fc9cc46529eb)
)
(wire (pts (xy 243.205 179.705) (xy 251.46 179.705))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid af3bd3f0-d624-46d3-ad5b-e0300de778f5)
@ -2327,6 +2340,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b31797f0-4ca6-49e6-a005-2738415f508b)
)
(wire (pts (xy 338.455 218.44) (xy 351.155 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b37d3d9e-a842-487b-b29a-116764af5d06)
)
(wire (pts (xy 243.205 123.19) (xy 261.62 123.19))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b38282f7-a1f7-4805-9c68-2540ace7dafa)
@ -2355,7 +2372,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b8ddc2d4-b284-4d48-9546-216b3df00ffe)
)
(wire (pts (xy 297.18 81.915) (xy 327.66 81.915))
(wire (pts (xy 297.18 82.55) (xy 327.66 82.55))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid b8e36607-78a7-4347-9dbb-2961a569c7ba)
)
@ -2383,7 +2400,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c27b3c01-7355-472f-a010-68b036db25bf)
)
(wire (pts (xy 289.56 45.72) (xy 289.56 68.58))
(wire (pts (xy 297.18 45.72) (xy 297.18 68.58))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c3e286b7-61a4-435b-8c80-2c908abce86a)
)
@ -2403,6 +2420,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c542407e-15cd-4583-811e-f0ae5847833e)
)
(wire (pts (xy 338.455 210.82) (xy 351.155 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c7083514-5a42-4f01-83d6-5d43422fe828)
)
(wire (pts (xy 158.75 229.87) (xy 171.45 229.87))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid c7a731b6-fc13-49d3-ae5f-e93b12095935)
@ -2455,11 +2476,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid d11f3ef6-b499-459c-b153-e377189d5aa9)
)
(wire (pts (xy 318.77 241.935) (xy 331.47 241.935))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid d12766cf-8366-4e86-bf28-8d0f4b82d933)
)
(wire (pts (xy 306.07 241.935) (xy 318.77 241.935))
(wire (pts (xy 325.755 218.44) (xy 338.455 218.44))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid d29ccfc2-44d3-4384-9af8-d3deb80c1ddb)
)
@ -2479,7 +2496,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid d9b4527f-cd36-45aa-b7a7-5b90dc2034c2)
)
(wire (pts (xy 289.56 68.58) (xy 327.66 68.58))
(wire (pts (xy 297.18 68.58) (xy 327.66 68.58))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid da06634d-cffd-4099-b0b7-b1731d5f8d52)
)
@ -2543,7 +2560,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ea5804b2-ee00-4a2c-ab20-141e3e3dc30f)
)
(wire (pts (xy 306.07 210.82) (xy 318.77 210.82))
(wire (pts (xy 287.655 210.82) (xy 300.355 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid ebd07c37-d819-4e13-8933-0b9cd4aeaaa6)
)
@ -2623,7 +2640,7 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid f79587a1-00d1-4375-b0ed-57d8a4c6818a)
)
(wire (pts (xy 306.07 234.315) (xy 318.77 234.315))
(wire (pts (xy 325.755 210.82) (xy 338.455 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid f85bcb0c-7e5c-497e-9649-f9228559d513)
)
@ -2643,6 +2660,10 @@
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid fed2800f-be7d-4124-94fb-44e21acc7535)
)
(wire (pts (xy 351.155 210.82) (xy 363.855 210.82))
(stroke (width 0) (type default) (color 0 0 0 0))
(uuid fee59616-ea03-400a-8412-c8f087c9754d)
)
(text "ADDR=0x5C" (at 309.88 160.02 180)
(effects (font (size 1.27 1.27)) (justify right bottom))
@ -2745,10 +2766,6 @@
(effects (font (size 1 1)) (justify left bottom))
(uuid 93387b33-8d7a-48ed-8f0c-ae5714627e15)
)
(label "A0" (at 314.96 45.72 180)
(effects (font (size 1 1)) (justify right bottom))
(uuid 933e43b0-8baa-43fc-804a-d24c3ce51688)
)
(label "SCL" (at 181.61 121.92 0)
(effects (font (size 1 1)) (justify left bottom))
(uuid 9aec6cf9-e9ee-4b66-89eb-71d2e474579b)
@ -2765,10 +2782,6 @@
(effects (font (size 1 1)) (justify right bottom))
(uuid ba9430a9-047d-40b6-8df2-ef5804b70288)
)
(label "B0" (at 314.96 102.87 180)
(effects (font (size 1 1)) (justify right bottom))
(uuid c2df0228-e4f8-4686-9c6a-620abebef784)
)
(label "SDA_1" (at 261.62 130.81 180)
(effects (font (size 1 1)) (justify right bottom))
(uuid ce889e7b-a921-4a2e-b80f-a7e9e5af35c8)
@ -3141,19 +3154,19 @@
)
)
(symbol (lib_id "Device:C") (at 306.07 238.125 0) (unit 1)
(symbol (lib_id "Device:C") (at 325.755 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 19ea96f8-4372-411f-a3dc-9dd5232e0e1f)
(property "Reference" "C4" (id 0) (at 309.88 236.8549 0)
(property "Reference" "C4" (id 0) (at 329.565 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 309.88 239.3949 0)
(property "Value" "0.1uF" (id 1) (at 329.565 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 307.0352 241.935 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 326.7202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 306.07 238.125 0)
(property "Datasheet" "~" (id 3) (at 325.755 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid bce5d449-9b4f-40dd-9a55-b167766a6a26))
@ -3197,19 +3210,19 @@
(pin "1" (uuid a491b339-1c59-4a36-a9fb-bbf49b795724))
)
(symbol (lib_id "Device:C") (at 331.47 214.63 0) (unit 1)
(symbol (lib_id "Device:C") (at 313.055 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 1cf1c0f5-bc40-4a8b-95a5-b41ea1b10e21)
(property "Reference" "C3" (id 0) (at 335.28 213.3599 0)
(property "Reference" "C3" (id 0) (at 316.865 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 335.28 215.8999 0)
(property "Value" "0.1uF" (id 1) (at 316.865 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 332.4352 218.44 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 314.0202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 331.47 214.63 0)
(property "Datasheet" "~" (id 3) (at 313.055 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid d172fcef-a8de-47ad-b9e1-bfd2a9add289))
@ -3234,25 +3247,6 @@
(pin "1" (uuid cf36fa66-c4f4-45d5-a1a8-995e7829632b))
)
(symbol (lib_id "Device:C") (at 344.17 238.125 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 1d952d23-450e-4686-b838-b4c35e1ce984)
(property "Reference" "C7" (id 0) (at 347.98 236.8549 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 347.98 239.3949 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 345.1352 241.935 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 344.17 238.125 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 8561f1f2-4acd-454a-b298-c0f894cbd73e))
(pin "2" (uuid bb1bb2c1-a824-47a9-8205-144cc53175bd))
)
(symbol (lib_id "chu_main:WS2812B_Unified") (at 133.35 237.49 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 1dbe48fd-e938-4b3c-869e-c1faa2dcd058)
@ -3680,19 +3674,19 @@
(pin "V" (uuid 2b91e2d7-a819-47f6-9e55-717f7deb7619))
)
(symbol (lib_id "Device:C") (at 331.47 238.125 0) (unit 1)
(symbol (lib_id "Device:C") (at 306.07 238.125 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 3e661dfd-38c1-4e51-a681-e27ba578020b)
(property "Reference" "C6" (id 0) (at 335.28 236.8549 0)
(property "Reference" "C8" (id 0) (at 309.88 236.8549 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 335.28 239.3949 0)
(property "Value" "0.1uF" (id 1) (at 309.88 239.3949 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 332.4352 241.935 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 307.0352 241.935 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 331.47 238.125 0)
(property "Datasheet" "~" (id 3) (at 306.07 238.125 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid ab97e077-8fb6-48da-af99-d9b0776660dc))
@ -3733,6 +3727,25 @@
(pin "1" (uuid aec46e2c-53d3-40c3-9030-67f82958e9b7))
)
(symbol (lib_id "Device:C") (at 363.855 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 433b9a39-4976-4b45-bd91-ae97f511e95c)
(property "Reference" "C7" (id 0) (at 367.03 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 367.03 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 364.8202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 363.855 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 33aac8d1-de93-44fc-8e52-d12a52ef5e90))
(pin "2" (uuid 21af0a3e-97b7-4e93-bf0d-4545b101517c))
)
(symbol (lib_id "iidx_teeny:ScrewHole") (at 248.92 273.05 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 440c0209-fb75-49d8-ae4f-2bc86d81222c)
@ -3856,7 +3869,7 @@
(symbol (lib_id "power:+3V3") (at 189.865 147.32 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 54bf0c30-c1e6-44f2-8828-fcafa14ae227)
(property "Reference" "#PWR?" (id 0) (at 189.865 151.13 0)
(property "Reference" "#PWR0118" (id 0) (at 189.865 151.13 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3V3" (id 1) (at 186.055 146.05 0))
@ -4019,7 +4032,7 @@
(symbol (lib_id "power:GND") (at 189.865 195.58 0) (mirror y) (unit 1)
(in_bom yes) (on_board yes)
(uuid 618cfd6f-65f0-4f60-8bbd-ca7839215cb4)
(property "Reference" "#PWR?" (id 0) (at 189.865 201.93 0)
(property "Reference" "#PWR0126" (id 0) (at 189.865 201.93 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 189.738 199.9742 0))
@ -4054,19 +4067,19 @@
(pin "2" (uuid 7f74c059-4364-44e2-9a73-98c17fe68a6f))
)
(symbol (lib_id "Device:C") (at 318.77 238.125 0) (unit 1)
(symbol (lib_id "Device:C") (at 338.455 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 6b1afb85-68f3-4b90-9a4b-a3d7efbf9a91)
(property "Reference" "C5" (id 0) (at 322.58 236.8549 0)
(property "Reference" "C5" (id 0) (at 342.265 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 322.58 239.3949 0)
(property "Value" "0.1uF" (id 1) (at 342.265 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 319.7352 241.935 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 339.4202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 318.77 238.125 0)
(property "Datasheet" "~" (id 3) (at 338.455 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 37d8e6b9-1f02-423a-8f0d-408465d1b07d))
@ -4110,6 +4123,25 @@
(pin "1" (uuid abfe0b07-6da3-4fa1-b3a2-19e228cf8684))
)
(symbol (lib_id "Device:C") (at 351.155 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 702d3733-36b7-4a5c-81a4-658816f47654)
(property "Reference" "C6" (id 0) (at 354.33 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 354.33 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 352.1202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 351.155 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid d53c937c-48ea-4cfc-9f62-6ff84e3b6f97))
(pin "2" (uuid 0a3a397a-1441-4ddb-a68e-e8af4602f471))
)
(symbol (lib_id "Connector:Conn_01x01_Female") (at 354.33 113.03 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 70b72b6d-13c0-49b6-9606-488d841a2a1e)
@ -4495,19 +4527,19 @@
(pin "1" (uuid c4fb610d-36df-44f2-9236-e0282107af50))
)
(symbol (lib_id "Device:C") (at 306.07 214.63 0) (unit 1)
(symbol (lib_id "Device:C") (at 287.655 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid 9494815a-0a19-4608-bd5d-ef347ed4e840)
(property "Reference" "C1" (id 0) (at 309.88 213.3599 0)
(property "Reference" "C1" (id 0) (at 291.465 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 309.88 215.8999 0)
(property "Value" "0.1uF" (id 1) (at 291.465 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 307.0352 218.44 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 288.6202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 306.07 214.63 0)
(property "Datasheet" "~" (id 3) (at 287.655 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid cbef5bab-abef-4958-b508-840ac5de89e4))
@ -4574,17 +4606,17 @@
(pin "V" (uuid f830f43e-f02a-4835-8f60-31b6f957f29d))
)
(symbol (lib_id "power:+5V") (at 306.07 210.82 0) (unit 1)
(symbol (lib_id "power:+5V") (at 287.655 210.82 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid 999896e1-83e7-4ee0-be96-bf9ba93d30cc)
(property "Reference" "#PWR0107" (id 0) (at 306.07 214.63 0)
(property "Reference" "#PWR0107" (id 0) (at 287.655 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+5V" (id 1) (at 306.07 207.01 0))
(property "Footprint" "" (id 2) (at 306.07 210.82 0)
(property "Value" "+5V" (id 1) (at 287.655 207.01 0))
(property "Footprint" "" (id 2) (at 287.655 210.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 306.07 210.82 0)
(property "Datasheet" "" (id 3) (at 287.655 210.82 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 0ddc90b4-44e8-4e7b-9f97-d96850dcf4fd))
@ -4831,17 +4863,17 @@
(pin "1" (uuid df88d5ac-6aed-4cbd-a1c6-6ab7dcbd714c))
)
(symbol (lib_id "power:GND") (at 306.07 218.44 0) (unit 1)
(symbol (lib_id "power:GND") (at 287.655 218.44 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid b30b7f3e-707a-420f-83b8-07f9d0fb1e4e)
(property "Reference" "#PWR0106" (id 0) (at 306.07 224.79 0)
(property "Reference" "#PWR0106" (id 0) (at 287.655 224.79 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "GND" (id 1) (at 306.197 222.8342 0))
(property "Footprint" "" (id 2) (at 306.07 218.44 0)
(property "Value" "GND" (id 1) (at 287.782 222.8342 0))
(property "Footprint" "" (id 2) (at 287.655 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 306.07 218.44 0)
(property "Datasheet" "" (id 3) (at 287.655 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid 7e3b2e1d-73bc-48f7-9fc0-bbbf5890924a))
@ -4866,17 +4898,17 @@
(pin "V" (uuid 8b1b6d93-1776-471b-9dec-bb3a7d4b6158))
)
(symbol (lib_id "power:+3V3") (at 327.66 82.55 0) (unit 1)
(symbol (lib_id "power:+3V3") (at 327.66 81.28 0) (unit 1)
(in_bom yes) (on_board yes)
(uuid ba67a278-b25f-432c-93d9-b9a5104a5a5a)
(property "Reference" "#PWR0124" (id 0) (at 327.66 86.36 0)
(property "Reference" "#PWR0124" (id 0) (at 327.66 85.09 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Value" "+3V3" (id 1) (at 323.85 80.645 0))
(property "Footprint" "" (id 2) (at 327.66 82.55 0)
(property "Value" "+3V3" (id 1) (at 323.85 79.375 0))
(property "Footprint" "" (id 2) (at 327.66 81.28 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "" (id 3) (at 327.66 82.55 0)
(property "Datasheet" "" (id 3) (at 327.66 81.28 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid aa9b2d4d-62ad-4c1e-a161-94abca3f21df))
@ -5323,19 +5355,19 @@
(pin "1" (uuid 0fc2752e-7618-4187-a45b-fd6c8badaf51))
)
(symbol (lib_id "Device:C") (at 318.77 214.63 0) (unit 1)
(symbol (lib_id "Device:C") (at 300.355 214.63 0) (unit 1)
(in_bom yes) (on_board yes) (fields_autoplaced)
(uuid f7cf802a-32fa-487a-8b76-c74fd7521e60)
(property "Reference" "C2" (id 0) (at 322.58 213.3599 0)
(property "Reference" "C2" (id 0) (at 304.165 213.3599 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Value" "0.1uF" (id 1) (at 322.58 215.8999 0)
(property "Value" "0.1uF" (id 1) (at 304.165 215.8999 0)
(effects (font (size 1.27 1.27)) (justify left))
)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 319.7352 218.44 0)
(property "Footprint" "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder" (id 2) (at 301.3202 218.44 0)
(effects (font (size 1.27 1.27)) hide)
)
(property "Datasheet" "~" (id 3) (at 318.77 214.63 0)
(property "Datasheet" "~" (id 3) (at 300.355 214.63 0)
(effects (font (size 1.27 1.27)) hide)
)
(pin "1" (uuid f1abc67f-22d7-4d9a-a0a5-be74d6b1c73b))
@ -5490,6 +5522,9 @@
(path "/2f3ddb59-a7f3-4e31-899b-638c6fbfc57f"
(reference "#PWR0117") (unit 1) (value "+5V") (footprint "")
)
(path "/54bf0c30-c1e6-44f2-8828-fcafa14ae227"
(reference "#PWR0118") (unit 1) (value "+3V3") (footprint "")
)
(path "/41e46fac-afa6-49ae-96cc-7ac857d17a4e"
(reference "#PWR0119") (unit 1) (value "GND") (footprint "")
)
@ -5511,11 +5546,8 @@
(path "/2de364fa-fb36-4e96-835b-636b38a87be6"
(reference "#PWR0125") (unit 1) (value "GND") (footprint "")
)
(path "/54bf0c30-c1e6-44f2-8828-fcafa14ae227"
(reference "#PWR?") (unit 1) (value "+3V3") (footprint "")
)
(path "/618cfd6f-65f0-4f60-8bbd-ca7839215cb4"
(reference "#PWR?") (unit 1) (value "GND") (footprint "")
(reference "#PWR0126") (unit 1) (value "GND") (footprint "")
)
(path "/9494815a-0a19-4608-bd5d-ef347ed4e840"
(reference "C1") (unit 1) (value "0.1uF") (footprint "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder")
@ -5532,12 +5564,15 @@
(path "/6b1afb85-68f3-4b90-9a4b-a3d7efbf9a91"
(reference "C5") (unit 1) (value "0.1uF") (footprint "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder")
)
(path "/3e661dfd-38c1-4e51-a681-e27ba578020b"
(path "/702d3733-36b7-4a5c-81a4-658816f47654"
(reference "C6") (unit 1) (value "0.1uF") (footprint "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder")
)
(path "/1d952d23-450e-4686-b838-b4c35e1ce984"
(path "/433b9a39-4976-4b45-bd91-ae97f511e95c"
(reference "C7") (unit 1) (value "0.1uF") (footprint "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder")
)
(path "/3e661dfd-38c1-4e51-a681-e27ba578020b"
(reference "C8") (unit 1) (value "0.1uF") (footprint "Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder")
)
(path "/23426a68-5108-4fdd-aaa7-f7e644e9fbe0"
(reference "D1") (unit 1) (value "WS2812B_Unified") (footprint "chu_main:WS2812B-4020")
)

View File

@ -19,10 +19,10 @@
(tstamp 5f8d66d3-cbb6-4f8d-8c3b-c374027dcda5)
)
(fp_rect (start -6.4 -2.6) (end 6.4 2.6) (layer "F.SilkS") (width 0.12) (fill none) (tstamp 847b0a6b-122d-4dfa-b44b-cf5835a558cc))
(pad "1" smd roundrect (at -5 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 49fa41bb-f1f4-4964-9db1-f426aa853525))
(pad "2" smd roundrect (at -3 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 93c4b2e4-1795-480d-b0f2-f15997ebb4af))
(pad "3" smd roundrect (at -1 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 08401f91-8865-426c-8742-5af2658376da))
(pad "4" smd roundrect (at 1 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 9ddceccf-664d-428b-9381-7930c39a82c8))
(pad "5" smd roundrect (at 3 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 35763b7e-f7e0-4335-b5f1-dc1522f8900a))
(pad "6" smd roundrect (at 5 0) (size 1.2 4) (layers "F.Cu" "F.SilkS") (roundrect_rratio 0.1666666667) (tstamp 7180e2fa-9d46-4456-b8c5-2e6ed26a3f6c))
(pad "1" smd roundrect (at -5 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 49fa41bb-f1f4-4964-9db1-f426aa853525))
(pad "2" smd roundrect (at -3 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 93c4b2e4-1795-480d-b0f2-f15997ebb4af))
(pad "3" smd roundrect (at -1 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 08401f91-8865-426c-8742-5af2658376da))
(pad "4" smd roundrect (at 1 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 9ddceccf-664d-428b-9381-7930c39a82c8))
(pad "5" smd roundrect (at 3 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 35763b7e-f7e0-4335-b5f1-dc1522f8900a))
(pad "6" smd roundrect (at 5 0) (size 1.2 4) (layers "F.Cu" "F.Paste" "F.Mask") (roundrect_rratio 0.1666666667) (tstamp 7180e2fa-9d46-4456-b8c5-2e6ed26a3f6c))
)

View File

@ -12,7 +12,7 @@
)
(fp_line (start -3 10.5) (end -3 14) (layer "F.SilkS") (width 0.12) (tstamp 1a9cbd79-fa00-4dc8-b673-2cd36dc2535d))
(fp_line (start 3 10.5) (end 3 14) (layer "F.SilkS") (width 0.12) (tstamp 8de0d106-a9fe-4052-8d57-3ff001621b31))
(fp_line (start -6 0) (end 6 0) (layer "F.SilkS") (width 0.12) (tstamp 9114e558-704b-48e8-8b00-69f3c5295115))
(fp_line (start -5.7 0) (end 5.7 0) (layer "F.SilkS") (width 0.12) (tstamp 9114e558-704b-48e8-8b00-69f3c5295115))
(fp_line (start 1.5 10.5) (end 1.5 14) (layer "F.SilkS") (width 0.12) (tstamp a5c7ea59-98f2-4ddd-ad9f-76135a5f6c23))
(fp_line (start -1.5 10.5) (end -1.5 14) (layer "F.SilkS") (width 0.12) (tstamp c17b2166-4e2e-4026-adee-e464a669401c))
(fp_line (start 0 10.5) (end 0 14) (layer "F.SilkS") (width 0.12) (tstamp e49fc30d-ff05-4787-a482-6d8a69b19784))

View File

@ -1,18 +1,4 @@
20731342087469878
Audio_Module
Reverb_BTDR-1H
Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf)
audio belton reverb
0
7
7
Audio_Module
Reverb_BTDR-1V
Digital Reverberation Unit, http://www.belton.co.kr/inc/downfile.php?seq=17&file=pdf (footprint from http://www.uk-electronic.de/PDF/BTDR-1.pdf)
audio belton reverb
0
7
7
20719902299880836
Battery
BatteryHolder_Bulgin_BX0036_1xC
Bulgin Battery Holder, BX0036, Battery Type C (https://www.bulgin.com/products/pub/media/bulgin/data/Battery_holders.pdf)

Binary file not shown.

View File

@ -60,9 +60,9 @@ static void core1_loop()
// I2C definitions: port and pin numbers
#define MPR121_PORT i2c1
#define MPR121_SDA 6
#define MPR121_SCL 7
#define MPR121_PORT i2c0
#define MPR121_SDA 16
#define MPR121_SCL 17
// MPR121 I2C definitions: address and frequency.
#define MPR121_ADDR 0x5A
@ -72,10 +72,11 @@ static void core1_loop()
#define MPR121_TOUCH_THRESHOLD 16
#define MPR121_RELEASE_THRESHOLD 10
#define I2C_PORT i2c1
#define I2C_PORT i2c0
#define I2C_I2C_FREQ 200000
#define I2C_SDA 26
#define I2C_SCL 27
#define I2C_SDA 16
#define I2C_SCL 17
#define I2C_HUB 19
static void core0_loop_gp2y()
{
@ -87,51 +88,25 @@ static void core0_loop_gp2y()
gpio_pull_up(I2C_SDA);
gpio_pull_up(I2C_SCL);
i2c_select(I2C_PORT, 1 << 4);
gpio_init(I2C_HUB);
gpio_set_dir(I2C_HUB, GPIO_OUT);
gpio_put(I2C_HUB, 1);
i2c_select(I2C_PORT, 0xff);
gp2y0e_write(I2C_PORT, 0xa8, 0x00);
i2c_select(I2C_PORT, 1 << 3);
vl6180_init(I2C_PORT);
i2c_select(I2C_PORT, 1 << 5);
vl6180_init(I2C_PORT);
sleep_ms(100);
i2c_select(I2C_PORT, 1 << 3);
vl6180_write(I2C_PORT, 0x01b, 0x05);
vl6180_write(I2C_PORT, 0x018, 3);
i2c_select(I2C_PORT, 1 << 5);
vl6180_write(I2C_PORT, 0x01b, 0x05);
vl6180_write(I2C_PORT, 0x018, 3);
uint8_t od1 = 0, od2 = 0, od3 = 0;
//uint8_t od1 = 0, od2 = 0, od3 = 0;
while(1) {
tud_task();
hid_report.buttons = 0xcccc;
report_usb_hid();
i2c_select(I2C_PORT, 1 << 4);
i2c_select(I2C_PORT, 0xff);
uint8_t d1 = gp2y0e_dist(I2C_PORT);
i2c_select(I2C_PORT, 1 << 3);
uint8_t d2 = vl6180_dist(I2C_PORT, od2);
i2c_select(I2C_PORT, 1 << 5);
uint8_t d3 = vl6180_dist(I2C_PORT, od3);
if (d1 != od1 || d2 != od2 || d3 != od3) {
if ((d1 == 255) && (d2 = 255) && (d3 == 255)) {
printf("---\t---\t---\n");
} else {
printf("%3d\t%3d\t%3d\n", d1, d2, d3);
}
od1 = d1;
od2 = d2;
od3 = d3;
}
printf("%3d\n", d1);
}
}