-->
Page 1 of 1

Energia IDE - Please Help Me With Programming!

PostPosted: Tue Aug 31, 2021 6:47 am
by shrutika_patel
I am new to MSP430 microcontroller, though I am coding MSP430 using Energia IDE which is similar to Arduino IDE.

My project is to build an "IoT Based Air Pollution Monitoring System"
I am taking input from the sensor (And I am done with the coding of this part it was simple) But now I have to put the data on Thingspeak server using ESP8266 and i dont have a clue how to do it.

I will be grateful if someone please provide me the code to connect ESP8266 to MSP430 and send data to Thingspeak! Please!!

Sensor is MQ135 which I have caliberated for CO2 reading. I have to connect ESP8266 to the MSP430 and send data to thingspeak!

PS: I tried going to 43oh forum (Energia Forum) but it is not allowing me to login for some reason the site is buggy!

Re: Energia IDE - Please Help Me With Programming!

PostPosted: Tue Aug 31, 2021 5:40 pm
by AcmeUK
Do you need to use the MSP430?
There are plenty of examples on Google of using a MQ135 directly with a ESP8266!

Re: Energia IDE - Please Help Me With Programming!

PostPosted: Fri Sep 03, 2021 11:27 am
by shrutika_patel
It is Compulsory and how can I connect sensor to it directly..... esp8266 is wifi module only...It is not NodeMCU

Re: Energia IDE - Please Help Me With Programming!

PostPosted: Sun Sep 05, 2021 8:24 pm
by QuickFix
Apart from anything else (we don't know anything about your MQ/MSP setup, but I think that's not your main problem at this point).
Do you have the ESP working (like in: hardware-wise)?
Can you approach it (if in AP mode) or let it connect (and send bogus test-data) to a server (in STA-mode)?

Once you got the ESP covered, you can write a protocol that both the MSP as the ESP understand and you're done (to put it very simple).

But, to continue on Acme_UK's argument: the ESP8266 is a MCU (just like the MSP430) with a WiFi stack: it's not "Just a WiFi module".
FYI: a NodeMCU is just an ESP8266 on a more user-friendly board, nothing more, nothing less.

So the question remains: we do understand you have to use the MQ135, but why not connect it directly to the ESP and cut out the (MSP430) middle man?