Control Servo Motor

  • Place FunKey Freedom in I/O mode if it isn't already (short D/K with alligator and plug in the USB cable)
  • Unplug USB cable for now
  • Remove the blue servo motor from its bag and take out the longest white plastic part.  It's called the "horn". Place the horn onto the white shaft of the servo motor, pushing it all the way in so it's secure.
  • Attach servo motor black triple pin connector to F port with the orange wire to the S pin, the red wire to the + pin and the brown cable to the - pin.  
  • Attach the IR Proximity sensor to the L port.  On the sensor, the connections are white to out, black to gnd and red to vcc.  On the board the connections are white to s, red to + and black to -
  • After you have made these connections, plug in the USB cable.
  • The IR proximity sensor should now control the servo motor, turning it 90 degrees when the proximity sensor detects something close by.
  • Using cardboard, tape, etc. construct a creation where the servo motor operates something when the proximity sensor detects an obstacle.
  • You can make an "ezpass" system where the proximity sensor detects a toy car and lifts the gate.
  • You can make a user-playable ping pong baseball game or miniature golf where the proximity sensor is used as a switch to control the "bat" or "club".
  • The videos below might help for ideas, even though the connections are not exactly the same as you will use.