After
you start the program, press the [Setup] button. You will see this
window. To enable the RTC WiFi interface, click on the WTIU WiFi [X] Enable
check box. RTC will attempt to find the WTIU on your network.
This might work if you have only 1 WTIU and your network is a typical
simple home network. If it works, you will see the WTIU in the list box, it will be selected (highlighted in black) and its IP address and Port will be inserted in the two boxes under the check box. If that doesn't happen, continue on, otherwise you are done with setup and you can skip this section. |
|
If no WTIU appear, click on the Host IP Address tab. | |
Click on the downarrow "v" on the dropdown box. RTC will have already tried to find the correct Host IP address. | |
If your computer
only has one Host IP address, RTC will select it automatically. If
there are several, choose the Host IP connected to the network that
your WTIU is on. If no Host IP addresses appear, presss the [Scan] button. In this example, my computer is connected to two networks. I need to pick the correct one. Once you select a Host IP address, RTC will remember your selection. |
|
In the dropdown, the correct Host IP address has been chosen. | |
Then click on the TIU/WTIU Ports tab. Here we are going to pick the WTIU to use. First you need to enable the WTIU WiFi if it is not already enabled. Check on the WTIU WiFi [X]Enable checkbox. If you don't see any WTIU listed, press the [Scan] button. |
|
All
of the available WTIU will show up in the list box. If there is only
one, RTC will select it automatically. If there are many, select the
correct one. The WTIU identifies itself as "mthdcs-XXXX" where the "XXXX" is a four digit hex number. The ".local" just indicates that it is my local WiFi network. Once you select the WTIU, RTC will remember your selection. When you are done, press [Hide & Save]. |
Back at the main RTC window, you should see the red WiFi indicator and the red WTIU indicator. This means you are not connected via WiFi yet. Press the [Connect] button. | |
Now the WiFi and WTIU indicators both turn green
followed by the TIU and AIU spinners turning green. This indicates that
RTC is connected and ready to go. Press the [Read] button to fill the Engine List with all of the engines on your layout, then select an engine and press the [Startup] button. You can learn about the RTC program on this web page: http://www.silogic.com/trains/RTC_Running.html Videos to show you how to get started are here: http://www.silogic.com/trains/RTC_Running.html#get Download the program from here (but V5.0.0 may not be there yet). Email me if you want to beta test it. http://www.silogic.com/trains/RTC_Running.html#RTC_Download |
Again I have to thank Mike Hewett for reminding me of wirewrap. My original test bed connections were done with what is call "Dupont" wires. These are nothing more than wires with push on connectors on each end. Nice and easy to use but prone to coming loose. Good for prototyping. Mike showed me some of his work using wirewrap. When I started in the computer design business in 1970, wirewrap was still common and acceptable even for production work. Look here : National Advanced Systems. Mike used a hand wirewrap tool but I had a couple very old Gardner-Denver wirewrap guns. I dug them out and replaced the long dead rechargable battery with 2 D cells and I was off. I used the small green proto board from MPJA.com as a base. |
Signal Name | ESP8266 Pin |
Elechouse PN532 RFID Module #0 Pin |
Elechouse PN532 RFID Module #1 Pin |
VDD/VCC | 3V | VDD/VCC | VDD/VCC |
GND | G | GND | GND |
MOSI | D7 | MOSI | MOSI |
MISO | D6 | MISO | MISO |
S Clock | D5 | SCL | SCL |
IRQ #0 | D2 | IRQ | -- |
SS #0 | D0 | SS | -- |
IRQ #1 | D3 | -- | IRQ |
SS #1 | D1 | -- | SS |
.\esptool.exe --baud 115200 --port COM3 write_flash --flash_mode qio 0x00000 RTCNFCWiFi.ino.nodemcu.binTo use the OTA method (after the first time using USB)
.\python3\3.7.2-post1\python3 -I .\espota.py -i 192.168.1.114 --auth=esp8266 -f .\RTCNFCWiFi.ino.nodemcu.binIf you try to compile this yourself, I used the Arduino IDE portable version 1.8.16. You will have to download that version of the IDE, install it and then install the ESP8266 library. After that, download and manually install the following additional libraries:
After you download the RTCNFCWiFi program into the ESP8266, it will
start an Access Point. If you look on your phone, you will see the new WiFi
AP listed as RTCRFID. Tounch on that AP to connect to it. |
|
The phone should connect up and you should see the RTCRFID AP "connected without internet". |
|
Then startup a web browser such as Firefox or Chrome. Enter this IP
address into the Address Bar: 192.168.4.1 . Press GO. You should
see this screen which lists all of the accessible routers in the area. Here is were we enter the information that the
RTCNFCWiFi program needs to communicate with your computer via the WiFi
Router. Enter: The SSID of your router The WiFi password of your router The detector number of this device The number of tag readers connected to this device. Then click on [Setup RFID WiFi]. |
|
You should see this screen indicating that the device is rebooting and will connect up the WiFi Router. |
Detector 1 with 1 Tag Reader Attached (I had to make little signs so I could remember which detector was which.) Plasticville Log Cabin |
Detector 2 with 2 Tag Readers Attached Plasticville Hobo Shack |
Detector 3 with 1 Tag Reader Attached 3D printed Servo Shed - a "Make" on Thingiverse: https://www.thingiverse.com/make:1065442 |
Detector 4 with 2 Tag Readers Attached Plasticville Manufacturing Company |
Detector 5 with 2 Tag Readers Attached Plasticville Signal Tower |
Detector 6 with 2 Tag Readers attached is inside a tunnel so a photo of it would be all black! |
Detector 9 with 1 Tag Reader Attached Plasticville Cape Cod House |
Detector 10 with 2 Tag Readers Attached Plasticville Grocery Store |
email : markd@silogic.com
The DiVecchio
genealogy home page
The Frazzini
genealogy home page
This site will be under construction for a while.