universal IoT devices for annunciator panels
My Wifi-Node project was created to build a wifi connected IoT device for Homecockpit annunciators that connects to the simulator via the FSUIPC Websocket Server (by Paul Henty).
Based on that, it doesn't require any HW interface (USB) to the simulator computer.
Just a +5V and a Wifi-connection.
I wanted to have an easy to setup and cheap implementation for annunciators. And it should not require any additional USB-ports. Based on my experience with my own FSUIPC websocket-server i decided to go now this way using the one provided by FSUIPC.
designed @ https://app.code2flow.com
I'm using the NodeMCU V3 - an ESP8266 based Arduino Board carrying a couple of IOs and onboard-Wifi as base for the project.
pinout by mischianti.org
As a typical Homecockpit - especially for airliners - requires plenty of Outputs for the annunciators / Korry switches i decided to extend the ESP8266 via Inter-IC Bus (I2C) using the MCP23017 Port Expanders with 16 configurable IOs per each. The three bit addressing of them supports the use of up to 8 MCP23017 so that i'm able to extend one NodeMCU for up to 128 digital outputs aka LEDs.
follow the counting of pins around the notch to continue from 0-7 on one side (shown in the picture on the upper side) and from 8-15 on the side where also VCC, GND and SDA, SCA are connected. So IO 15 is opposite of IO 0.
Shown here as example for the i2c Addresses 32 and 33 (possible up to 39) and with LEDs connected to
- If you like connect your wifi-node to the I2c Bus with the MCP port extenders
- Power up your your wifi-node - either using the Micro-USB Jack or the external Power pins
- Search for the WiFi access point the wifi-node as spawned and connect to it via SSID: WifiNodeAP
- Open the Website of the WifiNodeAP on http://192.168.4.1 (not via HTTPS as no certificate is provided!)
You will get:
- click on "Configure WiFi" and you'll get
- select your found WiFi from the list (or key-in your SSID manually) and provide the WiFi password of the selected WiFi Network and click "Save". It will result in
- Take care... If the wifi-node is unable to connect, it will revert to the AP mode again.
- If the wifi-node could join your selected WiFi, you can also connect to it. Check which IP has been assigned to it - via your WiFi routers admin interface or a network scan - and open the wifi-nodes website via HTTP in your browser again. For instance then via http://192.168.178.15
- Finally you only need to provide the configuration which you want to use via HTTP PUT on /config. See specification for config including example at the REST API description.
- If you provided a config and connected it to I2C bus, it might look for instance like this:
That offers the ability to see directly which I2C MCP23017 port extenders have been found and test the functions (switch the Outputs ON or OFF via webinterface) without the need of having a sim connected.
is hosted as Github Project @ https://github.com/joeherwig/wifi-node
It includes a web interface for easier implementation and wiring-debugging.
Of course there is also an official OAS compliant REST-API documentation which you can find at