Jump to content
thesct22

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.

Share this post


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)

Share this post


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...)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×