output_power: 8.5dB
Why such low output? Thats about 8mW. Go for full power and reduce later when youget it working.
output_power: 8.5dB
Why such low output? Thats about 8mW. Go for full power and reduce later when youget it working.
Yep, like it recommends in the docs.
I had some similar issues and eventually resolved it with this config.
esphome:
name: bed-occupancy-air-quality-1
friendly_name: Bed Occupancy
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1 # Pinout: https://www.sudo.is/docs/esphome/boards/esp32c3supermini/#pinout
variant: ESP32C3
framework:
type: esp-idf
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: x
gateway: x
subnet: x
power_save_mode: none
When I try your code I get the similar problem:
[19:12:40][I][wifi:313]: WiFi Connecting to '8level-Net'...
[19:12:40][D][esp-idf:000][wifi]: I (268948) wifi:
[19:12:40][D][esp-idf:000][wifi]: new:<5,2>, old:<5,0>, ap:<5,2>, sta:<5,2>, prof:1
[19:12:40][D][esp-idf:000][wifi]:
[19:12:40]
[19:12:40][D][esp-idf:000][wifi]: I (269229) wifi:
[19:12:40][D][esp-idf:000][wifi]: state: init -> auth (b0)
[19:12:40][D][esp-idf:000][wifi]:
[19:12:40]
[19:12:41][D][esp-idf:000][wifi]: I (270231) wifi:
[19:12:41][D][esp-idf:000][wifi]: state: auth -> init (200)
[19:12:41][D][esp-idf:000][wifi]:
[19:12:41]
[19:12:41][D][esp-idf:000][wifi]: I (270234) wifi:
[19:12:41][D][esp-idf:000][wifi]: new:<5,0>, old:<5,2>, ap:<5,2>, sta:<5,2>, prof:1
[19:12:41][D][esp-idf:000][wifi]:
[19:12:41]
[19:12:41][W][wifi_esp32:705]: Event: Disconnected ssid='8level-Net' bssid=[redacted] reason='Auth Expired'
[19:12:41][W][wifi:653]: Error while connecting to network.
[19:12:46][I][wifi:313]: WiFi Connecting to '8level-Net'...
[19:12:50][D][esp-idf:000][wifi]: I (279274) wifi:
[19:12:50][D][esp-idf:000][wifi]: new:<5,2>, old:<5,0>, ap:<5,2>, sta:<5,2>, prof:1
[19:12:50][D][esp-idf:000][wifi]:
[19:12:50]
[19:12:50][D][esp-idf:000][wifi]: I (279555) wifi:
[19:12:50][D][esp-idf:000][wifi]: state: init -> auth (b0)
[19:12:50][D][esp-idf:000][wifi]:
[19:12:50]
[19:12:51][D][esp-idf:000][wifi]: I (280558) wifi:
[19:12:51][D][esp-idf:000][wifi]: state: auth -> init (200)
[19:12:51][D][esp-idf:000][wifi]:
[19:12:51]
[19:12:51][D][esp-idf:000][wifi]: I (280560) wifi:
[19:12:51][D][esp-idf:000][wifi]: new:<5,0>, old:<5,2>, ap:<5,2>, sta:<5,2>, prof:1
[19:12:52][D][esp-idf:000][wifi]:
[19:12:52]
I also tried to disable the output_power parameter but still no connection
Come to think of it I think my issues were mostly poor rssi related. So perhaps not so related to your cause.
It may just be poor materials. I have a super mini board that works fine as long as I don’t seat it into a female pin header. The female pin header isn’t connected to anything, literally just soldered onto a protoboard.
When it isn’t seated, wifi works fine. The moment i seat the male pin header from the super mini into any female pin header, the wifi drops and throws these errors and some other errors that are similar (handshake failed, etc.) which makes me think there is some cold solder joint or something on the board that only shows itself when some flex or pressure is applied.
That’s just some of my observations, I’ve checked the board with a microscope and can’t see anything obvious. Other boards randomly have this issue and it lasts for anywhere from a few minutes to a few days. Needless to say, I’ve since only purchased from vendors who I’ve had good experiences with (tenstar robot seems to be ok on AliExpress).
These boards are very hit and miss, the crystal thing is a known issue, god knows what other corners were cut by various manufacturers to save pennies on BOM.
I haven’t had any issues at all with non super mini style boards, so far.
I got an idea to try to solder this type of antenna to the super mini and see if if helps. Has anyone tried it before? I’m not sure about the connection of the two wires, where to connect them.
Use a 3cm wire, will do wonders for your Rx/tx.
I saw this elsewhere - might be your problem:
That’s the crystal too close to antenna issue.
funnny I have the same issue with pin headers… Did you solve it by adding a 3cm wire?
No, the 3cm wire just gives me a good signal, the wifi issues still persist when seated, just poor quality boards and components.
Same problem here. No wifi on a card unless I place my hand around the card. On this condition, the card connects. I tried with a card where the quartz is further away from the antenna. It works brilliantly… The problem must surely be because the quartz is too close to the antenna. Do you have a solution by chance or is the card good to throw away?
That’s been my solution as well, just put the poorly designed ones into the boneyard and reap them for components when needed.
Sorry for late reply, I didn’t see this notification.
Hi guys! Just saw the discussion here, while fighting with one these ESP’s. I have no connection issues, but what I’m experiencing is high temperature on the “upper” half of the board (between pin 0 and 21) - more than 44°C.
What’s your experience, if I may ask?
Thanks!
I wouldn’t consider that anyhow high.
If Esp board draws 200mA powered from 5V, it produces around 1W of heat…
That’s true, but I tried with other similar boards, and the results showed 10°C less under the same conditions.
(In the photo, the left one is much cooler than the group on the right. All three on the right gain temperatures over 42°C)
It means it’s drawing less current, maybe because of different antenna setup or other differences on circuit. It doesn’t mean it’s better or worst.
I would be concerned if one of those identic ones have different temp (with same code).
That’s the reason I tested all of them. The ones on the right are within a few degrees difference, but well over 40. The one on the left, obv. with different antenna and a male IPEX stays cool.
All share same code.
I wouldn’t worry about it. If some components heat up little bit more on different boards, it’s not a sign of problem. If the esp chip itself stays around ambient temp plus 20’C (~45’C), I see normal behavior. All of the components are rated at least 85’C.