深圳矽递科技有限公司
主营产品:
2023年07月07日 09:02
Seeed官网地址: //www.seeedstudio.com/depot/setstore.php?store=dp 请将以上链接直接复制到浏览器地址栏后打开即可 Grove - Thumb Joystick is a Grove compatible module which is very similar to the 'analog' joystick on PS2 (PlayStation 2) controllers. Two direction movements will output different analog signals as they are actually two potentiometers. The resistor is ~10k for each. The joystick also has a push button that is could be used for special applications. When the module is in working mode it will output two analog values representing two directions. The value is restricted in a little smaller range (e.g 200~700)compared to the normal joystick, while it is around 1023 when the button is pushed, so that the MCU can detect the action of pressing. Features Grove Compatible, with 4pin universe 2.0mm connector 5V/3.3V Compatible Analog Output(Maximal value will be got when the button is pushed) For all Grove users (especially beginners), we provide you guidance PDF documents. Please download and read through and before your using of the product. Documents Please visit our for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials. For technical support, please post your questions to our . Model: Features Grove Interface 5V/3.3V Compatible Analog Output Application Ideas Game Controller Robot remote Specifications Item
Min
Typical
Max
UnitWorking VoltageOutput Analog Value (X coordinate)Output Analog Value (Y coordinate) 4.75 5.0 5.25 V 206 516 798 203 507 797 Usage The Grove - Thumb Joystick is an analog device that outputs analog signal ranging from 0 to 1023. That requires us to use the analog port of Arduino to take the readings. 1. Connect the module to the A0/A1 of using the 4-pin grove cable.
2. Plug the Grove - Basic Shield into Arduino.
3. Connect Arduino to PC by using a USB cable.
4. Copy and paste code below to a new Arduino sketch. Please click if you do not know how to upload.
联系方式