Monday, 6 July 2015

PIC18F4455 ADC Sampling and Writing to SDCard FlowCode Simulation

In this project "ADC Sampling and Writing to SDCard" PIC series micro controller - PIC18F4455 has been used with Liquid Crystal Display (16X2) in Flowcode Simulation Software.As Source of ADC Metal POT (PotentioMeter ) has been used as the variables for desired results and final results are being written to SD Card FAT16 Type.

In this example we are using LCD to display the results of ADC calculation as seen in the examples code and videos.You can manipulate the POT while sampling is going on.As per concept of sampling POT should be kept at desired position to emulate it as sensor and then sampling needs to be done.

Here is the Flow code program:


ADC Related Sample Projects and Programming Codes
  1. ADC-Voltage as Float(LCD with PIC16F1937)
  2. ADC Sampling and outputting to a LCD(LCD with PIC16F1937)
  3. Voltage as String Displaying Value On LCD with PIC16F1937
  4. ADC Simulation In Flow Code
Here is the complete list of projects:

Tutorials for Flow Code Programming and Simulation

We are doing 10 Samples per cycle.In video you will be able to see step-wise execution of program and their effect on LCD in panel which is by default in the software .


Flow code Simulation and how to do Video Tutorial:


Little Introduction:An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts a continuous physical quantity (usually voltage) to a digital number that represents the quantity's amplitude.The conversion involves quantization of the input, so it necessarily introduces a small amount of error. Instead of doing a single conversion, an ADC often performs the conversions ("samples" the input) periodically.

Readers' Choice