If you are using our analog sensors connected to the Hummingbird with the Vernier BTA Sensor Adapter you can use any programming language supported by Hummingbird to program your robot. It appears that the most commonly used languages are Scratch and Snap!

Scratch uses the following sensor block: HB voltage. This returns the raw analog voltage reading at the sensor port, range is 0.00V to 5.00V.

Snap! uses the following sensor block: Hummingbird Raw Sensor. This returns the raw sensor value at the port; range is 0 to 100 and corresponds to the DC voltage at the port. A voltage of 5V is equivalent to a reading of 100, and a voltage of 0V is equivalent to a reading of 0.

In order to convert this sensor reading into meaningful sensor data, you will need to apply a calibration equation to this raw data. Here are some examples of the control blocks used to convert the raw data into an sensor reading, using sensor calibration information found in Vernier Sensor User Manuals.

3808-Scratch-Snap.png

Do Vernier sensors work with the Hummingbird robotics system made by Birdbrain Technologies?