Compare commits
	
		
			No commits in common. "4abdc2f565e6d385ec2e677a1331c1ce91a831ba" and "4d1418cd4387f6ef26f4e404157481a07bf6ab99" have entirely different histories.
		
	
	
		
			4abdc2f565
			...
			4d1418cd43
		
	
		
							
								
								
									
										3
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						| @ -1,5 +1,6 @@ | |||||||
| #temporary | #temporary | ||||||
| datasheets/ | datasheets/ | ||||||
|  | pi-interface-board_v1.0/export/ | ||||||
| export/ | export/ | ||||||
| pcb2gcode/ | pcb2gcode/ | ||||||
| cad/import | cad/import | ||||||
| @ -9,12 +10,10 @@ cad/import | |||||||
| \#auto_saved_files\# | \#auto_saved_files\# | ||||||
| *.lck | *.lck | ||||||
| _autosave-* | _autosave-* | ||||||
| fp-info-cache |  | ||||||
| 
 | 
 | ||||||
| *.kicad_sch-back | *.kicad_sch-back | ||||||
| *.bak | *.bak | ||||||
| *.kicad_sch-bak | *.kicad_sch-bak | ||||||
| *.kicad_prl |  | ||||||
| 
 | 
 | ||||||
| #drawio | #drawio | ||||||
| *.bkp | *.bkp | ||||||
|  | |||||||
							
								
								
									
										298
									
								
								README.md
									
									
									
									
									
								
							
							
						
						| @ -1,197 +1,149 @@ | |||||||
| # Raspberry Pi Extension board | A Raspberry Pi-compatible PCB that extends the GPIO header with protected I/O, relays, and various features for versatile use in prototyping and project development. | ||||||
| 
 |  | ||||||
| A custom PLC-like system based on the Raspberry Pi.   |  | ||||||
| With a custom interface board, a Raspberry Pi is extended with protected I/O, bus systems, analog inputs, and Relay or PWM outputs. All components, including a display, are housed in a custom-designed enclosure.   |  | ||||||
|    |  | ||||||
| The project is intended for versatile use in prototyping and project development. |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| --- | --- | ||||||
| 
 | 
 | ||||||
|  | # Notes | ||||||
| 
 | 
 | ||||||
| ### Photo of all hardware components | ## interface-board issues noticed when soldering | ||||||
| <p align="center"> | - [x] digital in TVS diode footprint: dia is larger -> rotate one/space + 1.5mm drill | ||||||
|   <img src="doc/photos/all-components.jpg" alt="All Components (Disassembled)" width="75%"/> | - [x] make diodes pwm larger hole | ||||||
| </p> | - [x] make pitch buzzer larger | ||||||
|  | -  | ||||||
|  | 
 | ||||||
|  | ## interface-board issues at first test | ||||||
|  | - analog leds vs terminal: CH0 and CH1 swapped (first, second terminal) | ||||||
|  | -> renamed nets and added notes  | ||||||
|  | - analog leds vs terminal: CH2 and CH3 swapped (third fourth terminal) | ||||||
|  | -  | ||||||
|  | - CH1 and CH7 led on | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| --- | ## Power supply board  | ||||||
|  | FIXME: barrel-connector wrong polarity  | ||||||
|  | -> change housing (connected via wires) | ||||||
|  | -> fix layout, schematic | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Repository Content | 
 | ||||||
| - **KiCad Projects**: 3 KiCad projects with schematics and PCB layouts for the custom PCBs created. | # RPI Specs (Zero, 3+) | ||||||
| - **Housing**: Custom enclosure design for PCBs and Raspberry Pi created in FreeCAD. | - Available (old) Pi: Raspberry Pi 2 Model B v1.1  | ||||||
| - **Software/Firmware**: Python scripts for operating and testing the PCB features (WIP). | - GPIO | ||||||
|  |   - Low: 0.9V | ||||||
|  |   - High: 1.6V | ||||||
|  |   - Input current: 5uA | ||||||
|  |   - Input capacitance: 5pF | ||||||
|  |   - Output Current +-17mA | ||||||
|  |   - Pullup / Pulldown 50-65k | ||||||
|  | - EEPROM GPIO0 GPIO1, leave unused | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| --- | 
 | ||||||
|  | # Feature Ideas | ||||||
|  | - [x] Temperature control | ||||||
|  |   - fan | ||||||
|  |     - auto turn on | ||||||
|  |       - temp sensor | ||||||
|  |     - ~~turn on via gpio~~ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Features Overview | ## Supply | ||||||
| This project provides: | - Input protection | ||||||
| - Protected GPIO I/O for Raspberry Pi. |   - [x] TVS | ||||||
| - Various analog inputs. |   - [x] reverse polarity (polyfuse will trigger) | ||||||
| - Flexible power supply options (3.3 V, 5 V, -5 V, 12 V, 24 V outputs). |   - [x] Fuse (5A polyfuse) | ||||||
| - Relay and MOSFET control. |   - [x] buffer | ||||||
| - Integrated LEDs for status indication. | - [x] Pass through power supply | ||||||
| - RS485, I2C, SPI, and UART bus communication. | - [x] 3.3V, 5V, 12V, 24V Regulator | ||||||
| 
 | 
 | ||||||
| Detailed features of each PCB are described in the respective sections below. | - [x] power by barrel connector (24V 5A) | ||||||
| 
 | - ~~power by usb~~ [not allowed] | ||||||
| --- |   - ~~Switch between power by USB or power supply?~~ | ||||||
| 
 | - ~~power by battery~~ [dropped] | ||||||
| # Designed PCBs |   - liion cell connector | ||||||
| 
 |   - BMS / charge controller | ||||||
| ## 1. **Raspberry Pi Interface Board** |   - measure battery voltage | ||||||
| This board connects to the Raspberry Pi via a 40-pin ribbon cable and provides protected GPIO extensions and versatile input/output features. |   - USB charging port | ||||||
| 
 |  | ||||||
| ### Photo |  | ||||||
| <img src="doc/photos/rpi-interface-board.jpg" alt="Raspberry Pi Interface Board" width="80%"/> |  | ||||||
| 
 |  | ||||||
| ### Features |  | ||||||
| **Inputs**: |  | ||||||
| - **8x Digital Inputs**: |  | ||||||
|   - Wide continuous voltage range (-1.7 V to 120 V), idea: compatible with 3 V and 24 V devices. |  | ||||||
|   - TVS diodes for ESD and spike protection. |  | ||||||
|   - Reverse polarity protection. |  | ||||||
|   - Isolated with optocouplers. |  | ||||||
|   - Optional low-pass filters (toggle via DIP switches). |  | ||||||
| 
 |  | ||||||
| - **8x Analog Inputs**: |  | ||||||
|   - Different fixed range inputs: |  | ||||||
|     - 2x 0 - 3.3 V. |  | ||||||
|     - 2x 0 - 5 V. |  | ||||||
|     - 1x 0 - 12 V. |  | ||||||
|     - 1x 0 - 24 V. |  | ||||||
|     - 2x 0 - 20 mA. |  | ||||||
|   - Overvoltage protection with clamping diodes. |  | ||||||
|   - Optional low-pass filters (toggle via DIP switches). |  | ||||||
| 
 |  | ||||||
| **Outputs**: |  | ||||||
| - 1x onboard buzzer. |  | ||||||
| - 2x 16 A relays. |  | ||||||
| - 2x high-power MOSFETs (N-channel, max 55 V, 33 A continuous, 160 A pulsed). |  | ||||||
| - 8x digital outputs (via shift register): |  | ||||||
|   - Low-power (30 mA push-pull) and high-power (500 mA open-drain) outputs. |  | ||||||
|   - Buzzer and relays connected to channels 6-8, with enable/disable switches. |  | ||||||
|   - Note: Outputs are **not short-circuit proof**. |  | ||||||
| 
 |  | ||||||
| **General**: |  | ||||||
| - WAGO spring-loaded terminals for easy wiring. |  | ||||||
| - JST connectors for external LEDs for all inputs and outputs to indicate the current pin state. |  | ||||||
| 
 |  | ||||||
| **Bus Communication**: |  | ||||||
| - RS485 (TVS protection, idle pull-up/pull-down, 120 Ω terminator). |  | ||||||
| - UART (unprotected). |  | ||||||
| - I2C (TVS diodes, 2.2 kΩ pull-ups). |  | ||||||
| - SPI (unprotected). |  | ||||||
| Note: Either RS485 or UART can be used at the same time (select with jumpers). |  | ||||||
| 
 |  | ||||||
| ### Schematic and Layout |  | ||||||
| <p align="center"> |  | ||||||
|   <a href="pi-interface-board_v1.0/export/schematic_interface-board.pdf"> |  | ||||||
|     <img src="pi-interface-board_v1.0/export/schematic_interface-board.svg" width="49%" alt="Schematic"/> |  | ||||||
|   </a> |  | ||||||
|   <img src="pi-interface-board_v1.0/export/layout_interface-board.png" width="49%" alt="PCB Layout"/> |  | ||||||
| </p> |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| --- | ## IO | ||||||
|  | - Input | ||||||
|  |   - GPIO | ||||||
|  |   - [x] wide voltage range (-1.7 to 120V) | ||||||
|  |   - [x] TVS | ||||||
|  |   - [x] reverse polarity (-1.73V max) | ||||||
|  |   - [x] Low pass filter | ||||||
|  |   - [x] Optocoupler input | ||||||
|  |   - [x] ADC | ||||||
|  |     - external IC | ||||||
|  |     - ~~multiplexer?~~ | ||||||
|  |     - protection | ||||||
|  |     - scale input voltage | ||||||
|  |       - fixed inputs: 24V 12V 5V 3.3V | ||||||
|  |       - 20mA input | ||||||
|  |       - ~~trim potentiometer?~~ | ||||||
|  | - Output | ||||||
|  |   - [x] Relay | ||||||
|  |   - [x] Mosfet | ||||||
|  |   - [x] Optocoupler output | ||||||
|  |   - [ ] GPIO with over current protection | ||||||
|  |   - [ ] GPIO level shift (24V output) | ||||||
|  |   - [x] PWM pins | ||||||
|  |   - [x] shift register | ||||||
|  |   - [ ] DAC | ||||||
|  | 
 | ||||||
