MBed LPC1768 and ADXL345 GY-291 example

2nd December 2016,   has blogged 13  posts

The ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16g. Digital output data is formatted as 16-bit twos complement and is accessible through either a SPI (3- or 4-wire) or I2C digital interface. The ADXL345 is well suited for mobile device applications. It measures the static …

Espruino and an MCP9808 digital temperature sensor

2nd December 2016,   has blogged 13  posts

MCP9808 digital temperature sensor example The MCP9808 digital temperature sensor converts temperatures between -20°C and +100°C to a digital word with ±0.5°C (max.) accuracy. The MCP9808 comes with user-programmable registers that provide flexibility for temperature sensing applications. The registers allow user-selectable settings such as Shutdown or low-power modes and the specification of temperature Event and …

Attiny2313 flashing LED examnple

2nd December 2016,   has blogged 13  posts

This was one of the first Attint chips that I looked at, so I decided to create a simple DIY development board (more on that later) and create some basic examples to play around with Not a very exciting example, just the usual flashing LED example with a couple of LEDs connected to our attiny, …

Atmega16 and 74HC595 shift register example

1st December 2016,   has blogged 13  posts

Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8 LEDs via your PIC, that can restrict the amount of outputs you would have available to drive other devices. Instead of this we can use …

Wemos and MAG3110 magnetometer

30th November 2016,   has blogged 13  posts

Freescale’s MAG3110 is a small, low-power, digital 3-axis magnetometer. The device can be used in conjunction with a 3-axis accelerometer to realize an orientation independent electronic compass that can provide accurate heading information. It features a standard I2C serial interface output and smart embedded functions. The MAG3110 is capable of measuring magnetic fields with an output …

NodeMCU v2 Lua based ESP8266 development kit

30th November 2016,   has blogged 13  posts

I recently bought one of the NodeMCU v2 – Lua based ESP8266 development kit, here we will take a look at it The Development Kit based on ESP8266, integrates GPIO, PWM, IIC, 1-Wire and ADC all in one board. Power your developement in the fastest way combinating with NodeMCU Firmware! The board has the following features …

PIC16F877 and a 7 segment display

30th November 2016,   has blogged 13  posts

In this example we will show you how to connect a 7 segment display to our PIC16F877. You can think of a 7 segment display as 7 individual LEDs in a configuration like the picture below. Image 1 shows the layout and image 2 shows how the segments are arranged So by lighting certain segments …

Wemos and LM35 temperature sensor

30th November 2016,   has blogged 13  posts

In this example we will connect an LM35 temperature sensor to our Arduino The LM35 series are precision integrated-circuit temperature sensors, whose output voltage is linearly proportional to the Celsius (Centigrade) temperature. The LM35 thus has an advantage over linear temperature sensors calibrated in Kelvin, as the user is not required to subtract a large …

Raspberry Pi and MMA7455 example

30th November 2016,   has blogged 13  posts

The MMA7455L is a Digital Output (I2C/SPI), low power, low profile capacitive micromachined accelerometer featuring signal conditioning, a low pass filter, temperature compensation, self-test, configurable to detect 0g through interrupt pins (INT1 or INT2), and pulse detect for quick motion detection. 0g offset and sensitivity are factory set and require no external devices. The 0g …

Arduino and a MMA8451 accelerometer

30th November 2016,   has blogged 13  posts

The MMA8451 is a low-power, three-axis capacitive accelerometer with 14 bits of resolution, featuring: Embedded functions with flexible user-programmable options, configurable to two interrupt pins Embedded interrupt functions for overall power savings relieving the host processor from continuously polling data Access to both low-pass filtered data as well as high-pass filtered data, which minimizes the …

Raspberry Pi and HDC1008 temperature sensor

30th November 2016,   has blogged 13  posts

The HDC1008 is a digital humidity sensor with integrated temperature sensor that provides excellent measurement accuracy at very low power. The device measures humidity based on a novel capacitive sensor. The humidity and temperature sensors are factory calibrated.   The sensing element of the HDC1008 is placed on the bottom part of the device, which …

Raspberry Pi and HMC5883 example

30th November 2016,   has blogged 13  posts

The Honeywell HMC5883L is a surface-mount, multi-chip module designed for low-field magnetic sensing with a digital interface for applications such as low-cost compassing and magnetometry. The HMC5883L includes our state-of-the-art, high-resolution HMC118X series magneto-resistive sensors plus an ASIC containing amplification, automatic degaussing strap drivers, offset cancellation, and a 12-bit ADC that enables 1° to 2° …