Good question - and I cannot speak for the ESP, because i don't use them at all. But I am working in R&D, developing and producing microcontroller based systems and prototypes with small numbers (<10 devices usually). We have used Pyboards, Pycom, Arduinos and derivatives, Nordic chips and occasiona...
Hello, after having managed to freeze modules and deploy them to a Pyboard, I found, that the frozen module is always used, even when an module with the same name is available on the SD-card. That poses a slight challenge: In case of improvements or patches the firmware has to be updated, it is not ...
A simplified picture: Any conventional µC uses hardware interrupts as follows: When enabled, an occurring interrupt let the program branch to the dedicated Interrupt Service Routine. While in that ISR, any other interrupt is not served, but a flagbit is set, and the interrupt is served as soon as yo...
Interesting discussion, I have a slightly different vantage point, that has not been mentioned before. I use microcontrollers for private and professional purposes, and so far have been programming them in C or C++ (or assembler *duck*). A year ago colleagues and friends started to tell me more and ...
My plan is, to write a code that fine-tunes the adjustment of the RTC depending on the temperature. On my particular pyboard (bought from DigiKey), the correction value for ~25°C was -293, which i can determine using either of two different algorithms that use a GPS PPS signal as a reference. The al...
Not really. I tried a search using DigiKey, but even when narrowing down to 3.2*1.2mm 32KHz SMD, there are still dozens of hits left with sometimes very different special properties. The I tried the cheapest ones of those to see if the device marking can help, but nope.
I try to understand a very odd behaviour of the RTC quartz of the PyBoard v1.1, and would like to have a look at the datasheet. It would also help to know the frequency-temperature characteristic. Posting of attachments (pictures) is in this forum not possible? It seems not to work for me... Thank you
Without having tested this particular code, most likely not! You cannot access the heap in an Interrupt Service Routine (AKA callback). Even though you may write innocent code in first instance, under the hood the system may try to allocate memory, and face-plants. As an example, if you add values t...
I rewrote the whole program starting from last week's master. Now everything works and I have no idea where the error was. :| Well done! Only out of curiosity... May it be, that the pyboard fails to load modules, if there is an excessive folder sturcture on the flash? Hmmm, I don't know, but what I...