yantheman
Newbie level 6
Hi, Im connecting an acceleremoter to the target board and wish to display its value on the accelerometer but has to first go through the ADC to convert voltage to digital value. However I have some difficulties. The ADC has only one input which is RA0. The LCD has the control lines and the data lines. My accelerometer has only two outputs, which means measures the X and Y. Question is, how do i connect up my accelerometer to the ADC and to display the result on the LCD ? Anyway im using PIC18F452.
Added after 1 minutes:
the control line that is being stated from microchip itself is RA3 - RA1 and data lines RD3 - RD0. So I just connect the X and Y out to any analog input and then what ? Does it performs the ADC from the codes or do I have to connect any other connection ? What is the connection to display it to the LCD? I dont quite get what you trying to say. Im kindda new to this thing.
Added after 1 minutes:
the control line that is being stated from microchip itself is RA3 - RA1 and data lines RD3 - RD0. So I just connect the X and Y out to any analog input and then what ? Does it performs the ADC from the codes or do I have to connect any other connection ? What is the connection to display it to the LCD? I dont quite get what you trying to say. Im kindda new to this thing.