|  | - [x] LEDS indicate I/O state | ||||||
|  | - [ ] Testpoints | ||||||
|  | - [x] ESD protection (tvs diodes uart, i2c...) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ## 2. **Power Supply Board** | ## Bus | ||||||
| Creates different voltages from supplied 24 V. Supply for the Raspberry Pi interface board as well as several terminals for variable use (connect sensors, devices, etc., to the housing). | - [x] UART/RS485 | ||||||
| 
 | - [ ] RS232 Connector | ||||||
| ### Photo | - [x] I2C Pullup | ||||||
| <img src="doc/photos/power-supply-board.jpg" alt="Power Supply Board" width="60%"/> | - [x] SPI | ||||||
| 
 | - [ ] CAN | ||||||
| ### Features | - ~~Serial to usb (if Arduino)~~ | ||||||
| **Input**: | - ~~OWB default GPIO4~~ | ||||||
| - 24 V 5 A barrel plug. |  | ||||||
| - 5 A self-resetting polyfuse. |  | ||||||
| - Reverse polarity protection. |  | ||||||
| 
 |  | ||||||
| **Output**: |  | ||||||
| - 3.3 V, 3 A (buck converter). |  | ||||||
| - 5 V, 5 A (buck converter). |  | ||||||
| - -5 V, 20 mA (charge pump). |  | ||||||
| - 12 V, 3 A (buck converter). |  | ||||||
| - 24 V (supply voltage filtered). |  | ||||||
| 
 |  | ||||||
| **Fan Control**: |  | ||||||
| - 2x connector for 10 kΩ NTC. |  | ||||||
| - Threshold adjustable (trimmer potentiometer). |  | ||||||
| - Hysteresis adjustable (trimmer potentiometer). |  | ||||||
| - Select between 5 V or 12 V fan. |  | ||||||
| 
 |  | ||||||
| **General**: |  | ||||||
| - Spring-loaded terminals for each voltage. |  | ||||||
| - Combined internal terminals for all voltages. |  | ||||||
| 
 |  | ||||||
| ### Schematic and Layout |  | ||||||
| <p align="center"> |  | ||||||
|   <a href="power-supply-board_v1.0/export/schematic_power-supply.pdf"> |  | ||||||
|     <img src="power-supply-board_v1.0/export/schematic_power-supply.svg" width="55%" alt="Schematic"/> |  | ||||||
|   </a> |  | ||||||
|   <img src="power-supply-board_v1.0/export/layout_power-supply.png" width="44%" alt="PCB Layout"/> |  | ||||||
| </p> |  | ||||||
| 
 |  | ||||||
| --- |  | ||||||
| 
 |  | ||||||
| ## 3. **LED Boards** |  | ||||||
| Small PCBs with LEDs, resistors, and mounting holes for housing indicators. |  | ||||||
| 
 |  | ||||||
| ### Photo |  | ||||||
| <img src="doc/photos/led-boards.jpg" alt="LED Boards" width="60%"/> |  | ||||||
| 
 |  | ||||||
| ### Boards |  | ||||||
| 1. 2x 5 mm LEDs for relays. |  | ||||||
| 2. 2x 5 mm LEDs for PWM outputs. |  | ||||||
| 3. 8x 3 mm yellow LEDs for analog inputs. |  | ||||||
| 4. 8x 3 mm orange LEDs for digital inputs. |  | ||||||
| 5. 8x 3 mm red LEDs for digital outputs. |  | ||||||
| 
 |  | ||||||
| ### Schematic and Layout |  | ||||||
| <p align="center"> |  | ||||||
|   <a href="led-boards_v0.1/export/schematic_led-boards.pdf"> |  | ||||||
|     <img src="led-boards_v0.1/export/schematic_led-boards.svg" width="48%" alt="Schematic"/> |  | ||||||
|   </a> |  | ||||||
|   <img src="led-boards_v0.1/export/layout_led-boards.png" width="51%" alt="PCB Layout"/> |  | ||||||
| </p> |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| --- | ## UI | ||||||
|  | - Input [dropped] | ||||||
|  |   - Buttons | ||||||
|  |   - DIP switches? | ||||||
|  |   - Temperature sensor | ||||||
|  |   - Encoder | ||||||
|  |   - Potentiometer | ||||||
|  | - Output | ||||||
|  |   - [ ] Display [RPI display pending] | ||||||
|  |   - [x] Buzzer | ||||||
|  |   - [x] LEDS | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Software/Firmware | ## Mechanical | ||||||
| Python code for operating the extension PCBs (e.g., GPIO pins, shift registers, ADC, and bus communication). This section is a work in progress (WIP), and example scripts will be added as development continues. | - [x] Barrel plug (24V 3A supply) | ||||||
|  | - ~~Screw terminals~~ | ||||||
|  | - [x] spring loaded? | ||||||
|  | - ~~pass through all pins?~~ | ||||||
|  | 
 | ||||||
|  | ## Housing | ||||||
|  | - RPI ports | ||||||
|  | -  banana sockets for power out  | ||||||
|  | -  screw terminal exposed | ||||||
|  | - buttons, leds: need to open up? | ||||||
|  | -  BNC? [] | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| --- | ## Other | ||||||
|  | - Extension board with multiplexer | ||||||
|  | - Breadboard compatible? | ||||||
|  | - SD Card | ||||||
|  | - ~~Onboard MCU for standalone use?~~ | ||||||
|  | - ~~separate bought MCU via i2c  for additional GPIO, DAC, ADC in one~~ | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| # Housing | ## Questions | ||||||
| Custom-designed enclosure includes: | - what analog input ranges (Voltage, Count) | ||||||
| - Ports for Raspberry Pi. | - RS232  RS485  SPI,  IIC  actually necessary? examples | ||||||
| - Banana sockets for power outputs. | - CAN to second SPI? | ||||||
| - Exposed screw terminals. | - 8x shift register outputs, 0.5A open drain or 7mA tristate | ||||||
| - Openings for buttons and LEDs. | - 2x PWM 30A enough? | ||||||
| - Mounts for all PCBs and wiring. | - max used PWM freq? (drop opto if >80khz) | ||||||
| 
 |  | ||||||
