Jump to content
43oh

Connecting MSP430 launchpad to local broker through MQTT using ESP8266


Recommended Posts

So I have to figure out a way to connect my MSP430f5529LP to a local broker on a Raspberry Pi through MQTT. It is important that I use an ESP8266 as CC3100BOOST would cost me like $50 over here when I can get an ESP8266 for like $4. I went through various pages and stuff in search of codes and libraries and couldn't find a single one. This is part of my college project and I really need to get this done. Does anyone have any idea on how to work with ESP8266 for MQTT using AT commands as it is my last resort as I can't find any libraries for MSP430. And BTW, TivaC would also suffice.

The basic idea is to send a reading from an analog sensor to Raspberry Pi and plotting the data. It has to be through MQTT as that is the main part of my project.

Link to post
Share on other sites
49 minutes ago, Rei Vilo said:

The ESP32 features the WiFi radio and also an MCU, so what are the reasons for an additional MCU with the MSP430F5529?

Well my project needs to use an MSP430 and MQTT, don't ask me why (the one who gave the project is crazy...)

The cheapest method would be an esp8266 module (8 pin module ESP-01)

Link to post
Share on other sites

HI !

Quote

Well my project needs to use an MSP430 and MQTT, don't ask me why (the one who gave the project is crazy...)

The cheapest method would be an esp8266 module (8 pin module ESP-01)

No MQTT with AT commands on ESP6266 IMHO !! (among the several AT firmwares I know)

You can use Arduino IDE (+ ESP8266 core) to flash your ESP-01 with your own application receiving  data through UART and publishing data to an MQTT broker (use pubsub library)

(WEMOS D1 mini is a good alternative to ESP-01 with it's good 3V3 regulator, some passive components, USB interface for easy developping...)

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...