$8 MilkV Duo: Arduino on one core and Linux on the other
Ғылым және технология
Imagine a chip that runs Arduino on one core, Linux on the other, and is built on RISC-V architecture - all for around ten dollars. Sounds like science fiction? Well, it’s not. This might just be the next big leap after Arduino, Espressif, and Raspberry Pi.
My second channel: / hb9blawireless
Links:
MilkV Duo and IO board: s.click.aliexpress.com/e/_DBt...
MiklV Duo 256MB: s.click.aliexpress.com/e/_DB9...
MilkV Camera: s.click.aliexpress.com/e/_DeX...
LuckFox Pico Pro (ARM & Linux only): s.click.aliexpress.com/e/_DFX...
LuckFox Pico Mini(ARM & Linux only): s.click.aliexpress.com/e/_Dmz...
LuckFox Camera: s.click.aliexpress.com/e/_Dek...
Channel with additional info: / @platimatinkers
MilkV Arduino examples: github.com/milkv-duo/duo-ardu...
MilkV Duo Wiki: milkv.io/docs/duo/overview
MilkV Duo Tutorials: spotpear.com/wiki-category/Mi...
USB-Serial Adapter: s.click.aliexpress.com/e/_DF5...
Patreon supporter company:
www.welectron.com/
00:00 - Intro
00:39 - Where did we come from?
01:14 - What happened in the last months?
02:04 - What does the MilkV Duo offer?
03:48 - How can we run Linux and Arduino in parallel?
04:42 - Program it with the Arduino IDE
06:12 - What about Linux?
07:51 - Let's test capabilities of the Arduino core
10:10 - The grand finale
12:40 - Summing up
The links above are usually affiliate links that support the channel (at no additional cost to you).
Supporting Material and Blog Page: www.sensorsiot.org
GitHub: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
Discord: / discord
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission on your purchases to buy new stuff for the channel
My Amazon.com shop: www.amazon.com/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: For AliExpress: bit.ly/3MtXUY8 (just go on from here to your product)
For Amazon US: www.amazon.com/shop/andreassp...
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
/ spiessa
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
Corporate Rise-and-Hit_05.wav by s-cheremisinov -- freesound.org/s/401121/ -- License: Creative Commons 0
#no#midroll#ads
Пікірлер: 485
Always inteesting content, but pls for the future don't use any transition tunes.
@AndreasSpiess
Ай бұрын
It seems to be clear that my Patreons do not like the new sound cues between the chapters. So I have some work ;-)
@RoofusRoof19
29 күн бұрын
@@AndreasSpiess I mean at least pick something that sounds a bit less soulless
@FM-xz3ht
29 күн бұрын
@@AndreasSpiess yes i also do not like it but I applaud you for trying new things. you never know unless you try! love your videos :)
@bob_mosavo
29 күн бұрын
@@AndreasSpiess Thank you, ahead of time, for finding a sound cue different from the one in this video 👍👍
@Richardincancale
29 күн бұрын
@@AndreasSpiessYes! I prefer to hear your dulcet Swiss accent!
we don't need transition sounds, your pace has always been perfect. Timestamps are quite enough :D
@AndreasSpiess
29 күн бұрын
Thank you for your feedback!
@davidmorton8170
29 күн бұрын
the first one was ok, but the second one came too soon. maybe just a lot , lot, fewer.
@rmwright70
29 күн бұрын
Transition sounds are "tricky". I like them, BUT, the sound being used is "too long" and "feels" like you are moving to a conclusion, not a new point. Keep going, I look forward to your videos every week.
@gregorykusiak5424
29 күн бұрын
@@rmwright70I agree, the initial transition sound should be the channel’s “theme” or famous ear worm leitmotif for intro and outro of the videos, with any after that at chapter transitions as much shorter/simpler chime.
@theydonothing1
29 күн бұрын
Your current transition sound is annoying (too loud and too long)
Indeed very interesting. However, I do not like the new transition music, it reminds me of an alarm!
@AndreasSpiess
Ай бұрын
I will look at it after my summer break. The next video will have them, too because it is already produced :-(
@aspuzling
29 күн бұрын
It makes me think I'm watching some corporate training video...
@TimNeumann
29 күн бұрын
Yeah, it does not fit to the calm video style which I like :/
@joinedupjon
29 күн бұрын
Agreed - The sunday morning uploads are part of my 'soft start' weekend morning routine and it was a bit like having my ears blasted.
@benargee
29 күн бұрын
@@AndreasSpiess surely you can't quickly remove them? Also, doesn't the KZread video editor have a sound removal tool?
I am a year younger than one of your commentators i.e. 76. I read a book whilst at school about valves - tubes for the Americans - and learnt to say "superhetrodyne". In 1976 I was still learning how to use and implement transistors and thyristors but also TTL logic. A year or two later, someone looked over my shoulder and said "you should use a microprocessor". Enter the 8080. I didn't even get an assembler. Programming was done on a teletype in binary coding. These new devices are fun and contributers like Andreas help us get to the next level. Thank you. 😊
@AndreasSpiess
28 күн бұрын
I am a bit behind you (67). But I also started with an 8080. We were born in a good spot. And decided for the right industry.
@alistairgill5538
28 күн бұрын
@@AndreasSpiess In a good spot..... but in a sense, worlds apart. 😉 . Firstly, I was in England. Secondly, I was designing a paper/film transport system for a phototypesetter. I also designed memory boards (remember "refresh circuitry"?), a floppy disk controller for 8" disks and various other devices. I moved to Germany in 1984 (for two years 🙃) and after doing more design work for typesetters moved into the laser industry. I would like to say that I was smart enough to predict the demise of the typesetting industry. In fact it was pure chance - or fate - that caused the change. Again, a good spot to move to. 👌
@dogastus
27 күн бұрын
I had a similar history and not far behind you agewise.
@ronaldgadget
17 сағат бұрын
In 1978 (yes!) I started to build my own home-computer with an 8086 - I wrote my own assembler typing in the hand assembled op-codes into a hex keypad on an Intel 8086 dev board... I worked on it for years, and it finally had a monochrome display board, 32 kB RAM board, 256kB DRAM board, a CPU board with 80186 and 512kB DRAM and a 20 MB hard drive. I learnt so much doing this I ended up working for IBM research for 35 years.
My goodness those bubble sounds are disengaging. I completely forgot everything I just heard each time they played
@Remigius0815
29 күн бұрын
Had to stop watching the video...
@jaffers8593
29 күн бұрын
Agreed. For the love of god get rid of this noise
@backgammonbacon
29 күн бұрын
You guys all need to go see doctors, one to check your hearing and the other to diagnose the source of your excessive contrarianism. Hopefully you are 12 years old and not full grown adults.
@benargee
29 күн бұрын
Please, I love these videos, but these are so bad. If he has a Patreon, he should preview it to patrons for feedback first.
@likilike501
29 күн бұрын
It gives me PTSD. It is like some corporate video that people are forced to watch.
Wow, I started at Bell Telephone Labs in 1972 using Intel 4004 and 8008 processors per card in test equipment used to test Western Electric boards (100 pin tester). It has been a great run. Now I am 77yo and amazed at what has been achieved. Eager to see what will develop next. If only psychopaths did not have a big red button to turn it into a horror. Oh well, not in my power to change. Thank you for all your wonderful information. It often leads me to doing fun stuff.
@AndreasSpiess
29 күн бұрын
I am glad to read that my videos are motivating. I am 10 years behind you, but also think, that we live in a wonderful (elextronics) world. Psychopaths existed all the times. But maybe we did not know about them as much as we know now ;-)
471,000 subscribers! Assuming we each get just 0.5m elbow room, this 'front row' we are all sitting in must be 235km wide. Switzerland is only 348km wide!😏
@notsonominal
29 күн бұрын
Well just have to snuggle up and deal with the me-too stuff after:P
@noweare1
29 күн бұрын
@@notsonominal ha, ha
@Paul_VK3HN
27 күн бұрын
Touche
@PalleMikkelsen
18 күн бұрын
The end seats will have a hard time seing anything :)
@ronaldgadget
17 сағат бұрын
As a kid we had this running joke: Why are the _[insert your country you like to pick on]_ busses wide and short? Because everyone likes to sit at the front...
"And why do you need that many cores?" "To blink leds and stuff"
@AndreasSpiess
28 күн бұрын
Exactly!
i have the Milk V DuoS. It is like the Duo with BT , WIFI and eth. I made a streamer out of it. I configured the Wifi, Installed Spotify Connect on it and BluezAlsa to use it to play Spotify over BT to my receiver, Sounds great ( BT aptx) and low power, I can run it from my powerpack for hours. I also made a Logitech Media Server out of it. I installed/compiled LMS server, and Squeezeplayer as a player. Then i connected a USB DAC dongle to the USB A port . I then played my music collection from my NAS to the Duos to the DAC dongle. Again, low power, runs for hours and looks really cool. See the forum of the Milk V . Next project would be to try to enable I2S, and attach a audio HAT to its pins. And to run the SQplayer in the RTOS chip.
@AndreasSpiess
28 күн бұрын
Cool stuff! You were lucky to get one. They are now sold out... Maybe you send me a message. Maybe we can do something together?
@marqckie
27 күн бұрын
Sure, its a fun small board. Fits easely in an envelope. Not clear how to send you a message. I just followed you on Patr and Tw, (look for an ape), so perhaps you can reply via them? @@AndreasSpiess
@pavelperina7629
8 күн бұрын
Good. I assume that most time takes setting up build environment, cause DuoS does not have package manager, does not have binary python packages, does not have compiler. Don't you have some blog post about it? I assume that power consumption is 0.2A (1W) no matter what.
I'm starting to feel very old! Thanks for this insight.
@AndreasSpiess
29 күн бұрын
We are old ;-) I feel we still can have a lot of fun, though.
I also found the audio break sounds distracting. However, I do enjoy the fact that you try new things. :))
@AndreasSpiess
28 күн бұрын
Thank you. At least somebody accepting that I tried ;-)
Sorry Andreas, I dislike the transition sounds. The board is fascinating.
@AndreasSpiess
29 күн бұрын
Thanks for the feedback. I will have a look at it after my summer break
Dogs and cats living together
@AndreasSpiess
29 күн бұрын
:-))
Always interesting well documented subjects. Cheers Mr. Spiess !
@AndreasSpiess
29 күн бұрын
Thank you!
Every tinkerer: Oh nice, that's a lot to play with. Every IT-sec person: Oh no, so much more unmaintained attack surface in our future. 🙂
@c1ph3rpunk
29 күн бұрын
Zero-Trust or Bust. The only network you’ll be able to connect to has no access by default, every connection must be authorized.
@AndreasSpiess
28 күн бұрын
I am an engineer and therefore, an optimist ;-)
@autohmae
27 күн бұрын
3:25 Did you notice the diagram said: secure boot ?
Amazing, I would love to see more such videos, even more examples of this chip
@AndreasSpiess
29 күн бұрын
I hope we will see some projects with it, too!
Loving how RISCV is becoming better by the day. Can't wait until the day anyone can make top of the line desktop chips
@kevinlassure6214
29 күн бұрын
Actually i'm waiting for SpaceMit MuseBook (risc v laptop for around 300$) cant wait for RISC V to grow quick either
@ristekostadinov2820
29 күн бұрын
The barrier for entry will always be huge in the high performance computing sector, simply because fabbing a chip requires billions of $ in equipment and given the fact how more challenging is becoming with every new process node it's not gonna get for the better. With that being said more and more companies can design their own chips. And the semiconductor industry on the more mature nodes will get shaken up.
@RoofusRoof19
29 күн бұрын
@@ristekostadinov2820 But just the lack of patents are a huge step letting others AT LEAST compete if they have the capital
@BruceHoult
6 күн бұрын
@@ristekostadinov2820 you're correct that while Joe Bloggs at home is legally allowed to design a high performance RISC-V CPU, he of course is unlikely to have the skills and finance to do it. But it does mean that the game is not limited to Intel and AMD for one ISA and Arm and a handful of companies such as Apple and Qualcomm that pay Arm mega dollars for an "architecture license" for another ISA. All the named companies and many others can play in the RISC-V pool if they want to. And, situations such as Qualcomm buying Nuvia for their high performance Arm core -- both companies holding those mega dollar Architectural Licenses -- and then being told they're in breach and not allowed to use that core they bought the company for and have to destroy all the files ... that can never happen in RISC-V land.
OMG, this is probably the most exciting video I've seen... the price and performance is mind blowing! Thank you for letting me know about it.
@AndreasSpiess
28 күн бұрын
You are welcome!
What a time to be alive! Thank you.
@AndreasSpiess
29 күн бұрын
I agree!
Nice introduction to this board, thanks!
@AndreasSpiess
29 күн бұрын
You are welcome!
Many thanks for great content again Andreas!
@AndreasSpiess
29 күн бұрын
You are welcome!
Thanks!! I would not have discovered this board on my own, for a while. Definitely gonna pick a few up!!
@AndreasSpiess
28 күн бұрын
This is part of my job as a KZreadr ;-)
@pavelperina7629
8 күн бұрын
I discovered it few days before this video :) when there was news that ubuntu has some support for RISC-V SBCs from MilkV. I was more interested in Mars, but it was not available for week or only high end model, which was too expensive and I don't need 8GB RAM. Also I found Radxa3C more powerful and cheaper and ordered this little thing for curiosity in the same package. Sadly Radxa3C seems dead (fixed: only xfce version works, not cli)
nice video covering the board! enjoy the summer
@AndreasSpiess
28 күн бұрын
Thank you!
Thanks for introducing new board ideas Interesting board for your introduction
@AndreasSpiess
29 күн бұрын
You’re welcome 😊
Thank you sir, for introducing us to an amazing board! ❤
@AndreasSpiess
29 күн бұрын
My pleasure!
Nice! I'm going to have to investigate this cool new board for my own projects. Thanks for the great introduction. 🙂
@AndreasSpiess
27 күн бұрын
My pleasure!
This is insane, so much to try with this. Questions that cant be answered in comments section. I guess the research is left for us to learn more. Impressive work!
@AndreasSpiess
28 күн бұрын
Indeed, it opens possibilities. But we have to see what people make of it.
Please, please no interlude music! Apart from that, still watching after countless years, thank you for your channel!
@AndreasSpiess
28 күн бұрын
Thank you for your feedback!
Saludos Profesor Andreas desde Costa Rica!!!, another nice video thx
@AndreasSpiess
27 күн бұрын
Greetings to Costa Rica!
Fantastic, Andreas keeping us on the bleeding edge as usual. 👍
@AndreasSpiess
28 күн бұрын
Thank you!
Amazing, thank you. I ordered the boards but I was annoyed that they didn't add a wifi chip, it's aggravating that even an esp32 has wifi... One note to the people hating the transition sounds: keep in mind it might possibly useful for blind people
@AndreasSpiess
28 күн бұрын
The verdict on the sound was very clear, I think. Maybe a different one will be accepted. But Iqa am not sure...
An amazing product! I'm impressed! Great video, awesome infotainment! I definitely want this!
@AndreasSpiess
28 күн бұрын
It seems you are not the only one ;-) The camera seems already to be sold out.
Great. Now I have another gadget to try and buy 10 of :D Brilliant video as always. Thanks :) For the transition sound effect, may I recommend something a bit quieter, shorter and lower in tone? maybe even some quiet music with a quick fade in and out.
@AndreasSpiess
29 күн бұрын
Thank you for the feedback. I will have a look at it after my summer break
You can even install the TinyCC compiler with nano or vi and program the chip, on the chip and compile its own code. Amazing! I’d LOVE to see more content on this as I just started messing with mine and have much to learn and even more to build!
@AndreasSpiess
28 күн бұрын
Good to know. I did not use the onboard compiler.
@pascalsirois6314
28 күн бұрын
@@AndreasSpiess you need to download it, I found a link posted by someone else, you can Send the zip file over ssh, unpack and run installation script. Very easy.
@BruceHoult
6 күн бұрын
64 MB is enough RAM to run Fedora or Ubuntu server (if someone does the work) and standard gcc for smallish programs. Or, I suppose, you can build gcc for buildroot or yocto or whatever it's using.
Really nice Video, this was exactly a “…fresh Idea about sensors & microcontrollers” thank you Andreas!
@AndreasSpiess
17 күн бұрын
Glad you enjoyed it!
Nice video, and nice hardware! Just as a side note: RISC-V is an open ISA (Instruction Set Architecture). That means that any binary using RISC-V opcodes can be processed by any hardware chip supporting RISC-V. It does not, however, mean that the chips themselves are open source. So "bringing open-source to the chip level" might be a bit of an overstatement. However, it's still a great development.
@user-px4zg3lk3q
28 күн бұрын
I think what he meant was the ISA is open source free from licensing cost unlike ARM which requires hefty upfront payments and a royalty fee per chip that uses its architecture
@AndreasSpiess
28 күн бұрын
Thanks for the info!
This seems to be the next platform to make a lot of smart devices ! One feature you didn't mention is that alongside all the CPU cores, it does also have a small TPU enabling some "AI on the edge" processing. I see on MilkV website that a series of classification & detection models have been benchmarked, which would be worth trying !
@AndreasSpiess
28 күн бұрын
Yes, it has a TPU. It was just too much for an introduction video...
Awesome! I ordered my Milk-V about 2 weeks ago so the timing is great for your video. I am comparing cheap and capable boards for mini AI. Also in this category is the Luckfox Pico series. The pro max is a few dollars more, but has an NPU (RV1109 I think). I want to see how these hold up with nontrivial compute to Raspberry Pi Zero 2 W. The price, size, power use, and performance of these just blow my mind.
@AndreasSpiess
17 күн бұрын
We all wait for your results!
@BruceHoult
6 күн бұрын
The Pi Zero 2 of course is far more powerful for computer, with four dual-issue A53 Linux cores, vs just a single single-issue core here. However a 1 GHz C906 generally benchmarks around 15% faster than the 1 GHz ARM1176JZF-S in the original Pi Zero -- as well as a much more modern ISA than its ARMv6.
Great video. Thanks
@AndreasSpiess
29 күн бұрын
Glad you liked it!
Andreas, another great post, thanks. So along with AI examples on the Linux core we could create our local API layer running on the Linux core and have the Arduino using them in a local device, extending our edge code capabilities? Would be a great next video example for your eager community. Please keep up the great posts. Thanks again. Wes
@AndreasSpiess
28 күн бұрын
We will see what the community does with these new HW possibilities. I am curious, too.
Cool! New subscriber ✌🏻
@AndreasSpiess
28 күн бұрын
Welcome aboard the channel!
Fantastic. What a great product.. This is the next thing I will test for sure. By the way do you know if it has I2S support for audio i/o?
@marqckie
29 күн бұрын
I'm also looking for i2s to add a hat to it. See my other post. Untill now I'm using usb dac dongle or BT for audio out.
@AndreasSpiess
28 күн бұрын
I did not find anything about I2S. The bigger board (DUO S) seems to have it.
Would be a ideal device for the Ai-on-the-edge-device Projekt. The camera of the esp32 cam is usually very bad.
@AndreasSpiess
28 күн бұрын
This camera indeed is better than the ones used for the ESP32
Amazingly put together. As a RISC-V enthusiast i fully approve this video and will recommend it to anyone who''ll ask "what's milk-v duo?" :)
@AndreasSpiess
17 күн бұрын
Thank you for your support!
Thank you for sharing this. It's a great video as always, but about that jingle...
@AndreasSpiess
27 күн бұрын
I will have a look at it.
Of course this development was waiting to happen... Now I want an ESP32S3 like board from Lilygo with an RPi5 all on one chip. OF course with HDMI, Ethernet, PCIe connector, BT and WiFi. As Andreas said: *we want more*
@AndreasSpiess
28 күн бұрын
:-))
@gaborm4767
22 сағат бұрын
I'm waiting for S4
Very informative as always, thank you! Curious on default power characteristics and options to reduce power consumption in a possible future video. On another note, while I still enjoyed the video the transition sound was slightly/somewhat annoying. Perhaps it was just perceived volume of transition sound vs voice level. (It's ok to ignore this comment, just giving unsolicited feedback for your consideration.)
@AndreasSpiess
28 күн бұрын
Thank you for your feedback. I had many complaints about the transition sound. I will look at it after my summer break.
@Chris-ut6eq
28 күн бұрын
@@AndreasSpiess Enjoy your summer!
Thank you for your effort! Very interesting but also very complex device. What is about the power consumption?
@AndreasSpiess
29 күн бұрын
Power consumption is around 80mA
@klassichd10
29 күн бұрын
@@AndreasSpiess Sounds great for such a computational power!
I am excited to buy one. I already encountered a multi core chip in a tuya iot camera that had a risc V core as a microcontroller part and a mips running linux and the camera TuyaOs which is linux with oem tuya applictaions a on one chip called the ingenic T31 xburst
@AndreasSpiess
28 күн бұрын
It seems that chips become more and more like PCBs where you assemble whatever "parts" you want. I wonder if the fixed cost of creating such chips became cheaper...
extremely interesting. thx !!
@AndreasSpiess
17 күн бұрын
Glad you liked it!
a very interesting board!
@AndreasSpiess
28 күн бұрын
Indeed!
Just stir things up, the chapter sounds are relaxing and fun to hear! However this is your channel and you have other fans to listen to so do what you need to do.
@AndreasSpiess
27 күн бұрын
Thank you for your feedback! Indeed, it seems that I have to revisit the decision. I thought, with the introduction of chapters, I wanted to add a sound. But obviously, this was not a good idea. Or my choice was not good...
Very interesting!
@AndreasSpiess
Ай бұрын
Thank you! Indeed, an innovation. Maybe useful for some projects.
Thanks for the interesting content you offer us on each video 👍 wandering if you have considered any application with an AI model, able to adapt its behavior accordingly to each situation?
@AndreasSpiess
29 күн бұрын
I just tried the image recognition. It worked quite well...
Minor correction. That's running busybox. Which means it does not have bash. It's actually running ash, which is mostly bash compatible.
@AndreasSpiess
28 күн бұрын
You are right.
Thank you for introducing this board to us. To use this board you would have to get pretty good at linux which is not a bad thing. It is a bit intimidating to me. I will check out to see if they have a forum or a community that will make using it easier.
@AndreasSpiess
28 күн бұрын
Indeed, Linux knowledge these days is very useful!
I bought a couple of these a few months ago. Amazing for the price!
@AndreasSpiess
29 күн бұрын
It really is!
as always interesting and entertaining but why the jinge ?
@AndreasSpiess
29 күн бұрын
I started with chapters. So I wanted also an audio divider. It seems I have to look at it after my summer break...
Thanks 👍
@AndreasSpiess
29 күн бұрын
Welcome 👍
Pretty cool. Reminds me of the Udoo.
@AndreasSpiess
28 күн бұрын
Indeed, a similar idea. Now on a chip and cheaper...
thats nice! thx
@AndreasSpiess
29 күн бұрын
My pleasure!
This reminds me of the Xilinx FPGA’s, they have a arm processor for Linux, and the hardware *YOU* want
@AndreasSpiess
29 күн бұрын
Indeed, they have some similarities.
HC-SR04: easy to detect if they're 3v3 or 5v: the 5v variant has a crystal on the front, between the 2 ping sensors, the 3v3 one you showed has no crystal on front
@AndreasSpiess
29 күн бұрын
Good to know. I marked them to not forget...
All those chips need a thing that could be really useful in the near future a small PCIE EP capability to push data from another system directly! So those chips can be used for peripheral and backround/standby operations the RP1 on the RPI or the arm chip on the playstations handling backgroud downloads.
@AndreasSpiess
28 күн бұрын
Good idea!
I usually take pride in being different and not following a group. But in this case, I 100% agree with the overwhelming dislike for the transition sounds. :) Really cool device though, no idea it even existed, thanks!
@AndreasSpiess
28 күн бұрын
Thank you for your feedback!
The most shocking was the AMBA Bus connector to a codec subsystems that supports a h.265 encoder. Thinking about it with camera modules do make sense in this context.
@TrimeshSZ
29 күн бұрын
The chip it's based on was designed for use in IP cameras - hence the rather strange mix of features and why it has advanced camera capabilities but no video output at all. It's also why it's got a built-in tensor unit, since that's useful for things like image enhancement and motion detection.
@autohmae
27 күн бұрын
@@TrimeshSZ and all the encryption models.
Nice Video ! I'll search a bit about the interoperability between the cores like does the linux core can go to sleep, and the arduino wake it up ... (that would really be useful)
@AndreasSpiess
17 күн бұрын
I did not find anything about that topic.
Extremely cool piece of tech! The ability to have the 2 cores communicate definitely opens new possibilities, but I'm surprised to have to run wires via GPIO to achieve it - seems like a common enough thing to want to do that there should be a shared communication bus on-chip, but perhaps this will come in a later revision...
@AndreasSpiess
28 күн бұрын
Maybe it is only a software thing and they can "retrofit" it in their examples. Mabe we have to wait for a new chip revision...
@autohmae
27 күн бұрын
This seems like the biggest missing piece, but also seems like something the manufacturer could solve with a newer version/revision/model ?
@BruceHoult
6 күн бұрын
It is absolutely technically possible to do this via shared memory techniques.
Thanks !
If you need some reading materials for your summer break i can recommend the SPV1050 data sheet. It looks like it could be the (almost) perfect solar power IC for small lora sensors.
@AndreasSpiess
15 күн бұрын
Maybe a bit weak. But otherwise very good.
I feel like this would be a good starting point to build something like the Star Trek tricorder. The Arduino core runs the array of sensors, feeding data to the Linux half for documentation and light analysis (perhaps for real-time visualization). Stream the data over the network to a more powerful computer system to dig in deeper. Cool stuff. 👍
@AndreasSpiess
28 күн бұрын
Indeed, it opens some new possibilities!
You're a legend! 👏👏👏
@AndreasSpiess
28 күн бұрын
:-)
Thank you for this very interesting video. But please remove the cheap phone ring signal, super irritating.
@AndreasSpiess
29 күн бұрын
Thank you for the feedback. I will have a look at it after my summer break.
At 2:50 .. seeing different operating systems listed for each of the chips cores is a bit perplexing. It seems like a Swiss Army knife of processor cores. (dual Risk-V + Arm-A53 + 8051 + TPU) Expect the OS's running on each core will need some standardize way to coordinate and interact. Of course hardware always leads software capabilities, so will be interesting how people will leverage this architecture.
@AndreasSpiess
28 күн бұрын
I am also curious about the projects it will be used for.
I liked the video very much! It seems this chip on its own can bridge the gap between Linux and a RTOS, without doing any funky business with the Linux Kernel to make it act more like a RTOS (I use the term "funky" as I myself have too l little knowledge about the Linux kernel). Is it possible to compile and upload code to the RTOS part using the Linux part? (This doesn't have to be via any Arduino software) That would make this chip even more awesome!
@AndreasSpiess
27 күн бұрын
For the moment they use a cross compiler on the PC. But maybe with bigger memories, this becomes possible.
@BruceHoult
6 күн бұрын
Yes it's possible. You just have to copy the bare-metal program into a special directory. I think "Platima Tinkers" covers this in one of his videos.
This is indeed an interesting piece of tech. I currently don't see why I would want two different OS on one chip, but there might be applications. Looking forward to projects that make use of it.
@309electronics5
29 күн бұрын
Iot devices like cameras often use 2 different platforms on a chip. I have a iot camera that has a risc V core for low power and house keeping and main cpu deepsleep. And a mips which runs linux and the camera app stack
@keyem4504
29 күн бұрын
@@309electronics5 Sounds like config management and maintenance hell to me, but might make sense in certain applications.
@309electronics5
29 күн бұрын
@@keyem4504if you have a nice software that handles it nicely like tuya Os is for these iot embedded devices then its really handy
@ccflan
29 күн бұрын
there is a ton why you need linux with RealTime application, Linux is not RT and applying RT patch costs so much dev, hybrid OS with Bare metal firmware is an option chosen often by the automotive industry for example to reduce cost
@GabrielKleinCH
20 күн бұрын
I agree, but arduino is more fit for real time systems, linux with a vast number of application. For a reason of security too... hacking linux is easier than hacking arduino .. so you can store some information on the arduino chip like a "signature protocol".
The new ESP-P4 will be a interesting one i dunno if it already has a MMU. Hmm having a ARM + Riscv is pretty weird would have to have multiple linux’es as i guess it can’t schedule on multi arch.
@AndreasSpiess
28 күн бұрын
I have no clue why they integrate an additional ARM core...
@platin2148
28 күн бұрын
@@AndreasSpiess I guess just to have that one also. Maybe some x86 embedded core will also follow with intel IFS.
Hmm, neat, thanks for this, have to fiddle with them.
@AndreasSpiess
28 күн бұрын
You are probably not the only ;-)
Going to have to check this out! I need Internet connectivity and things like FTP log file uploading for my systems but don't want to loose the ease of use of Arduino coding, although anything like FTP causes Arduino to fall on its face
@AndreasSpiess
29 күн бұрын
A good example. Internet and video are not fun for an Arduino. Linux is easier for these topics.
One thing that would be very useful would be to have the status of pin declared as outputs visible from both systems avoiding using 4 pins to communicate. (never understood why in Arduino you can't read the state of an output without bothering registers) In any case I already have at least 37 projects in mind to use a Milk-V DUO S. First: a glorious keyboard IBM M Series USB/Wifi/Ethernet with macros and the possibility of reprogramming. (Already partially done with Arduino Due ....but i need more CPU)
@AndreasSpiess
29 күн бұрын
Cool. Let us know when you have your first project finished!
@andreasSpiess, do you have any idea why the newest version (1.1.0) doesn't support Arduino? Would that suggestion that support for Arduino will be going away?
@AndreasSpiess
17 күн бұрын
I do not know. Hopefully they saw this video and the comments…
3:24 700MHz Arduino.. We have come a long way!!
@AndreasSpiess
27 күн бұрын
Indeed. We probably will need a lot of delay() statements ;-)
@autohmae
27 күн бұрын
@@AndreasSpiess a turbo button ! 🙂
@BruceHoult
6 күн бұрын
The Teensy 4 has been running Arduino on a 600 MHz dual-issue Cortex-M7 (close to the same speed as this single-issue 1.0 GHz CPU) since mid 2019 -- and with a heatsink you can safely overclock it to 960 MHz (it's right in the Arduino IDE settings for it). But it's only got 1 MB RAM and no MMU. And at $20+ it was a great deal in 2019 but now is far more expensive than the Duo.
At least the new sounds make for lots of comments and engagement;) But yeah, I see you're already well aware this was not a new favourite:D
@notsonominal
29 күн бұрын
(But thank you for an otherwise great update on a new and interesting board as pr usual:)
@AndreasSpiess
28 күн бұрын
Indeed, the verdict was very clear :-(
I have just received the two DuoS that I have ordered from Australia 3 months ago. You can have one of them Andreas for free, take it as a thank you for your great videos. Are you by any chance close to Zürich or Baden?
@AndreasSpiess
9 сағат бұрын
Thank you for your offer! For the moment, I am in my Summer Break and I do not need one. But I am interested in your learnings. Maybe you contact me on another platform when you are ready?
I remember RPi-like boards with additional Cortex M4 core. I still have one somewhere. They didn't take off. Too different areas of use.
@AndreasSpiess
22 күн бұрын
I agree. And I am not sure about that one.
Switzerland just lost the Eurovision transition contest....
@marcelldavis6426
29 күн бұрын
😂😂😂
@AndreasSpiess
28 күн бұрын
:-))
Hi Andreas. Do you know if it is possible to define the amount of memory allocated to the ARM?
@AndreasSpiess
17 күн бұрын
I do not know.
Wow!!! A TPU and an 8051 as well... So cool
@AndreasSpiess
28 күн бұрын
Indeed, it contains a lot of stuff!
@FilipiVianna
27 күн бұрын
@@AndreasSpiess we still have 8051 code runnig in some RS485 networked scales
What would really be an interesting topic here is how to effectively communicate between the two cores. I doubt that doing this via hardware I2C is a good solution, especially if it requires actual hardware connections.
@AndreasSpiess
27 күн бұрын
I agree that an internal communication would be better. Maybe we just did not yet get an example, or it is not forseen in HW...
Thanks, Andreas! Have you measured the power consumption?
@AndreasSpiess
28 күн бұрын
Yes. around 80mA.
@jwebbgrv
28 күн бұрын
@@AndreasSpiess That's impressive. Thanks for replying. Enjoy your summer break!
The MilkV Duo might have face detection (?). Did you try pointing the camera at yourself? I have both the Duo and the Duo S but only have a camera for the Duo S and that test program you ran detects faces - puts a rectangle around my face. The Duo S has something called a "TPU" for this purpose. Hard to tell from the documentation if the smaller Duo can also do this.
@AndreasSpiess
28 күн бұрын
I only used the face detection example and it worked. It seems it does not use the TPU, though. There are other examples using TPU also for the DUO.
I bought years ago a Udoo Neo board which has an iMX cpu running Linux and a core running Arduino code. It wasn't based on RISC-V architecture though
@AndreasSpiess
17 күн бұрын
I heard about that board bot never owned one.
thanks
Do you also know about Sipeed LicheeRV Nano which based also on sg2002? It has WIFI on board
@AndreasSpiess
17 күн бұрын
I think I once saw it. Wi-Fi is always good!
Looks like some serious potential in these boards. Can they output HDMI or VGA? This is my challenge these days. While the zero w (2) is now available, the $15 price (+ship) is a turnoff, and then its another $9 for a mini-hdmi to full hdmi cable.
@AndreasSpiess
29 күн бұрын
I do not think so.
Super sonntig z'morge spass. Nice breakfast sunday fun.
@AndreasSpiess
29 күн бұрын
Thank you!
This is really interesting to me, I often have need for both the realtime IO of a microcontroller and the network stack and data handling of a real OS, but making an arduino and a raspberry pi speak to each other is tiresome. If they were both on the same chip, though...
@AndreasSpiess
29 күн бұрын
So far, I also only saw them communicating via pins. But maybe they just did not implement this functionality in software.
12:13 is this really an 24 Ghz radar sensor or an resonant circuit that toggles around somewhere between 3 and 4 Ghz outside any official bands?
@AndreasSpiess
28 күн бұрын
The ones I tested had FCC certification for the 24GHz ISM band.
if it had some analog circuitry and wireless within this price range it would have been ideal esp32 killer
@AndreasSpiess
17 күн бұрын
I agree
Nice presentation. About the last part, you quickly presented a radar solution. Well I am seeking a solution to monitor and record incoming traffic speed at the street in front of the house. My wifi extend up to the street limits. If you ever find a solution could you make a complete presentation. You made a radar presentation on a previous date, but vehicle speed could not be evaluated because a PC is required to crunch the number. However this board present new possibilities that could make insitu speed detection without the use of a pc?
@AndreasSpiess
17 күн бұрын
I would distinguish between speed measurements and data transmission. You get devices for measuring traffic speed. Maybe you find one with a data connector where you can connect a data link to your home using WiFi or any other wireless protocol.