MSP-EXP430F5529 & CCS: Read and show ADC voltage

In this publication we will see another example of the 12-bit ADC, we will use the potentiometer of this board, on the screen we will show the ADC bits and the corresponding voltage.

Firmware:
The first task was to get a function to move from floating to array, i used the InDevice version, I have added those functions to a couple of files, called special.h and special.c, that will be where you have some common functions for MSPs and it is easier to add them to our projects.

The code that makes this possible:

Here is a photo showing the voltage measured with a multimeter:


Video:
Here a small video of the working temperature sensor.


Download:
Here the direct link to DOWNLOAD the available files, you can also check or download the information from my repository on GitHub, if you do not know how to download it you can check here, well for now it's all, if you have doubts, comments, suggestions, concerns, etc. leave them and I will try to answer as soon as possible.


Donations:
If you like the content or if the resources are useful to you, share the link on your social networks or sites where you think it may be of interest, you can also help me with a donation to continue making publications and improve the content of the site. You can also donate in kind, for example components, development boards or tools. Contact me to talk or you can become one of our sponsors.


I ask for feedback notifying each time a link does not work or has errors when opening it, as well as if an image is not visible or does not load, to correct it in the shortest possible time.


Bibliography:

Publicar un comentario

0 Comentarios