temtronic
Joined: 01 Jul 2010 Posts: 9241 Location: Greensville,Ontario
|
|
Posted: Fri Apr 22, 2022 5:14 am |
|
|
yes.
had a quick look at the datasheet and providing you're running the PIC at 3 volts, the interface is simple. I assume you're using a 'module' and not just the 'chip'....
Since it runs 'AT' commands, actual software should be easy to code and test as well.
You will of course have to use the HW UART of the 4550 and create an ISR with buffer. Look at EX_SISR.C as a basis for that.
Start with a simple test program, say to request and read the 'version' or 'ID' of the device. Once that works, ask for data from other 'registers', then set some registers data, read to confirm that data is correct. Add a couple LEDs and resistors, send the commands to turn them on/off. If these steps work, then you can write your 'real' program. |
|