How to Create a Software Architecture | Embedded System Project Series #6

  Рет қаралды 21,137

Artful Bytes

Artful Bytes

Күн бұрын

I talk about the software architecture of my sumobot and show a block diagram that will keep us oriented in the coming programming videos. I also explain why you should architect your code and some things to consider when you do. Overall, a tiny dip into an otherwise ocean-deep topic.
0:00 Intro
1:08 Disclaimer
1:24 Outline
2:37 Why organize software?
6:04 Sumobot Software Architecture
7:36 Application layer
10:25 Drivers layer
13:25 A few comments
14:13 Why this architecture?
15:05 Books
15:15 Principles & Patterns
15:40 Over-theorizing
16:18 How to think?
17:20 Hardware diagram
19:08 Pattern & Principles I followed
22:21 Remember the Whys
24:04 Last words
Diagram: www.artfulbytes.com/sw-arch-y...
🌍 Links mentioned in this video
embeddedartistry.com/blog/201...
github.com/mpaland/printf
⌨️ My development environment
www.artfulbytes.com/devenv
🌍 Links
GitHub - github.com/artfulbytes
Website - www.artfulbytes.com
👨‍💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.

Пікірлер: 38
@jonathanroberts7100
@jonathanroberts7100 3 күн бұрын
Thanks again Niklas. This video has just come at the right time to help me plan the SW (and HW) development for my eVSTOL project properly. Really appreciate your help!
@philipgiles8407
@philipgiles8407 25 күн бұрын
Moving from a Linux based C role at my job into designing the hardware and software for an embedded device. And these videos are so awesome. Super high quality, well made points and explained well too
@pawerapta9525
@pawerapta9525 11 ай бұрын
Great job, dunno why your channel is so underrated, you should have at least 10-times more subscribers.
@davidquezada6324
@davidquezada6324 Жыл бұрын
Great video, Thanks for sharing your knowledge!
@piotrzielinski9748
@piotrzielinski9748 8 ай бұрын
This is what I needed. Thank you!
@LeonardoGabrielRosa
@LeonardoGabrielRosa 7 ай бұрын
Excellent video! Thank you very much, it has been extremely useful!
@muhammadprawirayuda3510
@muhammadprawirayuda3510 3 ай бұрын
You conclude almost a whole of book design pattern book, great
@supreethsakrepatna5951
@supreethsakrepatna5951 Жыл бұрын
This is brilliant stuff. Thanks a lot!
@artfulbytes
@artfulbytes Жыл бұрын
Thanks for watching!
@gabriel_gelli
@gabriel_gelli Жыл бұрын
Great video! Extremely good contextualization!!
@artfulbytes
@artfulbytes Жыл бұрын
Thanks, yes my hope is that having a project to talk around makes topics like these easier to digest :)
@vihangpathak9759
@vihangpathak9759 Жыл бұрын
Great learning waiting for more🙏💯
@artfulbytes
@artfulbytes Жыл бұрын
More is to come 😇
@kalei02
@kalei02 5 ай бұрын
Hi Artful, your work is amazing here! I'm working with C2000 DSP series from texas in my PhD project, and as an electrical engineer, I must say that we often don't give much attention about our code structure and clarity, since we focus 90% of our time in the theory of the application itself (in my case now, field oriented control for electrical machines). I know that I'm not a software engineer or code developer, but minimum systematization and design architecture is crucial for me, otherwise debugging becomes a nightmare.
@artfulbytes
@artfulbytes 5 ай бұрын
Yes it can be hard striking that balance when coming from a more theoretical background. You don't have to write that much code before it starts to pay off to think a little bit about the structure.
@slimsh4dy115
@slimsh4dy115 Ай бұрын
The Playlist of my Dreams🤩🤩
@muhammadprawirayuda3510
@muhammadprawirayuda3510 3 ай бұрын
Good, easy to understand sir
@gastonkitambala4358
@gastonkitambala4358 Жыл бұрын
Great content, your channel is so underrated. Keep them good videos coming we are here to support you!
@CokeDrinker1001
@CokeDrinker1001 Жыл бұрын
He’s back!
@artfulbytes
@artfulbytes Жыл бұрын
You betcha!
@concienciaconectiva
@concienciaconectiva 9 ай бұрын
amazing chanel!! Does somebody know of any source where I can check architectures from different embedded projects?
@rupantaradhikary6580
@rupantaradhikary6580 Жыл бұрын
nice video
@ileskwadz
@ileskwadz Жыл бұрын
Hello from BC, Canada 🖐🙂
@artfulbytes
@artfulbytes Жыл бұрын
Hello hello 👋
@sinamathew
@sinamathew Жыл бұрын
Well done man, great video. What simulation software was use in tge video.
@artfulbytes
@artfulbytes Жыл бұрын
Thanks, I'm using procreate for drawing here, if that's what you meant by simulation software.
@hellfire-gs8ni
@hellfire-gs8ni Жыл бұрын
Great video! What software was used to draw the diagram?
@artfulbytes
@artfulbytes Жыл бұрын
I drew it in procreate, but I would not do that again, better to use a dedicated block diagram tool like draw.io or similar.
@juniorlucival
@juniorlucival 10 ай бұрын
With every project I undertake, some functions become obsolete, and I need to create new ones in previously used code. This disrupts various patterns, but if I don't do it, I'll lose performance.
@artfulbytes
@artfulbytes 10 ай бұрын
Yes performance sometimes has to come at the sacrifice of other things. Still, a good software architecture can help minimize those changes.
@sanya5881
@sanya5881 Жыл бұрын
What software did you use for the diagrams you made
@artfulbytes
@artfulbytes Жыл бұрын
Procreate, but I don't recommend it, better to use a dedicated diagram software like draw.io or visio.
@vihangpathak9759
@vihangpathak9759 Жыл бұрын
Hello can I use MSP430F5529 to follow your tutorials?
@artfulbytes
@artfulbytes Жыл бұрын
That's a beefier (more memory) MSP430 than the one I'm using :) Without having looked at its datasheet, I'm guessing the peripherals are similar since they are in the same MCU family, so should only require minor changes (if any).
@johanliebert2048
@johanliebert2048 Жыл бұрын
Motivated by your video. I want to make a simpler analogue, like a regular space scanner on sound sensors and make a space map.
@artfulbytes
@artfulbytes Жыл бұрын
You mean build up a map of e.g. a room by taking range measurements from sound sensors? Are we talking 2D or 3D?
@johanliebert2048
@johanliebert2048 Жыл бұрын
@@artfulbytes For now, I just want to do 2d. About 3d, it will probably be much harder.
@artfulbytes
@artfulbytes Жыл бұрын
@@johanliebert2048 Interesting, and yes a good idea to start with 2d!
What Software Architects Do That Programmers DON'T
12:51
Thriving Technologist
Рет қаралды 106 М.
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 46 МЛН
Best father #shorts by Secret Vlog
00:18
Secret Vlog
Рет қаралды 22 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 7 МЛН
Everything Starts with a Note-taking System
21:23
Mischa van den Burg
Рет қаралды 176 М.
Top 5 Most Used Architecture Patterns
5:53
ByteByteGo
Рет қаралды 231 М.
Malware Development: Processes, Threads, and Handles
31:29
Getting the Basics - Software Architecture Introduction (part 1)
7:48
Revolutionize Your ESP32 Projects with Live GPIO Pin Monitoring!
8:08
The Last Outpost Workshop
Рет қаралды 156 М.
EMBEDDED PROJECT IDEAS - Embedded Software Projects From Beginner to Expert Level
6:55
Prof. Dr. Florian Leitner-Fischer
Рет қаралды 36 М.
How To Become An Embedded Software Engineer?
10:30
Greidi Ajalik
Рет қаралды 123 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,5 МЛН
Что не так с раскладушками? #samsung #fold
0:42
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 428 М.
WATERPROOF RATED IP-69🌧️#oppo #oppof27pro#oppoindia
0:10
Fivestar Mobile
Рет қаралды 19 МЛН