This experiment moves a Little Crane arm (used some Lego parts) up and down via browser connected to a B4J websocket server.
When the arm moves, the Red LED is turned on else the Green LED is on (waiting for the servo to move).
Servo
The servo moves the arm between 30 and 90 degrees angle (defined in the server settings file located in the dirapp folder littlecrane.set [a map]).
Depending on the servo used, pressing multiple times on a move button might be required to move the crane...
B4R/B4J Experiment - Control Servo Motor connected to Arduino via Browser
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/28Iuccv
via IFTTT
samedi 2 juillet 2016
B4R/B4J Experiment - Control Servo Motor connected to Arduino via Browser
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire