background image

 

 

1. 

Copy the code and flash it into the controller board.

 

2.  Open monitor window. 

3.  Turn the screwdriver bit to left or left to see what will happen. 

The output: 

 

 

Resources

 

 

Schematic files

   

https://raw.githubusercontent.com/SeeedDocument/Grove-
Mouse_Encoder/master/res/Grove_Mouse_Encoder_v1.0_Schematic_File.zip 

 

Tech Support

 

Please submit any technical issue into our 

forum

 or drop mail to 

[email protected]

 

 

http://wiki.seeedstudio.com/Grove

Mouse_Encoder//5

24

1

 

Содержание Grove - Mouse Encoder

Страница 1: ...and programming Also it is well adapted to heavy duty and a harsh environment This product can be applied in toys robots and consumer input devices Note The rotating speed is designed to be less 1000 rad min radian per minute Features Versatile for different environment Well adapted for heavy duty and harsh environment With detents and a nice feel Standard Grove interface for easier programming an...

Страница 2: ...5 Operating current mA 10 13 Duty constant speed 50 Phase difference constant speed π 4 Pulse per circle 12 Notes 1 There is no knob included in product list Because we think it will make this encoder more versatile for different environments 2 You can find dimensions file in PDF format and you can customize a knob according to the dimensions Tip You can just use a suitable hexagonal screwdriver b...

Страница 3: ...Seeeduino V4 2 It is exchangeable with Arduino board for how to build a complete an IDE for your applications or read Arduino guide if you use Arduino original board 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 out...

Страница 4: ...ure Encoder Connect Encoder to Pins encoder0PinA encoder0PinB and 5V Sketch by max wolf www meso net v 0 1 very basic functions mw 20061220 int val int encoder0PinA 3 int encoder0PinB 4 int encoder0Pos 0 int encoder0PinALast LOW int n LOW void setup pinMode encoder0PinA INPUT pinMode encoder0PinB INPUT Serial begin 115200 void loop n digitalRead encoder0PinA if encoder0PinALast LOW n HIGH if digit...

Страница 5: ... what will happen The output Resources Schematic files https raw githubusercontent com SeeedDocument Grove Mouse_Encoder master res Grove_Mouse_Encoder_v1 0_Schematic_File zip Tech Support Please submit any technical issue into our forum or drop mail to techsupport seeed cc http wiki seeedstudio com Grove Mouse_Encoder 5 24 1 ...

Отзывы: