I have this project using this PIC24F04KA201. I have two inputs coming from two sensors, temp and load cell. I want to acquire the two data via serial port(RS232) to be plotted using MATLAB. This project is all about getting the moisture content of the soil using an oven that is controlled by the MCU, only on and off of the oven. The host computer will send first a command to turn on (and off if the weight becomes constant) the oven via a relay connected to one I/O pins of the MCU. Now, can somebody help me in writing the sequences of the codes, from 2 channel ADC to transmitting and receiving via UART.
Bookmarks