I have breadboards with ATmega328Ps and low cost RF Link transmitters/receivers. I would like to monitor the RF communications with TeraTerm or equivalent, but it seems I need 2 UARTS to do this and the 328P only provides one. Is there am easy solution? Software? Technique? or a DIP UART?
Software (bit-banged) serial sending is not hard to do. There should be many examples on the web to do this in an ATmega.
I do this with PIC’s frequently as a diagnostic tool.
skinman:
I have breadboards with ATmega328Ps and low cost RF Link transmitters/receivers. I would like to monitor the RF communications with TeraTerm or equivalent, but it seems I need 2 UARTS to do this and the 328P only provides one. Is there am easy solution? Software? Technique? or a DIP UART?
Perhaps you can avoid another UART by simply eavesdropping on the data going one way or the other. A PC or microprocessor can connect the RX data line and GND, and eavesdrop without sending. Of course, mind the voltage levels (RS232 versus 3.3V/5V), and the data polarity (inversions). So for this case, there’d be two UARTs receiving.
I think it is time to learn bit-banging, thanks! I assume I can use any available pin on any available port?
I kind of had that working, then decided I needed to output both RS232 and wireless. Thanks.stevech:
… eavesdropping …