RFID tags (MERG kit and others)

Moderator: Moderators

Postby rjversluis » 03.02.2010, 22:55

Hi Henning,

this library was not tested and is new.
The RFID reader sends only an event after scanning, so rocrail must reset it after ? seconds...

I have ID's from Lissy, and I linked those sensors to blocks which makes sense in automatic mode.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby drblack » 04.02.2010, 10:23

Hi Rob,

I'm aware of the recent development and just want to test it as I have this MERG kit. As you probably don't own it I just want to give as much feedback as possible.
So if I understand you correctly RFID is right now only useable as ident in blocks but not as a "normal" impulse sensors?


Thanks,

Henning
drblack
 

Postby rjversluis » 04.02.2010, 10:39

Hi Henning,

you are right, but I want to add some additional functionality to this new born library which will also send a 'low' event after a configurable time.

I will report here if there is something to test.

BTW: The ID you get in Rocrail is this the expected ID?

PS: Do you have a concentrator for more RFID readers?
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

RFID tags (MERG kit and others)

Postby pmansvelder » 04.02.2010, 15:45

Hi Rob,

I am expecting the parts for the concentrator any day, and be ready to test then; is there any chance for a recent snaphot for debian (Rocrail server) and Mac OS X (rocrail client) then?

Peter
pmansvelder
 

Postby rjversluis » 04.02.2010, 16:47

Hi Peter,

no problem; Just ring the bell.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby drblack » 05.02.2010, 21:41

Hi Rob,

I can't really tell if the id's are the ones I expected. I can't find any text on the transponder. But the two I have generate different id's:
evaluateRFID[][04162E9E87]: addr=1 id=372153995
evaluateRFID[][04162E9B0E]: addr=1 id=372153106


I don't have a concentrator yet. Maybe I purchase one but I need to become a MERG member first.

Thanks for your work anyway!

Regards,

Henning
drblack
 

RDID Concentrator

Postby pmansvelder » 13.02.2010, 14:05

Hi Rob,

I got the concentrator working, and it works fine: the format of the data is somewhat different, as I wrote before:

ChID, 10 Alphanumeric characters, 2 checksum characters, CR, LF, >

The ChId is an alphanumeric code from A to H, for each of the 8 inputs of the concentrator; there is also a jumper on the board to set this to range I to P, for a second concentrator; I hope they will also add a possibility to 'daisy-chain' concentrators in the future, but right now each concentrator requires a separate serial port. The serial port connection with the concentrator has also changed a little: it is still 9600/8-N-1, but it now supports 'hardware handshake' (RTS/DTR).

Is there a snapshot available for me to test this with Rocrail? And since the Mac OS X Leopard version with the Wxwidgets 2.9 version is not quite functional yet, could I use the present 1.3.0 version of Rocview as a gui or do I need the latest snapshot for Mac OS X?

Peter
pmansvelder
 

Postby rjversluis » 13.02.2010, 14:17

Hi Peter,

you need a current 1.4 snapshot to test the rfid12 library.

If you find the Snow Leopard (64bit) snapshot too unstable you can use the Leopard (32bit) snapshot.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

RFID tags (MERG kit and others)

Postby pmansvelder » 15.02.2010, 18:57

Hello Rob,

the Leopard version is indeed a lot better; although I am running Snow Leopard, when I use the SL version of the snapshot, a lot of things don't work:
- drag and drop of locomotives
- Keyboard shortcuts of commands
I guess this has something to do with the WxWidgets library?

Peter
pmansvelder
 

Re: RFID tags (MERG kit and others)

Postby rjversluis » 15.02.2010, 19:37

Hi Peter,

pmansvelder wrote:I guess this has something to do with the WxWidgets library?


Yes. It is only available in a developer version at this moment. Uneven numbers, like 2.9, are not stable.
The 2.8 64 bit for Snow Leopard is not available.

Version wx3.0 is planned for summer 2010, but maybe 2.9.1 will bring some more fun for SL 64 bit.

See for more details:
http://trac.wxwidgets.org/wiki/Roadmap
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby gramels » 18.02.2010, 01:06

Hi,
this might be a stupid beginners question, but anyway:

I plan to equip my planned garden layout with rfid based sensors, since this seemed to be a good choice for outdoor.
I expect to receive my MERG rfid kits soon.
Since the number of carts & locos is somehow limited it would be possible to equip all rolling stock (not only locos) with a rfid tag and therefore automatically detect train assembly and recognize in case a waggon was lost on the trip.

I guess the same question applies to trains with two locos in consist, both might have a tag.

Is this somehow support already by rocrail or does rocrail only expect an identifier on each loco?

Thanks for your thoughts

Lothar
gramels
 

Postby rjversluis » 18.02.2010, 07:45

Hi Lothar,

if you start using the RFID like normal sensors it would cause no problem.
But if you define the RFID as Ident event it could lead to some confusion.

I use in my layout Lissy but do not tested with MU Consists.
The same Q's will arise using a RailCom MU Consist...
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby gramels » 18.02.2010, 10:46

Hi Rob,

thanks for your answer.

Is a functionality were an ident sensors registers items into a block and counts them out again forseable or planned? Something like "right click on a block and list all items in there".
This would allow to use the full potential of RFID or similar sensors.

Best'

Lothar
gramels
 

Postby rjversluis » 18.02.2010, 11:16

Hi Lothar,

a project in progress is the RC-Link for RailCom support in Rocrail.

Bi-Directional Communication in Rocrail already supports many facets of those techniques. (RFID, RailCom, Lissy, Transponding...)

In context of the mentioned RC-Link project I will extend this.

In Case of MU Consist this must be no big issue because it is already defined in Rocrail, so any ID coming from a 'sensor' which fits in the consist should be considered valid.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBUS - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby gramels » 18.02.2010, 13:06

So a train with an rfid transponder on each car would be just a very long consist?
Could there be an option which assembles an consist automatically, e.g. a train which passes a specific RFID sensor would create a full train consist?

Just thinking louldy, hope it makes sense.

Lothar
gramels
 

PreviousNext

Return to DIY Hardware