I want to connect it to the Estimote Location Beacon and get the data. I have tried connecting it like this:
GND sensor pin to GND Beacon pin
VCC sensor pin to Vcc IN Beacon pin
OUT sensor pin to GPIO0 Beacon pin
How do I need to set up GPIO0 pin from the mobile app? I have tried all the app options from the GPIO0 but I was unable to read any data from the sensor.
What is the correct way to read data from such a sensor?
connect Sensorâs VCC to a battery/power [âplusâ] (consult the Sensorâs specs/docs to learn what exact voltage/current you need)
connect both Sensorâs GND and Beaconâs GND to the batteryâs/powerâs ground [âminusâ]
connect Sensorâs OUT to Beaconâs GPIO0/1 set to âInputâ mode
You canât connect Sensorâs VCC to Beaconâs VCC_IN, because as the name suggests, itâs for input only, if you want to power your beacon with external power and not the batteries. (Thereâs a chance you can connect Sensorâs VCC to Beaconâs GPIO0/1 thatâs set to âOutputâ and to state âHighââour Beacon doesnât output much current, but it might be enough for your Sensor.)
You canât connect GNDs together, because you actually need to supply ground to both these pins (:
Also, keep in mind that Beaconâs GPIO ports work in two states: high and low, so it might be difficult/impossible to read from your sensor without a more complicated circuit that converts the analog data to digital data.
Also, keep in mind Location Beacons have built-in temperature and light sensors (:
Thank you for your answer. I have managed to get the âHighâ value if sensor has values > 0 and âLowâ if data from sensor is 0. It is not what we desired but good enough for our small scale project.