This is my first post in this forum. I used the search but could not find a solution for my problem.
I would like to read the tx power level of BLE beacons with my M5Stack ESP32.
I get the rssi value but I would like to know the transmission power. I do not mean the 1Byte "transmitted/measured power" that you should receive on 1m range. I mean the power level that determines how strongly the beacon sends its broadcast (what the max. range should be).
I would like to read whether the beacon is configurated to send only at e.g. max. range of 2m or maybe 15m.
I use Arduino and PlatformIO with int8_t BLEAdvertisedDevice::getTXPower ()
And I always get txPower: 0. using haveTXPower() returns false. But my smartphone with the usuals apps displays without and problems the txPower value (e.g. -20dBm that would indicate the ble beacon has only few meters max. range)
Did anyone had success with a M5Stack to read those txPower values?
Is there any code snippet that REALLY WORKS? There are planty online but they show 0 txPower and false on haveTxPower.
edit: further infos from platformIO
PLATFORM: Espressif 32 > M5Stack Core ESP32
HARDWARE: ESP32 240MHz 320KB RAM (4MB Flash)
Libs: M5Stack 0.2.5
Hi I certainly did it, ampy is installed and functional but doesn’t seem to connect to the device.
Thanks for looking into this. Removing all unnecessary beeps from the standard firmware would be great. No-one would buy a car honking at every steering or dashboard switch activation!
@lukasmaximus said in BTC 2.0 not powering the basic M5Stack:
@gadjet sorry this was definitely an issue with the description. The btc ticker is not capable of charging the m5 stack.
I wouldn't mind but I bought two of them !!! Oh well back to my 3D printed stand and a big battery.
@kurthofman said in UIFlow : Units are not available:
I'm using M5 Fire with firmare 1.0.3 in Chrome.
The update sorted out a minor bug with the Unit box but the ones with the blue symbol over them are not working yet.
iIRC I seam to remember something on one of the Esp32 forums with a similar issue. I think it was something to do with bus clock speed issue. I think it was down to the clock being set to high for the psram.
@jpilarski said in issue with remote in 1.0.3:
Nice work on the adc, iic, and on adding more unit blocks. Unfortunately it looks like there are issues with the remote blocks. They look to be overlapping on screen and make it difficult to properly select remote blocks.
What web browser are you using to load UIFlow as it worked fine for me.
Just resume this request
any chance to get STEP or even STL file of the “core module” ?
I’m developing my custom expansion board and beside using the cad model available for the proto as base line I would like to make a full rendering and project design including core
mechanical drawing and final object rendering is quite tricky without a precise CAD model of core
@felix42eu said in Hardware Variantion and Firmware Compatibility:
OK, I did not know that arduino was not fully supported. thanks.
is m5go and m5fire a different product? I do not think so.
where are the sources of the versions located if they are open source? or do you mean the binaries are free (I found them in the M5burner replease)
The espressif idf is a topic which I have too look deeper into.
All sources, documents and specs are found on github.
Some of the docs are a little out of date though.
some of the "grove connection" units are found on the seeedstudio grove website.
In your reply above you mentioned firmware 1.0.1 for the stick but in the M5-burner download it only has version 1.0 of the uiflow firmware for the M5stick. Can you please verfiy which firmware is the most recent. Also will the MPU9250 work with the M5stick in uiflow. thanks
Thanks this is helpful to see. Much appreciated. I still think it would be great at some point for you to add a section to the uiflow documentation that covers the blocks located under the advanced tab.
thanks it works great used this library
and this basic code to test
from machine import I2C, Pin
i2c = I2C(0, sda=21, scl=22)
sensor = tcs34725.TCS34725(i2c)
@jpilarski said in makey:
I am having some difficulty understanding the makey unit. I can make it beep if I put one end of a wire in the LED pin and touch other end of the wire to various pins. I get some sounds playing through the m5stack speaker and some on the makey's buzzer. Why are there multiple pins with the same number. Should I be able to just touch the pins with my hand and register a touch. Also can you explain how to use this device in UIFLOW. Again I can get a few beeps from the makey using UIFLOW but I'm not sure I understand the pins to use or how to work with the makey blocks. It did make some great beeps and I am excited to use. Last question is does the firmware on the mega328 ever need to be updated. thanks
This is the biggest issue that takes getting used to when moving from Atmega to esp32. The Atmega's pins are "Set function" in arduino however the esp32 using a mux controller to control the pins resaulting in a matrix of multi function I/O pins that need to have functions set in code.