Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 4th May 2006, 05:16 AM   #1
Cool Pic18f452

Im using PIC18F452, ADXL203 and the given microchip target board. Im trying to read the 2 analog output of the accelerometer and do a ADC and display the digital value on an LCD. The connection is as shown in the attachment. Just checking is the connection correct? Anything missing ? Is my analog input correct as someone pointed to me that RE port cannot be used.
Attached Thumbnails
Pic18f452-connections.jpg  
yantheman is offline  
Old 4th May 2006, 05:17 PM   #2
Default

Yeah, I believe all the analog inputs are on PortA. Check your spec sheet.

The output impedance of the ADXL devices is 32k ohms, at least the ones I know. That is FAR too high to provide to a PIC which needs 2.5k ohms max to live up to its full specifications.
Also the ADXL devices need to be band-limited. Simply put a cap on the output, the cap will make an RC filter with the internal 32k output resistance to make a lowpass filter. You want to get rid of not only the noise but any signal made from vibrations which are undesirable to capture.

What is the purpose of the input on RA0?
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes.
Oznog is offline  
Reply

Tags
pic

Thread Tools
Display Modes




All times are GMT. The time now is 03:52 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker