Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: RFID simple logger onto SDcard on: December 15, 2011, 03:35:39 pm
here is the demo code..  Attached

this is all I've got in the way of demo other instructions... and even with the readable comments, i cant fathom what's going on.. 

... and I've tried to cut it down to just read the card id... but alas.. i cant seam to get it working simply... :-(

2  Using Arduino / Project Guidance / Re: RFID simple logger onto SDcard on: December 15, 2011, 02:24:24 pm
Maybe the shudder that ran down my back when i opened a project file to read the card and found it too be 850 lines long... Whoooh....

the concern i have with the three items i want to interface is that they are a mixture of i2c and Spi so i want to understand if there are any limitations i should take into account...

the main one being what will happen if a card arrives at the reader and i'm reading the RTC... will i have a problem???

3  Using Arduino / Project Guidance / RFID simple logger onto SDcard on: December 15, 2011, 01:27:08 pm
Hello my Arduino pals...

now i'm not one to just get things done for me... as all my life i've taken things apart to see how they worked and it's not stopping anytime soon... but sometimes you need a nudge in the right direction...

the thing I want a bit of guidance on is dealing with the different hardware i've assembled for my project...

the outline of the project is use rfid tags as a timing system the arduino needs to read the tag and store the tag id on an SD card (logging the time which comes from the dallas 1307 rtc)

the idea is to use mifire rfid tags (not because i want to store any data on the tag, but just it was the cheapest RFID reader i could find on ebay... )  this is the reader specs..

and the rtc board..

and my sd card is on the ethernet shield (which i cant find the specs for right now)

now i've got some code that reads the cards... but it's massively complex... and i'm looking for a bit of guidance on how i should be interfacing the boards...

i know that the rfid board is SPI, but can i have that on the spi bus, and two other items on the ic2 bus working at the same time..

please drop me a line if you can offer any help..



4  Forum 2005-2010 (read only) / Troubleshooting / Ethernet shield + sdcard + read RFID + muti leds on: January 23, 2011, 08:30:10 am
I'm after a definitive answer on if an idea i've got for a little project is possible

I want to have a Ethernet connected arduino duemilanove, which is connected to an rfid reader... it then does two things with the rfid tag info, firstly it saves it on the sd card (with a real time, simestamp) and secondly sends it to a web server (running php) and also i want to be able to trigger a sequence of LEDS, (6 leds )

and ideally i'd like to be able to read 2 separate rfid reader, and also be aware of the link status to the web server and mark any unsent rfid info stored on the card as unsent (for later syncing, or when the connection returns a catchup transmission)

I understand that this is pretty complex, and I've seen some suitably complex projects out there........ I'd like to find out what's possible, what's not and if i need to reset my ideas what might be "do-able"

thanks for any help

BTW, I've also posted a workshop idea for South Wales UK, so if you see this and are interested in that, please let me know...



5  Forum 2005-2010 (read only) / Interfacing / just being silly on: January 02, 2011, 01:36:50 am
Hello Forum....

now i've been a user of the forum for a while, and indeed it's always been helpful, but i'm now stuck on something very basic... and need a hand

below is some modified code (taken from the examples)

and the main bit works fine.... (the GET / ts.php?tagid= ...... etc...

but it only happens once... (and also it's getting the webpage responce a letter at a time... ???? )

so i want to loop the  client GET every 10 mins maybe...

what am i doing wrong...


  Web client
 This sketch connects to a website
 using an Arduino Wiznet Ethernet shield.
 * Ethernet shield attached to pins 10, 11, 12, 13
 created 18 Dec 2009
 by David A. Mellis

#include <SPI.h>
#include <Ethernet.h>

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = {  0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 192,168,1,177 };
byte server[] = { 192,168,1,73 }; // Google

// Initialize the Ethernet client library
// with the IP address and port of the server
// that you want to connect to (port 80 is default for HTTP):
Client client(server, 80);

void setup() {
  // start the Ethernet connection:
  Ethernet.begin(mac, ip);
  // start the serial library:
  // give the Ethernet shield a second to initialize:


void loop()
  // if there are incoming bytes available
  // from the server, read them and print them:
  // if you get a connection, report back via serial:
  if (client.connect()) {
    // Make a HTTP request:
    client.println("GET /timing/ts.php?tagid=00008&stationid=99 HTTP/1.0");
  else {
    // kf you didn't get a connection to the server:
    Serial.println("connection failed");
  if (client.available()) {
    char c =;

  // if the server's disconnected, stop the client:
  if (!client.connected()) {
   //  client.stop();

    // do nothing forevermore:
    //  ;
6  Forum 2005-2010 (read only) / Workshops / South Wales UK workshop idea on: January 23, 2011, 08:15:03 am
HI guys... I'm thinking that maybe if there is enough interest, and all the other boring stuff like a location / date can be sorted

is there anyone intrested in being involved in a workshop in South Wales, UK

I'm in Monmouth, but it could be Cardiff , Newport, Bristol....

if you are intrested drop me a line  (or better still if you have already got something set up... let me know where it is!!!)


Pages: [1]