# Smart system for a greenhouse ## Description This project is a 6-output irrigation control board with pump and other device support. It features 8 connectors, 2 GPIO pins each, and a GC9A01A display. The board is powered by an STM32L073V8T6 microcontroller and has 6 LEDs connected to GPIO pins. #irrigationcontrol #STM32 #GPIO #GC9A01A #LEDs. ## Project Details - **Owner:** vasyl - **Created:** 3/26/2023 - **Last Updated:** 4/6/2023 - **Visibility:** Public - **License:** https://creativecommons.org/licenses/by/4.0/ - **Stars:** 5 - **Copies:** 1 ## Key Components ### J1 — [TerminalBlock_Phoenix_PT-1,5-4-3.5-H_1x04_P3.50mm_Horizontal](https://www.flux.ai/adrian95/terminalblockphoenixpt-15-4-35-h1x04p350mmhorizontal~xed.md) - Part Type: Connector **Pins:** - Pin_1 - Pin_2 - Pin_3 - Pin_4 ### J10 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Manufacturer Name: Molex - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Part Type: Connector - Manufacturer Part Number: 0532610471 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J11 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Manufacturer Part Number: 0532610471 - Part Type: Connector - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Manufacturer Name: Molex **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J12 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Part Type: Connector - Manufacturer Part Number: 0532610471 - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Manufacturer Name: Molex **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J2 — [TerminalBlock_Phoenix_PT-1,5-4-3.5-H_1x04_P3.50mm_Horizontal](https://www.flux.ai/adrian95/terminalblockphoenixpt-15-4-35-h1x04p350mmhorizontal~xed.md) - Part Type: Connector **Pins:** - Pin_1 - Pin_2 - Pin_3 - Pin_4 ### J3 — [TerminalBlock_Phoenix_PT-1,5-4-3.5-H_1x04_P3.50mm_Horizontal](https://www.flux.ai/adrian95/terminalblockphoenixpt-15-4-35-h1x04p350mmhorizontal~xed.md) - Part Type: Connector **Pins:** - Pin_1 - Pin_2 - Pin_3 - Pin_4 ### J4 — [TerminalBlock_Phoenix_PT-1,5-4-3.5-H_1x04_P3.50mm_Horizontal](https://www.flux.ai/adrian95/terminalblockphoenixpt-15-4-35-h1x04p350mmhorizontal~xed.md) - Part Type: Connector **Pins:** - Pin_1 - Pin_2 - Pin_3 - Pin_4 ### J5 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Part Type: Connector - Manufacturer Part Number: 0532610471 - Manufacturer Name: Molex - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J6 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Part Type: Connector - Manufacturer Part Number: 0532610471 - Manufacturer Name: Molex - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J7 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Manufacturer Name: Molex - Part Type: Connector - Manufacturer Part Number: 0532610471 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J8 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Manufacturer Name: Molex - Manufacturer Part Number: 0532610471 - Part Type: Connector **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### J9 — [0532610471](https://www.flux.ai/vasyl/0532610471~vm.md) - Manufacturer Name: Molex - Datasheet URL: https://www.molex.com/pdm_docs/sd/532610471_sd.pdf - Part Type: Connector - Manufacturer Part Number: 0532610471 **Pins:** - 1 [pin 1] - 2 [pin 2] - 3 [pin 3] - 4 [pin 4] - SHIELD [pin S1] - SHIELD__1 [pin S2] ### U1 — [STM32L073V8T6](https://www.flux.ai/vasyl/stm32l073v8t6~zz3.md) - Manufacturer Part Number: STM32L073V8T6 - Manufacturer Name: STMicroelectronics - Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/d8/b3/7b/dc/18/22/44/f5/DM00141036.pdf/files/DM00141036.pdf/jcr:content/translations/en.DM00141036.pdf - Part Type: Microcontroller **Pins:** - BOOT0 [pin 94] - NRST [pin 14] - PA0 [pin 23] - PA1 [pin 24] - PA10 [pin 69] - PA11 [pin 70] - PA12 [pin 71] - PA13 [pin 72] - PA14 [pin 76] - PA15 [pin 77] - PA2 [pin 25] - PA3 [pin 26] - PA4 [pin 29] - PA5 [pin 30] - PA6 [pin 31] - PA7 [pin 32] - PA8 [pin 67] - PA9 [pin 68] - PB0 [pin 35] - PB1 [pin 36] - PB10 [pin 47] - PB11 [pin 48] - PB12 [pin 51] - PB13 [pin 52] - PB14 [pin 53] - PB15 [pin 54] - PB2 [pin 37] - PB3 [pin 89] - PB4 [pin 90] - PB5 [pin 91] - PB6 [pin 92] - PB7 [pin 93] - PB8 [pin 95] - PB9 [pin 96] - PC0 [pin 15] - PC1 [pin 16] - PC10 [pin 78] - PC11 [pin 79] - PC12 [pin 80] - PC13 [pin 7] - PC14 [pin 8] - PC15 [pin 9] - PC2 [pin 17] - PC3 [pin 18] - PC4 [pin 33] - PC5 [pin 34] - PC6 [pin 63] - PC7 [pin 64] - PC8 [pin 65] - PC9 [pin 66] - PD0 [pin 81] - PD1 [pin 82] - PD10 [pin 57] - PD11 [pin 58] - PD12 [pin 59] - PD13 [pin 60] - PD14 [pin 61] - PD15 [pin 62] - PD2 [pin 83] - PD3 [pin 84] - PD4 [pin 85] - PD5 [pin 86] - PD6 [pin 87] - PD7 [pin 88] - PD8 [pin 55] - PD9 [pin 56] - PE0 [pin 97] - PE1 [pin 98] - PE10 [pin 41] - PE11 [pin 42] - PE12 [pin 43] - PE13 [pin 44] - PE14 [pin 45] - PE15 [pin 46] - PE2 [pin 1] - PE3 [pin 2] - PE4 [pin 3] - PE5 [pin 4] - PE6 [pin 5] - PE7 [pin 38] - PE8 [pin 39] - PE9 [pin 40] - PH0 [pin 12] - PH1 [pin 13] - PH10 [pin 11] - PH9 [pin 10] - VDD [pin 100] - VDD [pin 6] - VDD [pin 73] - VDD [pin 28] - VDD [pin 50] - VDD_USB [pin 75] - VDDA [pin 22] - VREF- [pin 20] - VREF+ [pin 21] - VSS [pin 74] - VSS [pin 99] - VSS [pin 49] - VSS [pin 27] - VSSA [pin 19] ### U2 — [TFT Display 1.28 Inch Module](https://www.flux.ai/vasyl/tft-display-1p28-inch-module~180.md) - Datasheet URL: https://www.buydisplay.com/download/ic/GC9A01A.pdf - Manufacturer Part Number: GC9A01A - Part Type: Display Device **Pins:** - CS [pin 2] - DC [pin 3] - GND [pin 6] - RST [pin 1] - SCL [pin 5] - SDA [pin 4] - VCC [pin 7] ### U3 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F - Manufacturer Part Number: PC817XNNIP0F - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ **Pins:** - 1 - 2 - 3 - 4 ### U4 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ - Manufacturer Part Number: PC817XNNIP0F **Pins:** - 1 - 2 - 3 - 4 ### U5 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ - Manufacturer Part Number: PC817XNNIP0F - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F **Pins:** - 1 - 2 - 3 - 4 ### U6 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ - Manufacturer Part Number: PC817XNNIP0F **Pins:** - 1 - 2 - 3 - 4 ### U7 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ - Manufacturer Part Number: PC817XNNIP0F **Pins:** - 1 - 2 - 3 - 4 ### U8 — [PC817XNNIP0F](https://www.flux.ai/adrian95/pc817xnnip0f~vow.md) - Part Type: Transistor - Manufacturer Name: PC817XNNIP0F - Manufacturer Part Number: PC817XNNIP0F - Datasheet URL: https://www.snapeda.com/parts/PC817XNNIP0F/SHARP/Socle%20Technology/datasheet/ **Pins:** - 1 - 2 - 3 - 4 ### U9 — [AP2112K-3.3TRG1](https://www.flux.ai/vasyl/ap2112k-33trg1~qk.md) - Part Type: Integrated Circuit - Manufacturer Part Number: AP2112K-3.3TRG1 - Datasheet URL: https://www.diodes.com/assets/Datasheets/AP2112.pdf - Manufacturer Name: Diodes Incorporated **Pins:** - EN [pin 3] - GND [pin 2] - VIN [pin 1] - VOUT [pin 5] *The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/vasyl/smart-system-for-a-greenhouse~x1t](https://www.flux.ai/vasyl/smart-system-for-a-greenhouse~x1t).* --- *Generated from [https://www.flux.ai/vasyl/smart-system-for-a-greenhouse~x1t](https://www.flux.ai/vasyl/smart-system-for-a-greenhouse~x1t)*