Arduino project - pump and ultrasonic sensor

Hello, I am a beginner using Arduino and I am currently constructing a disinfectant spray device. This system utilizes a water pump and ultra sonic sensor. This mechanism will be mounted to the top of a door and sense when someone walks past via ultra sonic sensors which will then activate the pump to be flown through misting nozzles attached to the bottom frame. I am having issues with the code. On the plotter it is reading “Pump on” however the mechanism is not firing. Please help. Thank you. Below will be a picture of the code.

Post code, not pictures.
Post a schematic too.

Why do you think this is an installation issue?

This assignment surfaces again.
Read this on how to post here and get results:

This is a new user.

Correct, but the assignment is not.

1 Like

@oolives72
I have moved your question to a more appropriate part of the forum. Please follow the advice given to you by @er_name_not_found

Thank you.

`Here’s a picture of my foot, can you save me a trip to the doctor?

2 Likes

No, but I can call a toe-truck.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.