M5Stack (Stick|Atom) with Xiaomi LYWSD03MMC
-
Hi,
Just wonder if anyone tried to read data from bluetooth xiaomi temp/humi sensors
I've seen examples with arduino/esp32 but Im looking for micropython code as its more convinient to build UI with it
Not interested in MQTT for now, just getting data and transmitting it on screen label
I can get thermometer ID with some phone bluetooth software but got no clue (yet) how to send handshake and aquire dataThanks
-
Most likely possible through GATT client
https://docs.micropython.org/en/latest/library/ubluetooth.html#gatt-client -
Sorry can't tolerate GATT with my problem,
trying with Arduino C++ right now -
did you find any micropython code any bluetooth communication for arduino. with arduino c code communication is not hard.i made reader

it is reads actual values and creates array for histogram.half part of the screen show histograms graph

i used nRF Connect app on android which bt id and details will be used on the code.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login