Comments (20)
I added mqtt to wiz550s2e.
To use mqtt, you need a v1.10 Configuration Tool .
- v1.2.0 binary update
- Factory Reset with old Configuration Tool
- And then Use v1.10 Configuration Tool
And the sensor to ethernet is still in my plan and will go on as an open project.
I'll let you know when the project repository is created.
from wiz550s2e.
The module should be Internet. Make sure that the Internet is compatible with the same IP bandwidth as your PC.
Please refer to the attached video(static).
from wiz550s2e.
Dear anujmattoo,
For a simple mqtt example, see the link below.
example 1
example 2
I don't know what you're going to do, but applying mqtt to wiz550s2e requires a lot of trouble.
I am trying to create a sensor-to-Ethernet (mqtt) based on wiz550s2e. That is a sensor gateway.
I will proceed that with an open project.
If you are interested please leave a comment.
from wiz550s2e.
Please open this issue.
As WIZ5500S2E has on board MCU, so development gets easy. The link you mentioned has MQTT implemented on STM32 MCU whereas WIZ550S2E has LPC11E36 MCU.
from wiz550s2e.
That's Great!
Which bin file to update WIZ550S2E.bin or WIZ550S2E_App.bin for using MQTT?
from wiz550s2e.
You should use a WIZ550S2E_App.bin file. WIZ550S2E.bin is all firmware.(app+boot)
Please upload the firmware using the v1.03 Configuration Tool.
The guide is here.
from wiz550s2e.
Okay. I uploaded the firmware using Flash Magic software provided by NXP to flash LPC Controller. Is that right way to flash?
from wiz550s2e.
It is also possible.
In that case can use only just .hex file.
from wiz550s2e.
@Ricky-Kwon I uploaded the latest firmware and after that factory reset using Configuration tool v1.03. I downloaded the configuration tool v1.10. I then searched the ethernet mac address on the network, it did find.
I will now select the MQTT option in Working mode and will fill up MQTT details username, password and topic.
My question is where is an option for filling up MQTT port number?
Also after entering the details and setting it, how will I send data over MQTT?
Are there any commands or format to be sent to com port in order to send data?
from wiz550s2e.
Share and use the remote port. That is, you can write the port of mqtt server on the remote port. The same is true of host ip.
from wiz550s2e.
If you do it correctly, it indicates that you are connected on the network status. After entering any data into the serial it is sent to the mqtt server. If you want to create a packet, use packing conditions.
from wiz550s2e.
@Ricky-Kwon Understood. The MQTT Server IP provided by the broker is m12.cloudmqtt.com
but the Host IP only accept the IP in digits and displays Host IP Input Error
.
from wiz550s2e.
you can use a dns.
from wiz550s2e.
Can you share some screenshot of the same. I selected use DNS and inputted m12.cloudmqtt.com
in DNS Server IP, it displays error DNS server IP input error
from wiz550s2e.
Oh, check the DNS server addresses on your PC using the commands such as ipconfig. If you don't know, use Google DNS server, such as 8.8.8.8. m12.cloudmqtt.com must be written to a domain. I'll make a guided video later on and show it to you.
from wiz550s2e.
@Ricky-Kwon I am still unable to connect to MQTT.
Here is the setting for MQTT :
from wiz550s2e.
Please refer to the attached video(dhcp).
from wiz550s2e.
@Ricky-Kwon Wooah! π The MQTT is working over WIZ5500S2E.
Can you implement AT commands to configure MQTT serially?
from wiz550s2e.
Of course. I am wondering what commands are convenient for the user.
Can you give us your opinion? For example...
- Do you want to set up topics every time you publish? Or fixed?
- Is it possible to subscribe only to one topic? Or several?
Is it better to add MQTT to AT + NOPEN, AT + NSEND? Or would you make the command independently? For example, AT + MQTT ...
Anyway, it is under development.
from wiz550s2e.
Why not keep commands already made for WizFi modules, this way it will universal for all the Wiznet family. Adding different commands for this specific module is not worth it. Comments?
-
Setting topic every time when publishing data is a good option but it should be optional, not mandatory. Sending data without topic should be default option when someone has to send data to some other topic, a specific command should be there which will not replace the original topic.
-
Subscribe to single topic only, should be done exactly what mentioned above.
I think adding commands specifically for MQTT is a good idea.
Commands such as [They already exist for WizFi modules] :-
- AT+MQTTSET=<UserName>,<Password>,<ClientID>,<AliveTime>
- AT+MQTTSET=?
- AT+MQTTCON=<Con/Discon>,<BrokerIP>,<BrokerPort>,<SSL_Enable>
- AT+MQTTCON=?
- AT+MQTTPUB=<Topic>,<Length>
- AT+MQTTSUB=<Sub/Unsub>,<Topic>
After setting, all the parameters should be saved in flash/EEPROM and upon power up should retain and automatically connects to the saved configuration and topic and should work transparently as it's working now. For this, it's important to set the working mode to MQTT or change to UDP/TCP Server or client when MQTT not required.
What do you say about this?
from wiz550s2e.
Related Issues (20)
- MAC Address change will make the module report MAC Error. HOT 1
- Web client HOT 1
- a mistake ??? HOT 1
- UDP Send Fail in AT-command mode HOT 1
- How to use MQTT iO library in WIZ550S2E.?
- Problems receiving data in AT-command mode HOT 1
- Request to new at-command set HOT 1
- Request to new at-command set HOT 1
- Module stoped when switching data mode and at-command mode
- Maximum AT+NSEND data block
- some bugs
- Implement the Modbus HOT 1
- Bootloader bug - out of bounds HOT 1
- CanΒ΄t compile WIZ550S2E v 1.1.4 HOT 1
- FDNS timeout not occur
- Change Remote port HOT 1
- ethernet 2 wifi with ESP module HOT 1
- Request to new command HOT 1
- Socket does not stay open for more than 2 to 3 seconds. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wiz550s2e.