Concurrency and the Internet of Things

  Рет қаралды 1,311

Davy Wybiral

Davy Wybiral

Күн бұрын

Пікірлер: 12
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Thank you for mentioning my video. Good explanation. What I missed is the fact that the concurrency problem usually is solved on the operating system level. Maybe RTOS would have deserved a mentioning. And how it can be used on an ESP32 in the Arduino environment.
@DavyBot
@DavyBot 6 жыл бұрын
I'm not very well versed on the details of RTOS. How would that help with something like the 3 independent LEDs example or implementing asynchronous IO handling at the code level (as in responding to IO events without blocking)? For JS, since it's all built around an event loop (similar to that provided by Python's asyncio) those things are handled with callbacks or "promises". Even on platforms like NodeJS (despite usually running on proper Linux web servers).
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
Maybe you watch my video ESP32 on steroids. You basically create tasks which run completely independent from each other. RTOS does the switching. In the ESP32 you even can run two tasks in parallel if you wish because it has 2cores. But only optional.
@davywtf
@davywtf 6 жыл бұрын
@@AndreasSpiess Just watched your video. Ahh. I see. That is pretty cool. And you're right, I could have mentioned RTOS as being a sort of compromise between something like RPi and lower level micro platforms. For me it's still extra boilerplate code to work with compared to the JS model. It also further complicates things when you need to manage shared state between those tasks. And, probably more importantly, it would limit my target platform to those beefier boards. I've been running Espruino smoothly on a tiny little nRF52832.
@AndreasSpiess
@AndreasSpiess 6 жыл бұрын
I do not know Espurino yet and I do not want to be right or wrong. Just wanted to mention that RTOS exists and is quite widely used;-) I for sure will have a look at espurino as the main developer asked me to do so.
@williambello4089
@williambello4089 6 жыл бұрын
Very good. Keep it up. :-)
@jason.7877
@jason.7877 5 жыл бұрын
"regularly posting all of your private data to creepy remote server" nice
@joelmatondang7037
@joelmatondang7037 6 жыл бұрын
u could use a phone microphone and it's still have more quality audio than this video. Try it
@DavyBot
@DavyBot 6 жыл бұрын
lol, I did record it on a phone microphone (a Pixel). It doesn't sound that bad to me, just a little bit of echo.
@joelmatondang7037
@joelmatondang7037 6 жыл бұрын
@@DavyBot how? i thought pixel had a great microphone . . . it's lack of low and mid,
@DavyBot
@DavyBot 6 жыл бұрын
I don't have a very bass-y voice to begin with but it might be the noise removal I used (Audacity). Without removing noise there's too much background static since I don't have soundproofing. I could try using some EQ profiles next time. But, yeah, I really just need to get a decent mic and find a way to soundproof a bit so I don't need as much noise reduction.
@joelmatondang7037
@joelmatondang7037 6 жыл бұрын
@@DavyBot yeah, i used eq a lot when i edit a video with me or my friends voice in it. I used fabfilter q2 btw
ESPlay Micro: Open Source ESP32 Game Console
8:39
Davy Wybiral
Рет қаралды 39 М.
DIY Solar Powered LoRa Repeater (with Arduino)
10:11
Davy Wybiral
Рет қаралды 51 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Thumby: The Worlds Tiniest Game System | MicroPython
9:23
Davy Wybiral
Рет қаралды 3,6 М.
DIY TinyTV Kit
4:21
Davy Wybiral
Рет қаралды 43 М.
ESP32-Cam Quickstart with Arduino Code
11:35
Davy Wybiral
Рет қаралды 295 М.
Starting out in electronics, robotics or computer science?
14:04
How to Travel Anywhere on Earth in 45 Minutes
9:38
StarTalk
Рет қаралды 14 М.
STEMTera: The Arduino Programmable Breadboard
4:51
Davy Wybiral
Рет қаралды 3,8 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН