Very informative. Great! No nonsense video - real engineering approach. Well done!
@d.jensen51534 күн бұрын
One wonders about longevity. Will these same parts be available in three or five years? Will the company?
@d.jensen51534 күн бұрын
Another factor is development cost. If you're already intimately familiar with a particular architecture and its tools, and can quickly crank out a bug-free design - that's worth a lot.
@skg90113 күн бұрын
How many of those 500 will really work, its hard to predict
@Grunchy0058 күн бұрын
Probably all of them, less the ones blown up by electrostatic discharge.
@JohnHansknecht15 күн бұрын
Nice video, but you way overcomplicated the process. One generally only needs a flat surface, glass or plexiglass, then you put down your pcb and tape down similar thickness old pcbs around it to "lock" the board position, but it is still easily removed. Finally, you align a stencil over it and only tape one edge down to form a hinge. Lasts for thousands of boards. Your stencil is too thin. The stainless stencils from pcbway are completely flat on their own, so no need for vacuuming.
@AllTradesZach15 күн бұрын
Eh, overcomplicating things is half the fun. I wasn't originally planning on adding the vacuum but thought it might come in handy. I've used the method you mention, I even mentioned it in the video, but it has some limitations. For small pads like on QFN footprints it can be a bit difficult to keep the stencil aligned. I've also got a bunch of flex PCBs to do, which are only 8 mils thick and hard to locate. I haven't tried them with the printer I made yet but I'm hoping it makes them much easier. As far as stencils the 4 mil isn't too far off. I think a 5 or 6 mil and pulling the size of the pads in might be better, I'll probably try that for the next one, but it is easy to get too much solder under the QFNs (particularly ones with thermal pads). Thicker stencils are actually easier for me to make. The brass I used came in roll form (which was squished in shipping) and that wasn't ideal, I'm looking for it in sheet form. As I say in the video, it isn't financially beneficial for me to make my own stencils, but I like doing it and it allows me to make changes in 10 minutes.
@Really295018 күн бұрын
Flash size?
@Digithaiz19 күн бұрын
Nice work
@MSM550019 күн бұрын
_"overpaying for micro controller"_ I bought a handful of "Arduino" boards just for $1.5 from China then had to chuck them in a bin altogether. No way I'll ever look at anything cheap. You get what you pay for. A greedy always pays twice but an idiot pays for the rest of their life.
@tuxino19 күн бұрын
While watching your video, I had an idea. To me this idea seems so obvious, that I'm almost certain that somebody else already thought of it and tried it, and there's some reason that it either doesn't work or isn't practical. Still, just in case, here it is: Would it be possible to make a modified toolhead for a 3D printer that could apply solder paste? So that it could be printed on to the pads directly without using a stencil. I can see one reason that this might not have been tried even if it were feasible, and that is that those people with the knowledge to actually make this are also people who make multiple copies of each PCB, so for them it would be impractical, but for a hobby-user who would often only make a single PCB, it might be a sensible solution, that they just don't have the knowledge or equipment to pull off.
@Strawberrymaker19 күн бұрын
I think i saw some Projects trying it (also with an Pick and place toolhead) but controlling the flow of the Paste to Dispense Just a small SMD Pad is hard
@AllTradesZach19 күн бұрын
I've used something similar, a sort of CNC dispenser with a syringe for whatever viscous liquid you're using! We were doing adhesives, but I think they advertise it for solder paste as well. Converting a 3d printer would be an interesting project though, but it might be a little hard for some of the smaller components. I've also seen ink jet approaches companies are developing, which would be really cool.
@uygarbocutoglu446520 күн бұрын
Downloaded it. Thanks for sharing. Appreciate recyclers and open-source devs for a better future.
@johnyoungquist654020 күн бұрын
Heat stake inserts are a lot more trouble than they're worth I just mold in a hex pocket and drop a standard nut in place and print over top you can print over regular nuts or lock nuts of various kinds and they cost next to nothing compared to the fancy heat stake inserts and they are a lot stronger.. You can also print clearance in so the nut will float a bit and allow for misalignment much more versatile than a heat stake insert. Interesting design.
@AllTradesZach19 күн бұрын
I'm kind of afraid of inserting someone mid print, even though as long as it's below the current layer you should be in the clear. There are also out of plane inserts to contend with. I kind of agree though, heat press inserts are a PITA to get right. I need to play around with all the other options when I get some time.
@jrowny20 күн бұрын
pretty cool! My shark vacuum has a vent like that, if you don't vent it, it sticks to the carpet and you can't even move it.
@AllTradesZach19 күн бұрын
Interesting, never seen that on a house vacuum!
@rocccyborg21 күн бұрын
It's purely Chinese .. provide info on either Taiwan Japanese Korean American chipset
@curtisnewton89521 күн бұрын
this is not a microcontroller, it is a microcontroller dev board
@user-iq2uz4vp9n22 күн бұрын
The Cheapest Microcontroller? CH32v003
@luminousfractal42023 күн бұрын
too much talk im gone 😂
@yigitozen26 күн бұрын
well done YT recommendations.
@Kysen1028 күн бұрын
This looks like a clone chip of STM.
@WallaceRoseVincentАй бұрын
Hey Zach, I have a useful idea for the microcontroller that fits your channel. Since you are a jack of all trades then would a controller that monitors your ac system on your house be useful? A monitor system that helps you see ac problems before the turn catastrophic. It would be mostly temp sensing.
@Grunchy0058 күн бұрын
The thermostat is an "on-off" switching device, what do you propose to do, connect a microcontroller to monitor the state of the thermostat over the day? I guess that could provide some useful information.
@WallaceRoseVincent8 күн бұрын
@@Grunchy005 No, monitor the state of the heat pump. Like super cooling or super heat value so the owner knows when the system is about to break down. AC systems are running about $10k to $12k. It could help with keeping the system running in optimal condition.
@RWBHereАй бұрын
Ten cents for all of that capability? I remember paying £100 for a megabyte of RAM and thinking that it was a bargain price. How times have changed.
@parthsahni8952Ай бұрын
Very good and informative vid! im ur 700th sub lol
@klassikkustard4828Ай бұрын
Commented cause i loved this
@etmax1Ай бұрын
RP2040 has no internal Flash and only uses SPI Flash so it has to load the program or bits of program into RAM, reducing how much RAM you actually have for data so your comparison is a non starter in my opinion. What I do really like about this device though is that it's ARM M0+ rather than the somewhat inferior RISC-V. In my opinion the only thing RISC-V really gives you is the cheap FPGA synthesis. What I find interesting here is check the price out of an RTC chip compared to these micros. Obviously you need to be able have low power and a low power 32 kHz crystal connection, but basically you get about 5-10 of these for 1 RTC. I used to use MSP430 family devices as RTC's because they were 1/3 the price of an RTC. We use cheap micros for all sorts of glue logic because you can replace 100 or more logic gates with one of these for a fraction of the cost and PCB area if you don't need fast logic. Oh one last thing, when listing all of the serial options it has, I thought I'd mention that a lot of MCUs have shared HW for the various serial engines eg. the SPI Tx register and UART Tx Register could be the same HW meaning if you use SPI you're down a UART channel. It's not exclusively so, but just something to watch out for.
@AllTradesZachАй бұрын
I agree on the RP2040 not having flash, I probably should have mentioned that. I do still maintain that it is a powerful chip for 80c (+50c or so for a SPI flash), but needing that flash certainly makes it bigger and more expensive. I'm excited for RISC-V in the future, but so far I haven't seen anything that has made me make the jump. I definitely appreciate open source, but I haven't really seen RISC-V parts being drastically cheaper than ARM parts. This part is probably the cheapest way to get any of the peripherals! I can see using it just for the ADC, or as a GPIO expander, or as a serial translator. Hmm, I'd have to double check to see if there's any conflicting peripheral hardware. So far everything I've run has been fine, but I've not used all the serial peripherals simultaneously.
@etmax1Ай бұрын
@@AllTradesZach I agree, the pico chip is a great bundle, and the PIO engine is really something. The biggest issue is knowing what the real-time performance is going to be for any given implementation once programs exceed the available RAM. PCB footprint with external Flash is also a factor. On the peripherals sharing pins front, that is half of it, and I had a quick look at the Puya and the block diagram "Suggests" the peripherals themselves are separate (I didn't check for pin clashes). The thing I meant was eg. Infineon has not got I2C, SPI, UART, it instead has USIC0 and USIC1 which means that the registers are shared and they have a switchable state machine to make each USIC (only 2 of them) either I2C, SPI or UART. I got stuck with this where I needed 2 UARTs and 1 I2C. Another gotcha was that I couldn't get the SPI to work fast enough to do WS2812 because I couldn't reload the SPI register quick enough to do a 840bit stream without gaps. I could with a PIC.
@marsrocketАй бұрын
How long until there is compute power in EVERYTHING and it all meshes together?
@AllTradesZachАй бұрын
Well, we've got smart toasters, so I'd say that time is now.
@usrrsrАй бұрын
Gr8 video and +1 subriber
@MrVipulLalАй бұрын
Eye opener video. Many thanks
@TheRainHarvesterАй бұрын
😮"wait 11:26 for it to update" oh yank-ware which may stop at any time? Is there a way to download everything to not depend on a company?
@AllTradesZachАй бұрын
I know, this can be frustrating. Puya revised their website when I was making this video and now some of the documentation is gone. Luckily I did download all of it locally. The packs, datasheets, and some of the tools are available right from GitHub for download though. As far as the IDE's, fingers crossed I guess...
@amorpheuses162713 күн бұрын
@@AllTradesZach py32f0xx_hal.h is missing - haven't been able to find one on the web. My google-fu could be off...
@WessieNCАй бұрын
I find this chip very useful and interesting. Thank You.
@nyeleskettesАй бұрын
This looks like a cortex clone along with the debug interface and all the drivers.
@robotboy352520 күн бұрын
It gets the job done so who cares ?
@mikestewart4752Ай бұрын
Made in China? No thanks.
@stepannovotny4291Ай бұрын
Why do you need a HAL for something like this? The code is on bare metal isn't it? Doesn't the HAL just get in the way of actual hardware capabilities and introduce someone else's bugs?
@orides59762 күн бұрын
Totally agree. CMSIS programming would be simpler and more informative.
@hitension7Ай бұрын
You buy cheap, you buy twice! This video looks like paid ad.
@choppergirlАй бұрын
I wonder if you could add input and output to convert this to the equivalent of an old mainframe.
@murraymadness4674Ай бұрын
I get the sense you reading from a teleprompter?
@jayneatkinson2747Ай бұрын
I found datasheets in Chinese a few days ago, but even they've disappeared. I'll stick with STM32
@AllTradesZachАй бұрын
In Chinese here: www.py32.org/mcu/PY32F002Axx.html They redid their website while I was making this video, there used to be English versions there that were quite good.
@bikkelchiefwizard1681Ай бұрын
at EEBLOG they mention an repository with all data sheets (also English)
@amandioreal2293Ай бұрын
This a clone of stm32f0 and use the same documentation.
@bikkelchiefwizard1681Ай бұрын
No the PY32F0 can run on 5V something the new ST micros lack
@Miguel-tr2ev20 күн бұрын
Even the drivers, uses stm32 drivers
@amandioreal229320 күн бұрын
@@bikkelchiefwizard1681 so why it runs on st ide and use the same documentation? Also you can clone and replace the ldo. Cube was developed only for st chip it no like Keil.
@bikkelchiefwizard168120 күн бұрын
The PY32F0xx can be powered from 5V the ST parts can not. They only go to 3.6V max.
@stefanguitonАй бұрын
Great video
@Ed19601Ай бұрын
The development board is about 5 USD, which is lunacy compared to and ESP32 board
@AllTradesZachАй бұрын
Completely agree, they were $18 at one point which is absolutely absurd. These only make sense if you're spinning your own boards, and lots of them. Otherwise I'll personally grab a nucleo.
@Ed19601Ай бұрын
@@AllTradesZach I have no experience with the Nucleo but they seem like pretty decent boards
@TimHayward20 күн бұрын
And you can load a forth environment to an esp32, which would be the most important thing.
@mehmetkendi6067Ай бұрын
Thank you!
@AI-Doom-Ай бұрын
Not available in my country (India) and import costs makes them expensive.
@edwardfletcher7790Ай бұрын
Cortex M0 is a powerful little chip!
@mytechnotalentАй бұрын
Incredible Zach!
@tcurdtАй бұрын
Is there platformio support? otherwise I'll pass
@awaagrikh8331Ай бұрын
no for now
@juanestebanrodriguez9742Ай бұрын
There is an arduino port fot this kind of microcontrollers: py32duino/Arduino-PY32
@oskimacАй бұрын
YES! I FOUND IT LATER
@juanestebanrodriguez9742Ай бұрын
There is an Arduino port for this microcontroller series : Py32duino
@TheOpticalFreakАй бұрын
Wait whut 😳😲 is that like an AT Mega?!😮
@isoslowАй бұрын
AVR stuff is 30 years old overpriced joke compared to modern micros at 1/20 of the price.
@tsmwebbАй бұрын
That was impressive. Thanks for sharing. Hail to the Ineffable Algorithm for suggesting your video!
@andymouseАй бұрын
Interesting stuff, all the setup work is above my paygrade at the moment, fascinating nonetheless....cheers. Edit: oh yeah 'PB5' same port and pin on the Arduino Uno for the built in LED.
@saddle1940Ай бұрын
I had to smile when you described over several minutes, thee code needed to flash a led. It reminded me of the joke about the king and the toaster design. Even with interrupts, I'd be thinking under a minute with an arduino before youd be flashing the chip. So much prewritten code and definition files, i worry about code errors made by others, but thats the cost of wanting things like USB to work from libraries.
@nguyenthinh6188Ай бұрын
I agree, py32f002 is cheapest arm mcu can buy at here. Yes 4600vnd for 1 unit, easy to program via dap,stlink clone,etc...
@nguyenthinh6188Ай бұрын
Fmd60 cheaper but programmer of that 8bit mci not cheap