VMA453 USER MANUAL 2
VMA453 USER MANUAL 1. Introduction To all residents of the European Union Important environmental information about this product This symbol on the device or the package indicates that disposal of the device after its lifecycle could harm the environment. Do not dispose of the unit (or batteries) as unsorted municipal waste; it should be taken to a specialized company for recycling. This device should be returned to your distributor or to a local recycling service. Respect the local environmental rules.
VMA453 4. What is Arduino® Arduino® is an open-source prototyping platform based in easy-to-use hardware and software. Arduino® boards are able to read inputs – light-on sensor, a finger on a button or a Twitter message – and turn it into an output – activating of a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board.
VMA453 7. VMA453/ADS1115 16-Bit ADC Module I2C Addressing The ADS11x5 chips have a base 7-bit I2C address of 0x48 (1001000) and a clever addressing scheme that allows four different addresses using just one address pin (named ADDR for ADDRess). To program the address, connect the address pin as follows: 8.
VMA453 2. Open the Arduino® IDE and load the Adafruit_ADS1X15-master.zip library as following (available on our website). 3. Load the VMA453_example_sketch.ino (available on our website). 4. Compile and upload the example. 5. Open the serial monitor (be sure the baud rate is 9600). This should be the result: 9. Used Example Code #include #include Adafruit_ADS1115 ads(0x48); float Voltage = 0.0; void setup(void) { Serial.begin(9600); ads.begin(); } V.
VMA453 void loop(void) { int16_t adc0; // we read from the ADC, we have a sixteen bit integer as a result adc0 = ads.readADC_SingleEnded(0); Voltage = (adc0 * 0.1875)/1000; Serial.print("AIN0: "); Serial.print(adc0); Serial.print("\tVoltage: "); Serial.println(Voltage, 7); Serial.println(); delay(1000); } Use this device with original accessories only. Velleman nv cannot be held responsible in the event of damage or injury resulting from (incorrect) use of this device.
Velleman® Service and Quality Warranty Since its foundation in 1972, Velleman® acquired extensive experience in the electronics world and currently distributes its products in over 85 countries. All our products fulfil strict quality requirements and legal stipulations in the EU. In order to ensure the quality, our products regularly go through an extra quality check, both by an internal quality department and by specialized external organisations.