Hi All,
i was hoping to be able to use Espruino to query some external sensors on Thingy:52
The basic idea is to connect an external analogue sensor, say soil moisture, to Thingy and let Thingy broadcast the sensor readings.
Very much like a combination of what is done with the Pico here to connect an external light sensor: https://www.espruino.com/Pico+Light+Sensor and the Thingy here to let it broadcast sensor values: https://www.espruino.com/Pixl.js+Wireless+Weather+Station
The Espruino-Thingy page at https://www.espruino.com/Thingy52#on-board-peripherals seems to suggest this is possible (Section "On BOard Peripherals") via // External IO outputs IOEXT0/1/2/3
However, I can find no further documentation/ tutorials on how to actually read the sensor values.
Any pointers to further information would be very much appreciated!
Thanks.
Bernd
@Bernd started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi All,
i was hoping to be able to use Espruino to query some external sensors on Thingy:52
The basic idea is to connect an external analogue sensor, say soil moisture, to Thingy and let Thingy broadcast the sensor readings.
Very much like a combination of what is done with the Pico here to connect an external light sensor: https://www.espruino.com/Pico+Light+Sensor and the Thingy here to let it broadcast sensor values: https://www.espruino.com/Pixl.js+Wireless+Weather+Station
The Espruino-Thingy page at https://www.espruino.com/Thingy52#on-board-peripherals
seems to suggest this is possible (Section "On BOard Peripherals") via
// External IO outputs
IOEXT0/1/2/3
However, I can find no further documentation/ tutorials on how to actually read the sensor values.
Any pointers to further information would be very much appreciated!
Thanks.
Bernd