Using accelerometer on TeensyWiNo

The TeensyWiNo embeds a triple-axis accelerometer and a digital compass (magnetometer) bundle in the same component : the LSM303CTR made STMicroelectronics. It as a I2C component that allow you to to measure acceleration or direction towards the center or the earth (by measuring gravity), and measure magnetic force in order to locate magnetic north. What […]

MQTT with Mosquitto broker

MQTT (MQ Telemetry Transport) is an ISO standard (ISO/IEC PRF 20922) publish-subscribe-based messaging protocol for use on top of the TCP/IP protocol. Topics All messages in MQTT are organized into a tree structure. This is an example : room/kitchen/sensor/temperature/1 room/bedroom/sensor/door/3 In MQTT you can use wildcards on topics. There is two wildcards : “+” : […]

TeensyWiNo antenna tutorial

The TeensyWiNo shield does not embed an integrated antenna: connecting an antenna to the TeensyWiNo shield is mandatory. Always connect the antenna before powering the TeensyWiNo. Using a TeensyWiNo without antenna can destroy the hardware. There are 3 antenna options: connecting a SMA antenna via the 18cm UFL pigtail in the kit, soldering a 1/4 […]

Typical TeensyWiNo radio ranges

The TeensyWiNo radio range depends on: the antenna, the transmission power and the modulation, the environment: outdoor, indoor (walls, etc.). See the TeensyWiNo antenna tutorial to choose the appropriate antenna. You may also set the appropriate txPower and modulation. With the following configuration, a indoor range of 30m can be achieved with the DIY spring […]

Using the TSL2561 on the TeensyWiNo

The TeensyWiNo includes a Luminosity Sensor, a TSL2561. To use this sensor, use the libraries Adafruit_Sensor and Adafruit_TSL2561 as described in the Documentation. The library works out-of-the-box, except that you must change TSL2561_ADDR_FLOAT to TSL2561_ADDR_LOW. It will modify the I2C address used. We can have three TSL2561 on the same I2C bus. Then use the […]