ADC & DAC
ADC and DAC info on the M16C.
-
ADC does pressure sensing.
- This project uses the ADC to read pressure from an external pressure sensor.
-
ADC measures battery.
- This low power project uses the ADC to sample battery voltage and determine battery life.
-
ADC reads CdS cells.
- This project uses the ADC to read an array of CdS and report the size of a shipping package based on their input.
-
ADC reads pots as encoders.
- Project contains code to read full turn pots as rotary encoders.
-
ADC works with dual axis accelerometers.
- This very unique design uses the ADC to read 5, dual axis accelerometers. Very useful code and info on setting up the ADC channels.
-
DAC used for current loop
- This project uses the DAC to derrive a 4..20mA digital control loop. (HART industrial control buss.)
-
DTMF tone decode and generation.
- This project uses the ADC, DAC, and DMA peripherals to both generate and decode DTMF tones. Timer are setup to control ADC sample rates. Also include is some FFT code to aide in the process.
-
Engine Computer with Sensors using ADC
- Code for analog sensors connected to ADC.
-
Signal generator using DAC
- This project uses the onchip DAC to provide signal generation. Good info on using the M16C's DAC.
-
Temp and moisture sensing.
- This project uses the ADC to read temperature and sense moisture levels.
-
Using the ADC.
- This project is a good example of various sensors connected to the ADC. It also contains code to test the ADC seperate from the entire project.

