I am doing a project on smoke sensor MQ – 02, with the motherboard being PGM220P (not Arduino). I need to get the voltage number (from 1 to 5V) so I can change it to PPM and print it on the console.
I need to get the voltage (from 1 to 5v) from the analog output pin from MQ – 02 (smoke sensor). Then, I will transport it to PPM then print it on the console. PGM220P is developed by Silab, I’m using Simplicity Studio 5 to program my project.
Max is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.