The Arduino MKR WiFi 1010 board comes with male pins on bottom side and female header on top. It makes it easy to connect external sensors with both female and male herders. The board also has a Qwiic connector but no Grove connector. For my warehouse worker safety project I need to connect a grove DHT11 temperature and humidity sensor and a grove air quality sensor. As the board has no grove connector and I don't have any grove shield for the MKR board, I prepared a PCB using a piece of perf-board.
I cut a Grove cable in the middle and solder both pieces into the PCB board so that I can connect two sensors. DHT11 sensor needs a digital pin and air quality sensor need an analog pin to communicate with Arduino.
The above image shows the connections of Grove cable with the PCB board.
Arduino MKR 1010 is plugged into the PCB.
After making the PCB and connecting the sensors I downloaded the DHT11 library to Arduino IDE.
Then I downloaded Grove Air Quality Sensor Library from the official GitHub link: https://github.com/Seeed-Studio/Grove_Air_quality_Sensor
Then from the board manager I downloaded Arduino SAMD Board file.
My environment is now ready to upload the code to Arduino MKR WiFi 1010 board and I am ready to go to the next step.