AirGradient ONE - Install & Wi-Fi Issues

Make sure you’re selecting the “LOLIN C3 Mini” Board.

it is selected this board.

Perhaps need to check the library versions

Yes - I selected the exact versions listed as dependencies.

Hm, perhaps that is the reason, I have all the latest versions. Downgrading the library’s at the moment and try again.

It keeps the giving the same result.

assert failed: i2c_ll_cal_bus_clk /IDF/components/hal/esp32c3/include/hal/i2c_ll.h:105 (clk_cal->scl_wait_high < clk_cal->sda_sample && clk_cal->sda_sample < clk_cal->scl_high)
Core 0 register dump:
MEPC : 0x40381eec RA : 0x40386c56 SP : 0x3fc9d9d0 GP : 0x3fc8e400
TP : 0x3fc70b78 T0 : 0x656c706d T1 : 0x6d61735f T2 : 0x61735f61
S0/FP : 0x00000001 S1 : 0x3fc9dbb0 A0 : 0x3fc9da34 A1 : 0x3fc8fead
A2 : 0x00000001 A3 : 0x00000029 A4 : 0x00000001 A5 : 0x3fc97000
A6 : 0x6c63203c A7 : 0x20656c70 S2 : 0x00000017 S3 : 0x3fc9da28
S4 : 0x3fc9da28 S5 : 0x4202878c S6 : 0x00000002 S7 : 0x3c0cc000
S8 : 0x00000000 S9 : 0x00000000 S10 : 0x00000000 S11 : 0x00000000
T3 : 0x6164733e T4 : 0x2d6c6163 T5 : 0x5f6b6c63 T6 : 0x20262620
MSTATUS : 0x00001801 MTVEC : 0x40380001 MCAUSE : 0x00000007 MTVAL : 0x00000000
MHARTID : 0x00000000

Stack memory:
3fc9d9d0: 0xa5a5a5a5 0xa5a5a5a5 0x3c0cbfa8 0x4038c5a6 0x00000000 0x3fc97000 0x0006000ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x42026366
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x458
load:0x403cc710,len:0x814
load:0x403ce710,len:0x2878
entry 0x403cc710

In my config I have several different display pages it cycles through. You can remove the lines for any pages you don’t want. You could also try enabling the “combo” page I have commented out currently.

When I first my got V9, I didn’t care for the display layout from the Arduino code, but later images showed a completely different layout, so maybe I’ll try it again and see what it looks like and if I can reproduce the same.
Or if you work on customizing a display in HomeAssistant, share it with me and we’ll see about including it!

1 Like

Solved the trouble.
Within Arduino IDE 2.2.1 I was using the board default version:
esp32 by Espressif Systems 3.0.0-alpha2

I have downgraded the boardmanager to:
esp32 by Espressif Systems 2.0.14

This is too bad it was not that obvious somehow to me.

Cost some time but it works now and the device was not bricked.

1 Like

@MallocArray , I’ve been running your config for several days without issue - it works great! If I end up creating a new display setup, I’ll share it. I might try to replicate the original display since it shows all the data on one screen, but the cycling displays you created are easier to read from a distance.

I’m really happy with the hardware and software overall. A big thank you to @Achim_AirGradient and everyone involved in creating such a great ecosystem. It’s a lot better than the Awair platform I’m coming from, especially since they decided to brick their older devices.

Here are some of the Home Assistant dashboards I’ve created using the Apex Charts plugin.

Do those large spikes in VoC Index correlate to anything you know of? Since it is an index, 100 is baseline and going significantly up means it got significantly worse, while under 100 means it got significantly better. I see mine jump around 100-200 sometimes, but almost 500 is surprising to me.

Really nice dashboard!

Great to see the flexibility that open source hardware offers.

The TVOCs look quite interesting as @MallocArray pointed out. Seems they affect all the rooms at the same time, could it be an outside source?

Do you also have a chart for the NOx index?

After some detective work, it turns out the VOC spikes are from using 85% ethyl alcohol hand sanitizer :joy:

NOx looks normal:

1 Like

Wow, big impact from the ethyl.

This tripped me up also. Giving this a try.

Also found that I was missing the s8_uart library so I installed the only one that I could find - S8_UART by Josep Comas. Now it compiles completely.

Hi Achim,

just to let you know that the same wifi issue is found on:

https://github.com/airgradienthq/arduino/blob/2.4.12/examples/DIY_OUTDOOR_C3_1PST/DIY_OUTDOOR_C3_1PST.ino

Cheers

Thank you for pointing this out. I will look into it.