Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set the RF tx power #69

Closed
oangelo opened this issue Mar 9, 2021 · 6 comments
Closed

Can't set the RF tx power #69

oangelo opened this issue Mar 9, 2021 · 6 comments

Comments

@oangelo
Copy link

oangelo commented Mar 9, 2021

I am tring to set the tx power on Telink Flasher, but, when I press the button "Send Config" the minimum power is automaticaly set. "Set default" and then "Send Config" works to go back to the default. I wish to improve the tx power to be able to receive the data a bit more distant from my bluetooth hub. This hapens both in my smartphone and on a linux browser.

@pvvx
Copy link
Owner

pvvx commented Mar 10, 2021

?
image

@oangelo
Copy link
Author

oangelo commented Mar 10, 2021

Today it is working, thanks @pvvx. But, I can not choose the power higher than +3.01 dbm, only lower. Higher power options were showing yesterday. Is 3.01dbm the maximum power?

@pvvx
Copy link
Owner

pvvx commented Mar 11, 2021

The microcircuit has 2 antenna options (VBAT and VANT) and an RF power supply. The second option works with reduced power on the current board ...
The CR2032 is not capable of generating large surge currents.

@ibamsey
Copy link

ibamsey commented Mar 22, 2021

So what is the highest power setting that can be achieved on the LYWSD03MMC ?

@pvvx
Copy link
Owner

pvvx commented Mar 22, 2021

So what is the highest power setting that can be achieved on the LYWSD03MMC ?

Depends on the internal resistance of the battery.
The chip has tx output power up to +10 dB
The original firmware has a maximum transmit power of 0 dB.

On more or less CR2032, when setting +3.1 dB (max in VANT mode.), we have a power failure (> 170 mV):
image

But this is the maximum work from the stabilizer built into the chip - VANT mode.
High powers are obtained when the RF is powered directly from the battery (VBAT mode).

The VBAT mode is excluded in the latest versions of the configurator due to the questions "why doesn't it work?".

https://www.dmcinfo.com/Portals/0/Blog%20Files/High%20pulse%20drain%20impact%20on%20CR2032%20coin%20cell%20battery%20capacity.pdf

@pvvx
Copy link
Owner

pvvx commented Dec 12, 2021

Replacing the CR2032 with a more powerful battery allows for higher TX RF power to +10 dB. A pulse current of 30 mA is required at 3.3 V.
In TelinkMiFlasher.html, change line:
const MAX_RF_TX_Power = false;
to
const MAX_RF_TX_Power = true;
image

@pvvx pvvx closed this as completed Feb 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants