Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

PIC18f452 real time programming help

Status
Not open for further replies.

erictham83

New Member
I suppose to write a program so that it can directly read the accelerometer output on the PIC18f452 and show on the computer. But i had no idea how can i write the program to perform such function. The PIC18f452 is connect to PC throgh MAX232 and DB9 cable.

Can anyone teach me how to write such programming in C++ language (if possible)? Thanks
 
Microcontrollers use C, not C++. HTSoft's PICC18 and Microchip's free MCC18 are good compilers.

The accelerometer may or may not be readable with the PIC's ADC. The resolution is only 10 bits, it does not have a differential mode, and has a max recommended input impedance of 2.5kOhms.

You will use the 452's hardware USART to perform serial communication.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top