On another recent thread, someone said they hadn't heard of RFID being used in the garden. I use it, so I thought I would share what I have done.
I have a bespoke system (both hardware and software) so it's not DCC and might not be very relevant to other people but it proves the technology works.
I use ESP8266s in my locos and an ESP32 in a handheld controller. They all connect to a standard wireless network and messages are sent between devices using the MQTT protocol. All devices can send and receive messages so the handheld controller, apart from controlling my locos, can receive messages (like speed and battery voltage) from them.
I use a separate wagon for location rather than integrate it into all my locos. It comprises an ESP8266 based Wemos D1 mini pro and an RDM630 125KHz RFID reader from Seeed (not RDM6300). The coil fits under the wagon. I use the credit card sized tags and they fit under my Peco 45mm code 250 track, and are then covered in ballast. The smaller tags can also be used if fitted between the sleepers. There are 10 on my 160 foot layout.


When the wagon goes over the card it picks up the card number and sends it as an MQTT message. The loco receives this message and thus knows where it is. There is a schedule within the program which, when in auto mode, allows the loco speed, direction, acceleration/de-acceleration and stop time (if applicable) to be set for each location.
In summer I spend a lot of time in the garden (gardening, relaxing, eating, drinking) so having a train going round, changing speed, stopping at stations, makes it more interesting than just going round and round.
Michael
I have a bespoke system (both hardware and software) so it's not DCC and might not be very relevant to other people but it proves the technology works.
I use ESP8266s in my locos and an ESP32 in a handheld controller. They all connect to a standard wireless network and messages are sent between devices using the MQTT protocol. All devices can send and receive messages so the handheld controller, apart from controlling my locos, can receive messages (like speed and battery voltage) from them.
I use a separate wagon for location rather than integrate it into all my locos. It comprises an ESP8266 based Wemos D1 mini pro and an RDM630 125KHz RFID reader from Seeed (not RDM6300). The coil fits under the wagon. I use the credit card sized tags and they fit under my Peco 45mm code 250 track, and are then covered in ballast. The smaller tags can also be used if fitted between the sleepers. There are 10 on my 160 foot layout.


When the wagon goes over the card it picks up the card number and sends it as an MQTT message. The loco receives this message and thus knows where it is. There is a schedule within the program which, when in auto mode, allows the loco speed, direction, acceleration/de-acceleration and stop time (if applicable) to be set for each location.
In summer I spend a lot of time in the garden (gardening, relaxing, eating, drinking) so having a train going round, changing speed, stopping at stations, makes it more interesting than just going round and round.
Michael
Attachments
Last edited: