[Moved] Atmega16 interface with RFID module & USART PC connection

Status
Not open for further replies.

Saulius Skeirys

Newbie level 4
Joined
Mar 19, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
43
Hello everybody,

I was trying to find something similar to my question, but sadly, i couldn't find any answer.
The main thing is it possible to connect RFID module (only reader) to atmega16, but also have PC connection to send those bits to server.
Response will be send back to LCD screen from server. I find out some information regarding this, but i guess it will not help me:
https://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=128065&start=0

The main project idea is to scan rfid tag and send it to server, get response of acceptance and show that to LCD screen.
I think I made huge mistake by choosing atmega16 here, but maybe you will have some solution to this.

Thank you all!
 

atemga16 could work you have to create a Software UART for RFID (if the rfid device o/p is Serial) and one UART for GSM as you need to send Data to server ,
or else simply find for mcu having two uart from atmel website then select it and do the things !!
 

Hey,

Thanks for response.
Well, basically, this is why I am writing here. The idea is to avoid buying new mcu and avoid two UART connection cables.
I guess this is not possible this way? Interrupt pins would not work here?
Btw, by server it means my local computer, so no GSM needed here.
 

How are you going to send data to your Computer,
suppose not RFID any data first tell this if pissible ??
 

NO according to the Scenario first as i have told u need to send any DATA and then configure even half duplex Software uart only for Rx to receive RFID
 

Thank you for answers. I really appreciate Guess, I will need to buy new mcu for my project.
We can close this topic.
 

Hello I have an another idea also dude no need to purchase NEW MCU
what you do basically is that ""You need to send RFID data""
so you can read through
RX pin of UART (Atmega16)
So RX pin will receive RFID data store it in any array and Connect GSM Module to TX pin (UART_Atmega16) so whatever you will receive from RFID ,
send it to SERVER via GSM as AT command will be transferred from Atmega16 to GSM via Tx Line
But the Response from AT Command you will not receive that is the problem
So you may avoid getting response as I did the same thing
Well choose what suits you best !!
 

Hi,

thanks for other option. But I have already though about it and it doesn't work for me. What I am trying to do now is SPI interface. My rfid reader has SPI(mosi,miso,clk,nSS) connection, but I am struggling to create code on proteus. Maybe you would have some comments according that topic?
For that, I created new topic: https://www.edaboard.com/threads/315572/
Anyway, I appreciate your answers
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…