logo elektroda
logo elektroda
X
logo elektroda

ESP8266/ESP32 microcontroller programming course in C - source search

mtbchn 2913 6
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 19898284
    mtbchn
    Level 3  
    Hi,

    do you have a reference for a good course on programming the microcontrollers mentioned in the topic in pure C? Thanks in advance for your reply and for pointing out any sources you use.

    PS I am not asking about courses run by people with personality disorders ;) .
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #4 19898377
    pawel1148
    Level 24  
    It's hard to find anything interesting in Polish, apart from simple Arduino stuff and a million beginning courses with ESP8266/ESP32 board introduction on YT.
    From more serious free sources there is randomnerdtutorials.com (I don't know if you'll find anything on pure C there, but under C++/arduino/gotovers there is quite a lot) .
    There is also a Kolban book on ESP32 and about ESP8266. Honestly I can't really make sense out of this book, but you might find it useful for something (it's free to look at, and it's probably one of the few sources that is largely devoted to C).
    Espressif has also published something there, but it's more of a hardware description of the processor....
    Internet of Things with ESP8266, I don't know if I paid for it or if it's free. There are a few projects there, but they explain more how to make yourself a gadget from a ready-made one than how to program.(rather ready-made and arduino).

    I liked The Complete ESP32 Projects Guide by Dogan Ibrahim the most, there is a lot of repetition of the same thing, which can be mildly annoying, as a lot of the text could be omitted and the book wouldn't lose much (but it's much easier to grasp for someone with poor English). There is also arduino/C++, but there are 59 projects, some of them a bit on the force (but rather most of them teach something) and it is rather aimed at simple learning of programming, unfortunately throughout the book they show examples on unfortunate arduino delay and they don't try to fix it... It is possible to deal with timer interrupts separately, but some people may find it terribly annoying to abuse this delay and waste the potential of the processor. Unfortunately, this is already a paid book, rather cheap by English literature standards, but rather expensive here... Maybe something more interesting came out, but as I was looking for books for ESP32, this one suited me best.

    In general I had a hard time finding something concise on this that taught programming.
  • ADVERTISEMENT
  • #5 19898525
    ex-or
    Level 28  
    inot wrote:
    Maybe that's it ?
    .
    The current version of the SDK being promoted is based on FreeRTOS so I have the impression that this document is rather outdated. So is Kolban's work.
    I have the impression that in the context of "pure C" the available way is tutorials for FreeRTOS (already mentioned in this thread), API Reference from Esspresif pages (quite poor in my opinion), API Guides (for ESP32 Link quite good, for ESP8266 very poor) and examples. So generally a work of their own
  • Helpful post
    #6 19898919
    khoam
    Level 42  
    For ESP32:
    API Reference .
    Hardware Reference
    API Guide
    Libraries and Frameworks .
    And if that's not enough for someone, there's also plenty of technical documentation and numerous examples on github .

    Of course, there is also a rather extensive list of ready-made components (in C) to support peripherals: Link .

    As for the ESP8266, I would not get involved with this MCU in new (non-arduino) projects. The new ESP32-C3 can fully replace the ESP8266 and is close in price to it.

    However, how to create a development environment for ESP32 based on Visual Studio Code is described here: Link .
  • ADVERTISEMENT
  • #7 19931913
    mtbchn
    Level 3  
    Colleagues, thank you all for your replies.

Topic summary

A user inquired about resources for programming ESP8266 and ESP32 microcontrollers in pure C. Responses included various online courses, books, and documentation. Notable mentions were the website learnesp32.com, free resources like "Mastering the FreeRTOS Real Time Kernel," and randomnerdtutorials.com. The Kolban book on ESP32/ESP8266 was noted, though its clarity was questioned. The importance of the FreeRTOS SDK and API references from Espressif was emphasized, along with the suggestion to consider the newer ESP32-C3 as a replacement for the ESP8266. Additional resources included GitHub documentation and Visual Studio Code setup guides for ESP32 development.
Summary generated by the language model.
ADVERTISEMENT