Welcome to the Finch and Hummingbird Server
If you have a Finch plugged in, use the following URLs to control it:
- finch/out/motor/left/right
- finch/out/buzzer/frequency/duration
- finch/out/led/red/green/blue
- finch/change/motor/left/right
- finch/change/led/red/green/blue
- finch/in/lights
- finch/in/lightLeft
- finch/in/lightRight
- finch/in/obstacles
- finch/in/obstacleLeft
- finch/in/obstacleRight
- finch/in/accelerations
- finch/in/accelerationX
- finch/in/accelerationY
- finch/in/accelerationZ
- finch/in/temperature
- finch/in/motor (provides current value of motor speeds)
- finch/in/led (provides current RGB color intensities of LED)
For Hummingbird, do:
- hummingbird/out/motor/port/speed (port 1 or 2, speed -100 to 100, or to change current speed, prepend + or ~, for example setting speed to ~10 will decrease current speed by 10)
- hummingbird/out/servo/port/position (port 1 to 4, position 0 to 180, or to change current angle, prepend + or ~)
- hummingbird/out/vibration/port/speed (port 1 or 2, speed 0 to 100, or to change current speed, prepend + or ~)
- hummingbird/out/led/port/intensity (port 1 to 4, intensity 0 to 100, or to change current intensity, prepend + or ~)
- hummingbird/out/triled/port/R/G/B (port 1 or 2, R, G, B are intensities 0 to 100, or to change current intensity, prepend + or ~)
- hummingbird/change/motor/port/speed (port 1 or 2, changes current speed)
- hummingbird/change/servo/port/position (port 1 to 4, changes current angle)
- hummingbird/change/vibration/port/speed (port 1 or 2, changes current speed)
- hummingbird/change/led/port/intensity (port 1 to 4, changes current intensity)
- hummingbird/change/triled/port/R/G/B (port 1 or 2, changes current intensities)
- hummingbird/in/sensors (all four sensors, scaled to 0 to 100)
- hummingbird/in/sensor/position (value at position x)
- hummingbird/in/distance/position (value at position x in cm if it's a distance sensor)
- hummingbird/in/sound/position (value at position x in units (0 to 100) if it's a sound sensor)
- hummingbird/in/temperature/position (value at position x if it's a temperature sensor)
- hummingbird/in/motor/port (provides current speed)
- hummingbird/in/servo/port (provides current angle)
- hummingbird/in/vibration/port (provides current speed)
- hummingbird/in/led/port (provides current intensity)
- hummingbird/in/triled/port (provides current intensities)
More at www.finchrobot.com and www.hummingbirdkit.com
Here's a little easter egg you can run without Finch or Hummingbird; we've given you a text to speech converter:
- speak/whatever you want to have the computer say