User Tools

Site Tools


modularfaduino:cfdac2v

CFDAC-2V

This is a DAC module that can output 0~10VDC voltage.

View at our online store.

Electrical specifications

  • DA output points: 2 channels
  • Output resolution: 12Bit (0 to 4094)
  • Output range: 0~10VDC
  • Error rate: ±0.1%
  • Load resistance: 270 ohms or more
  • Isolation: No isolation

Wiring method

Setting the module's address

* Up to 8 CFDAC-1Vs can be used in one system with different address settings of 0x00~0x07.

How to use the API

1. <html>

#include "CFMEGA.h"

</html> library registration

2. CFNET object creation: CFNET object name CFNET cfnet;

3. Call the function(s): Object name.analogWrite();cfnet.analogWrite(0, 0, 409);

-void analogWrite(u8 address, u8 channel, u16 data);

Outputs the voltage (0 ~ 10V) corresponding to the provided data value to the channel of the module at address.

  • address: The address of the module as configured by its DIP switch (0~7)
  • channel: Channel number (0~1)
  • data: 0 ~ 4094 values ​​(0 ~ 10Vdc)
#include "CFMEGA.h"
 
CFNET cfnet;
 
void setup() {
 }
 
void loop() {
 cfnet.analogWrite(0, 0, 409); //CH0 1V
 cfnet.analogWrite(0, 1, 2047); //CH1 5V
 delay(500);
}

Modular FADUINO

modularfaduino/cfdac2v.txt · Last modified: by 127.0.0.1