Project - Door automation using rainsensor.
Description: Rain sensor sense raining and closes door and when rain stops the door opens.
I was using this site as reference- https://techatronic.com/rain-detector-using-arduino-and-raindrop-sensor/
Refererred link is not detailed enough and there are some mistakes. Since this is my first ever project using arduino, I don't want to fry the components, so I am asking for help.
Using components:
- Rainsensor.
- Arduino Uno.
- Motor driver shield (https://a.co/d/99SSIZd)
- Dc motor (sourced from dvd writer)
Main issues -
- Since rainsensor is connected to Uno board, I can not mount the motor driver shield onto the Uno board directly. So I need to know which pin in motor driver shield should be connected to Uno board with jumper wire, to run a bidirectional dc motor. I want to use m1 in motor driver shield, so which pin takes input from Uno.
- Connection table, Code for the project if possible