Specific value Voltage generator by PCF8591 module for Arduino boards.
- Open the project by platformio (platformio.org)
- Build and upload the project to your arduino board
- make connection between your Arduino board and PCF8591 module
- Input your a specific value in Serial monitor of Arduino IDE between 0.00 <value<5.00 ; for example 0.01 or 3.75
- You will see the voltage output on the pin AOUT of PCF8591
- Use/install the library in /lib (PCF8591.zip)
- Move the code from /src/main.cpp to your project .ino
- Build and upload the project to your arduino board
- make connection between your Arduino board and PCF8591 module
- Input your a specific value in Serial monitor of Arduino IDE between 0.00 <value<5.00 ; for example 0.01 or 3.75
- You will see the voltage output on the pin AOUT of PCF8591
If you want to flash the code to your Arduino board by Arduino IDE, move the code inside /src/main.cpp to the main code of your Arduino IDE project (.ino) and install the library inside /lib (PCF8591.zip) to your Arduino IDE, then build & upload.
Arduino board (UNO) | PCF8591 Module |
---|---|
5V | VCC |
GND | GND |
A4 (SDA) | SDA |
A5 (SCL) | SCL |
See /Resources
🔵 Facebook: https://www.facebook.com/walidamriou
🔵 Twitter: https://twitter.com/walidamriou
🔵 Linkedin: https://www.linkedin.com/in/walidamriou
🔴 Email: contact [at] walidamriou [dot] com
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
You are free to:
- Share copy and redistribute the material in any medium or format
Under the following terms:
-
Attribution You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-
NonCommercial You may not use the material for commercial purposes.
-
NoDerivatives If you remix, transform, or build upon the material, you may not distribute the modified material.
-
No additional restrictions You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
the software or Code or Scripts or any files in this source is provided "as is" and the author disclaims all warranties with regard to this files including all implied warranties of merchantability and fitness. in no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software or code or scripts or any files in this source.