As we are discussing the internet of things it might be worthwhile mentioning the simulation capability of Flowcode 6.
The TCP base component provides the simulated network communications which is then built into the higher level embedded components to provide the simulation functionality should the user want it.
The higher level components provide connectivity for these modules though more could be added using the component creation interface. More are planned for the future based on demand.
- Wiznet NM7010A Ethernet Module
- Wiznet WIZ810MJ Ethernet Module
- Wiznet WIZ610WI Wifi Module
- Microchip ENC28J60 Ethernet Module
- Espressif ESP8266 Wifi Module
This wiki page details an example of creating a webserver that can be ran in simulation or downloaded to an embedded target.
By clicking the play button in Flowcode the web server will initialise and become active so that typing in the IP address into the address bar of your web browser should fetch the webpage served by the Flowcode software. Any device on your local network should then be able to access your served page.
This functionality allows you to simulate a lot of different scenarios:
- An internet of things sensor
- An internet of things actuator
- A web Server or data center
- A real time TCP/IP data logger
- Low level TCP/IP comms
Another nice feature is that the low level comms data is automatically provided for you as part of the console interface. Red indicates incoming data and Blue indicates outgoing data.
By running multiple instances of Flowcode (either on the same PC or on different PC’s connected to the same network) it is possible to establish communications and simulate a whole host of different hardware so you can be sure to get your software interacting seamlessly before you download the code to the black box that is a microcontroller.
Once the code is in the Microcontroller you can use Matrix’s Ghost Technology to control the program execution as well as monitoring the external signals around the microcontroller.
22,995 total views, 6 views today