UPDATE: Now it works with IDE 021
Remove these ads by
Signing UpStep 1What you gonna need?
- RFID Sensor from seeedstudios
- Wires
- Protoboard
- RFID tags (125kHz) from seeedstudios
| « Previous Step | Download PDFView All Steps | Next Step » |
Remove these ads by
Signing Up| « Previous Step | Download PDFView All Steps | Next Step » |

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.
http://www.jayconsystems.com/product_detail.php?prod_id=283
it with this problem
sketch_mar19a.cpp:1:27: error: NewSoftSerial.h: No such file or directory
sketch_mar19a:5: error: 'NewSoftSerial' does not name a type
sketch_mar19a.cpp: In function 'void setup()':
sketch_mar19a:14: error: 'RFID' was not declared in this scope
sketch_mar19a.cpp: In function 'void loop()':
sketch_mar19a:22: error: 'RFID' was not declared in this scope
sketch_mar19a.cpp: In function 'void add()':
sketch_mar19a:40: error: 'RFID' was not declared in this scope
sketch_mar19a.cpp: In function 'void del()':
sketch_mar19a:66: error: 'RFID' was not declared in this scope
does it mean needing head file "NewSoftSerial.h"
Im a newbie, but I like to play araund with arduino and cool stuff like the rfid reader.
My problem is the code.
i used the little part of code from mwp
to make the arduino`s serial monitor speak to me. But the only thing it says is:
access denied
access denied
access denied
access denied
no matter what a Tag i use it ever gets this failure..
What can I do now..
please help me :)
In file included from FY1Z49MGH89ZZ95.cpp:1:
C:\Users\joker\Downloads\arduino-1.0-windows\arduino-1.0\libraries\NewSoftSerial/NewSoftSerial.h:71: error: conflicting return type specified for 'virtual void NewSoftSerial::write(uint8_t)'
C:\Users\joker\Downloads\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)
Am I missing other libraries? Any help at all would be greatly appreciated!
When you got more expertise, you can adapt the old libraries to work with new 1.0 arduino SDK ;)
Please help me fix this!
You can find here: http://arduiniana.org/libraries/newsoftserial/
I'm a nooby to RFID and as well to arduino stuff.
I'm trying to keep the accepted cards in arduino's EEPROM and I managed to do so but it is getting difficult to know which way to grant access by comparing the read card number and stored card number. How can I do that??
I am having problems with the reader reading the add and delete cards twice. Hope that makes sense. Cheers
When I uncommented the println statements in the reading loop it worked as expected, so it seems that the program was trying to read the bytes too fast. After the first byte is read it loops back to test if another byte is waiting, and if it is not, then the loop exits with the string 'msg' just one byte long.
It works when the println is executed, because then there is always time for the next byte to arrive before RFID.available is called.
The solution is to add an explicit delay:
while(RFID.available()>0){
c=RFID.read();
msg += c;
delay(1); //allow time for another byte to arrive
//Serial.println(msg); //Uncomment to view your tag ID
//Serial.println(msg.length());
}
If it does not work, plz tell me.
Looks cool.
Unfortunately the arduino SDKs from 0018 (?) on don´t support the string library anymore, instead there is one build in (the old library isn´t even available for download anymore).
But the code will not compile with 0021. I´ve just deleted the #include .
Now I keep getting errors like:
rfid:25: error: 'class String' has no member named 'append'
Could you please make an update so that never SDKs would work?
After that I will send you the new code.
Thank you very much in advance.
Cheers
Rince
Cya
More information on this link http://www.technovelgy.com/ct/Technology-Article.asp?ArtNum=21
I really don't know, but with this board in particular i think it is not possible.
When I saw your example and changed to the NewSoftwareSerial, it instantly fixed the problem.
E vc e' Brasileiro ne'?! =D
Se precisar de algo, pede ae.
Abrass
ou seja uma pagina simples em que tenha um ON e OFF via ethernet atravez dele....
email : lx.nuno.rodrigues@gmail.com
OBS : Estou a usar o Arduino Uno + Ethernet Shield ( com MiniSD )
Tente usar este tutorial, duvida me pergunta.
http://www.instructables.com/id/Ethernet-Shield-LED-WEB-SERVER/