dhk
Newbie level 5
- Joined
- Oct 12, 2014
- Messages
- 9
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 56
I have made the following circuit using atmega162.
Here, when RFID reader detects a tag,the data is sent from the reader to the MCU via usart 0,in interrupt mode.
Then this data is sent to server using GSM serially. GSM is connected to UART 1. Afterwards, server transmits a data via GSM to MCU for taking further action.For this transmit interrupt is used.
I have made the circuit but when I send data from RFID terminal, nothing further happens.
Is there any error in the circuit or the code?
I have attached the simulation and code files.
Here, when RFID reader detects a tag,the data is sent from the reader to the MCU via usart 0,in interrupt mode.
Then this data is sent to server using GSM serially. GSM is connected to UART 1. Afterwards, server transmits a data via GSM to MCU for taking further action.For this transmit interrupt is used.
I have made the circuit but when I send data from RFID terminal, nothing further happens.
Is there any error in the circuit or the code?
I have attached the simulation and code files.