Multiplexing multiple I2C sensors: TCA/PCA9548A

One of the major limitations to I2C is the inherent address conflicts when you try to bus multiple sensors of the same type/family together. While all sensors have a default address, some give an option for a secondary, and fewer give tertiary addresses or beyond. Since most systems only have one I2C bus, you are limited in how many of those sensors are used.

The 9548 family of modules solves this problem: they are multiplexer.

(more…)

6DOF Accelerometer + Gyroscope

For general object control, a 6DOF is the most useful IMU, having 3 axises of Accelerometer and Gyroscope. While 9DOF adds a 3 axis magnetometer, those are generally not used for most projects unless you need absolute tracking of magnetic North, and are prepared to have noise filtering from any Electro-Motive Fields near the sensor.

(more…)

RasPi: Node Red with GUI

Node Red is an application built upon NodeJS which supports interfacing the GPIO pins of a Raspberry Pi via a webpage GUI.

It does not require that Apache or PHP be pre-installed, it can also run concurrently with Apache and PHP if they are.

(more…)

Analog to Digital Converters

Measuring voltages is a common task in electronics and is accomplished using Analog to Digital Converters. Some microcontrollers and Single-Board computers have them built in, but some do not.

(more…)

3DOF Accelerometer Vector/Angle Resolution

Accelerometers, by definition, are used to measure how fast an object is accelerating. While this is traditional in the horizontal X/Y plane, adding the Z axis can unlock a whole new level of capabilities – especially for orientation sensing.

(more…)