altRobots
/robotigs/icons/actuator.pngActuatoren
/robotigs/icons/printboards.pngAlgemeen
/robotigs/icons/chassis.pngChassis
/robotigs/icons/arduino_logo.pngµControllers
/robotigs/icons/florigs.pngFlorigs
/robotigs/icons/interfacing.gifInterfacing
/robotigs/icons/microphone_icon.pngMuziek
/robotigs/icons/musicKey_icon.pngMuzikanten
/robotigs/icons/shield.pngSchildjes
/robotigs/icons/sensors.gifSensors
/robotigs/icons/languages.pngTalen
/robotigs/icons/battery.pngVoedingen
altContact
Snelheid encoders/robotigs/icons/login_key.png    alt  
Beschrijving
Speed encoders like this one are not considered to be very reliable for absolute positioning. But if you want to use them to give 2 wheels the same speed they might do a sufficient job. I first started with the HC-020K brick. This is absolutely a case of more is worse. Just the sensor works perfect, the brick does not. So don`t buy the brick, just buy the cheaper WYC H206 sensor. Because of its 3mm mounting holes it fits easily in many designs.

The IR LED must be placed in series with a current limiting resistor just as any LED. Not visible but I also used the internal pull-up resistor on the interrupt pin to which the encoders are connected to. The other side of this switching transistor is connected to the GND ⏚. All the rest is software. And sweat. And interrupts, since these sensors each need an interrupt.


Algemene informatie over dit onderdeel
KYcode KY-010
Prijs indicatie  €  0,73
Sketch voorbeeld  Arduino
Pinout tekst  Connections
Menu groep  Sensors
Laatste verandering  2018-07-24

Software voor dit onderdeel
BolderbotMiniInterrupt.ino  Arduino Mega 2560
BolderbotMiniParty.ino  Arduino Mega 2560
KY-010.ino  Arduino Mega 2560
Just wait till your 57....
Afb 1: Old men reading the type

Just wait till your 57....
Afb 2: HC-020 = No Go