User Manual
Table Of Contents
  VMA344 
V. 01 – 10/04/2019  6  ©Velleman nv 
 Serial.begin(9600); 
} 
void loop() 
{ 
 for (int i = 0; i < 256; i++) 
 { 
 Wire.beginTransmission(PCF8591); 
 Wire.write(0x40); // sets the PCF8591 into a DA mode 
 Wire.write(i); // sets the outputn 
 Wire.endTransmission(); 
 delay(500); 
 DACout = i; 
 RawValue0 = analogRead(Ain); 
 Voltage = (RawValue0 * 5.0 ) / 1024.0; 
 DACoutVolt = (DACout * 5.0)/256.0; 
 Serial.print("DAC Out = "); 
 Serial.print(DACout); 
 Serial.print("\tDAC Target Voltage = "); 
 Serial.print(DACoutVolt, 3); 
 Serial.print("\tRaw ADC Value = "); 
 Serial.print(RawValue0); 
 Serial.print("\tVoltage = "); 
 Serial.println(Voltage, 3); 
 } 
} 
10.  More Information 
Please refer to the VMA344 product page on 
www.velleman.eu for more information. 
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. For more info concerning this 
product and the latest version of this manual, please visit our website www.velleman.eu. The 
information in this manual is subject to change without prior notice. 
© COPYRIGHT NOTICE 
The copyright to this manual is owned by Velleman nv. All worldwide rights reserved. No part of this 
manual may be copied, reproduced, translated or reduced to any electronic medium or otherwise without the 
prior written consent of the copyright holder. 







