First tests of accelerometer ADXL335 using I2C controlled 20×4 LCD
For the tests I used already installed for 16×2 display module LiquidCrystal_I2C library (see distance meter and other posts)
The accelerometer IC itself is described on Analog Devices and has pretty simple interface when mounted on GY-61 board. There are just 3 connectors for each direction acceleration analog signals and power. It seems that one can power GY-61 module with 5V but I sticked to 3v3 and also used it as the reference voltage for analog input. Continue reading ADXL335 I2C 2004 LCD
Simple ultrasonic sensor module HC-SR04 and 1602 LCD display were combined into useable digital yardstick.
Two versions of the sensor module from different suppliers worked similar way. The right one sometimes (name printed in the middle) had sometimes tendency to keep once entered “out of range” state forever. Simple transistor to switch on/off VCC did the trick – if the “out of range” state was longer than 1 second the module was switched off and switched on back.
The sensor is ooperated by standard Arduino commands, and the display is controlled by the object from LiquidCrystal_I2C library https://bitbucket.org/fmalpartida/new-liquidcrystal/downloads/LiquidCrystal_V1.2.1.zip
Continue reading HC-SR04 and 1602
13.56MHz RFID reader RC522 with optional LCD 16×02 (1602) module and dual color diode connected.
Basic setup with just UNO and reader connected – see below. The code for such case with reading tags and using Serial output could be located in AddicoreRFID library.
Continue reading RFID RC522 test
Basic setup to test HMC5883 on GY-273
Just connect: GND, VCC (5V), SCL and SDA (I2C standard signals) to your Arduino. Older versions could use A4 for SDA and A5 for SCL, but with most up-to-date boards appropriate dedicated pins (see green and purple connection lines) could be used,
And another image with shorter connectors: Continue reading HMC5883 GY-273 test