Are the Arduino Libraries Useful?

preview_player
Показать описание

Want to learn embedded programming? Check out why Arduino frameworks and IDF are great for beginners! 📚🚀 #embedded #programming #Arduino #IDF #codingTips

🔥🔥🔥 SOCIALS 🔥🔥🔥
Рекомендации по теме
Комментарии
Автор

This can be said for anything C related, but its invaluable knowledge.

tracel
Автор

arduino was what for me got me into c++ great times

Dawsatek
Автор

If you want to write your own custom libraries for a special device or module you found on Mouser or Digikey, then it's essential to learn a low level language such as C and read some product manuals

HersonBagay
Автор

If you dont use arduino, but use pure c, you have to figure out how to use registers of your chosen processor, which one does what, for various functions you need like pwm, pins and so on. That is found in the say atmega8 reference.

petrlaskevic
Автор

First project I did with an AVR was an interrupt based operating system and for example my onewire search rom function used only ten bytes of memory.

I did not need abstraction made by anyone else, just used the registers directly. I used a lot of macros to make code readable.

Oh and for timing I compiled my code and then disassembled it, calculated the timing from the calls. Added nops when needed.

It is not that hard, just read the AVR datasheet 😂

pukkimi
Автор

Platformio on vs code is a far better experience than arduino ide

wormisgod
Автор

Sometimes it doesnt make sense to write everything in assembly or straight machine code, sometimes a high level language is all you need. Sometimes a library is all you need. Professionally, you will be punished for re-inventing the wheel.

daviddickey
Автор

Yeah, I'm using the libraries that come with the sensors I bought for convenience to keep the project moving rather than writing my own library for addressing them... but I'm going more in depth with interrupts

revenevan
Автор

Initially Arduino seemed hard to me since I had a lot of questions like why is it like this, why do we do it this way specifically, I didn't like blindly using the libraries. When I learned Bare Metal Programming everything was now clear, Understanding the working of the registers and memory was so helpful and I preferred that to arduino .Till now I've never learned Arduino framework

alvindavid_
Автор

I think STM32 nucleo boards are so well set up for you that I'd recommend beginners skip to that level. That gives you a little bit more exposure to how peripherals are set up and such.

EmbeddedSorcery
Автор

I literally am brand new and I have a raspberry pico coming in the morning. Hopefully it’s like arduino

CripsyBanks
Автор

I wrote my own I2C device libraries, cause it forced to read the datasheets of the devices, and how to identify what each address was doing. I did this with C, and the same rules applied when I did it in Rust.

cryptic_daemon_
Автор

I tried to learn C yesterday, and I got a headache. I thought I'll stick with high-level programming languages.

KimberlyWilliamsch
Автор

I disagree if the question is specifically about the IDE. I'd rather recommend PlatformIO for embedded development IDE. The Arduino IDE abstract away too much IMHO to the point of becoming very basic (but bloated, especially the latest version) text editor with syntax highlighter and autocomplete off by default.

Edit: the title before was IDE and not libraries which is why I clarify it. I agree with the statement otherwise.

YandiBanyu
Автор

I think the difficulty in embedded programming lies in the electronic part, rather than in the software. Learning electronics is key to work on embedded systems.

ingframin
Автор

Just directly use the ATMel libraries, it unlock more possibilities

MaximeFelin
Автор

But why are you placing Arduino and esp-idf in the same category?

okhsunrog
Автор

Hi, do you have a guide a some kind of roadmap for someone who has no idea about embedded systems willing to learn?

LatinoGames
Автор

Maybe you can do like one or two wheel reinventions at an embedded level, more than that is just a waste of time

k_gold
Автор

It doesn't take much to implement or find a simple bootloader instead of bootstrapping, and most embedded ecosystems are very easy to get running from scratch these days. Arduino is for people who are uninterested in actual embedded work and just want to make a project run.

dooterino