ericwindy / smartfarm2ndDivision

스마트팜2조
1 stars 0 forks source link

Sample code and Test list #1

Open ericwindy opened 1 week ago

ericwindy commented 1 week ago

테스트 가능한 장치(모듈)별 목록(List)과 예제 코드(Sample code)를 업로드합니다. 각 샘플코드는 Chat GPT를 통해서 작성되었습니다.

개발 H/W & Parts List

Distance/TOF detector D01. TOF 200C Laser ranging sensor module, VL53L0X, 2M measuring

D0101. TOF 200C Laser ranging sensor module, VL53L0X, 2M measuring, I2C

D02. TOF VL53LDK(VL53L0X) 940nm GY-530

D0202. TOF VL53LDK(VL53L0X) 940nm GY-530, I2C

D03. HC-SR04 Ultrasonic distance Sensor module

D0301. HC-SR04 Ultrasonic distance Sensor Module, Serial

Photosensitive Sensor L01. Light sensor module BH1750FFI

L0101. Light sensor module BH1750FFI, I2C

**Environment (Air/Temp./Hum.) Sensor E01. Temperature/Humidity Sensor DHT11 module

E0101. Temperature/Humidity Sensor DHT11 module - Layer 1, Serial
E0102. Temperature/Humidity Sensor DHT11 module - Layer 2 (option) E0103. Temperature/Humidity Sensor DHT11 module - Layer 3 (option) E0104. Temperature/Humidity Sensor DHT11 module - Layer 4 (option)

E02. MultigasCO2Sensor+Temp./Hum. Module, ENS160+AHT21

E0201. MultigasCO2Sensor+Temp./Hum. Module, ENS160+AHT21 - Layer 1 I2C
E0202. MultigasCO2Sensor+Temp./Hum. Module, ENS160+AHT21 - Layer 2 I2C (option) E0203. MultigasCO2Sensor+Temp./Hum. Module, ENS160+AHT21 - Layer 3 I2C (option) E0204. MultigasCO2Sensor+Temp./Hum. Module, ENS160+AHT21 - Layer 4 I2C (option)

Detect(Prove) Sensor S01. Water temp. sensor + Prove (DS18B20)

S0101. Water temp. sensor + Prove (DS18B20) - Nutrient Tank, Serial

S02. TSD Sensor V1.0 + probe

S0201. TSD Sensor V1.0 + probe - Nutrient Tank, Serial

S03. PH Sensor (BNC)+ Probe

S0301. PH Sensor (BNC)+ Probe - Nutrient Tank, Serial

S04. Ultrasonic distance module + probe JSN-SR04T

S0401. Ultrasonic distance module + probe JSN-SR04T - Nutrient Tank, Serial

Load-cell W01. HX711 Weighing A/D Module

W0101. HX711 Weighing A/D Module - Layer 1, Serial W0102. HX711 Weighing A/D Module - Layer 2 (option) W0103. HX711 Weighing A/D Module - Layer 3 (option) W0104. HX711 Weighing A/D Module - Layer 4 (option)

W02. Half Bridge sensor-50K

W0201. Half Bridge sensor-50K - Layer 1 W0202. Half Bridge sensor-50K - Layer 1 W0203. Half Bridge sensor-50K - Layer 1 W0204. Half Bridge sensor-50K - Layer 1

W0205. Half Bridge sensor-50K - Layer 2 (option) W0206. Half Bridge sensor-50K - Layer 2 (option) W0207. Half Bridge sensor-50K - Layer 2 (option) W0208. Half Bridge sensor-50K - Layer 2 (option)

W0209. Half Bridge sensor-50K - Layer 3 (option) W0210. Half Bridge sensor-50K - Layer 3 (option) W0211. Half Bridge sensor-50K - Layer 3 (option) W0212. Half Bridge sensor-50K - Layer 3 (option)

W0213. Half Bridge sensor-50K - Layer 4 (option) W0214. Half Bridge sensor-50K - Layer 4 (option) W0215. Half Bridge sensor-50K - Layer 4 (option) W0216. Half Bridge sensor-50K - Layer 4 (option)

Motor/Actuator/Pump/Valve M01. Mini Dosing pump

M0101. Mini Dosing pump No1 - A solution M0102. Mini Dosing pump No2 - B solution M0103. Mini Dosing pump No3 - PH Solution

M02. Motor drive

M0201. Mini Motor Driver (unnamed) (2ch), Serial
M0202. Mini Motor drive L293D (4ch) (Dosing pump-option-testing), Serial **

V01. Solenoid valve, Normal open, 12V, 3/4” 25.7mm
V02. Solenoid valve, Normal close, 12V, 3/4” 25.7mm V03. Solenoid valve, Normal open, 12V, 1/2” 20mm
V04. Solenoid valve, Normal close, 12V, 1/2” 20mm
V05. Solenoid valve, 3Way, 12V 9.22A (option)
V06. Solenoid valve, Normal close, 12V, 1/4” (6.5mm)-Air/water,1Mpa

S01. Rotate Slipring 6ch

Power/ Relay Module P01. Relay Module, 2ch, 10A 250VAC, Serial

P0101. Relay Module, 2ch, 10A 250VAC, Serial

P02. Relay Module, 1ch, 10A 250VAC

P0201. Relay Module, 1ch, 10A 250VAC - Nutrient Feeding, Serial P0202. Relay Module, 1ch, 10A 250VAC - Air Pump, Serial

P03. Relay Module, 4ch, 10A 250VAC (Dosing pump-option), Serial

P0301. Relay Module, 4ch, 10A 250VAC (Dosing pump-option), Serial

P04. Digital current/power monitor, INA226, I2C

P0401. Digital current/power monitor, INA226, I2C

I2C Logic Converter G01. DC Logic level converter 4ch, I2C

G0101~G0110. DC Logic level converter 4ch, I2C

F01. Analog Multiplexer 16ch CD74HC4067(CMOS, MUX)

F0101. Analog Multiplexer 16ch CD74HC4067(CMOS, MUX) **

Device and Accessories
A01. Arduino Uno R3 A02. Arduino Uno R4 A03. Raspberry Pi 5 Raspberry Pi 5 Active Cooler 7” Touch-Screen Monitor(1024X600) A04. Air bubble diffuser stone(microbubble diffuser-nano bubble stone- 300mm) A05. X1003 PCIE M.2 SSD expansion board ** A06. UPS

A0601. raspberry5 UPS 5V5A ** A0602. 5V/2A(USB) 10000ma/h UPS

A07. Micro SD card reader module

A0701. Micro SD card SPI interface Reader module A0702. Data logging shield (for Arduino/raspberry pi)**

Hydroponic kit Plastic Nursery basket + Nursery sponge + Insulation Lids** (for carrot, romaine lettuce, Tomatoes, Mint, Celery, Pepper, Basil, shallot…)

Detecting(Testing) device Mobile TDS meter Mobile PH meter Light LUX meter Mobile CO2, air / Temperature & humidity meter ** WIFI dual power(energy) meter

George-of-jungle commented 5 days ago

test...1.2.3

ericwindy commented 5 days ago

test...1.2.3

go away...right now!

George-of-jungle commented 5 days ago

test...1.2.3

go away...right now!

ha ha. me to...you idiot