Send message or command to BBC Micro Bit
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
plz i desprately need help.
I have created channels on Thingspeak received data like temprature and light sensor, the microbit connected to intenet via ESP266.
what i would like to know is that, could i send messages or commands to micrbit for controlling light ON and OFF? using thingspeak MQTT suscriber or TalkBack. if yes how could that be done ?
Thank you in advance.
1 Kommentar
Jason Davies
am 2 Sep. 2021
I too would like some help as this is exactly what i am trying to do as well
Antworten (1)
Christopher Stapels
am 7 Sep. 2021
I think MQTT is the best way to acheive this. I havent used a micro bit, but I found some examples showing how to connect to an MQTT broker in a quick search. USe the MQTT doc to find all the appropriate settings.
Use MQTT subscribe to have the device recieve updates sent to the channel, and change the state of the light accordingly.
Use MQTT publish to set the value of the channel to On or OFF.
0 Kommentare
Communitys
Weitere Antworten in ThingSpeak Community
Siehe auch
Kategorien
Mehr zu ThingSpeak finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!