This section will show you how to build an IDE environment for
building applications with Grove - Mouse Encoder.
Refer to Seeeduino V4.2
[/Seeeduino_v4.2#Getting_Started_on_Windows](It is exchangeable
with Arduino board) for how to build a complete an IDE for your
applications, or read Arduino guide
[https://www.arduino.cc/en/Guide/HomePage] if you use Arduino
original board.
Basic demo
This demo shows how to detect position and detect direction.
Material required
Seeeduino V4.2
Base shield V2.0
USB cable (type A to micro type B)
Connections
Notes
1. Duty circle will be bigger if the speed of rotating is slow.
2. The pulse width (PW) will not be the same if rotating speed is not
constant.
3. The rotating speed is supposed to be low than 1000 rad/min or it will
lead to narrow output PW or cause damage to this encoder.
4. The output voltage will be uncertain (high or low voltage) for no
rotating circumstance since the position of pulse inside this encoder is
not certain.