servo

  1. Mark Read

    B4J Code Snippet Arduino Radar

    Here is a radar display for use with an Arduino, servo motor and a HC-SR04. Its not yet perfect as the window resize is not working properly, except maximise window. Libraries required are at the top of the code. Sorry about the GIF, I am still trying to get to grips with ShareX. The Arduino...
  2. Peter Simpson

    B4R Code Snippet Using a PIR to rotate a servo (Emulating PIR opening/closing powered doors)

    SubName: Reading PIR sensor on digital pin 5 to rotate a servo on digital pin 4. Description: Basically this example is emulating opening and closing powered doors like in a shopping centre (shopping mall), superstore etc. You can use this simple code to monitor PIR sensors HC-SR501 or HC-SR505...
Top