I am done my project POC by using Arduino UNO and 1 GSM. In this I connected GSM Tx and Rx to 0,1 pins of Arduino.
But now I made a breakout board using Atmega168A here I connected Tx and Rx pin to 30 & 31 pins. But I am not getting any outputs.
SO, How can we check these pins are working or not?
This is the pin configuration of the chips.
In arduino it isAtmega328 controller. Rx & Tx 2&,3 pins (0,1 in arduino board) configured as default serial.
But I am using Atmega 168P, here 30 & 31 are Rx & Tx. When I connect these pins I was not getting any output.
I think I should write some code to open these lines.
You need to look at the pin mapping used by Arduino; Or use the port names .
It’s likely that physical pin 31 doesn’t correspond to “31” on the Arduino ide .
For example , this for the 28 pin package , used in early Arduino devices :