Use the Adafruit MCP4725 with a Raspberry PI, in Java
Send an analog signal
The board we are talking about here is this one.
We assume you've enabled I2C on the Raspberry PI.
What this demo does
The Raspberry PI is sending a sinusoid signal to the led, and as a result, the led is glowing up and down, and not just blinking on and off.
|VDD||1. 3V3 VDC Power|
|GND||6. 0V (Ground)||Short pin (ground)|
|SDA||3. SDA0 (I2C)|
|SCL||5. SCL0 (I2C)|
|VOUT||Long pin, through a 270 Ω resistor||
Launch the script located in the
DAC directory, named
And here is what it could look like:
Oliv did it