diff --git a/README.md b/README.md index 689e99c..a595ff5 100644 --- a/README.md +++ b/README.md @@ -38,9 +38,9 @@ https://github.com/107-systems/l3xz-fw_leg-controller | 22 | D4 | AS5048_1_CS | chip select for AS5048 1 | | 23 | D5 | AS5048_2_CS | chip select for AS5048 2 | | 24 | D6 | BUMPER | input for bumper | -| 25 | D7 | MCP2515_INT | CAN interrupt | +| 25 | D7 | SERVO1 | PWM output for servo 1 | | 26 | D8 | | | -| 27 | D9 | SERVO1 | PWM output for servo 1 | +| 27 | D9 | MCP2515_INT | CAN interrupt | | 28 | D10 | SERVO2 | PWM output for servo 2 | | 29 | D11/MOSI | SPI_MOSI | SPI for CAN and AS5048 encoder | | 30 | D12/MISO | SPI_MISO | SPI for CAN and AS5048 encoder | @@ -102,14 +102,41 @@ pinheader 2.54mm 2x3-pin. ### bumper connector CN8 -Würth WR-TBL 2.5mm 2-pin. +WAGO 733-362 2.5mm 2-pin. | **Pin** | **Signal** | **Description** | |:-------:|:-------------:|:--------------------------------:| | 1 | BUMPER | 10k pull up to +3.3V | | 2 | GND | | - +## BOM + +| **Designator** | **Part Name** | **Link** | +|:--------------:|:-------------------------:|:--------------------------------:| +| C1, C2, C3, C4, C5, C6, C9 | Capacitor 0603 100nF 25V | | +| C7, C8 | do not install | | +| C10, C11 | do not install | | +| CN1 | Arduino Nano | https://www.reichelt.de/praez-buchsenleisten-2-54-mm-1x15-gerade-mpe-115-1-015-p187279.html | +| CN2, CN3 | JST SH SM04B-SRSS-TB | | +| CN4, CN5 | JST GH SM04B-GHS-TB | https://www.voelkner.de/products/1102742/JST-Stiftgehaeuse-Platine-GH-Polzahl-Gesamt-4-Rastermass-1.25mm-SM04B-GHS-TB-LF-SN.html | +| CN6 | Würth WR-TBL 691322310002 | | +| CN7 | Pinheader 2.54 mm 2x3 | https://www.reichelt.de/stiftleisten-2-54-mm-2x03-gewinkelt-mpe-088-2-006-p119904.html | +| CN8 | WAGO 733-362 | https://www.reichelt.de/print-stiftleiste-micro-rm-2-5-gewinkelt-2-pol--wago-733-362-p45863.html | +| D1 | LED 0603 green | https://www.reichelt.de/led-smd-1608-0603-gruen-112-mcd-120--led-el-0603-gr1-p156254.html | +| D2, D3 | MBR0530T1G | https://www.reichelt.de/schottkydiode-30-v-0-5-a-sod-123-mbr0530t1g-ons-p219621.html | +| D4 | LED 0603 yellow | https://www.reichelt.de/led-smd-1608-0603-gelb-180-mcd-120--led-el-0603-ge-p156259.html | +| D5 | LED 0603 red | https://www.reichelt.de/led-smd-1608-0603-rot-180-mcd-120--led-el-0603-rt-p156256.html | +| R1, R2, R3, R4, R6, R7, R8, R9, R10, R14 | Resistor 0603 10k | | +| R5, R15, R16 | Resistor 0603 3k3 | | +| R11, 12 | do not install | | +| R13 | Resistor 0603 100k | | +| U1, U2 | AS5048A | | +| U3 | 24LC64-I/SN | https://www.reichelt.de/eeprom-seriell-64-kb-8-k-x-8-i2c-2-5--5-5-v-so-8-24lc64-i-sn-p40079.html | +| U4 | MCP2515-I/P DIP-18 | https://www.reichelt.de/can-controller-mit-spi-schnittstelle-dil-18-mcp-2515-i-p-p54514.html | +| U8 alternative | MCP2515-I/SO SO-18 | https://www.reichelt.de/can-controller-mit-spi-schnittstelle-2-7--5-5-v-so-18-mcp-2515-i-so-p54515.html | +| U9 | SN65HVD232D | | +| U9 alternative | SN65HVD230D | https://www.reichelt.de/high-speed-can-transceiver-1-mbit-s-3-3-v-so-8-sn-65hvd230d-p58427.html | +| Y1 | Quartz 16 MHz 5x2.5mm | https://www.reichelt.de/keramik-smd-quarz-3x5x1mm-16-0mhz-16-000000-mj-p85005.html | ## PCB diff --git a/kicad_source/l3xz-hw_leg-controller.pro b/kicad_source/l3xz-hw_leg-controller.pro index c897093..660adbe 100644 --- a/kicad_source/l3xz-hw_leg-controller.pro +++ b/kicad_source/l3xz-hw_leg-controller.pro @@ -1,4 +1,4 @@ -update=Di 12 Apr 2022 02:08:21 CEST +update=So 29 Mai 2022 11:17:34 CEST version=1 last_client=kicad [general] diff --git a/kicad_source/l3xz-hw_leg-controller.sch b/kicad_source/l3xz-hw_leg-controller.sch index f3a2efe..19c72c1 100644 --- a/kicad_source/l3xz-hw_leg-controller.sch +++ b/kicad_source/l3xz-hw_leg-controller.sch @@ -5,7 +5,7 @@ $Descr A4 11693 8268 encoding utf-8 Sheet 1 3 Title "l3xz-hw_leg-controller" -Date "2022-04-12" +Date "2022-05-29" Rev "0.1" Comp "107-systems" Comment1 "" @@ -110,14 +110,14 @@ SER_RX Text Label 5400 2650 0 50 ~ 0 SER_TX Wire Wire Line - 6300 1850 4650 1850 + 6300 1650 4650 1650 Wire Wire Line 6300 1450 4650 1450 -Text Label 5400 1850 0 50 ~ 0 +Text Label 5400 1650 0 50 ~ 0 MCP2515_INT Text Label 5400 1450 0 50 ~ 0 MOSI -Text GLabel 6300 1850 2 50 Input ~ 0 +Text GLabel 6300 1650 2 50 Input ~ 0 MCP2515_INT Text GLabel 6300 1450 2 50 Output ~ 0 MOSI @@ -238,7 +238,7 @@ L devices:Led_Small D1 U 1 1 624BD2BD P 5350 3450 F 0 "D1" V 5396 3382 50 0000 R CNN -F 1 "Led_Small" V 5305 3382 50 0000 R CNN +F 1 "LED green" V 5305 3382 50 0000 R CNN F 2 "LEDs:LED_0603" V 5350 3450 50 0001 C CNN F 3 "" V 5350 3450 50 0000 C CNN 1 5350 3450 @@ -251,7 +251,7 @@ P 5350 2950 AR Path="/5ED92F9C/624BFD41" Ref="R?" Part="1" AR Path="/624BFD41" Ref="R5" Part="1" F 0 "R5" H 5409 2996 50 0000 L CNN -F 1 "10k" H 5409 2905 50 0000 L CNN +F 1 "3k3" H 5409 2905 50 0000 L CNN F 2 "resistors:R_0603" H 5350 2800 50 0001 C CNN F 3 "" H 5350 2950 50 0000 C CNN 1 5350 2950 @@ -292,7 +292,7 @@ L mechanical-connectors:CONN_01X02 CN8 U 1 1 624C3078 P 8450 2100 F 0 "CN8" H 8528 2141 50 0000 L CNN -F 1 "691382010002" H 8528 2050 50 0000 L CNN +F 1 "WAGO 733-362" H 8528 2050 50 0000 L CNN F 2 "CON_wuerth:WR-TBL_691382010002" H 8528 2004 50 0001 L CNN F 3 "" H 8450 2100 50 0000 C CNN 1 8450 2100 @@ -432,12 +432,12 @@ SERVO1 Text Label 4950 6150 0 50 ~ 0 SERVO2 Wire Wire Line - 6000 1650 4650 1650 + 6000 1850 4650 1850 Wire Wire Line 4650 1550 6000 1550 Text Label 5150 1550 2 50 ~ 0 SERVO2 -Text Label 5150 1650 2 50 ~ 0 +Text Label 5150 1850 2 50 ~ 0 SERVO1 $Comp L devices:R_0603 R? @@ -446,7 +446,7 @@ P 7250 2050 AR Path="/5ED92F9C/62508153" Ref="R?" Part="1" AR Path="/62508153" Ref="R8" Part="1" F 0 "R8" H 7309 2096 50 0000 L CNN -F 1 "1k" H 7309 2005 50 0000 L CNN +F 1 "10k" H 7309 2005 50 0000 L CNN F 2 "resistors:R_0603" H 7250 1900 50 0001 C CNN F 3 "" H 7250 2050 50 0000 C CNN 1 7250 2050 @@ -585,7 +585,7 @@ Text Label 1600 4700 2 50 ~ 0 I2C_SDA Text Label 1600 4600 2 50 ~ 0 I2C_SCL -Text Notes 1250 4250 0 50 ~ 0 +Text Notes 1800 4200 0 50 ~ 0 I2C Eeprom to store settings $Comp L mechanical-connectors:CONN_01X04 CN3 @@ -799,7 +799,7 @@ AR Path="/624F7A5F/62533088" Ref="D?" Part="1" AR Path="/5ED92F9C/62533088" Ref="D?" Part="1" AR Path="/62533088" Ref="D3" Part="1" F 0 "D3" H 6650 5105 50 0000 C CNN -F 1 "DNI" H 6650 5014 50 0000 C CNN +F 1 "MBR0530T1G" H 6650 5014 50 0000 C CNN F 2 "diodes:SOD-123" V 6650 4900 50 0001 C CNN F 3 "" V 6650 4900 50 0000 C CNN 1 6650 4900 @@ -861,7 +861,7 @@ L devices:Led_Small D5 U 1 1 6256C144 P 2500 3350 F 0 "D5" V 2546 3282 50 0000 R CNN -F 1 "Led_Small" V 2455 3282 50 0000 R CNN +F 1 "LED red" V 2455 3282 50 0000 R CNN F 2 "LEDs:LED_0603" V 2500 3350 50 0001 C CNN F 3 "" V 2500 3350 50 0000 C CNN 1 2500 3350 @@ -874,7 +874,7 @@ P 2500 2850 AR Path="/5ED92F9C/6256C3A2" Ref="R?" Part="1" AR Path="/6256C3A2" Ref="R16" Part="1" F 0 "R16" H 2559 2896 50 0000 L CNN -F 1 "10k" H 2559 2805 50 0000 L CNN +F 1 "3k3" H 2559 2805 50 0000 L CNN F 2 "resistors:R_0603" H 2500 2700 50 0001 C CNN F 3 "" H 2500 2850 50 0000 C CNN 1 2500 2850 @@ -902,7 +902,7 @@ L devices:Led_Small D4 U 1 1 62572E1D P 1950 3350 F 0 "D4" V 1996 3282 50 0000 R CNN -F 1 "Led_Small" V 1905 3282 50 0000 R CNN +F 1 "LED yellow" V 1905 3282 50 0000 R CNN F 2 "LEDs:LED_0603" V 1950 3350 50 0001 C CNN F 3 "" V 1950 3350 50 0000 C CNN 1 1950 3350 @@ -915,7 +915,7 @@ P 1950 2850 AR Path="/5ED92F9C/625730AD" Ref="R?" Part="1" AR Path="/625730AD" Ref="R15" Part="1" F 0 "R15" H 2009 2896 50 0000 L CNN -F 1 "10k" H 2009 2805 50 0000 L CNN +F 1 "3k3" H 2009 2805 50 0000 L CNN F 2 "resistors:R_0603" H 1950 2700 50 0001 C CNN F 3 "" H 1950 2850 50 0000 C CNN 1 1950 2850 @@ -957,7 +957,7 @@ P 850 1400 AR Path="/5ED92F9C/62580A99" Ref="R?" Part="1" AR Path="/62580A99" Ref="R13" Part="1" F 0 "R13" H 909 1446 50 0000 L CNN -F 1 "10k" H 909 1355 50 0000 L CNN +F 1 "100k" H 909 1355 50 0000 L CNN F 2 "resistors:R_0603" H 850 1250 50 0001 C CNN F 3 "" H 850 1400 50 0000 C CNN 1 850 1400 @@ -970,7 +970,7 @@ P 850 1700 AR Path="/5ED92F9C/62580F1D" Ref="R?" Part="1" AR Path="/62580F1D" Ref="R14" Part="1" F 0 "R14" H 909 1746 50 0000 L CNN -F 1 "1k" H 909 1655 50 0000 L CNN +F 1 "10k" H 909 1655 50 0000 L CNN F 2 "resistors:R_0603" H 850 1550 50 0001 C CNN F 3 "" H 850 1700 50 0000 C CNN 1 850 1700 @@ -1159,4 +1159,10 @@ F 3 "" H 9450 5950 60 0000 C CNN 1 9450 5950 1 0 0 -1 $EndComp +Text Notes 1800 4300 0 50 ~ 0 +I2C address: 0x50 +Text Notes 6400 5050 0 50 ~ 0 +30V 500mA +Text Notes 4800 1750 0 50 ~ 0 +Pin D7 and D9 have been manually reworked on all boards! $EndSCHEMATC diff --git a/kicad_source/mcp2515.sch b/kicad_source/mcp2515.sch index c6eac7a..8b6969a 100644 --- a/kicad_source/mcp2515.sch +++ b/kicad_source/mcp2515.sch @@ -289,7 +289,6 @@ RXCAN Text Label 5600 2200 0 50 ~ 0 TXCAN NoConn ~ 9350 2450 -NoConn ~ 9350 2050 $Comp L mechanical-connectors:CONN_01X04 CN? U 1 1 62500CA8 @@ -379,7 +378,7 @@ P 8000 6150 AR Path="/624F7A5F/62500CCF" Ref="D?" Part="1" AR Path="/5ED92F9C/62500CCF" Ref="D2" Part="1" F 0 "D2" H 8000 6355 50 0000 C CNN -F 1 "DNI" H 8000 6264 50 0000 C CNN +F 1 "MBR0530T1G" H 8000 6264 50 0000 C CNN F 2 "diodes:SOD-123" V 8000 6150 50 0001 C CNN F 3 "" V 8000 6150 50 0000 C CNN 1 8000 6150 @@ -623,4 +622,27 @@ Wire Wire Line 1650 3500 2500 3500 Text Notes 2450 3200 0 50 ~ 0 MCP2515 alternative package DIL +Text Notes 7900 6350 0 50 ~ 0 +30V 500mA +$Comp +L power-supply:GND #PWR? +U 1 1 6294B65D +P 9600 1800 +F 0 "#PWR?" H 9600 1550 50 0001 C CNN +F 1 "GND" H 9605 1627 50 0000 C CNN +F 2 "" H 9600 1800 50 0000 C CNN +F 3 "" H 9600 1800 50 0000 C CNN + 1 9600 1800 + 1 0 0 -1 +$EndComp +Wire Wire Line + 9350 2050 9400 2050 +Wire Wire Line + 9400 2050 9400 1700 +Wire Wire Line + 9400 1700 9600 1700 +Wire Wire Line + 9600 1700 9600 1800 +Text Notes 9000 1500 0 50 ~ 0 +Pin 8 has been connected to GND manually\non all boards to allow usage of SN65HVD230D $EndSCHEMATC diff --git a/l3xz-hw_leg-controller_schematic.pdf b/l3xz-hw_leg-controller_schematic.pdf index cd19f51..ad112bf 100644 Binary files a/l3xz-hw_leg-controller_schematic.pdf and b/l3xz-hw_leg-controller_schematic.pdf differ