Good morning,
I believe you'll be able to help me. I have PIC30F2011 based PWM reader which communicates to PC using
via RS232 (MAX232) transceiver. Is it possible to replace PC with an Arduino which would be able to
decode the data received from PIC and show the required information using an LCD display.
Kind Regards.
Probably, yes. Arduino is able to receive and process data from serial port.
Thanks for your reply. Do I need to incorporate an RS 232 shield for that or MAX 232 already attached to PIC
would be sufficient?
If you want go via PIC's MAX232 then yes. The most used Arduino UNO and Mega have 5V logic so they could be connected directly (if PIC has 5V also and bypassed MAX232) but independently powered systems could have problems in case of different voltages so for less experienced users seems to be better to use RS232 shield.
Thanks for the reply. I will 232 give 232 shield a go and come back with results.
one more question, how would I determine the comm port number while there's no PC involved? thanks
aabir786:
one more question, how would I determine the comm port number while there's no PC involved? thanks
Why would you need a com port number if there is no PC involved. Com ports are what the PC uses to get the right input, they do not appear in any way in Arduino or PIC code.
"Com ports" are an Operating system thing, you tell the arduino which pin the serial stream is connected to.
I suggest you start looking at the arduino examples.