| <img src="doc/graphics/3d-model_housing.png" width="80%" alt="3D Model"/> |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| --- |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Dropped Features |  | ||||||
| The following ideas were considered but not implemented: |  | ||||||
| - UI Input Elements: |  | ||||||
|   - Buttons, DIP switches, temperature sensors, encoders, or potentiometers. |  | ||||||
| - USB or battery-powered operation: |  | ||||||
|   - Battery packs with BMS and voltage measurement. |  | ||||||
|   - Li-ion cell holders. |  | ||||||
| - Analog output (DAC) |  | ||||||
| - More bus systems |  | ||||||
|   - RS232 Interface |  | ||||||
|   - CAN Interface |  | ||||||
| Before Width: | Height: | Size: 469 KiB | 
| Before Width: | Height: | Size: 644 KiB | 
| Before Width: | Height: | Size: 216 KiB | 
| Before Width: | Height: | Size: 213 KiB | 
| Before Width: | Height: | Size: 411 KiB | 
| Before Width: | Height: | Size: 300 KiB | 
| Before Width: | Height: | Size: 674 KiB | 
							
								
								
									
										175057
									
								
								led-boards_v0.1/fp-info-cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										82
									
								
								led-boards_v0.1/led-boards_v0.1.kicad_prl
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,82 @@ | |||||||
|  | { | ||||||
|  |   "board": { | ||||||
|  |     "active_layer": 44, | ||||||
|  |     "active_layer_preset": "", | ||||||
|  |     "auto_track_width": false, | ||||||
|  |     "hidden_netclasses": [], | ||||||
|  |     "hidden_nets": [], | ||||||
|  |     "high_contrast_mode": 0, | ||||||
|  |     "net_color_mode": 1, | ||||||
|  |     "opacity": { | ||||||
|  |       "images": 0.6, | ||||||
|  |       "pads": 1.0, | ||||||
|  |       "tracks": 1.0, | ||||||
|  |       "vias": 1.0, | ||||||
|  |       "zones": 0.6000000238418579 | ||||||
|  |     }, | ||||||
|  |     "selection_filter": { | ||||||
|  |       "dimensions": false, | ||||||
|  |       "footprints": false, | ||||||
|  |       "graphics": false, | ||||||
|  |       "keepouts": false, | ||||||
|  |       "lockedItems": false, | ||||||
|  |       "otherItems": false, | ||||||
|  |       "pads": false, | ||||||
|  |       "text": true, | ||||||
|  |       "tracks": false, | ||||||
|  |       "vias": false, | ||||||
|  |       "zones": false | ||||||
|  |     }, | ||||||
|  |     "visible_items": [ | ||||||
|  |       0, | ||||||
|  |       1, | ||||||
|  |       2, | ||||||
|  |       3, | ||||||
|  |       4, | ||||||
|  |       5, | ||||||
|  |       8, | ||||||
|  |       9, | ||||||
|  |       10, | ||||||
|  |       11, | ||||||
|  |       13, | ||||||
|  |       15, | ||||||
|  |       16, | ||||||
|  |       17, | ||||||
|  |       18, | ||||||
|  |       19, | ||||||
|  |       20, | ||||||
|  |       21, | ||||||
|  |       22, | ||||||
|  |       23, | ||||||
|  |       24, | ||||||
|  |       25, | ||||||
|  |       26, | ||||||
|  |       27, | ||||||
|  |       28, | ||||||
|  |       29, | ||||||
|  |       30, | ||||||
|  |       32, | ||||||
|  |       33, | ||||||
|  |       34, | ||||||
|  |       35, | ||||||
|  |       36, | ||||||
|  |       39, | ||||||
|  |       40 | ||||||
|  |     ], | ||||||
|  |     "visible_layers": "ffeffff_ffffffff", | ||||||
|  |     "zone_display_mode": 0 | ||||||
|  |   }, | ||||||
|  |   "git": { | ||||||
|  |     "repo_password": "", | ||||||
|  |     "repo_type": "", | ||||||
|  |     "repo_username": "", | ||||||
|  |     "ssh_key": "" | ||||||
|  |   }, | ||||||
|  |   "meta": { | ||||||
|  |     "filename": "led-boards_v0.1.kicad_prl", | ||||||
|  |     "version": 3 | ||||||
|  |   }, | ||||||
|  |   "project": { | ||||||
|  |     "files": [] | ||||||
|  |   } | ||||||
|  | } | ||||||
| @ -224,17 +224,6 @@ | |||||||
| 		) | 		) | ||||||
| 		(uuid "ff8e5d9b-ee46-4657-a2a4-813fdfa4d6f5") | 		(uuid "ff8e5d9b-ee46-4657-a2a4-813fdfa4d6f5") | ||||||
| 	) | 	) | ||||||
| 	(text "Note: Legacy hierachial sheet\nThis was outsourced to separate pcb project \n\"led-boards_v0.1\"" |  | ||||||
| 		(exclude_from_sim no) |  | ||||||
| 		(at 40.132 46.228 0) |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 2 2) |  | ||||||
| 			) |  | ||||||
| 			(justify left) |  | ||||||
| 		) |  | ||||||
| 		(uuid "d216fd8a-355b-44d9-82c9-ccddba031600") |  | ||||||
| 	) |  | ||||||
| 	(hierarchical_label "LED1" | 	(hierarchical_label "LED1" | ||||||
| 		(shape input) | 		(shape input) | ||||||
| 		(at 48.26 66.04 180) | 		(at 48.26 66.04 180) | ||||||
|  | |||||||
| @ -438,17 +438,6 @@ | |||||||
| 		) | 		) | ||||||
| 		(uuid "f0f511aa-d379-4ed6-b9f1-8d300b8f7a64") | 		(uuid "f0f511aa-d379-4ed6-b9f1-8d300b8f7a64") | ||||||
| 	) | 	) | ||||||
| 	(text "Note: Legacy hierachial sheet\nThis was outsourced to separate pcb project \n\"led-boards_v0.1\"" |  | ||||||
| 		(exclude_from_sim no) |  | ||||||
| 		(at 70.612 38.862 0) |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 2 2) |  | ||||||
| 			) |  | ||||||
| 			(justify left) |  | ||||||
| 		) |  | ||||||
| 		(uuid "0f424e6d-836c-4e21-bd19-f1b997455939") |  | ||||||
| 	) |  | ||||||
| 	(text "Connector for external LED board" | 	(text "Connector for external LED board" | ||||||
| 		(exclude_from_sim no) | 		(exclude_from_sim no) | ||||||
| 		(at 75.692 48.768 0) | 		(at 75.692 48.768 0) | ||||||
|  | |||||||
| @ -449,17 +449,6 @@ | |||||||
| 		) | 		) | ||||||
| 		(uuid "3bb6e485-1926-4a9c-a057-6e133e2e6a90") | 		(uuid "3bb6e485-1926-4a9c-a057-6e133e2e6a90") | ||||||
| 	) | 	) | ||||||
| 	(text "Note: Legacy hierachial sheet\nThis was outsourced to separate pcb project \n\"led-boards_v0.1\"" |  | ||||||
| 		(exclude_from_sim no) |  | ||||||
| 		(at 72.136 39.624 0) |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 2 2) |  | ||||||
| 			) |  | ||||||
| 			(justify left) |  | ||||||
| 		) |  | ||||||
| 		(uuid "e0c12a11-96f5-42ef-8716-5299f12502f0") |  | ||||||
| 	) |  | ||||||
| 	(hierarchical_label "LED8" | 	(hierarchical_label "LED8" | ||||||
| 		(shape input) | 		(shape input) | ||||||
| 		(at 83.82 76.2 180) | 		(at 83.82 76.2 180) | ||||||
|  | |||||||
| Before Width: | Height: | Size: 847 KiB | 
| Before Width: | Height: | Size: 5.0 MiB | 
							
								
								
									
										98071
									
								
								pi-interface-board_v1.0/fp-info-cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -4950,7 +4950,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "8x Digital out (opendrain + push-pull)" | 		(property "Value" "8x Digital out (opendrain + push-pull)" | ||||||
| 			(at 0.0899 12.012189 0) | 			(at -0.3018 8.937 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "39efeb16-8f22-42e4-adcb-5ffce1d70abb") | 			(uuid "39efeb16-8f22-42e4-adcb-5ffce1d70abb") | ||||||
| @ -8741,7 +8741,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "low power supply" | 		(property "Value" "low power supply" | ||||||
| 			(at 3.737811 -4.1491 90) | 			(at 4.0412 -4.4052 90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "88417c03-196b-4558-8591-f9f627c2ced8") | 			(uuid "88417c03-196b-4558-8591-f9f627c2ced8") | ||||||
| 			(effects | 			(effects | ||||||
| @ -14082,7 +14082,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TVS 102V  1,5KE120A" | 		(property "Value" "TVS 102V  1,5KE120A" | ||||||
| 			(at 5.073189 -3.5979 90) | 			(at 15.194 0.127 -90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "9c2e8d74-937c-4530-876a-b6e559d8493d") | 			(uuid "9c2e8d74-937c-4530-876a-b6e559d8493d") | ||||||
| 			(effects | 			(effects | ||||||
| @ -16782,7 +16782,6 @@ | |||||||
| 		(property "Value" "TVS 102V  1,5KE120A" | 		(property "Value" "TVS 102V  1,5KE120A" | ||||||
| 			(at 15.067 0.508 -90) | 			(at 15.067 0.508 -90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(hide yes) |  | ||||||
| 			(uuid "099b7173-04a9-49a8-ac5f-e0fe979b9c2a") | 			(uuid "099b7173-04a9-49a8-ac5f-e0fe979b9c2a") | ||||||
| 			(effects | 			(effects | ||||||
| 				(font | 				(font | ||||||
| @ -17464,7 +17463,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "8x digital input - wago-734-168" | 		(property "Value" "8x digital input - wago-734-168" | ||||||
| 			(at 13.0089 13.824489 0) | 			(at 11.968 10.8913 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "cb2eb570-95aa-471c-87db-885389e8efb0") | 			(uuid "cb2eb570-95aa-471c-87db-885389e8efb0") | ||||||
| @ -25449,7 +25448,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "UART" | 		(property "Value" "UART" | ||||||
| 			(at 2.3711 10.080811 0) | 			(at 1.778 12.446 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "9dc3392c-0e41-4b4d-9eef-c9c8f2f3e8a4") | 			(uuid "9dc3392c-0e41-4b4d-9eef-c9c8f2f3e8a4") | ||||||
| @ -26796,7 +26795,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "RS485" | 		(property "Value" "RS485" | ||||||
| 			(at 2.2531 9.972811 0) | 			(at 1.996 12.0155 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "ee6831ef-02f8-48c5-88c7-39f9d5808fc4") | 			(uuid "ee6831ef-02f8-48c5-88c7-39f9d5808fc4") | ||||||
| @ -29125,7 +29124,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TVS 102V  1,5KE120A" | 		(property "Value" "TVS 102V  1,5KE120A" | ||||||
| 			(at 6.119189 -2.0709 -90) | 			(at 14.986 0 -90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "90659efd-3c7f-4008-af88-bb8795a4ec78") | 			(uuid "90659efd-3c7f-4008-af88-bb8795a4ec78") | ||||||
| 			(effects | 			(effects | ||||||
| @ -32266,7 +32265,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "Relay2" | 		(property "Value" "Relay2" | ||||||
| 			(at 0.442811 6.9849 90) | 			(at 1.778 6.731 90) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "8063190c-c18e-4ed2-a340-cfee8494b126") | 			(uuid "8063190c-c18e-4ed2-a340-cfee8494b126") | ||||||
| @ -32427,7 +32426,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "PWM1" | 		(property "Value" "PWM1" | ||||||
| 			(at -0.449189 6.6069 90) | 			(at 1.778 6.731 90) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "55e059d0-735c-41ee-b81d-17cd535725bc") | 			(uuid "55e059d0-735c-41ee-b81d-17cd535725bc") | ||||||
| @ -35969,7 +35968,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "PWM2" | 		(property "Value" "PWM2" | ||||||
| 			(at -0.449189 6.6069 90) | 			(at 1.778 6.731 90) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "2fbfd3e1-99a7-4801-8efc-370b15c760b4") | 			(uuid "2fbfd3e1-99a7-4801-8efc-370b15c760b4") | ||||||
| @ -36131,7 +36130,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "SPI / unrpotected GPIO" | 		(property "Value" "SPI / unrpotected GPIO" | ||||||
| 			(at 9.4151 11.180811 0) | 			(at 8.89 12.065 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "e3c7878b-2838-4411-a975-1710a7738dbb") | 			(uuid "e3c7878b-2838-4411-a975-1710a7738dbb") | ||||||
| @ -41022,7 +41021,7 @@ | |||||||
| 		(descr "Buzzer, D12.2mm height 6.5mm, https://product.tdk.com/info/en/catalog/datasheets/piezoelectronic_buzzer_ps_en.pdf") | 		(descr "Buzzer, D12.2mm height 6.5mm, https://product.tdk.com/info/en/catalog/datasheets/piezoelectronic_buzzer_ps_en.pdf") | ||||||
| 		(tags "buzzer") | 		(tags "buzzer") | ||||||
| 		(property "Reference" "BZ1" | 		(property "Reference" "BZ1" | ||||||
| 			(at 1.293189 -2.6539 90) | 			(at 2.667 -4.1966 90) | ||||||
| 			(layer "F.SilkS") | 			(layer "F.SilkS") | ||||||
| 			(uuid "7411676d-d7bb-4a4c-b8ea-a377d28ae76b") | 			(uuid "7411676d-d7bb-4a4c-b8ea-a377d28ae76b") | ||||||
| 			(effects | 			(effects | ||||||
| @ -41033,7 +41032,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "Buzzer" | 		(property "Value" "Buzzer" | ||||||
| 			(at 0.318189 2.5461 90) | 			(at 2.3114 2.2804 90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "0457f52e-7c9f-4197-b738-2ed19aa5872c") | 			(uuid "0457f52e-7c9f-4197-b738-2ed19aa5872c") | ||||||
| 			(effects | 			(effects | ||||||
| @ -41152,6 +41151,17 @@ | |||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "147fdaf6-f864-4f14-8a8c-b648f80b9515") | 			(uuid "147fdaf6-f864-4f14-8a8c-b648f80b9515") | ||||||
| 		) | 		) | ||||||
|  | 		(fp_text user "${REFERENCE}" | ||||||
|  | 			(at 2.5 -2.43 90) | ||||||
|  | 			(layer "F.Fab") | ||||||
|  | 			(uuid "72669b49-e1f8-4d24-8252-3955e759ce74") | ||||||
|  | 			(effects | ||||||
|  | 				(font | ||||||
|  | 					(size 1 1) | ||||||
|  | 					(thickness 0.15) | ||||||
|  | 				) | ||||||
|  | 			) | ||||||
|  | 		) | ||||||
| 		(pad "1" thru_hole rect | 		(pad "1" thru_hole rect | ||||||
| 			(at -0.75 0 270) | 			(at -0.75 0 270) | ||||||
| 			(size 2 2) | 			(size 2 2) | ||||||
| @ -41204,7 +41214,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "I2C" | 		(property "Value" "I2C" | ||||||
| 			(at 7.470219 11.103811 0) | 			(at 7.254 11.938 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "8967fad9-eba0-4005-aa22-1a6387592397") | 			(uuid "8967fad9-eba0-4005-aa22-1a6387592397") | ||||||
| @ -47670,7 +47680,6 @@ | |||||||
| 		(property "Value" "TVS 102V  1,5KE120A" | 		(property "Value" "TVS 102V  1,5KE120A" | ||||||
| 			(at 15.1922 0.5228 90) | 			(at 15.1922 0.5228 90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(hide yes) |  | ||||||
| 			(uuid "4ea3e6ce-3fe3-4739-9ce3-a9be1eee0387") | 			(uuid "4ea3e6ce-3fe3-4739-9ce3-a9be1eee0387") | ||||||
| 			(effects | 			(effects | ||||||
| 				(font | 				(font | ||||||
| @ -48650,7 +48659,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "Relay1" | 		(property "Value" "Relay1" | ||||||
| 			(at 0.270311 7.0849 90) | 			(at 1.778 6.731 90) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "be10c898-0964-45df-bd80-72ac88a01f2f") | 			(uuid "be10c898-0964-45df-bd80-72ac88a01f2f") | ||||||
| @ -57742,84 +57751,6 @@ | |||||||
| 			(justify left bottom mirror) | 			(justify left bottom mirror) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "GND, RX, TX" |  | ||||||
| 		(at 127.65 24.8 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "01924b0c-28a2-411b-9b54-e7060cd43987") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "GPIO-18 (PWM0)" |  | ||||||
| 		(at 239.7 67.7 90) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "11207d2b-7cfd-496e-81ff-cb2ea2707c53") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Shift-Register CH7" |  | ||||||
| 		(at 240.1 95.05 90) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "21062799-c14d-4ad2-bdf2-aaef092aaffc") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "top row: push-pull\nbot row: power open drain" |  | ||||||
| 		(at 207.7 137.6 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "386bf708-dd36-4dcd-9ac2-0aa153c758fc") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "power connector:\n12V, 5V, 3V3, GND" |  | ||||||
| 		(at 231.15 75.925 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "69455f21-a69d-4037-9271-d70f0e93e2f0") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "B, A, GND" |  | ||||||
| 		(at 160.05 24.9 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "7f209c32-1ac9-4b76-ad1d-602f0f5d4efb") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "CH1, CH0, CH3, CH2, CH5, CH4, CH7, CH6" | 	(gr_text "CH1, CH0, CH3, CH2, CH5, CH4, CH7, CH6" | ||||||
| 		(at 71.7691 140.670811 0) | 		(at 71.7691 140.670811 0) | ||||||
| 		(layer "Cmts.User") | 		(layer "Cmts.User") | ||||||
| @ -57833,21 +57764,8 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "5V, -5V, 3V3, GND" | 	(gr_text "Notes Analog led connector:\nconnector order does not \nmatch terminal order\n-> see Net names for mapping \n     T1 = terminal pin 1" | ||||||
| 		(at 65.75 97.125 90) | 		(at 21.7311 88.854811 0) | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "83ecd638-69c0-47e9-a66d-66da2de73189") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Note Analog led connector:\nconnector order does not \nmatch terminal order\n-> see Net names for mapping \n     T1 = terminal pin 1" |  | ||||||
| 		(at 72.55 163.6 0) |  | ||||||
| 		(layer "Cmts.User") | 		(layer "Cmts.User") | ||||||
| 		(uuid "876718fc-16e2-48db-9246-164e057e8a52") | 		(uuid "876718fc-16e2-48db-9246-164e057e8a52") | ||||||
| 		(effects | 		(effects | ||||||
| @ -57859,34 +57777,8 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "TOP: GND, 3V3,  CH8, CH7, CH6, CH5, CH4, CH3, CH2, CH1\nBOT: COM, COM, CH8, CH7, CH6, CH5, CH4, CH3, CH2, CH1" | 	(gr_text "Note Diodes digital input:\n Validate CCD diode direction\n Label differs (Anode Cathode swapped)" | ||||||
| 		(at 166.65 142.85 0) | 		(at 119.5211 155.656811 0) | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "8c9b7310-58e6-44e1-8f78-d9e457b22c13") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "5V, 3V3, GND, SCL, SDA" |  | ||||||
| 		(at 101.05 24.65 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "9164f0ed-eb52-4518-b103-9b4dfd0e20d5") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Note Diodes digital input:\n Validate CCD diode direction\n Label differs for CCD Diodes\n refer Datasheet (Anode Cathode swapped)" |  | ||||||
| 		(at 120 161.25 0) |  | ||||||
| 		(layer "Cmts.User") | 		(layer "Cmts.User") | ||||||
| 		(uuid "9b206df4-3430-4b4d-8344-cb35122dc522") | 		(uuid "9b206df4-3430-4b4d-8344-cb35122dc522") | ||||||
| 		(effects | 		(effects | ||||||
| @ -57898,21 +57790,8 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "GND, 3V3, MISO, SCLK, MOSI, CE" |  | ||||||
| 		(at 75.1 24.65 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "a4a63654-1ecc-4a9e-8683-184a523c64ce") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "TODO:\n - spi terminal, traces on top as well" | 	(gr_text "TODO:\n - spi terminal, traces on top as well" | ||||||
| 		(at 19.5 18.95 0) | 		(at 234.442 20.32 0) | ||||||
| 		(layer "Cmts.User") | 		(layer "Cmts.User") | ||||||
| 		(uuid "b0731196-9468-4af8-9d9e-e9be8f2bde8b") | 		(uuid "b0731196-9468-4af8-9d9e-e9be8f2bde8b") | ||||||
| 		(effects | 		(effects | ||||||
| @ -57924,84 +57803,6 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "Buzzer: CH8" |  | ||||||
| 		(at 169.425 93.25 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "e3e35026-d627-470b-882c-95e320ed1890") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Shift-Register CH6" |  | ||||||
| 		(at 240.1 123.85 90) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "e8a55e1f-2f88-4cb3-b6cc-b70bf18f9ed9") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "DIN1, DIN2, DIN3, DIN4, DIN5, DIN6, DIN7, DIN8" |  | ||||||
| 		(at 121.8 140.75 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "eeb8c6c2-e8e7-411c-b064-fa9479f38303") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "GPIO-12 (PWM0)" |  | ||||||
| 		(at 240.05 46.85 90) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "f3b331e9-f25a-44a2-a4cb-6ca2cd4d3674") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "GPIO: GND, 3V3, 19,    21,   20,   7" |  | ||||||
| 		(at 70.85 22.95 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "fd32d4a4-1695-4505-8153-dd317366d575") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.9 0.9) |  | ||||||
| 				(thickness 0.2) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "GPIO-25, GPIO-16, GPIO-26, GPIO-13, GPIO-6, GPI-5, GPIO-22, GPIO-24" |  | ||||||
| 		(at 118.35 142.15 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "ff58db0e-8ae8-44c2-ad58-30ba922ec2e9") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 0.7 0.7) |  | ||||||
| 				(thickness 0.15) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Raspberry PI" | 	(gr_text "Raspberry PI" | ||||||
| 		(at -69.765 64.662 0) | 		(at -69.765 64.662 0) | ||||||
| 		(layer "User.9") | 		(layer "User.9") | ||||||
| @ -58018,15 +57819,15 @@ | |||||||
| 	(dimension | 	(dimension | ||||||
| 		(type aligned) | 		(type aligned) | ||||||
| 		(layer "User.4") | 		(layer "User.4") | ||||||
| 		(uuid "954a18dc-7947-48ba-98e7-91459ecdd8c4") | 		(uuid "0fa8cb26-99f2-4dd9-b410-8708c3e89659") | ||||||
| 		(pts | 		(pts | ||||||
| 			(xy 68.12315 31.779111) (xy 68.12315 134.446111) | 			(xy 234.1031 41.130811) (xy 234.1031 61.450811) | ||||||
| 		) | 		) | ||||||
| 		(height 7.629049) | 		(height -10.64) | ||||||
| 		(gr_text "102.6670 mm" | 		(gr_text "20.3200 mm" | ||||||
| 			(at 59.344101 83.112611 90) | 			(at 243.5931 51.290811 90) | ||||||
| 			(layer "User.4") | 			(layer "User.4") | ||||||
| 			(uuid "954a18dc-7947-48ba-98e7-91459ecdd8c4") | 			(uuid "0fa8cb26-99f2-4dd9-b410-8708c3e89659") | ||||||
| 			(effects | 			(effects | ||||||
| 				(font | 				(font | ||||||
| 					(size 1 1) | 					(size 1 1) | ||||||
| @ -58051,6 +57852,72 @@ | |||||||
| 	(dimension | 	(dimension | ||||||
| 		(type aligned) | 		(type aligned) | ||||||
| 		(layer "User.4") | 		(layer "User.4") | ||||||
|  | 		(uuid "ec75d1f1-157a-4784-9a44-a6b49de76454") | ||||||
|  | 		(pts | ||||||
|  | 			(xy 234.1001 124.950811) (xy 234.1001 94.851811) | ||||||
|  | 		) | ||||||
|  | 		(height 13.8434) | ||||||
|  | 		(gr_text "30.0990 mm" | ||||||
|  | 			(at 246.7935 109.901311 90) | ||||||
|  | 			(layer "User.4") | ||||||
|  | 			(uuid "ec75d1f1-157a-4784-9a44-a6b49de76454") | ||||||
|  | 			(effects | ||||||
|  | 				(font | ||||||
|  | 					(size 1 1) | ||||||
|  | 					(thickness 0.15) | ||||||
|  | 				) | ||||||
|  | 			) | ||||||
|  | 		) | ||||||
|  | 		(format | ||||||
|  | 			(prefix "") | ||||||
|  | 			(suffix "") | ||||||
|  | 			(units 3) | ||||||
|  | 			(units_format 1) | ||||||
|  | 			(precision 4) | ||||||
|  | 		) | ||||||
|  | 		(style | ||||||
|  | 			(thickness 0.1) | ||||||
|  | 			(arrow_length 1.27) | ||||||
|  | 			(text_position_mode 0) | ||||||
|  | 			(extension_height 0.58642) | ||||||
|  | 			(extension_offset 0.5) keep_text_aligned) | ||||||
|  | 	) | ||||||
|  | 	(dimension | ||||||
|  | 		(type aligned) | ||||||
|  | 		(layer "User.9") | ||||||
|  | 		(uuid "954a18dc-7947-48ba-98e7-91459ecdd8c4") | ||||||
|  | 		(pts | ||||||
|  | 			(xy 68.12315 31.779111) (xy 68.12315 134.446111) | ||||||
|  | 		) | ||||||
|  | 		(height 7.629049) | ||||||
|  | 		(gr_text "102.6670 mm" | ||||||
|  | 			(at 59.344101 83.112611 90) | ||||||
|  | 			(layer "User.9") | ||||||
|  | 			(uuid "954a18dc-7947-48ba-98e7-91459ecdd8c4") | ||||||
|  | 			(effects | ||||||
|  | 				(font | ||||||
|  | 					(size 1 1) | ||||||
|  | 					(thickness 0.15) | ||||||
|  | 				) | ||||||
|  | 			) | ||||||
|  | 		) | ||||||
|  | 		(format | ||||||
|  | 			(prefix "") | ||||||
|  | 			(suffix "") | ||||||
|  | 			(units 3) | ||||||
|  | 			(units_format 1) | ||||||
|  | 			(precision 4) | ||||||
|  | 		) | ||||||
|  | 		(style | ||||||
|  | 			(thickness 0.1) | ||||||
|  | 			(arrow_length 1.27) | ||||||
|  | 			(text_position_mode 0) | ||||||
|  | 			(extension_height 0.58642) | ||||||
|  | 			(extension_offset 0.5) keep_text_aligned) | ||||||
|  | 	) | ||||||
|  | 	(dimension | ||||||
|  | 		(type aligned) | ||||||
|  | 		(layer "User.9") | ||||||
| 		(uuid "c9371d0a-6385-4c43-b9cd-e19e3403f7b5") | 		(uuid "c9371d0a-6385-4c43-b9cd-e19e3403f7b5") | ||||||
| 		(pts | 		(pts | ||||||
| 			(xy 230.15515 134.446111) (xy 68.12315 134.446111) | 			(xy 230.15515 134.446111) (xy 68.12315 134.446111) | ||||||
| @ -58058,7 +57925,7 @@ | |||||||
| 		(height -12.3487) | 		(height -12.3487) | ||||||
| 		(gr_text "162.0320 mm" | 		(gr_text "162.0320 mm" | ||||||
| 			(at 149.13915 145.644811 0) | 			(at 149.13915 145.644811 0) | ||||||
| 			(layer "User.4") | 			(layer "User.9") | ||||||
| 			(uuid "c9371d0a-6385-4c43-b9cd-e19e3403f7b5") | 			(uuid "c9371d0a-6385-4c43-b9cd-e19e3403f7b5") | ||||||
| 			(effects | 			(effects | ||||||
| 				(font | 				(font | ||||||
|  | |||||||
							
								
								
									
										81
									
								
								pi-interface-board_v1.0/pi-interface-board_v1.0.kicad_prl
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,81 @@ | |||||||
|  | { | ||||||
|  |   "board": { | ||||||
|  |     "active_layer": 0, | ||||||
|  |     "active_layer_preset": "", | ||||||
|  |     "auto_track_width": false, | ||||||
|  |     "hidden_netclasses": [], | ||||||
|  |     "hidden_nets": [], | ||||||
|  |     "high_contrast_mode": 0, | ||||||
|  |     "net_color_mode": 1, | ||||||
|  |     "opacity": { | ||||||
|  |       "images": 0.6, | ||||||
|  |       "pads": 1.0, | ||||||
|  |       "tracks": 1.0, | ||||||
|  |       "vias": 1.0, | ||||||
|  |       "zones": 0.7099999785423279 | ||||||
|  |     }, | ||||||
|  |     "selection_filter": { | ||||||
|  |       "dimensions": false, | ||||||
|  |       "footprints": false, | ||||||
|  |       "graphics": false, | ||||||
|  |       "keepouts": false, | ||||||
|  |       "lockedItems": false, | ||||||
|  |       "otherItems": false, | ||||||
|  |       "pads": false, | ||||||
|  |       "text": false, | ||||||
|  |       "tracks": true, | ||||||
|  |       "vias": false, | ||||||
|  |       "zones": false | ||||||
|  |     }, | ||||||
|  |     "visible_items": [ | ||||||
|  |       0, | ||||||
|  |       1, | ||||||
|  |       2, | ||||||
|  |       3, | ||||||
|  |       4, | ||||||
|  |       5, | ||||||
|  |       8, | ||||||
|  |       9, | ||||||
|  |       10, | ||||||
|  |       11, | ||||||
|  |       13, | ||||||
|  |       15, | ||||||
|  |       16, | ||||||
|  |       17, | ||||||
|  |       18, | ||||||
|  |       19, | ||||||
|  |       20, | ||||||
|  |       21, | ||||||
|  |       22, | ||||||
|  |       23, | ||||||
|  |       24, | ||||||
|  |       25, | ||||||
|  |       26, | ||||||
|  |       27, | ||||||
|  |       28, | ||||||
|  |       29, | ||||||
|  |       30, | ||||||
|  |       32, | ||||||
|  |       34, | ||||||
|  |       35, | ||||||
|  |       36, | ||||||
|  |       39, | ||||||
|  |       40 | ||||||
|  |     ], | ||||||
|  |     "visible_layers": "fff7fff_ffffffff", | ||||||
|  |     "zone_display_mode": 0 | ||||||
|  |   }, | ||||||
|  |   "git": { | ||||||
|  |     "repo_password": "", | ||||||
|  |     "repo_type": "", | ||||||
|  |     "repo_username": "", | ||||||
|  |     "ssh_key": "" | ||||||
|  |   }, | ||||||
|  |   "meta": { | ||||||
|  |     "filename": "pi-interface-board_v1.0.kicad_prl", | ||||||
|  |     "version": 3 | ||||||
|  |   }, | ||||||
|  |   "project": { | ||||||
|  |     "files": [] | ||||||
|  |   } | ||||||
|  | } | ||||||
| Before Width: | Height: | Size: 419 KiB | 
| Before Width: | Height: | Size: 1.9 MiB | 
							
								
								
									
										98071
									
								
								power-supply-board_v1.0/fp-info-cache
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -4915,7 +4915,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "Fan" | 		(property "Value" "Fan" | ||||||
| 			(at 0.889962 7.9 -90) | 			(at 1.009962 6.24 180) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "4d4df2c7-768a-440f-b24d-257e61a23141") | 			(uuid "4d4df2c7-768a-440f-b24d-257e61a23141") | ||||||
| 			(effects | 			(effects | ||||||
| @ -5362,7 +5362,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TP 5V" | 		(property "Value" "TP 5V" | ||||||
| 			(at -5.374 0.205 0) | 			(at -4.4196 0.1016 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "a0c561cd-f07b-449b-bdd1-95638dd33795") | 			(uuid "a0c561cd-f07b-449b-bdd1-95638dd33795") | ||||||
| 			(effects | 			(effects | ||||||
| @ -6504,7 +6504,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TP GND" | 		(property "Value" "TP GND" | ||||||
| 			(at -5.674 -0.009 0) | 			(at 0 2.33 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "f731c7b1-c8fe-4e90-ac69-cb625c88948a") | 			(uuid "f731c7b1-c8fe-4e90-ac69-cb625c88948a") | ||||||
| 			(effects | 			(effects | ||||||
| @ -7243,7 +7243,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TP TEMP" | 		(property "Value" "TP TEMP" | ||||||
| 			(at 9.528 -0.432 0) | 			(at 9.652 0.254 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "ed3680c0-c9ba-4169-a084-10cfa6173f52") | 			(uuid "ed3680c0-c9ba-4169-a084-10cfa6173f52") | ||||||
| 			(effects | 			(effects | ||||||
| @ -10050,7 +10050,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TP BATT" | 		(property "Value" "TP BATT" | ||||||
| 			(at -6.84 0.174 0) | 			(at -5.2324 0.254 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "5f62316e-74b6-43ed-bb58-25015d3a0537") | 			(uuid "5f62316e-74b6-43ed-bb58-25015d3a0537") | ||||||
| 			(effects | 			(effects | ||||||
| @ -10306,7 +10306,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "2200uf" | 		(property "Value" "2200uf" | ||||||
| 			(at -0.952 2.579362 0) | 			(at -0.6096 2.579362 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "1f7d7bb5-f802-471e-8ae7-4e1a80563b95") | 			(uuid "1f7d7bb5-f802-471e-8ae7-4e1a80563b95") | ||||||
| 			(effects | 			(effects | ||||||
| @ -15778,7 +15778,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "low power supply" | 		(property "Value" "low power supply" | ||||||
| 			(at 5.304 -17.46 -90) | 			(at 5 4.6 90) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "1d2b2d9a-85f8-4869-9ad4-78ea70baaaa5") | 			(uuid "1d2b2d9a-85f8-4869-9ad4-78ea70baaaa5") | ||||||
| 			(effects | 			(effects | ||||||
| @ -16269,7 +16269,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "24V 6A Supply" | 		(property "Value" "24V 6A Supply" | ||||||
| 			(at -15.187 0.642 90) | 			(at -19.9136 1.2954 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "b5278e3f-7951-4c56-8683-37a8cd2cebf3") | 			(uuid "b5278e3f-7951-4c56-8683-37a8cd2cebf3") | ||||||
| 			(effects | 			(effects | ||||||
| @ -20435,7 +20435,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "high power supply" | 		(property "Value" "high power supply" | ||||||
| 			(at 5.165 -6.037 0) | 			(at 5.1206 -3.456 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "d9ee3520-6870-4f5a-8c4c-ed027f9844b0") | 			(uuid "d9ee3520-6870-4f5a-8c4c-ed027f9844b0") | ||||||
| 			(effects | 			(effects | ||||||
| @ -20835,7 +20835,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "high power supply" | 		(property "Value" "high power supply" | ||||||
| 			(at 5.115 -21.832 0) | 			(at 5.5778 -3.5068 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "7e1d6e39-ec62-4779-b99d-5474369325c0") | 			(uuid "7e1d6e39-ec62-4779-b99d-5474369325c0") | ||||||
| 			(effects | 			(effects | ||||||
| @ -24017,7 +24017,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TS-NTC-103 10k" | 		(property "Value" "TS-NTC-103 10k" | ||||||
| 			(at 1.215 -11.968 0) | 			(at 2.1444 -11.9634 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "b5f74fe3-90ad-4c5b-8181-6c82cc7709ee") | 			(uuid "b5f74fe3-90ad-4c5b-8181-6c82cc7709ee") | ||||||
| 			(effects | 			(effects | ||||||
| @ -24808,7 +24808,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TP fan" | 		(property "Value" "TP fan" | ||||||
| 			(at 8.907 -0.499 0) | 			(at 8.636 0 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "66939a73-4b2f-47c9-b473-948dee2ca964") | 			(uuid "66939a73-4b2f-47c9-b473-948dee2ca964") | ||||||
| 			(effects | 			(effects | ||||||
| @ -31280,7 +31280,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "supply nopop" | 		(property "Value" "supply nopop" | ||||||
| 			(at 1.571038 11.0415 90) | 			(at 1.761438 15.3135 0) | ||||||
| 			(unlocked yes) | 			(unlocked yes) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "e46b6e15-9716-430d-b064-c043b6a581e4") | 			(uuid "e46b6e15-9716-430d-b064-c043b6a581e4") | ||||||
| @ -33614,7 +33614,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "TS-NTC-103 10k" | 		(property "Value" "TS-NTC-103 10k" | ||||||
| 			(at 1.234 -12.068 180) | 			(at 2.6162 -11.9126 180) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "e646e6c0-b3cf-4c3c-86ed-e6c7826a5762") | 			(uuid "e646e6c0-b3cf-4c3c-86ed-e6c7826a5762") | ||||||
| 			(effects | 			(effects | ||||||
| @ -38546,7 +38546,7 @@ | |||||||
| 			) | 			) | ||||||
| 		) | 		) | ||||||
| 		(property "Value" "5A polyfuse" | 		(property "Value" "5A polyfuse" | ||||||
| 			(at 6.3952 -0.3016 0) | 			(at 5.6896 -0.5588 0) | ||||||
| 			(layer "F.Fab") | 			(layer "F.Fab") | ||||||
| 			(uuid "3d2a814d-7d8a-4c99-959b-f1990d4d82c3") | 			(uuid "3d2a814d-7d8a-4c99-959b-f1990d4d82c3") | ||||||
| 			(effects | 			(effects | ||||||
| @ -43261,27 +43261,14 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "5V/12V Drain\n" | 	(gr_text "FIXME: Power supply barrel connector wrong polarity -> reroute" | ||||||
| 		(at 183.9 109.025 90) | 		(at 86.98 129.76 -0) | ||||||
| 		(layer "B.Cu") | 		(layer "F.Cu") | ||||||
| 		(uuid "822cfa54-4e7d-4926-a61c-a59f69039109") | 		(uuid "d06dcb3d-61f7-46b5-ab9d-a35c29a9f224") | ||||||
| 		(effects | 		(effects | ||||||
| 			(font | 			(font | ||||||
| 				(size 1 1) | 				(size 1.5 1.5) | ||||||
| 				(thickness 0.25) | 				(thickness 0.3) | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "12V, 5V, 3V3, GND" |  | ||||||
| 		(at 126.625 29.55 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "0768b060-fa5a-44d8-8fb6-510f71d7a46c") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 1 1) |  | ||||||
| 				(thickness 0.25) |  | ||||||
| 				(bold yes) | 				(bold yes) | ||||||
| 			) | 			) | ||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| @ -43299,32 +43286,6 @@ | |||||||
| 			(justify left bottom) | 			(justify left bottom) | ||||||
| 		) | 		) | ||||||
| 	) | 	) | ||||||
| 	(gr_text "GND, 3V3, -5V, 5V, GND" |  | ||||||
| 		(at 184.2 53.2 90) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "ac167a33-155f-491c-855c-7a657d21e44e") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 1 1) |  | ||||||
| 				(thickness 0.25) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "FIXME: Power supply barrel connector wrong polarity -> reroute" |  | ||||||
| 		(at 94.05 133.4 0) |  | ||||||
| 		(layer "Cmts.User") |  | ||||||
| 		(uuid "d06dcb3d-61f7-46b5-ab9d-a35c29a9f224") |  | ||||||
| 		(effects |  | ||||||
| 			(font |  | ||||||
| 				(size 1.5 1.5) |  | ||||||
| 				(thickness 0.3) |  | ||||||
| 				(bold yes) |  | ||||||
| 			) |  | ||||||
| 			(justify left bottom) |  | ||||||
| 		) |  | ||||||
| 	) |  | ||||||
| 	(gr_text "Solder on Top side as well" | 	(gr_text "Solder on Top side as well" | ||||||
| 		(at 195.4022 53.1368 0) | 		(at 195.4022 53.1368 0) | ||||||
| 		(layer "Cmts.User") | 		(layer "Cmts.User") | ||||||
|  | |||||||
							
								
								
									
										82
									
								
								power-supply-board_v1.0/power-supply-board_v1.0.kicad_prl
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @ -0,0 +1,82 @@ | |||||||
|  | { | ||||||
|  |   "board": { | ||||||
|  |     "active_layer": 31, | ||||||
|  |     "active_layer_preset": "", | ||||||
|  |     "auto_track_width": false, | ||||||
|  |     "hidden_netclasses": [], | ||||||
|  |     "hidden_nets": [], | ||||||
|  |     "high_contrast_mode": 0, | ||||||
|  |     "net_color_mode": 1, | ||||||
|  |     "opacity": { | ||||||
|  |       "images": 0.5, | ||||||
|  |       "pads": 1.0, | ||||||
|  |       "tracks": 1.0, | ||||||
|  |       "vias": 1.0, | ||||||
|  |       "zones": 0.4000000059604645 | ||||||
|  |     }, | ||||||
|  |     "selection_filter": { | ||||||
|  |       "dimensions": false, | ||||||
|  |       "footprints": true, | ||||||
|  |       "graphics": true, | ||||||
|  |       "keepouts": false, | ||||||
|  |       "lockedItems": false, | ||||||
|  |       "otherItems": false, | ||||||
|  |       "pads": false, | ||||||
|  |       "text": true, | ||||||
|  |       "tracks": true, | ||||||
|  |       "vias": false, | ||||||
|  |       "zones": false | ||||||
|  |     }, | ||||||
|  |     "visible_items": [ | ||||||
|  |       0, | ||||||
|  |       1, | ||||||
|  |       2, | ||||||
|  |       3, | ||||||
|  |       4, | ||||||
|  |       5, | ||||||
|  |       8, | ||||||
|  |       9, | ||||||
|  |       10, | ||||||
|  |       11, | ||||||
|  |       13, | ||||||
|  |       15, | ||||||
|  |       16, | ||||||
|  |       17, | ||||||
|  |       18, | ||||||
|  |       19, | ||||||
|  |       20, | ||||||
|  |       21, | ||||||
|  |       22, | ||||||
|  |       23, | ||||||
|  |       24, | ||||||
|  |       25, | ||||||
|  |       26, | ||||||
|  |       27, | ||||||
|  |       28, | ||||||
|  |       29, | ||||||
|  |       30, | ||||||
|  |       32, | ||||||
|  |       33, | ||||||
|  |       34, | ||||||
|  |       35, | ||||||
|  |       36, | ||||||
|  |       39, | ||||||
|  |       40 | ||||||
|  |     ], | ||||||
|  |     "visible_layers": "48352a0_80000001", | ||||||
|  |     "zone_display_mode": 0 | ||||||
|  |   }, | ||||||
|  |   "git": { | ||||||
|  |     "repo_password": "", | ||||||
|  |     "repo_type": "", | ||||||
|  |     "repo_username": "", | ||||||
|  |     "ssh_key": "" | ||||||
|  |   }, | ||||||
|  |   "meta": { | ||||||
|  |     "filename": "power-supply-board_v1.0.kicad_prl", | ||||||
|  |     "version": 3 | ||||||
|  |   }, | ||||||
|  |   "project": { | ||||||
|  |     "files": [] | ||||||
|  |   } | ||||||
|  | } | ||||||
| @ -4,13 +4,6 @@ | |||||||
| 	(generator_version "8.0") | 	(generator_version "8.0") | ||||||
| 	(uuid "af4d11a6-73e1-4c39-a25e-5fe7dfa07237") | 	(uuid "af4d11a6-73e1-4c39-a25e-5fe7dfa07237") | ||||||
| 	(paper "A3") | 	(paper "A3") | ||||||
| 	(title_block |  | ||||||
| 		(title "power-supply-board") |  | ||||||
| 		(date "2024-12-20") |  | ||||||
| 		(rev "V1.0") |  | ||||||
| 		(comment 2 "Supplies 3V3, 5V -5V, 12V, Filtered 24V") |  | ||||||
| 		(comment 3 "Supply board for rpi-interface board") |  | ||||||
| 	) |  | ||||||
| 	(lib_symbols | 	(lib_symbols | ||||||
| 		(symbol "Amplifier_Operational:MCP6002-xP" | 		(symbol "Amplifier_Operational:MCP6002-xP" | ||||||
| 			(pin_names | 			(pin_names | ||||||
| @ -14511,7 +14504,7 @@ | |||||||
| 		) | 		) | ||||||
| 		(uuid "c5813cfa-ba8c-4a80-a9d4-664143707d07") | 		(uuid "c5813cfa-ba8c-4a80-a9d4-664143707d07") | ||||||
| 	) | 	) | ||||||
| 	(text "2 NTC sensors spread in housing\ne.g. RPI Cpu and 5V Regulator" | 	(text "2 NTC sensors spread in housing" | ||||||
| 		(exclude_from_sim no) | 		(exclude_from_sim no) | ||||||
| 		(at 208.534 59.436 0) | 		(at 208.534 59.436 0) | ||||||
| 		(effects | 		(effects | ||||||
| @ -14682,7 +14675,7 @@ | |||||||
| 		) | 		) | ||||||
| 		(uuid "f9ba8cda-125a-469c-9294-dbb980b4df9f") | 		(uuid "f9ba8cda-125a-469c-9294-dbb980b4df9f") | ||||||
| 	) | 	) | ||||||
| 	(text "TODO next version:\n  - add LED for each voltage in housing (external using connector)?\n  - FIXME: Verify power supply barrel connector polarity (wrong in V1.0)\n\nChangelog / Fixed since V1.0:\n  - TVS polarity\n  - Fuse, Diode footprint\n  - add GND Testpoint\n  - led gnd via\n  - 5x low power connector\n\n" | 	(text "TODO next version:\n  - add LED for each voltage in housing (external using connector)?\n  - FIXME: Verify power supply barrel connector polarity (wrong in V1.0)\n\nFixed since V1.0:\n  - TVS polarity\n  - Fuse, Diode footprint\n  - add GND Testpoint\n  - led gnd via\n  - 5x low power connector\n\n" | ||||||
| 		(exclude_from_sim no) | 		(exclude_from_sim no) | ||||||
| 		(at 114.3 34.544 0) | 		(at 114.3 34.544 0) | ||||||
| 		(effects | 		(effects | ||||||
|  | |||||||
| @ -1,20 +0,0 @@ | |||||||
| # Include external libraries |  | ||||||
| import os |  | ||||||
| import sys |  | ||||||
| import time |  | ||||||
| from mcp3208 import MCP3208 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Include custom files |  | ||||||
| # Add the parent directory to the module search path |  | ||||||
| sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) |  | ||||||
| from interface_board_libs.adc_mcp3208 import MCP3208 |  | ||||||
| from interface_board_pins import ADC_CHANNELS |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| adc = MCP3208() |  | ||||||
| 
 |  | ||||||
| while True: |  | ||||||
|         for i in range(8): |  | ||||||
|                 print('ADC[{}]: {:.2f}'.format(i, adc.read(i))) |  | ||||||
|         time.sleep(0.5) |  | ||||||
| @ -1,30 +0,0 @@ | |||||||
| # Add the parent directory to the module search path |  | ||||||
| sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) |  | ||||||
| # Include the common pin assignment (from parent folder) |  | ||||||
| from interface_board_pins.py import GPIO_DIGITAL_INPUTS # map of which GPIO pins are associated with which input terminal (1-8) |  | ||||||
| 
 |  | ||||||
| import RPi.GPIO as GPIO |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Initialize GPIO |  | ||||||
| GPIO.setmode(GPIO.BCM) |  | ||||||
| for pin in DIGITAL_INPUTS.values(): |  | ||||||
|     GPIO.setup(pin, GPIO.IN) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Repeatedly read GPIOs |  | ||||||
| print("Reading digital inputs:") |  | ||||||
| try: |  | ||||||
|     while True: |  | ||||||
|         for label, pin in GPIO_DIGITAL_INPUTS.items(): |  | ||||||
|             state = GPIO.input(pin) |  | ||||||
|             print(f"Input {label} (GPIO {pin}): {'HIGH' if state else 'LOW'}") |  | ||||||
|         print("-" * 40) |  | ||||||
| 
 |  | ||||||
| except KeyboardInterrupt: |  | ||||||
|     print("Exiting...") |  | ||||||
| 
 |  | ||||||
| finally: |  | ||||||
|     GPIO.cleanup() |  | ||||||
| @ -1,66 +0,0 @@ | |||||||
| # Include external libraries |  | ||||||
| import os |  | ||||||
| import sys |  | ||||||
| from time import sleep |  | ||||||
| 
 |  | ||||||
| # Add the parent directory to the module search path |  | ||||||
| sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) |  | ||||||
| 
 |  | ||||||
| # Include custom files |  | ||||||
| from interface_board_libs.shift_register import ShiftRegister # custom shift register class |  | ||||||
| from interface_board_pins import ( # pin / channel assignment |  | ||||||
|     GPIO_SHIFT_REG_DATA, |  | ||||||
|     GPIO_SHIFT_REG_LATCH, |  | ||||||
|     GPIO_SHIFT_REG_CLOCK, |  | ||||||
|     SHIFT_REG_CHANNEL_BUZZER, |  | ||||||
|     SHIFT_REG_CHANNEL_RELAY1, |  | ||||||
|     SHIFT_REG_CHANNEL_RELAY2, |  | ||||||
| ) |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # Initialize the shift register |  | ||||||
| sr = ShiftRegister(GPIO_SHIFT_REG_DATA, GPIO_SHIFT_REG_LATCH, GPIO_SHIFT_REG_CLOCK) |  | ||||||
| 
 |  | ||||||
| try: |  | ||||||
|     print("Writing to shift register...") |  | ||||||
| 
 |  | ||||||
|     # repeatedly write to shift register |  | ||||||
|     while True: |  | ||||||
|         # # Cycle through all combinations of pin states (write entire byte) |  | ||||||
|         # print("Writing all byte values (0-255)...") |  | ||||||
|         # for value in range(256): |  | ||||||
|         #     sr.write_byte(value)  # Write the current value |  | ||||||
|         #     print(f"Output: {bin(value)}")  # Print binary representation |  | ||||||
|         #     sleep(0.05)  # Delay between each byte |  | ||||||
| 
 |  | ||||||
|         # Turn each pin on and off one by one |  | ||||||
|         print("\nToggling each pin one by one...") |  | ||||||
|         # channels 0-4 are connected to terminal only |  | ||||||
|         for pin in range(4): # 0-4 are connected to terminal only |  | ||||||
|             print(f"Setting pin {pin} HIGH.") |  | ||||||
|             sr.set_pin(pin, True)  # Set the pin HIGH |  | ||||||
|             sleep(0.5) |  | ||||||
|             print(f"Setting pin {pin} LOW.") |  | ||||||
|             sr.set_pin(pin, False)  # Set the pin LOW |  | ||||||
|             sleep(0.5) |  | ||||||
| 
 |  | ||||||
|         # channels 5-7 are connected to terminal AND buzzer/relays |  | ||||||
|         print("Activating buzzer...") |  | ||||||
|         sr.set_pin(SHIFT_REG_CHANNEL_BUZZER, True)  # Turn buzzer ON |  | ||||||
|         sleep(0.5) |  | ||||||
|         sr.set_pin(SHIFT_REG_CHANNEL_BUZZER, False)  # Turn buzzer OFF |  | ||||||
| 
 |  | ||||||
|         print("Toggling Relay 1...") |  | ||||||
|         sr.toggle_pin(SHIFT_REG_CHANNEL_RELAY1) |  | ||||||
|         sleep(0.5) |  | ||||||
|         sr.toggle_pin(SHIFT_REG_CHANNEL_RELAY1) |  | ||||||
| 
 |  | ||||||
|         print("Activating Relay 2...") |  | ||||||
|         sr.set_pin(SHIFT_REG_CHANNEL_RELAY2, True)  # Turn relay ON |  | ||||||
|         sleep(0.5) |  | ||||||
|         sr.set_pin(SHIFT_REG_CHANNEL_RELAY2, False)  # Turn relay OFF |  | ||||||
| 
 |  | ||||||
| finally: |  | ||||||
|     sr.clear()  # Clear the shift register |  | ||||||
|     print("Shift register cleared.") |  | ||||||
|     GPIO.cleanup()  # Clean up GPIO settings |  | ||||||
| @ -1,49 +0,0 @@ | |||||||
| import RPi.GPIO as GPIO |  | ||||||
| from time import sleep |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| class ShiftRegister: |  | ||||||
|     def __init__(self, data_pin, latch_pin, clock_pin): |  | ||||||
|         self.data_pin = data_pin |  | ||||||
|         self.latch_pin = latch_pin |  | ||||||
|         self.clock_pin = clock_pin |  | ||||||
|         self.current_byte = 0  # Tracks the current state of the shift register |  | ||||||
| 
 |  | ||||||
|         GPIO.setmode(GPIO.BCM) |  | ||||||
|         GPIO.setup(self.data_pin, GPIO.OUT) |  | ||||||
|         GPIO.setup(self.latch_pin, GPIO.OUT) |  | ||||||
|         GPIO.setup(self.clock_pin, GPIO.OUT) |  | ||||||
| 
 |  | ||||||
|     def write_byte(self, byte): |  | ||||||
|         """Writes an 8-bit value to the shift register.""" |  | ||||||
|         GPIO.output(self.latch_pin, 0) |  | ||||||
|         for i in range(8): |  | ||||||
|             GPIO.output(self.clock_pin, 0) |  | ||||||
|             GPIO.output(self.data_pin, (byte >> (7 - i)) & 1)  # MSB first |  | ||||||
|             GPIO.output(self.clock_pin, 1) |  | ||||||
|         GPIO.output(self.latch_pin, 1) |  | ||||||
|         self.current_byte = byte  # Update the internal state |  | ||||||
| 
 |  | ||||||
|     def clear(self): |  | ||||||
|         """Clears the shift register (sets all outputs to 0).""" |  | ||||||
|         self.write_byte(0) |  | ||||||
| 
 |  | ||||||
|     def set_pin(self, pin, state): |  | ||||||
|         """ |  | ||||||
|         Sets an individual pin to HIGH (1) or LOW (0). |  | ||||||
|         Pins are numbered 0-7, with 0 being the MSB. |  | ||||||
|         """ |  | ||||||
|         if not 0 <= pin <= 7: |  | ||||||
|             raise ValueError("Pin must be in range 0-7.") |  | ||||||
|         if state: |  | ||||||
|             self.current_byte |= (1 << (7 - pin))  # Set the bit to 1 |  | ||||||
|         else: |  | ||||||
|             self.current_byte &= ~(1 << (7 - pin))  # Set the bit to 0 |  | ||||||
|         self.write_byte(self.current_byte) |  | ||||||
| 
 |  | ||||||
|     def toggle_pin(self, pin): |  | ||||||
|         """Toggles the state of an individual pin.""" |  | ||||||
|         if not 0 <= pin <= 7: |  | ||||||
|             raise ValueError("Pin must be in range 0-7.") |  | ||||||
|         self.current_byte ^= (1 << (7 - pin))  # Flip the bit |  | ||||||
|         self.write_byte(self.current_byte) |  | ||||||
| @ -1,85 +0,0 @@ | |||||||
| # Pin mappings for GPIOs and other components specifically for the pi-interface-board_v1.0 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === Digital Inputs === |  | ||||||
| # Pin mappings for digital inputs (labeled on housing as 1-8) |  | ||||||
| GPIO_DIGITAL_INPUTS = { |  | ||||||
|     1: 25,  # Dig-IN_1 is connected to GPIO_25 |  | ||||||
|     2: 16,  # Dig-IN_2 is connected to GPIO_16 |  | ||||||
|     3: 26,  # Dig-IN_3 is connected to GPIO_26 |  | ||||||
|     4: 13,  # Dig-IN_4 is connected to GPIO_13 |  | ||||||
|     5: 6,   # Dig-IN_5 is connected to GPIO_6 |  | ||||||
|     6: 5,   # Dig-IN_6 is connected to GPIO_5 |  | ||||||
|     7: 22,  # Dig-IN_7 is connected to GPIO_22 |  | ||||||
|     8: 24,  # Dig-IN_8 is connected to GPIO_24 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === Shift Register === |  | ||||||
| GPIO_SHIFT_REG_DATA = 27 |  | ||||||
| GPIO_SHIFT_REG_LATCH = 17 |  | ||||||
| GPIO_SHIFT_REG_CLOCK = 4 |  | ||||||
| 
 |  | ||||||
| # Shift Register Channel Assignments |  | ||||||
| SHIFT_REG_CHANNEL_BUZZER = 7  # Buzzer connected to shift register channel 7 |  | ||||||
| SHIFT_REG_CHANNEL_RELAY1 = 6  # Relay 1 connected to shift register channel 6 |  | ||||||
| SHIFT_REG_CHANNEL_RELAY2 = 5  # Relay 2 connected to shift register channel 5 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === ADC === |  | ||||||
| # ADC IC is connected to RPI SPI interface 0 (pins below) |  | ||||||
| ADC_SPI_BUS_NUM = 0   |  | ||||||
| ADC_SPI_DEVICE_NUM = 0 |  | ||||||
| ADC_SPI_CS_PIN = 8  # SPI Chip Select for MCP3208 |  | ||||||
| # MISO_0: GPIO_9 |  | ||||||
| # MOSI_0: GPIO_10 |  | ||||||
| # SCLK_0: GPIO_11 |  | ||||||
| # CE_0:   GPIO# MCP3208 (ADC) |  | ||||||
| 
 |  | ||||||
| ADC_CHANNELS = { |  | ||||||
|     1: 0,  # Channel 1 = ADC channel 0 |  | ||||||
|     2: 1,  # Channel 2 = ADC channel 1 |  | ||||||
|     3: 2,  # ... |  | ||||||
|     4: 3, |  | ||||||
|     5: 4, |  | ||||||
|     6: 5, |  | ||||||
|     7: 6, |  | ||||||
|     8: 7 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === SPI Terminal === |  | ||||||
| SPI_BUS_NUM = 1 |  | ||||||
| # MISO_1: GPIO_19 |  | ||||||
| # MOSI_1: GPIO_20 |  | ||||||
| # SCLK_1: GPIO_21 |  | ||||||
| # CE_1:   GPIO_7 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === I2C Terminal === |  | ||||||
| GPIO_I2C_SDA = 2 |  | ||||||
| GPIO_I2C_SCL = 3 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === PWM outputs === |  | ||||||
| GPIO_PWM1 = 12  # RPI_PWM0 |  | ||||||
| GPIO_PWM2 = 18  # RPI_PWM0 too |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| # === UART / RS485 === |  | ||||||
| GPIO_UART_TX = 14 # RPI TXD |  | ||||||
| GPIO_UART_RX = 15 # RPI RXD |  | ||||||
| GPIO_UART_DIR = 23 |  | ||||||