Hi Guys,
I have been working on a Doll house for my kids with a working elevator, 3 levels. After finally getting a program working with the HC-SR04, I decided to build it into the doll house. Unfortunately it seems the sensors is detecting the sides of the elevator shaft instead of the elevator itself. It reads 6-8cm if the elevator is above 13cm. I also think that the elevator will not stay at 90deg in the shaft with kids playing with it. When I tested outside of the doll house the sensor had no obstakels but my hand.
Do you guys have any advice? Another distance sensor, use switches or another form of detection?
See attached images
Thanks!
Lift_Definitief.ino (7.23 KB)