Search found 904 matches

by kevinkk525
Sun May 20, 2018 12:04 pm
Forum: ESP8266 boards
Topic: Maximise available RAM
Replies: 6
Views: 3621

Re: Maximise available RAM

no because I do not even understand what this is :/ I can execute micropython.qstr_info(1) and get a lot of entries that are my module names (with path) and a few constants I use, which do not really fit to the modules but how do I know which ones are invalid? And what does putting these into qstrde...
by kevinkk525
Sun May 20, 2018 7:32 am
Forum: ESP8266 boards
Topic: Maximise available RAM
Replies: 6
Views: 3621

Re: Maximise available RAM

But that's a very expensive cheat method ;)
An esp8266 costs about 2.5€ but an esp32 costs at least 6€ without psram...
Oh and I would like to keep my 10 esp8266 useful :D

I do have 2 esp32, one with psram, though.. for the really big projects.
by kevinkk525
Sat May 19, 2018 9:10 pm
Forum: ESP8266 boards
Topic: Maximise available RAM
Replies: 6
Views: 3621

Maximise available RAM

[Update: My firmware build had an error resulting in 16kB less free RAM. Therefore this is not as important now] As my project grew, I was constantly hitting the RAM limit of the esp8266. Using frozen modules wasn't enough anymore so I started searching and getting "creative". This are ways I've fou...
by kevinkk525
Mon May 14, 2018 7:52 am
Forum: General Discussion and Questions
Topic: adhesive/insulation for electronics in soil
Replies: 8
Views: 2261

Re: adhesive/insulation for electronics in soil

That sounds very interesting. Thank you all for your answers, I will read through it. @pythoncoder: you are right, the sensor is not for the garden as rain would be a problem. I'm using these in my glasshouse (or balcony garden :D ) So there won't be any rain except if I make it rain by using a wate...
by kevinkk525
Sun May 13, 2018 11:33 am
Forum: General Discussion and Questions
Topic: uasyncio: best way to write to a file from a coroutine
Replies: 9
Views: 2571

Re: uasyncio: best way to write to a file from a coroutine

@pythoncoder: I'm using frozen bytecode and removed every unneccessary class but my project is already that big, it hardly fits into the RAM, and I only use a compressed version of your mqtt-library, a general component registration function, a htu21d, a generic gpio mqtt listener and a buzzer on pw...
by kevinkk525
Sun May 13, 2018 11:12 am
Forum: General Discussion and Questions
Topic: adhesive/insulation for electronics in soil
Replies: 8
Views: 2261

Re: adhesive/insulation for electronics in soil

Thanks, I did not see that thread. But even he does not submerge his whole sensor and therefore does not need waterproof insulation (if he does not water the connector). I'm using this sensors: https://www.dfrobot.com/wiki/index.php/Capacitive_Soil_Moisture_Sensor_SKU:SEN0193 They have quite a bit o...
by kevinkk525
Sat May 12, 2018 8:11 pm
Forum: General Discussion and Questions
Topic: adhesive/insulation for electronics in soil
Replies: 8
Views: 2261

adhesive/insulation for electronics in soil

I'm going to place some soil moisture sensors in my garden and I wasn't some of them to be completely covered in soil. So I was thinking about how to insulate the electronics but was not sure which solution is the best considering that it will be quite warm and wet all the time and how the insulatio...
by kevinkk525
Sat May 12, 2018 8:06 pm
Forum: General Discussion and Questions
Topic: uasyncio: best way to write to a file from a coroutine
Replies: 9
Views: 2571

Re: uasyncio: best way to write to a file from a coroutine

This is actually really awesome.
On the other hand it's only usable on the esp32 as the esp8266 has such low RAM that I would waste too much by using somehting like that.
by kevinkk525
Sat May 12, 2018 7:28 am
Forum: Hardware Projects
Topic: In Search of a Hardware Project
Replies: 3
Views: 2092

Re: In Search of a Hardware Project

If you are going to use an ESP32 I would recommend trying it with SPRAM on board. There is a possibility to use the WROOM module rev1 and add PSRAM: https://loboris.eu/forum/Thread-Info-Upgrade-ESP32-board-without-psRAM-with-4MB-8MB-SPIRAM That would be interesting as there are practically no boards...
by kevinkk525
Thu May 10, 2018 8:29 am
Forum: ESP8266 boards
Topic: [workaround used] esp8266 gets stuck periodically
Replies: 35
Views: 10016

Re: Asyncio gets stuck periodically

Is 0x1000 seconds something special in the firmware? I can't get a correct downtime as i'm using the mqtt last wish publication and my mqtt client has a timeout of 60 seconds. According to that the microcontroller was offline for 1h 10min 31sec but of course there is a reconnection of the WLAN in th...