First Look at the Tiny 2040 - New RP2040 Board!

  Рет қаралды 93,350

Learn Embedded Systems

Learn Embedded Systems

Күн бұрын

Пікірлер: 204
@CraftyOldGit
@CraftyOldGit 3 жыл бұрын
Crikey, that's small. What a time to be alive.
@mariopojoy
@mariopojoy 3 жыл бұрын
Thanks for the intro of this one, I'm planning on building a trainer board for Pico to teach my students programming on C. Your channel is the only one so far doing Pico on C/C++. Please keep going. Grettings from Guatemala.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
You are most welcome! I will keep going with the C tutorials :)
@lusiaa_
@lusiaa_ 3 жыл бұрын
@@LearnEmbeddedSystems yeah, C/C++ microcontroller programming is the only way to go. I absolutely dislike MicroPython, the concept of having yet another layer of abstraction for no reason is just dumb, especially when this layer is an interpreted language. People should learn how to write speed- and memory-optimized programs, they should develop a "feeling" on how does microprocessor execute instructions, and what happens on the low level, MicroPython just takes all that away from you
@jonpinkley2844
@jonpinkley2844 3 жыл бұрын
@@lusiaa_ I agree that people should learn how to write speed and memory optimized programs, but there are many projects that don't require it, and MicroPython or CircuitPython have a much lower entry barrier. Once the new user is "hooked" by the fun of creating something, then they are more likely to be willing to put the effort into learning C and installing the toolchain needed, when they reach the limits that the overhead of the Python interpreter allows. And when they reach the limits of what can be done with programs in C, they can progress to DMA and PIO. See www.instructables.com/Arbitrary-Wave-Generator-With-the-Raspberry-Pi-Pic/ for an example of what is possible with the RP2040.
@michaelrobert4094
@michaelrobert4094 3 жыл бұрын
@@LearnEmbeddedSystems Would make a nice watch, drone, bug/security system controller. People counter/item counter which would be great for Nightclubspubs or shops at the moment or for counting products that have past a threashold. Thinking of making a Predator style watch like in the film The Predator or a binary display watch.
@TomLeg
@TomLeg 3 жыл бұрын
@@lusiaa_ Interpreted languages like Perl, Python, and Ruby provide better error-detection and error prevention than C/C++. You don't have buffer-overflows in interpreted languages, because it is handled by the language implementers, rather than by the end-users. As well, these languages provide far faster code development. And while you call them interpreted, they are different from, and faster than, interpreted languages such as shell - the code is compiled into an intermediate form which is what is interpreted.
@brantwinter
@brantwinter 3 жыл бұрын
Once the RP2040 gets solid MicroPython support (I2C, SPI and CAN) this will be gold.
@bunnymaid
@bunnymaid 3 жыл бұрын
It's so cute! It's smaller than the connector!
@NZ-fo8tp
@NZ-fo8tp 3 жыл бұрын
It has a reset button so its already an improvement
@mjyanimations1062
@mjyanimations1062 3 жыл бұрын
@MichaelKingsfordGray who hurt you?
@croll_uk
@croll_uk 3 жыл бұрын
Mine arrived this morning. Unbelievable size and the extra ram will be useful. I'm a Golang programmer but we're still waiting for TinyGo to support the 2040. Keep up the great work, your insight is very informative :wink:
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
Hope you enjoy it! Thank you :)
@jonpinkley2844
@jonpinkley2844 3 жыл бұрын
This is a bit nitpicky, but the 8GB vs 2GB is flash, not SRAM (which is on the RP2040 and the same as the pi pico). Maybe you were commenting on the amount of RAM in the RP2040 compared to other microcontrollers.
@croll_uk
@croll_uk 3 жыл бұрын
@@jonpinkley2844 I wish it did come with 8GB lol
@jonpinkley2844
@jonpinkley2844 3 жыл бұрын
@@croll_uk I should be more careful to not make mistakes of 3 orders of magnitude when "correcting" other posts. Good thing I didn't work on the Mars lander. 😳
@ElectronicSupersonic
@ElectronicSupersonic 3 жыл бұрын
This is the one I'm most excited about, very embeddable
@TheFerdi265
@TheFerdi265 2 жыл бұрын
Cool Board! I just noticed: This board actually still has enough GPIO pins to drive a similar VGA signal and audio as a regular pico with the Pimoroni Demo Base; you just have to cut the color depth from RGB555 to RGB332. (Example pinout: Red 0-2, Green 3-5, Blue 6-7, HSync 26, VSync 27, Audio Left 28, Audio Right 29)
@paradoxlab2023
@paradoxlab2023 3 жыл бұрын
Thank you for the video.
@matthiassuess7293
@matthiassuess7293 3 жыл бұрын
As always, a very clear, understandable and very interesting video! The USB-C connector and the 8MB flash are a clear step forward compared to the Pi Pico. I would really like to see a video on debugging the Pico with openocd and the picoprobe. Thanks for your effort! Awesome! Many greetings from Germany
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
I really like the USB-C and the increased flash too! Also something that I forgot to mention in the video is the silkscreen pin labels being on the top of the board is so much better than the Pi Pico - it's a little thing but it makes a difference! I am looking into getting a PicoProbe debugger working, I will have a video out about it once I have worked it out!
@teguh.hofstee
@teguh.hofstee 3 жыл бұрын
@@LearnEmbeddedSystems I've actually found that with male pin headers soldered facing up on the pico, you can just flip the entire board top-side down and put it on a breadboard that way while still having barely enough room to not really hit any of the components. That way I can easily read the pins on the pico while prototyping things. Of course, this obscures the LED a bit, but frankly, the pin labels are more useful to me than the LED which I can still see the glow off the breadboard or look at it side-on if I need to actually see it.
@dang48
@dang48 Жыл бұрын
Been using my Tiny2040 for a couple of years now. Two projects are a basic alarm system and a traffic signal controller simulator coded with MicroPython.
@y2ksw1
@y2ksw1 3 жыл бұрын
I am overwhelmed by the sheer number of devices which are coming up recently.
@markhodgkinson7299
@markhodgkinson7299 3 жыл бұрын
Keep an eye on the Pimoroni Website then
@teeI0ck
@teeI0ck 3 жыл бұрын
showing an accurate and deep understanding; great perceptive. 💡 Muito obrigado for all the insightful information. 🤝
@jamesgoacher1606
@jamesgoacher1606 3 жыл бұрын
Yes indeed. The first Microcontroller I used was the PIC - 16C something - 84 with 14 pins, bit narrower than this one, 12 I/O and programmed with (I think) MPLAB or something in Assembler. The I/O count of Arduino - and the Raspbery PIC also perhaps is frankly way in excess of the memory for coding so for me this seems so much more sensible. The PIC was used to make a Temperature Display, most pins were used because I had a 3-Digit 7 seg Dislay - cannot remember the device but it was one of those 3-wire devices giving a voltage output for temperature - 10mV/degree C from hazy memory but similar will do, even the onboard sensor. I would like - still - to measure negative temperature to say -20 but I am not fussy. :-) Need to get me one of these. Glad you put a link. James
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
My first experience with microcontrollers was a PIC18F! I am sure you will put the Tiny 2040 to good use :) I am looking forward to incorporating it into my projects.
@richsadowsky8580
@richsadowsky8580 3 жыл бұрын
I am lusting for this one. Don't have it yet. Have quite a collection of RP2040 boards. The small form factors like this board and QT Py RP2040 by Adafuit are likely going to featured frequently in my projects. Got some fun stuff on the bench.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
I too am building up quite a collection! I am going to do a video covering the QT Py RP2040 soon! Any thoughts on the board?
@richsadowsky8580
@richsadowsky8580 3 жыл бұрын
@@LearnEmbeddedSystems So far I have only flashed it, confirmed connection to Thonny and Mu, and brought CircuitPython on them. I will try C++ later. I have blinked both internal and external neopixels. I plan to try attaching to small monitors using I2C on each device in the next week. Then I will assess the utility of the pins and functionality such as analog inputs, support for protocols (I2C, SPI, UART, ADC, power options...). I do like that Adafruit chose USB C for their new RP2040 chips. And I always feel warm and fuzzy buying from Adafruit because I like who and what they are.
@nr7000000001
@nr7000000001 3 жыл бұрын
Maybe you can make an audio book for toddlers (and their parents)? and some simple capacitive touch buttons inside the pages
@VisualBRON
@VisualBRON 3 жыл бұрын
I would appreciate something about using the Tiny and Pico as debuggers for each other.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
I am looking into that at the moment!
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
I have my Pico, so I'm blessed already, but at the price I've budgeted for another - maybe I'll solder it down by the castellations some day - and because it might be the right architecture on which to have a probe for the other. So, before I fire away, I wouldn't mind knowing. And I might convert to this one.
@interestingspagetti
@interestingspagetti 3 жыл бұрын
Hi, really concise video and excellently explained. I've hit the like button and subscribed. Will look forward looking at other video's you have. Thank you for the upload.
@rickharold7884
@rickharold7884 2 жыл бұрын
I love it!
@FinlayDaG33k
@FinlayDaG33k 3 жыл бұрын
I was thinking about a little project (a little headband with some small sensors) but kept running into the issue that most microcontroller boards are too big, but this seems about perfect for it (and has all the GPIO I need for it as well) :)
@stevetobias4890
@stevetobias4890 3 жыл бұрын
And the big plus is it actually has pin labelling on the top of the board. Huge plus.
@savagesarethebest7251
@savagesarethebest7251 2 жыл бұрын
When I saw the thumbnail, I envisioned that it was a decapped of 2040 in the middle ^_^
@lawrencedoliveiro9104
@lawrencedoliveiro9104 3 жыл бұрын
2:24 Note that it does not actually have direct hardware support for I²C, I²S, SPI, UART or whatever. These protocols all have to be programmed into the PIO controllers. These run independently from the CPU, using their own purpose-built instruction set.
@lawrencedoliveiro9104
@lawrencedoliveiro9104 3 жыл бұрын
@zardoz jones It’s all done by programming the PIO. See pages 324 onwards of the datasheet.
@tonygoodhew9536
@tonygoodhew9536 Жыл бұрын
If you want a small RP2040 board you should also consider the Waveshare RP2040-ONE
@Krejstrup
@Krejstrup 3 жыл бұрын
Wow!! And well, if you would solder it in a PCB you have to make a cut for that in the board, that's like common sense if you know how to do it. Good vid! Thanks
@England91
@England91 3 жыл бұрын
Yeah, you probably watch Dave from EEVBlog aswel like myself
@dmkays
@dmkays 3 жыл бұрын
I would like to see you program the board to scroll text across a zigzag 16X32 WS2812B MATRIX. Either using already made panel or cutting ws2812 led strips into 32 neopixel segments as I have done. Mine feeds across from the lower left or upper right, depending on which way I turn it. Even numbered rows feed the opposite direction in a zigzag. I provide 5v at the top, center and bottom. I expect you will need a logic level shifter. The getting started guide for the RP2040 uses a pio for ws2812b signal output, but that was way over my head until I learn alot more. Thanks.
@sarahkitty4729
@sarahkitty4729 3 жыл бұрын
Would it it be cool is they made a postage stamp case for it 😊
@IamTheHolypumpkin
@IamTheHolypumpkin 3 жыл бұрын
You deserve a sub. Good video quality, well explained... I wait until they lift the two per customers rule until I buy the Tiny 2040. I already have a ton of projects where they would be useful, just because I don't need more Pins.
@scienteer3562
@scienteer3562 3 жыл бұрын
Can you measure the sleep power of this and compare to the original.
@marcodev3375
@marcodev3375 3 жыл бұрын
Reduce more pins to make it even smaller. Only vcc & gnd pins!
@YigalBZ
@YigalBZ Жыл бұрын
From size perspective is is a great product. The problem is that no WIFI not BT are integrated. So it is not a good replacement for ESP32 (Wemos) for IOT projects.
@MartinBgelund
@MartinBgelund 3 жыл бұрын
Thanks for introducing this MCU in your nice video. I'd like to see it control a DC motor with a magnetic Holzer encoder for speed feedback. The overall idea is to send a PWM signal to a motor controller from the Pico, read the pulse count of the motors Holzer encoder, and then calculate the motor speed in RPM for that particular PWM signal, adjusting the PWM to hit a target RPM. That would be a nice project to see here - please consider doing this :-)
@tomasparrado873
@tomasparrado873 3 жыл бұрын
For measuring just speed with the an encoder, a common approach is to have the encoder pulses clock into a counter and set-up an interrupt to repeatedly read and clear the counter at timed intervals. This gives you distance per interval, aka revolutions per time. The RP2040 has hardware to do this, datasheet page 211, and examples are given on page 215. Conversion to RPM will then depend on the encoder counts per revolution and the interval which you set-up. Compare this to your target speed and adjust the PWM duty accordingly.
@MartinBgelund
@MartinBgelund 3 жыл бұрын
@@tomasparrado873 Yes. I already have this setup on an Arduino Nano. My aim here is to offload all this repetitive stuff to the PIO state machines entirely. Interrupts interrupt, and having pulse counting handled by the main processor is a pretty standard thing to set up, so I think having the low level process you describe moved entirely out of the more capable main processor is an obvious improvement project.
@patrickfitzgerald6081
@patrickfitzgerald6081 3 жыл бұрын
I got one in order to build a picoprobe. This small device + a full-size pico just fit together on a breadboard that I have. Don't I just build the same picoprobe documented in the getting started guide? Same firmware and use the same GPIO 2 to SWCLK and GPIO 3 to SWD?
@johnwilson3918
@johnwilson3918 3 жыл бұрын
I would like to see some PIO Statemachine projects. Perhaps a VGA output using a simple 4-bit resistor DAC? Or standard serial comms between two RP2040 using PIO. Cheers.
@johnwilson3918
@johnwilson3918 3 жыл бұрын
@MichaelKingsfordGray Here, here. Micropython and Circuit Python have their own versions of a PIO assembler.
@michaelrobert4094
@michaelrobert4094 3 жыл бұрын
Looks cool!
@MaxGoddur
@MaxGoddur 3 жыл бұрын
Can it be used with ESPhome?
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
Yeah, the Pico's a 20x2. Makes it the same footprint as a 'Black Pill' , broadly speaking. One thing I've been sizing up 'rider' MCU boards for would much prefer a maximum of a 'Feather' (=Sparkfun 'Thing') at 16x2. I just worry this won't have enough lanes, though, like Seeeduino XIAO (using a lesser chip).
@bubulpramanik6234
@bubulpramanik6234 3 жыл бұрын
Very nice V👍👍👍
@superdau
@superdau 3 жыл бұрын
Is there anything special the RP2040 can do compared to STM32s or SAMD21s?
@engineeringjoe
@engineeringjoe 3 жыл бұрын
very nice video! :) can you please show us how to use/or write Libraries with CircuitPython🙏 I know that CircuitPython has many built-in Libraries but when I try to use them on the pico there is always an error. I know that I need to copy them first to the pico.. but it would be nice if you could show this in a video😊 e.g. how to use the built-in DHT Library
@jyvben1520
@jyvben1520 3 жыл бұрын
when using mu/thonny (editor with repl), i open the source library on my pc in a generic text editor, select all and copy to clipboard, choose new in the repl editor, and paste from clipboard, save + select the lib folder and give the name it was downloaded with. or for circuitpython you should see it as a drive in the filemanager, just drag your file there. Also did you google that error ? did you try to import it at the repl, it might tell you what is missing !
@lalmiahmed3573
@lalmiahmed3573 3 жыл бұрын
very helpful, thank you
@nathanwoodruff9422
@nathanwoodruff9422 3 жыл бұрын
How about using this for a ceiling fan controller along with a rheostat ceiling fan controller to remotely set the ceiling fan speed from low, to medium , to high all the while reading the setting from the rheostat for manual override.
@watson946
@watson946 3 жыл бұрын
So whereas the Pico board uses one of the ADC for temperature, this board enables user to define the use of that ADC, is that correct?
@stevetobias4890
@stevetobias4890 3 жыл бұрын
Nice, go for the record of the smallest basic weather station. Temp, Humidity, Altitude. Day, Date etc..
@tom95076
@tom95076 3 жыл бұрын
can you help explain how to use a dth11 or dth22... I just cant seem to see anyone doing this yet.. It seems like a few step to load the more library files.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
I will have a look into it, I think I might have a few of those sensors around somewhere
@WernerBeroux
@WernerBeroux 3 жыл бұрын
If it had WiFi it might be a contender with ESPs even if it's expensive.
@GeorgeGeorge-xj2bc
@GeorgeGeorge-xj2bc 3 жыл бұрын
How easy is to access directly the I/O ports without using macro commands or objective programming,or without having the need to use ready made applications with obscure routines to do the job?Only using C or assembly?
@Taki7o7
@Taki7o7 2 жыл бұрын
I thought he will say the reset button is the main selling point - Jokes :D
@ChrisHalden007
@ChrisHalden007 3 жыл бұрын
Very interesting indeed
@Viken43
@Viken43 3 жыл бұрын
Where can I find the code, only can find pi pico ... ?
@gautombose4172
@gautombose4172 2 жыл бұрын
Please make a pico probe that works.
@samael5782
@samael5782 2 жыл бұрын
I have pico probe running on a QTPy 2040 from Adafruit, which is very similar to the board in the video. You just need to set the correct pins you want to use for debugging in the source code and compile it. The QTPy has an Adafruit specific 4 pin connector for their I2C stuff which I used for the Pico probe so I have a neat cable. Only the hardware reset pin is a normal pin on the side of the board but it's not mandatory, just in case software reset via debug interface somehow doesn't work.
@lmaoroflcopter
@lmaoroflcopter 3 жыл бұрын
Legit was like "wtf where is the chip?!" Until you flipped it :D
@TMS5100
@TMS5100 3 жыл бұрын
Not sure what the point of the castellation is if you can't use it. The Seeeduino XIAO is much more sensible.
@EnriqueLUrcia
@EnriqueLUrcia 3 жыл бұрын
I have been cracking my head trying to find the best microcontroller for a Ballistic Chronograph. I want to built 2 infrared light gates using IR photodiode and IR LEDs. Maybe it is a project you would like to use as example for the new RP2040. Cheers
@birnodin
@birnodin 3 жыл бұрын
Nice to have more RP2040 boards - but double prize for half the GPIO pins? Chip on the other side, surface mount is bad. Hope Adafruit makes a better job with new RP2040 boards.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
We shall see when they come out! I will try and get myself some of the Adafruit variations
@ElectronicSupersonic
@ElectronicSupersonic 3 жыл бұрын
They don't get the economy of scale the pi foundation gets, they are probably using 4 layers as opposed to the picos 2, they have 4 times the flash, but the real cost driver if the Pico design has taught us is that extra button, those must be crazy expensive for them not to put them on the Pico ;-)
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
Yeah, I'm thinking PiZero + Pico = £4.80 + £3.60 = £8.40 = Tiny2040 Yet out of stock at Pimoroni itself, at the moment. There will probably be even more financial strain getting hold of Adafruit and Sparkfun variants, especially in the UK (or just another countr..y). Yeah, I know the Pico itself is stupidly cheap, basically the price of a full-spec Black Pill from China (inc. postage, I reckon - except AliExpress now charge fake VAT.)
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
Oh, and at the same place, the ESP32-S2-WROVER-I Module goes for the same price as a Pico, and looked like an amazing deal last Black Friday - but good luck hooking it up (or rather, wish ME luck - except I got a dev board "Saloa" at the turn of the year instead of trying!)
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
You could rig a GPIO from the Zero to the reset line [on the vanilla Pico] to get what everyone seems to be missing so badly, and program it with the Zero, although that would take your one USB OTG port - but I think it still retains its USB device/slave port... (not done much with my Zero yet.../) through which you interact with the Raspberry Pi OS from your PC / etc. (or RPi 400... -heheh).
@ferencszabo3504
@ferencszabo3504 3 жыл бұрын
great little micro , probably got his use, but it's a little pricey for it's performance. I think I'll stick to STM32F40x family if i need more power , but I would gladly play with the new Teensy too.And with the.new ESP c3, s3 we cannot complain even more toys , we cannot say anymore, it's expensive, has no documentation, no software etc. 😁
@sjoer
@sjoer 3 жыл бұрын
Clock and Data pins ;)
@ophello
@ophello 2 жыл бұрын
Can you run a unicorn hat Hd?
@rverm1000
@rverm1000 3 жыл бұрын
i didnt know they were going to make a board that small. question what ide are you using. im having trouble finding one for the pico. the uf2 file the raspberry foundation would not load on the pico. what i want is create a panel in python were you can have control of each pin.
@MakerVerse
@MakerVerse 3 жыл бұрын
So cute
@ozren71
@ozren71 2 жыл бұрын
Does anyone know if this can run a small lcd screen ?
@Scrogan
@Scrogan 3 жыл бұрын
Yes but does it have USB 3.1 data transfer capability?
@lionlinux
@lionlinux 3 жыл бұрын
What is it better then STM32?
@Kim-e4g4w
@Kim-e4g4w 3 жыл бұрын
Could this run on a CR2032 battery, and if so for how long? I could see this come in handy as a wearable computer inside a glow or jacket.
@draco5991rep
@draco5991rep 3 жыл бұрын
The RP2040 needs 3-5V to work. The time for the battery to drain is dependent from the current usage of your project.
@UhOhUmm
@UhOhUmm 3 жыл бұрын
It can, but you would need to boost it to 3.3V and the chip uses about 9mA according to the datasheet, including whatever else you are powering with the battery. You typical CR2032 wouldn't last long. (~200mAh typical capacity). There are chips designed to be used for that purpose that are more efficient.
@happygimp0
@happygimp0 3 жыл бұрын
This is not a computer, it is a microcontroller attached with a USB connector. Use a microcontroller that is designed for low power usage and make heavy use of the sleep function.
@happygimp0
@happygimp0 3 жыл бұрын
What does it have that a normal microcontroller and usb connector does not have?
@goodiezgrigis
@goodiezgrigis 3 жыл бұрын
Problems.
@lionlinux
@lionlinux 3 жыл бұрын
The Price is twice higher in compere even with mighty STMs!!!
@edgeeffect
@edgeeffect 3 жыл бұрын
"Can be programmed in C or MicroPython" ... and assembly language!! (yes, I DO probably need a psychiatrist)
@michaelrobert4094
@michaelrobert4094 3 жыл бұрын
I would love to program it using Assembly or even just use assembly to initialize the pins and use C/C++ for the main program. Programing both cores would be awsome!
@4.0.4
@4.0.4 3 жыл бұрын
@MichaelKingsfordGray you realize C is the most influential syntax and _a lot_ of languages use it, right?
3 жыл бұрын
@@4.0.4 maybe he's referring to undefined behavior and not syntax?
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
@ C is suffering a backlash of criticism for not having the characteristics of an application programming language, such as protecting the average programmer from cutting himself with sharp tools. int main() { void (*i_am_bleeding)() = (void(*)())15; i_am_bleeding(); return 0; } The problem with C is the techniques that help it compete with modern dynamic languages are invariably the techniques that make it dangerous. (Quoted) - and: "C is a SystemProgramming language, which also became popular for writing ApplicationPrograms."
@duncanwalduck7715
@duncanwalduck7715 3 жыл бұрын
-slash- ?CeeLanguage [This wiki is horendous, but that passage is wickedly humorous.]
@sCealt
@sCealt 3 жыл бұрын
interesting! could it be used as an EEPROM programmer?
@tomasparrado873
@tomasparrado873 3 жыл бұрын
Almost certainly. Most EEPROM chips are either SPI or I2C. They normally have either a block write command and/or a write enable pin. You'd need to check the datasheet of your EEPROM for more information. Ben Eater did a long in-depth tutorial on turning an Arduino into an EEPROM programmer which provides a great overview on the general method and Learn Embedded Systems has done some some fantastic tutorials on getting the SPI and I2C working on the RP2040. The Tiny 2040 breaks out multiple SPI/I2C pins or you could bit-bang your own just by toggling the pins if you want.
@sCealt
@sCealt 3 жыл бұрын
@@tomasparrado873 oh sweet! thanks! i'll look for those video you're referring to, then! found a 1k EEPROM inside an old VHS (bless then 90s), fully I2C compatible so might as well use it to learn about EEPROMs :) big ups x
@RedFathom
@RedFathom 3 жыл бұрын
did they add interrupts to circuit python?
@JoshuaJapitan
@JoshuaJapitan 3 жыл бұрын
*_SMOL_*
@weerobot
@weerobot 3 жыл бұрын
Wow...Cool
@RixtronixLAB
@RixtronixLAB 3 жыл бұрын
Cool:)
@sermarr
@sermarr 3 жыл бұрын
Besides the size, are any of these raspberrys (pico/etc) any better than ESP32s? And for the price?
@peter9477
@peter9477 3 жыл бұрын
Better for what? Without knowing that answers are largely useless
@sermarr
@sermarr 3 жыл бұрын
@@peter9477 Yes, better and for what. For example ESP32s have WiFi/BT, and this board is better for tighter spaces and has usb, but you can get not so small esp32 family boards for cheaper. What I am implying is that for example Picos are more expensive than esp32s and it seems you can do less stuff with them... or not.. I don't know. I'm just a beginner.
@happygimp0
@happygimp0 3 жыл бұрын
This board does not have anything that a micocontroller, a USB connector and some additional components don't have. I don't see any reason to use this board.
@peter9477
@peter9477 3 жыл бұрын
@Usama Khan Sure, but a feature that's a "pro" in one context is a "con" in another. I've been in this industry for almost 40 years, and this is a common mistake, to try comparing this in a context-free situation. It doesn't work well.
@monotrope
@monotrope 3 жыл бұрын
What breadboard are you using? It's definitely not the ones you have linked in the description. Please reply because I am having trouble with the boards you have linked in the description.
@henrydikeman4223
@henrydikeman4223 3 жыл бұрын
You bought it without shipping? How the hell did you get it then
@GeneralRozcoe
@GeneralRozcoe Жыл бұрын
Micro center
@Toleich
@Toleich 3 жыл бұрын
What is this?! A micro-controller for ants?!
@himstien
@himstien 3 жыл бұрын
Zoolander?
@sausage5849
@sausage5849 3 жыл бұрын
Could it be used with Octoprint?
@charetjc
@charetjc 3 жыл бұрын
Not sure what you're asking... Can it run Octoprint? Not without rewriting octoprint. The RP2040 cannot run linux, and thus won't have the environment necessary to run Octoprint. Can it interface with Octoprint? The RP2040 has a serial port. Now you just need firmware that runs on the RP2040 that understands G-code like marlinfw (there may be more to the comms protocol beyond G-code, I'm not sure). To my knowledge, there is no firmware for the RP2040, yet. I expect someone will address this eventually.
@dans-designs
@dans-designs 3 жыл бұрын
it would be nice to see an integrated wireless option somehow..
@crackerz7897
@crackerz7897 3 жыл бұрын
Nice video man! MY videos looks so bad compared to yours!
@jffish5149
@jffish5149 3 жыл бұрын
One word "Accelerometer". how Small can you go!
@jonron3805
@jonron3805 3 жыл бұрын
Waiting for them to integrate Wifi and Bluetooth in these boards.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
I think the Arduino Nano 2040 Connect will have both! I am waiting (impatiently) for it to come out
@jonron3805
@jonron3805 3 жыл бұрын
​@@wesleyswafford2462 The use cases for ZeroW and Tiny 2040 are different. ZeroW is meant for complex computations which require the presence of an OS. Tiny 2040 is for computations that do not require an OS. The advantages of the latter are low power consumption, faster response, faster startup, etc. Disadvantages are lower peripheral support, lack of multi threading, less complex libraries.
@jannepeltonen7493
@jannepeltonen7493 3 жыл бұрын
Out of stock. Seems to be the norm these days when it comes to new hardware. What's next, RPi picos going to scalpers?
@_BangDroid_
@_BangDroid_ 3 жыл бұрын
Mining on raspberry pi's lol
@derisis13
@derisis13 3 жыл бұрын
8MB flash? That's enough for u-boot + linux + a package manager and you have still some memory...
@tld8102
@tld8102 3 жыл бұрын
All this needs was built in wireless. Then it would’ve been perfect.
@Krejstrup
@Krejstrup 3 жыл бұрын
I'd connect a BM71BLE to that.
@haraldhimmel5687
@haraldhimmel5687 3 жыл бұрын
Not every project needs wifi and cutting out unnecessary stuff is kind of the point of this concept.
@tld8102
@tld8102 3 жыл бұрын
@@haraldhimmel5687 i like the idea of universal compatibility with every project... the tiny2040 would've become the go to choice for electronics projects. Most people will reuse microcontrollers from past projects.
@haraldhimmel5687
@haraldhimmel5687 3 жыл бұрын
@@tld8102 I mean nothing is stopping someone else doing the same but with wifi. I like that. Also not having wifi in the firstplace means it can't possibly become a source for exploits.
@JC.72
@JC.72 3 жыл бұрын
ESP devices will fit your needs
@gbrls_yt
@gbrls_yt 3 жыл бұрын
you sound like the Atomic Frontier's guy
@UliTroyo
@UliTroyo 3 жыл бұрын
Whelp, halfway through this video I had to take a break to go buy one from Pimoroni.
@PATRIK67KALLBACK
@PATRIK67KALLBACK 3 жыл бұрын
Cool!
3 жыл бұрын
Would it be possible to make a super-small QR code reader using this board or RPi Pico?
@phillipneal8194
@phillipneal8194 3 жыл бұрын
Kind of like a Seeed Xiao ....
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
Yes quite similar form factor! I think the Seeed Xiao might be slightly smaller?
@GnuReligion
@GnuReligion 3 жыл бұрын
A little odd, that it is more expensive than the regular Pico.
@LearnEmbeddedSystems
@LearnEmbeddedSystems 3 жыл бұрын
The larger flash, smaller run quantities, more expensive components and fabrication at a small size would be my guess as to why it is more expensive.
@TheLostBijou
@TheLostBijou 3 жыл бұрын
as small as it is, and it has a RESET button. Helllo pico engineers???
@shakaibsafvi97
@shakaibsafvi97 2 жыл бұрын
Pi-Moron-i :)
@BurkenProductions
@BurkenProductions 3 жыл бұрын
If it's a RPI it should run linux.
@IamTheHolypumpkin
@IamTheHolypumpkin 3 жыл бұрын
I bet there are people at work, trying to get Linux running on it (and than doom afterwards).
@happygimp0
@happygimp0 3 жыл бұрын
@@IamTheHolypumpkin With 8MB Flash and 264kB RAM? I don't think so.
@idmmxx1871
@idmmxx1871 3 жыл бұрын
Tomorrow.
@BER-UK
@BER-UK 3 жыл бұрын
Twice the price for half the pins - not for me.
@Stinktierchen
@Stinktierchen 3 жыл бұрын
Where do you getr the Pico for half the price? Even on Ali I just find the Pico for around 9€!
@prasarnhutpattanasilp6615
@prasarnhutpattanasilp6615 3 жыл бұрын
ahh yes reset button
@paulmaydaynight9925
@paulmaydaynight9925 3 жыл бұрын
vga !
@Campo_
@Campo_ 3 жыл бұрын
I seriously don't understand when people state a board is better simply because it has a USB-C.
@zeebeezoey
@zeebeezoey 3 жыл бұрын
USB-C is nicer to use (mainly because it's reversible), more ubiquitous (especially going forward), and stronger. Whenever I have to use a micro usb device I have to search around for a micro usb cable that a) still works, and b) actually has its data pins connected. I have a bunch of type C cables lying around that all work just fine. I definitely understand why the RPi foundation chose to use micro usb. At the moment the micro connectors are far cheaper than the type C connectors and they were obviously trying to make it as low-cost as possible. I'll be glad to see micro USB eventually disappear though. (mini usb can stay if it wants, it's not as flimsy)
@zeebeezoey
@zeebeezoey 3 жыл бұрын
@MichaelKingsfordGray???
@happygimp0
@happygimp0 3 жыл бұрын
@@zeebeezoey I prefer micro USB over USB-C. USB-C is used almost nowhere, even high end Motherboards still have only 1 or 2 USB-C connectors. There are so many different types of USB-Cables, many of them do not have the data wires, some of them have resistors connecting different pins inside the cable. USB-C costs more than micro USB. I don't think micro USB will disappear soon, especially because of the price. Even 20 ct more per connector is enough for many products to use micro USB.
@MmmBopsPops
@MmmBopsPops 3 жыл бұрын
8 pounds, f that. Might as well do a ESP32 or 8266, and if you don't need WiFi/BT, just do an ATmega or PIC for 1/8th the cost.
@Scrogan
@Scrogan 3 жыл бұрын
Or ATtiny for cheaper than an ATmega. Getting a dozen ATtiny13s and making/buying a cheap programmer board with the DIP socket is a pretty compact way to go. It’s even more compact if you get a SOIC programming socket or just put an ICSP header on the project’s board. If you do a lot of compact stuff it would definitely be worth getting some sort of pogo-pin programmer, so you can avoid the bulky 0.1” programming headers on the PCB, just an array of test pads. ICSP is definitely superior to external programming if you have the liberty to do so.
@mannbat
@mannbat 3 жыл бұрын
Agreed. ESP* seems a better fit for most use cases. People seriously underrate the value of having WiFi. Being able to OTA is hugely useful
@oskariponkala1508
@oskariponkala1508 3 жыл бұрын
@@Scrogan attiny is not even close to the performance of rp2040
@jeffwells641
@jeffwells641 3 жыл бұрын
The ATmega/PIC options are 1/10th the power and 1000x less program space for the size. If you need the power the cheaper options aren't going to cut it. Even if you can technically get away with a 20mhz 8 bit chip, having the power of the 2040 lets you do things a lot easier, like using CircuitPython instead of C or Assembler. Python is a billion times easier to program in than C or Assember, which means more time designing your project to do what you want and less time fighting the code to get it to do what you want. I also don't really get the ESP comparison. Same price (or more!) and it has wifi/bluetooth, which is super cool, but it's also 4x larger than the Tiny2040, so it's not going to go into the same kinds of projects at all. Like, if you don't care about the small form factor or the power then there are better options, sure. But that's kind of obvious, isn't it? You don't guy buying scooba gear if you're planning to go hiking, know what I mean? You also have to bear in mind that if you're doing anything more complicated that blinking LEDs, then saving $7 on the micro controller probably isn't saving you all that much on the project as a whole. $1 vs $8 sounds like a lot - 8x the cost, wow! But $50 is only 16% more expensive than $43. And the $50 project will likely be MUCH easier to design and program, too. There will likely also be design constraints you're forced into with the $43 project that you won't have to worry about at all with the $50 project. That's a lot that you get for just $7.
@VG-kw8pt
@VG-kw8pt 3 жыл бұрын
pricing sucks
Waveshare RP2040 Boards: 3 New RP2040 Boards, LCD + LiPo - First Look!
9:58
Learn Embedded Systems
Рет қаралды 22 М.
Raspberry Pi  Pico PIO  - 8 Little Processors You Can Program
31:55
Gary Explains
Рет қаралды 96 М.
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН
SLIDE #shortssprintbrasil
0:31
Natan por Aí
Рет қаралды 49 МЛН
New RP2040 Board from Adafruit - KB2040 Review!
8:46
Learn Embedded Systems
Рет қаралды 11 М.
First Look at the Adafruit QT Py RP2040 - Fantastic Tiny RP2040 Board!
11:47
Learn Embedded Systems
Рет қаралды 22 М.
First Look at the Adafruit Feather RP2040 - Great Pico Alternative?
9:27
Learn Embedded Systems
Рет қаралды 31 М.
Raspberry Pi Pico 2: a RISC-V bet!
8:05
Jeff Geerling
Рет қаралды 318 М.
RP2040 Tiny / Mecrisp Forth / Neo Pixel
10:21
0033mer
Рет қаралды 19 М.
First Look at the Arduino Nano RP2040 Connect - It’s finally here!
8:02
Learn Embedded Systems
Рет қаралды 64 М.
Pico Prototyping - Building a "Pico Uno"
36:08
DroneBot Workshop
Рет қаралды 93 М.
PicoMiteVGA: Raspberry Pi Pico Boot-to-BASIC Microcomputer
23:58
ExplainingComputers
Рет қаралды 133 М.
Andro, ELMAN, TONI, MONA - Зари (Official Audio)
2:53
RAAVA MUSIC
Рет қаралды 8 МЛН