|
The product number of mCookie Sensor—Gesture is : MSDI81
mCookie Sensor-Gesture is APDS9960.
Instruction of Sensor Pin
|
- Pins of the sensor:
- PIN1: GND
- PIN2: VCC
- General signal pins:
- PIN3(IO1): digital/analog signal
- PIN4(IO2): NC(null)
- Special signal pins:
- If it is IIC: IO1/IO2 are respectively SDA/SCL.
- If it is soft serial port: IO1/IO2 are respectively tx/rx.
|
Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.
|
Features
- With high detection and good stability.
- A linear hall sensor with a polarity.
Specification
- Size of the sensor
- Sensor of the board: 23.5mm*13mm
- 1.27mm-spacing 4Pin interface connected with sensorhub
- CAD drawing of the sensor: File:Sensor CAD.zip
- Function description
- This sensor is 10-bit ADC(0~1023), and the static value pin IO1 get is 512.
- The magnetic strength varies from north to south pole.
- If approach to the hall circuit with N pole from the back, the output voltage will reduce, and so will the analog value(512~0).
- If approach to the hall circuit with S pole from the back, the output voltage will increase, and the analog input value will increase(512~1023).
- If approach from the front, the output state is positive.
- Connection
- This sensor can be connected to the following interfaces of the core: A0~A7
Document
Development
Program Download
Programming
Hardware Setup
- Referring to the following picture, connect Sensor-Hall to the analog port A0 of Microduino-Sensorhub.
Result
- After download, open the serial monitor.
- If approach to the hall circuit with S pole from the back, the output voltage of the two ends of hall sensor is between 2.5V~5V, and the returned analog value is between 512~1023.
- If approach to the hall circuit with the N pole from the back, the output voltage is between 2.5V~0V, and the returned analog value is between 512~0.
- If from the front, the output state is positive.
Application
- It can be used to detect the magnetic field strength.
Projects
Purchase
History
Gallery
|