This is going to be a summarised tutorial (one which is rather short).
In this tutorial, I'm gonna show you guys how to build a working weather station that can measure temp, humidity, pressure, luminance and the concentration of PM2.5 particulate matter in the environment, along with a STEMMA soil sensor to measure soil moisture (in analog) and soil temperature. This project also contains 2x Li-Ion batteries: 1 for powering the watering pump, and the other one for the Vidor. The values are sent to Blynk and allow for remote control of your project, if it is outside and you're at home, and for indoor watering, you can use Blynk or plug it into an HDMI port on your TV (The HDMI is just added to demonstrate the FPGA's power, you can disable it if you want by commenting out the entire void tv(); and tv (float,...); section).
Wiring:MKR ENV Shield
Just attach it/ plug it onto the top of the Vidor 4000, respecting the proper orientation of the pins.
STEMMA soil sensor
SDA --> SDA female pin
SCL --> SCL female pin
VCC --> VCC female pin
GND --> GND male pin
SPS30
VDD --> 5V female pin
RX of SPS30 --> TX female pin on Vidor
TX of SPS30 --> RX female pin on Vidor
SEL --> NC (not connected)
GND --> GND female pin
TIP120Transistor
Base --> Pin 7 female
Collector --> Pump Ground
Emitter --> Battery ground
Motorpump
Positive (red wire) --> Battery positive
Ground (Black wire) --> Collector of TIP120
Li-Ionbattery
Positive --> Motor positive
Ground --> Emitter of TIP120 transistor
CodeNow, upload the code given in the FPGArdening section at the end of the project
Values displayedOn Blynk:
Temperature (ENV)
Humidity
Pressure
PM2.5 particulate number concentration
Soil temperature
Soil moisture
Pump activation through remote I/O control
On TV (still in beta mode)
Temperature (ENV)
Humidity
Pressure
Soil temperature
Soil moisture
Comments
Please log in or sign up to comment.