Skip to content

Demo program to read precise low voltages with an external 16 bit ADC

Notifications You must be signed in to change notification settings

antonin-leclercq/f072_voltmeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

f072_voltmeter

This project uses an STM32F072 Cortex M0 based MCU in combination with a CS5509 16 bit ADC to read voltages from 0V up to 3V in unipolar mode.
In this current configuration, fed by a 32.768kHz clock, the ADC sends data at 20 Samples/s through the SPI protocol.
The microcontroller then sends this data to the USART peripheral. For more precise applications, look at this application note

Pin connections

STM32F072 Connection
PA2 USART TX
PA3 USART RX
PA5 SPI SCK
PA6 SPI MISO
PA7 (unused) SPI MOSI
PC5 SPI CS
PC6 ADC CONV
PC7 ADC DRDY
PC8 ADC CAL
PA8 ADC CLOCK

About

Demo program to read precise low voltages with an external 16 bit ADC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published