New version 1.48.2 to test before final release

Here you'll find the updated available
Post Reply
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Nov 20, 2022 3:42 pm Hi Francesco
I have a minor problem with the new behavior of NEO.Setup and NEO.strip.
If Led_end_pos is wrongly set too high in NEO.STRIP, then the command is ignored without an error message. The "out of range" parameter was accepted in previous versions.
Took me some minutes to isolate that problem in an until now well working neopixel-code :-)

Code: [Local Link Removed for Guests]

' TEST OF NEO.SETUP and NEO.STRIP
NEO_PIN = 27
NEO_NUM = 25
NEO_END = NEO_NUM-1
neo.setup NEO_PIN,NEO_NUM ' set 25 neo rgb leds on the pin 27
neo.strip 0,NEO_END,2,2,2 ' set all leds to white

For I= 1 to 10
  wlog I
  if I <6 then
    wlog "All LEDs do change now to a new random value"
    neo.strip 0,NEO_END, rnd(100),rnd(100),rnd(100)
  else
    
    wlog "No more change at the LEDs  as led_end_pos  is out of range (to great) now"
    neo.strip 0,NEO_END + 1 , rnd(100),rnd(100),rnd(100)
  end if
  pause 1000
next I

end
Thanks, yes I changed something there and this function now relies directly on the library that apparently works like that.
I can change and make it work like before for next release
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

HI all,
please find here the version 1.48.21 that contains the fixes for the DS18B20 (updated the driver) and the "out of range" problem for the neo.strip

Let me know if works for you
You do not have the required permissions to view the files attached to this post.
Jan Volk
Posts: 93
Joined: Wed Mar 03, 2021 1:35 pm
Been thanked: 28 times

Re: New version 1.48.2 to test before final release

Post by Jan Volk »

Francesco,

Test ESP32 CAN 1.48.21 with DHT22 and DS18B20 on a Lolin32 Pro.
DHT22-sensor: OK
DS18B20 : OK
Test ESP32 BLE CAN 1.48.21 with DHT22 and DS18B20 on a Lolin32 Pro.
DHT22-sensor: OK
DS18B20 : OK

note: Can I change the wlog output font for the same font as e.g. print so that everything is neatly arranged?
In a previous version have you ever had the same output as print and in html with help commands <tt><b>?

Jan Volk
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Sun Nov 20, 2022 8:40 pm Francesco,

Test ESP32 CAN 1.48.21 with DHT22 and DS18B20 on a Lolin32 Pro.
DHT22-sensor: OK
DS18B20 : OK
Test ESP32 BLE CAN 1.48.21 with DHT22 and DS18B20 on a Lolin32 Pro.
DHT22-sensor: OK
DS18B20 : OK

note: Can I change the wlog output font for the same font as e.g. print so that everything is neatly arranged?
In a previous version have you ever had the same output as print and in html with help commands <tt><b>?

Jan Volku
Thanks for the feedback. Probably it should be possible to change the font for the wlog output in a future version
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

Hi all,
this is a real demo using the latest features of the 1.48.21.

The display is composed of 16 8x8 neopixels arranged as a 64 x 16 display = 1024 leds.

It is very very bright :D
ezgif-2-7e4a8e839c.mov
ezgif.com-gif-maker.mp4
The controller is an ESP32-C3 M5 STAMP-C3U like this
image.png
You do not have the required permissions to view the files attached to this post.
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 221 times
Contact:

Re: New version 1.48.2 to test before final release

Post by PeterN »

Annex32 working with the ESP32C3U/single core@160MHz?
Speed to be expected between ESP8266 and ESP32 ???
User avatar
Electroguard
Posts: 885
Joined: Mon Feb 08, 2021 6:22 pm
Has thanked: 285 times
Been thanked: 329 times

Re: New version 1.48.2 to test before final release

Post by Electroguard »

The scrolling text and images are very impressive!
How many amps is the PSU?
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Nov 21, 2022 9:24 pm Annex32 working with the ESP32C3U/single core@160MHz?
Speed to be expected between ESP8266 and ESP32 ???
Yes, Annex works well on all the family of the ESP32, even the single core like the -S2 and the -C3.
For the ESP32-C3, the speed is very similar to the classic ESP32, however it is not recommended for playing music in background or for other tasks that requires intensively both CPUs at the same time.
I'm still in the process to understand the current limits but I'm really surprised as it runs much better than expected. The free RAM available (in Annex32) is around the same available for the classic ESP32 (without PSRAM) and, because of the multitasking underlying OS, you cannot see apparently the difference with a dual core.
For example I did a very simple project composed of 7 mijia xiaomi temperature / humidity sensors and an ESP32-C3 M5 STAMP-C3U.
The ESP32-C3 simply receive their signal using BLE and retransmit the readings on thingspeak.
This is the result
image.png
At the opposite, I'm a little bit deceived with the ESP32-S2 because it do not supports the BLE and has less RAM (but it has more GPIOs).

The ESP32-S3 is not really faster than the "classic" ESP32 but it has some nice features that I'll try to exploit in the future (i.e. 8MB of PSRAM with DMA access, useful to support nice graphical GUI effects or a VGA output)
You do not have the required permissions to view the files attached to this post.
User avatar
PeterN
Posts: 399
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 189 times
Been thanked: 221 times
Contact:

Re: New version 1.48.2 to test before final release

Post by PeterN »

Thank you Francesco for the work and the very good results.
That sounds astonishing good! Until now, I did expect more negative effect of the one core only version.
BTW I do like the small M5 modules for their good 3D-antenna-performance
User avatar
cicciocb
Site Admin
Posts: 2094
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 449 times
Been thanked: 1385 times
Contact:

Re: New version 1.48.2 to test before final release

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Mon Nov 21, 2022 11:22 pm The scrolling text and images are very impressive!
How many amps is the PSU?
Yes, the brightness is really surprising.
I'm using a 20A 5V PSU like this one
image.png
You do not have the required permissions to view the files attached to this post.
Post Reply