pi4j-v2 icon indicating copy to clipboard operation
pi4j-v2 copied to clipboard

Create ADC and DAC analog IO provider examples

Open savageautomate opened this issue 4 years ago • 5 comments

The Pi4J V2 API supports analog input and output providers and interfaces.
However, since the RaspberryPi does not include native analog support we should create some examples analog input and analog output providers as reference examples for others how wish to create their own IO providers.

See: https://github.com/DanielMartensson/OpenSourceLogger/issues/2

savageautomate avatar Jul 17 '20 14:07 savageautomate

I would recommend rewriting STM32 C libraries to Java. I have a repository about C libraries for STM32

DanielMartensson avatar Jul 17 '20 23:07 DanielMartensson

My ADS1115 library works good with Pi4J 2.0

DanielMartensson avatar Oct 07 '20 11:10 DanielMartensson

Daniel, you have a link?

FDelporte avatar Oct 07 '20 11:10 FDelporte

Daniel, you have a link?

https://github.com/DanielMartensson/OpenSourceLogger/blob/master/src/main/java/se/danielmartensson/pi4j/ADS1115_ADS1015.java

DanielMartensson avatar Oct 07 '20 16:10 DanielMartensson

@FDelporte

By the way! Do you have an example for PWM? Mine won't work for me in OpenSourceLogger repository. Else, the OpenSourceLogger works perfect. Excellent tool for logging 4-20 mA data into a database quick.

DanielMartensson avatar Oct 07 '20 18:10 DanielMartensson