Trích:
Nguyên văn bởi namqn
What kind of equipment do you want to control with PIC16F877?
Is it necessary to use RS-232 serial ports? Could you use other serial protocols such as I2C, SPI?
What is the requirement of the communication speed, data rate?
Cheers,
|
If the other serial protocols can do the job, it is ok to use them.
the equipements are: a Barometer and a Multimeter with serial port rs232, it can be adjusted on the following configurations:
Baud rates:9600, 4800, 2400, 1200, 300
Format: 8 bits no parỉty, or 7 bits even parity
Stop bit: Always 1
Can I use I2C or SPI?
Thanks in advance for any help you can provide.