*It's over for microcontrollercels* Chaduino is worse, but is more popular and has a chiseled charging port
@ABHAYSINGH-ng2lh2 жыл бұрын
Damn
@Blox117 Жыл бұрын
based
@uckfayooglegay99824 жыл бұрын
The KZfaq algorithm is gonna have a fun time with this one.
@DEtchells2 жыл бұрын
Just don’t mention Black Pill and COVID in the same sentence :-) (Oops! Drat!…)
@fuzzs89702 жыл бұрын
Would they cut it out?
@Aakadjmr2 жыл бұрын
I came here for black pill mgtow lol bye
@rundemcheeks16392 жыл бұрын
Its over for v-saucecels
@undercrackers564 жыл бұрын
Oh I see! When my boss told me to get a couple of "blue pills" I thought he was overstepping personal boundaries.
@maniac_q4 жыл бұрын
Based and Blackpilled
@joselaw66693 жыл бұрын
It's over for Espressifcells
@BakerWase3 жыл бұрын
Bluepilled beta's running at 72 MHz, meanwhile blackpill sigma's running at 100MHz... or as I like to say 0.1GHz!
@tomaszwota14652 жыл бұрын
Bluepill's respectable 0.07 GHz is a bit stirred, not shaken.
@elcabron1244 жыл бұрын
Once you go Black Pill, you can never return to the Blue Pill.
@fromgermany2712 жыл бұрын
You can easily, but you might not. But there is also a blackpill downside is: only one ADC, where bluepill has two. So if you need to measure 2 analog values simultaneously, go blue.
@leonardodepinto7912 Жыл бұрын
@@fromgermany271 if you are not Mission crtitical you can use an i2c adc
@superjimnz4 жыл бұрын
Note that F103 can't use CAN and USB at the same time; the peripherals memory maps overlap.
@jeffreyepstein43103 жыл бұрын
I didn't expect this lol
@MatthewSuffidy Жыл бұрын
Without trying too hard, I programmed my black pill by adding stm32 implementation to the ardiuno ide, exported the compiled binary, and used the st programmer in usb mode to program it. You have to press 2 buttons on the black pill in an order to get it into rom bootloader.
@soundgarden11234 жыл бұрын
Based and blackpilled.
@lucasc56223 жыл бұрын
cringe
@colorpanda84094 жыл бұрын
15:30 oh, yeah~, Black Pill Microcontroller Board does toggle the LED which so useful to me. :)
@blanchehermine4 жыл бұрын
We started switching from Cortex M4 based MCUs to Cortex-M33 ones for our BLE applications.
@GaryExplains4 жыл бұрын
Any suggestions for a good M33 dev board, could be interesting to try out for a video.
@blanchehermine4 жыл бұрын
@@GaryExplains We're using Silicon Labs EFR32BG21Series 2 SoC and modules for BLE (Bluetooth Low Energy). They have dev kits, but we don't use them. Also they are relatively expensive.
@SebastianWetzel214 жыл бұрын
You don't need a USB to serial converter, the black pill has a DFU bootloader, so you can use the usb directly
@charlesthomas1352 жыл бұрын
What's the overhead on the bootloader?
@fromgermany2712 жыл бұрын
@@charlesthomas135 non, it‘s part of the internal ROM separate from FLASH
@KimTiger7774 жыл бұрын
Hi Gary could you make a video on ESP32 ?
@caffeinatedinsanity23244 жыл бұрын
"With the blue pill, enlarge your possibilities!" Oh wait, the black pill is here. Well fuck. Hey at least it still has better performances than the Arduino Nano
@caffeinatedinsanity23243 жыл бұрын
Also the datasheet for the microcontroller on the Black Pill states that it comes with not only a serial bootloader, but also a USB one. Blue Pill only has a serial one
@vitormoreno12444 жыл бұрын
You can use Arduino IDE or VScode with Arduino extension, you will just need the Arduino_Core_STM32 from github. If you use the STM32CubeProgrammer you don,t need that FTDI at all, just plug the cable and do exactly same thing to go bootloader mode, the device will show up as HID
@dieSpinnt4 жыл бұрын
This is a viable solution. But you'll use it exactly till the time when you discover that it is cumbersome and prevents you from using some features of the hardware. With another kind of the same device you can realize a full blown ST-Link programming adapter or other kind of debugging hardware that doesn't disable you from using the full potential of the hardware or any tailored libraries like libopencm3, CMSIS, etc. including a Makefile development solution that is fast and lean. Especially when you are developing USB solutions your boot-loader is in the way. Later, when the product is ready, there is no problem to have a DFU or github.com/feaser/openblt boot-loader for product updates. Please don't misunderstand me, there is nothing wrong with github.com/rogerclarkmelbourne/STM32duino-bootloader and friends, but there are alternatives and better(or different) debugging/development solutions out there, that you will like if you touched them.
@vitormoreno12444 жыл бұрын
@@dieSpinnt that isn't the core I'm talking about, the core I meant is fully supported by ST and have all CMSIS and HAL. The bootloader is HID and not that old DFU VScode support debugging using ST-link or J-tag by default, you just need openOCD 10.0
@dieSpinnt4 жыл бұрын
@@vitormoreno1244 That's fine. I just wanted to state, that no one is bound to an IDE and there is a great variety out there to choose from. Including different ways to connect, debug and design your code. One just has to know them.
@-Retired-2 жыл бұрын
I'm more of a red pill guy. But cool
@blackpillowajulka31762 жыл бұрын
Bluepill is for simps xD
@teknoman1174 жыл бұрын
It's amazing how cheap a lot of this stuff has gotten. I remember 15+ years ago $5 got you an ATmega32 (8-bit, 32K flash, 2K ram) on a DIP-40 with a max speed of 16 MHz, and all you had was the chip. Now you get a 32 bit, 100 MHz+ microcontroller with a mind numbing amount of peripherals (and hardware floating point) on a carrier board with the ability to use a proper debugger for the same price. I can't tell you how much time I spent printf debugging with bit-banged serial because the only real UART was tied up doing something else.
@tomaszwota14652 жыл бұрын
From 2-3 bucks once, they are now at 8-10. Gotta love the future, and the future is now.
@BEdmonson852 жыл бұрын
I know, right!? Giving away my age here, but in the late 90's early 00's before Arduino existed, I had a play around with a sort of similar device called the BASIC Stamp and BASIC Stamp II. They were PIC microcontrollers that ran a BASIC interpreter, that allowed you to be able to program them with BASIC. Those things costed $50 each in 1999 (yikes!). But, for a kid like me at the time, programming in BASIC was much easier than trying to learn assembly. C compilers existed for PIC's back then, but they were very expensive. I still have the BS2 I bought back then lol. That thing was precious to me, $50 was a lot of money for a 16 year old back then.
@teknoman1172 жыл бұрын
@@BEdmonson85 I started with a basic stamp 2 as well. The first robotics kit I got as a kid was a parallax boe-bot in 2002. I remember those BS2 modules being so expensive. Still have a receipt for one hanging around from ‘03. One of the guys in the robotics club I attended at the time was making little breakout boards for the AVR microcontrollers (atmega8 and atmega32) well before the Arduino and I switched to them because they were so much cheaper. Built a theremin like thing for a "make your own instrument" project with an atmega8 in 6th grade and nearly got a zero because my teacher couldn’t believe that I’d made it myself. Fun memories.
@Brynhildrify4 жыл бұрын
nice, now debate facelms
@user-fb3vt8hs6u4 жыл бұрын
I've hoped to see performance comparison instead of wiring and blinking, but at least it was interesting to know how to upload code and receive messages from MCU.
@shuflie3 жыл бұрын
They really need to make a red pill.
@KingAwesomeOutputs4 жыл бұрын
LDAR
@UltraNyan4 жыл бұрын
Damn the comments :D
@treelibrarian76184 жыл бұрын
what about DFU download? only a usb cable is required, no programmer needed.
@Jefferson-ly5qe4 ай бұрын
I tried it with an STM32F401 blackpill and had no luck. Was able to download to the board (or at least seemed to) but no blinky LED
@arthurdefreitaseprecht26486 күн бұрын
@@Jefferson-ly5qeHi, this might be due to A10 pin floating. Try grounding it, I saw someone with the same issue and grounding A10 fixed it
@drgr33nUK4 жыл бұрын
Nice video but watching you wire up that bread board is driving my OCD crazy :)
@johnaweiss3 жыл бұрын
why?
@drgr33nUK3 жыл бұрын
@@johnaweiss I can't remember because wrote this one year ago but probably because it was messy.
@earthianmike4 жыл бұрын
Cuts to the chase for me, Thanks Gary : )
@gamerpaddy4 жыл бұрын
they need to refine the download & flash process its taking way too many steps slowing down the learning process and potentially keeping people from keep using it, no matter what its capable of. arduino is doing exactly that, one click and its done, on almost all boards. some just need a reset button to be clicked once.
@Shiniiee4 жыл бұрын
Because it's not intended for hobbyists. Doesn't even make sense, as it's quite powerful core that runs good ol' superloop with interrupts at best.
@burakdinc82314 жыл бұрын
Because they expect u have a idea what is going on in embedded system.
@HariWiguna4 жыл бұрын
Gary, fantastic explanation! Thank you!
@ZookeeperJohnG4 жыл бұрын
Well done and very understandable, thank you.
@regal_78773 жыл бұрын
Holy god, 22KB of flash consumed with just a simple blink sketch. Is that from Mbed or just ST's default Standard Peripheral Library
@Arinachipsquare7 ай бұрын
Very cool explanation 😊
@GaryExplains7 ай бұрын
Glad you liked it
@paulodpereira4 жыл бұрын
The STM32F411CEU present in the Black pill board doesn't have a native CAN interface. But it supports up to 5 I2S buses ITOH, 2 of them in full-duplex.
@pesho99714 жыл бұрын
"This is C"..........Looks at source file extension(cpp).......i dunno about that one chief
@GaryExplains4 жыл бұрын
I misspoke. Sue me. 🤣
@toxaq4 жыл бұрын
@@GaryExplains The District of East Texas has entered the chat.
@toxaq4 жыл бұрын
Your Dearest Fan notoriously soft place on patents for suing people/companies.
@niewazneniewazne18904 жыл бұрын
I mean he is also including .h not .hpp headers, and the code doesn't use any C++ features so it is a tad like C I guess?
@niewazneniewazne18904 жыл бұрын
@Your Dearest Fan Well tbh .h is just a header/file doesn't really say what it's contents are, could very well be a .cpp file being inserted into main file tree and compiling as one cpp file there. Well I just said that cpp file doesn't contain(or seems like it) any C++ features, also I do realize that you can still use a C++ compiler, and only use a small subset of features unique to it/none at all and use a c++ compiler.(especially on mcu). If it used C it would contain extern "C" {}
@dougonutube4 жыл бұрын
Gary, thanks a lot for this very helpful video. I have a blackpill (F411) working as you describe, with both LED and serial port working. I'm programming through the USB interface, using the STM32Cube programmer. I cannot get the USBSerial object to work! I'm wondering whether it's an inconstancy between the blackpill board and the NUCLEO-F411RE board layouts (some incompatible USB setup parameter perhaps). I have the USBSerial instantiation statement at the start of the program, and when run the program never gets beyond this statement. I've tried blocking and non-blocking (true and false arguments to the USBSerial call) but the PC (Windows unfortunately) never picks up a new USB serial device. Have you managed to get the USB Serial functionality working using mbed, and if so, can you post your code? Thanks again for your really helpful videos!
Just a minor correction to the comparison table at 3:10, the STM32F103C8 micros on the bluepills do have only 4 timers; 1 advanced and 3 general purpose. ttps://www.st.com/resource/en/datasheet/stm32f103c8.pdf
@dieSpinnt4 жыл бұрын
I don't know which evil marketing guy has come up with that kind of confusion-kung-fu for us. The originally black pill was based on STM32F103 like the blue one, featuring mounting holes, one sided component placement and a micro USB connector that doesn't fall off when you look at it at an angle. Also you doesn't mention some "big" features of the blue pill: The 3.3V voltage regulator is very small (current wise) and you will most likely have the wrong pull-up resistors making USB-connections a gamble. That's no problem at all and easy to fix for that price, but better to keep such things in mind. So whats wrong with this "thing" ... should we call it Black Pill v2 ... Black Pill 401? Thanks for the video, Gary and showing off this new toy. ...and for the follow up with all the stumbling blocks and traps of that thing:) web.archive.org/web/20190527040051/wiki.stm32duino.com/index.php?title=Blue_Pill web.archive.org/web/20190621211652/wiki.stm32duino.com/index.php?title=Black_Pill
@GaryExplains4 жыл бұрын
There is no marketing guy or any marketing at all, these are all just casual monikers applied to these boards by "the internet".
@dieSpinnt4 жыл бұрын
@@GaryExplains Then my not so serious statement was also confusing :)
@gtcollection69334 жыл бұрын
Good vid overhaul, however you require a ST-LINK V2 (minimum) or preferably a ST-LINK V2-1 or V3 giving you SWO trace for debugging (recommend the later). FTDI may work to program the mcu (extra-poor man solution?) however it is completely irrelevant to STM and debugging :/
@ExplodingWaffle1014 жыл бұрын
just picked up the 411 discovery for myself, nice to see this video a couple hours later :D. will be using it’s adcs, dma and usb to make a joystick (and that’s just my first project) i’ll have to borrow the usb c schematic of these if i get these pcb’d
@superjimnz4 жыл бұрын
If you use STM cube, you can get most of the way to making a HID joystick pretty quick.
@midclock2 жыл бұрын
Why not flashing directly with the on board USB port? Serial programming is available, but not the only solution, there's a dedicated pdf on the ST website, which explains which flashing modes are available. Cheers
@MIX08TLI4 жыл бұрын
Mbed Studio works like a charm!
@mrtmrf50074 жыл бұрын
what is the limitation with mbed OS and the IDE ?? can i use it fully to upload big amount of code? would this replace arduino?
@bayenne5b2 жыл бұрын
Does ST have any support for configuration via Linux?
@avejst4 жыл бұрын
Interesting as always New hardware Thanks for sharing👍😀
@rudolphriedel5414 жыл бұрын
This thing has USB, why is the USB/Serial converter necessary?
@fuzzy1dk4 жыл бұрын
it isn't, the M4 bootloader supports DFU on usb www.st.com/en/development-tools/stsw-stm32080.html
@lhxperimental4 жыл бұрын
That USB disconnects when the MCU restarts and it has the same effect as yanking off a USB component while it is still in use. The serial terminal on your computer may crash or at least you will have to go though the connect routine again. When you are developing, you flash and restart the MCU very often and having to clear the error prompts and reconnect every time is a pain.
@treelibrarian76184 жыл бұрын
@@lhxperimental only a problem on windows, I think.
@TheGoolien4 жыл бұрын
You should use usb cdc to use virtual com port, else it's easier to use the normal serial uart
@burakdinc82314 жыл бұрын
@@fuzzy1dk İs this possible with blue pill?
@benwilliam10104 жыл бұрын
Gary, you are awesome :)
@BogdanTheGeek4 жыл бұрын
Mbed is a c++ environment! I have used it extensively with the nucleo.
@BogdanTheGeek4 жыл бұрын
@Surge Power Technologies he mentions the nucleo-fr411re which a development board that uses the same arm chip as the black pill
@Conservator.4 жыл бұрын
Surge Power Technologies Rewatch the video. 11:45 It’s the board made by STM
@markepiscopo75583 жыл бұрын
Great tutorial, where are those "defines"? DigitalOut and Serial? There are probably more, where is the documentation? Thanks
@sidharthap4 жыл бұрын
Please zoom in to your code / web pages so it's legible even on mobile phone screens
@RixtronixLAB2 жыл бұрын
Nice video, keep it up, thank you :)
@stephencurtis22822 жыл бұрын
My experience with the black pill has been very promising. For the cost, it's remarkable. A few dollars only and you get 84Mhz clock, an FPU and buckets of functionality. I have been leery of the tools like the ST-MX where I saw something like this in the Motorola tools a few years ago - these were expensive and kind-of-hard-wired you into a programming model that hid the details far too much (for mine).However the ST MX toolset enables you rather than channelling you. Initialization and start up configuration is a snap. Having spent the last few years with the PIC32 and ICD3 plus a $1,000 compiler (back in 2009) these tools are unprecedentedly inexpensive and versatile and enabling. I still have not got the ADC in the PIC32 running properly yet. It's just so complex. The ARM STM401ccu6 ADC is 12 bits compared with 10 bits for the PIC - 4 times the resolution (on a $5 board!) and with black pill and ST-MX I simply say I want the ADC to run, interrupt driven and I'm pretty much done. (well almost!)
@mcg67624 жыл бұрын
Regarding speed of these MCUs I can say that the STM32F4 is a lot faster than the STM32F1, more so than the frequency might suggest. The F1 is seriously crippled by the slow flash access times. The F4 has some simple caching going on and also a wider bus to the flash making it way faster than the F1. Something like 2-3x faster at the same frequency.
@TheRainHarvester4 жыл бұрын
How much faster would a float op go?
@mcg67624 жыл бұрын
@@TheRainHarvester Oh, probably ~30x faster
@Jefferson-ly5qe2 жыл бұрын
Do you mean F401 and F411?
@mcg67622 жыл бұрын
@@Jefferson-ly5qe No, the STM32F1xx series vs STM32F4xx series.
@VICTORYOVERNEPTUNE3 жыл бұрын
These can easily be programmed through USB via DFU
@prashantpark19 күн бұрын
Hi could you please make one video, on how to use STM32 Black pill with Arduino IDE.
@GaryExplains19 күн бұрын
I think I cover that in this video kzfaq.info/get/bejne/qbWHe8h2qc2alac.html
@shangtsung24503 жыл бұрын
Thank you for introducing these devices. They are very promising! May I ask, how much data could STM32 pump through it?
@d3vastat0r894 жыл бұрын
Anyone know how to get a footprint for the 401 version to use in KiCad? The product page has a link to github, but it's a bit sparse on dimensions and the only file I could find that looked relevant has a .intLib extension, which KiCad can't open.
@InterdimensionalWiz4 жыл бұрын
Hi i have the STM32F411CE M4 i am trying to use 2 SERIAL PORTS.... one for a bluetooth module and one as serial to the Arduino serial monitor. how do i configure to use more than one serial port on the STM32F411CE ? many thanks.
@amansaxena58984 жыл бұрын
Didn't knew there exists Chinese stm32 board with 400 series chip. Thanks for the info!
@ofiros19874 жыл бұрын
Hi Gary, I tried follwing you video but when i'm trying to compile, I get an error mbed.h file is not found What do I need to do? Thanks
@reznov7028 Жыл бұрын
Never began
@dinamics2 Жыл бұрын
Will it work with 921600 baud rate?
@KangJangkrik3 жыл бұрын
Morpheus: You must choose blue pill (the reality) or red pill (uncertain future) Keanu Reeves: ... Morpheus: ... ? Keanu: Well... I guess I will take the black pill Morpheus: (visible confusion)
@manofmesopotamia76022 жыл бұрын
you got a new subscriber😊
@karsnoordhuis43514 жыл бұрын
a little correction, you can use an sd card on a blue pill. ive done it on a G0 series mcu from st. the difference is the F4 mcu has quad spi, this is what the SDIO uses. it allows an sd card to communicate at a higher speed.
@GaryExplains4 жыл бұрын
Yeah, that is why I said natively (i.e. using SDIO) not via a third interface (i.e. SPI). You can connect anything via SPI if you have the SPInative interface. That isn't the point.
@karsnoordhuis43514 жыл бұрын
@@GaryExplains Exactly. A native interface for sd cards is spi . Doesnt matter what microcontroller you have as long as it has spi you can communicate with an sd card. Hardest bit is the software although stm32cubemx provides solutions for that. Sdio uses multiple spi port to transfer data faster. It is apparantly a bit easyer to implement too if you are going with the more advanced IDE's.
@kishoreksm83663 жыл бұрын
Can you make a video on usb mode for programing
@arniep7403 жыл бұрын
Maybe this is a silly question, but if the board has a USB-C connector, why the need for the FTDI adapter?
@Steven-jf4cs3 жыл бұрын
options - FTDI may be much faster and USB
@arthurdefreitaseprecht26486 күн бұрын
Actually there is no need for the FTDI. The board has native USB, you can use it as a DFU mode (built in in the chip) or even burn a custom bootloader so no need for external hardware when programming
@romanmelnyk17774 жыл бұрын
I wish there was a version of stm microcontroller in dip package. So that i would use only documentation to program it
@romanmelnyk17774 жыл бұрын
in assembler
@GaryExplains4 жыл бұрын
I have a video that I am working on where I build my own microconroller board using a TSSOP20 to DIP converter. Here is a pic from Instagram instagram.com/p/B7VM_vTpIbT/
@altimmons4 жыл бұрын
It should be noted there are a lot of counterfeit FTDI adapters floating around from the usual suspects. The chip looks the same but inside the package is a cobbled together bunch of crap(search online for people that took it apart and looked at it.). It will id as FTDI and run the drivers but give inexplicable errors that are really hard to run down.
@superjimnz4 жыл бұрын
Mostly that is drivers poisoned by FTDI, to either zero the PID/VID of the device, or latterly to inject garbage into the serial data stream. They work reliably on linux. This applies to counterfeit devices only of course.
@mannhansen93374 жыл бұрын
Garbage on the screen usually comes from incorrect baudrate. People don't know data comms anymore. 9600 vs 115200 etc. DTR,RTS,CTS and so on. This was basic training when I grew up in the 70's and 80's.
@rexrohn65394 жыл бұрын
Why not use ST-Link?
@oraz.4 жыл бұрын
It seems there's this, nucleo, and teensy which has usb.
@KC-yk5xe4 жыл бұрын
Now i can make a diy F4 drone flight controller 😏😏😏
@colinc57284 жыл бұрын
Why oh why couldn't they spend the extra pennies and use an F4 version with CAN.
@caffeinatedinsanity23244 жыл бұрын
What are the odds that someone would use the CAN bus?
@clearspirt4 жыл бұрын
It costs $10 now
@aidagamemnon4 жыл бұрын
Blue pill, Black pill.. How do you call board same as Bleu but with STM32F303 chip?
@mannhansen93374 жыл бұрын
I noticed that you left the YELLOW jumper in the 5 V position ? Will the STM32 chip survive 5 V into it's RX pin over time ?
@GaryExplains4 жыл бұрын
Yes, the RX/TX pins are 5v tolerant.
@mannhansen93374 жыл бұрын
Thanks, I'm over worried with 3.3 V devices. Managed to program this board with Arduino IDE and FTDI serial. The blink sketch uses 19136 bytes (7%) memory. The USB onboard and many tutorials from the net were not successful. There will be many fixes in the Arduino IDE v. 1.9 so we can always hope. The next version is always better. Do you have any info who is using the STM32 chips ? They must be produced in zillions compared to the low price?
@Ryuseigan4 жыл бұрын
Using the blue pill with kiel was a pain
@GaryExplains4 жыл бұрын
I have never tried, but it is easy with Mbed OS and with Arduino (using STM32duino).
@crazyphil77824 жыл бұрын
No CAN is a no-go for me sadly ://
@UweStrempel4 жыл бұрын
I recommend FT232RL FTDI as USB to Serial Converter.
@JamesFraley4 жыл бұрын
why?
@UweStrempel4 жыл бұрын
@@JamesFraley Experience! The FTDI driven USB to Serial Converter does what it should. There are problems with USB to Serial Converter from other manufacturers. It's my daily work, to work with USB to Serial Converter and embedded devices.
@JamesFraley4 жыл бұрын
@@UweStrempel Thanks for the information.
@dieSpinnt4 жыл бұрын
@@UweStrempel Does your daily hassle include reading data sheets? My assumption is not, or else you would've heard that these devices include USB Hardware and a USB-Stack is easily implemented. Nonetheless if you prefer the FTDI232/BOOT0 solution, there was definitely a good reason to forego debugging, tracing and speed of a dedicated JTAG, ST-LINK, J-LINK, Black Magic Probe or any other of the dozens of better development solutions out there. This was not meant disrespectful, more to show the alternatives:)
@UweStrempel4 жыл бұрын
@@dieSpinnt Reading data sheets is my daily hassle, amongst other things. I agree there are better solutions. I mean if you are using a USB serial converter then I recommend using one with FTDI. I don't want to name any manufacturers here, but some are ...
@duncanyoung86884 жыл бұрын
My black pill is stm32f103 cortex m3 so they not all cortex m4
@GaryExplains4 жыл бұрын
"Black Pill" can cover a range of boards and designs, other than the board color, why would you call the board you have a "black pill" if it is the same as the "blue pill"?
@robertheal51374 жыл бұрын
@@GaryExplains black PCB ?
@Conservator.4 жыл бұрын
Robert Heal Yep, as soon as some Chinese discover that black boards can be sold at a higher price they’ll change the colour of the board 🤣
@benwilliam10104 жыл бұрын
the "black pill" with the STM32F4 is called "WeAct", and there are different versions, you should use at least 1.3, the Version 2.1 is currently in prepearation, but there are jsut minor differences. Funny stuff: the WeAct company is warning customers that the ZUCZUG shop (which Gary is linking to) are knock offs and you should not buy from them :)
@outgoingbot4 жыл бұрын
Thr black pill name was already used by a stm32f103 board. It just has some different passives on the PCB and a different Vreg or something. It was to fix some design issues on the bluepill but then "they" just fixed the bluepill anyways. All cortex m3 boards
@kychemclass58503 жыл бұрын
Hi Gary. I've for a request and plea for a video....Support for non-FOTA NONOS ESP8266-01 WiFi module ended some time ago, in that the "eagle" based bin files were no longer included in the SDK. There seems to be vague instruction that these bon files can be compiled e.g. @t (python utility) and usually from in Linux. It would be great to be able to flash the ESP-01's with the latest firmware as it's less buggy and gives good new AT commands to the module. I am thinking about the 1MB (8Mbit) 'black' silkscreen modules. Could I appeal to you technical skills to make a video on this to allow the many millions of these modules to operate at a better level. I really appreciate all the help you give us and would love it if you can crack this problem. Thanks.
@NurchOK4 жыл бұрын
So to get this straight, let's take a very powerful embedded CPU and make it work with shitduino IDE to blink an LED. Great, now I've seen this too. Amazing, and you're going to debug your code how?
@petertremblay37253 жыл бұрын
Hi, i am building a foot controller for a friend who lost his arms in an accident and i want to know if i can use this as an hid device to control 3 arcade buttons?
@Stinktierchen3 жыл бұрын
I wouldnt bother with this one. Get yourself the Arduino Pro Micro based on the ATmega32U4. There are a few great libraries for it and Arduino IDE. Its VERY easy to use and you can simulate 4 Joysticks on just one Pro Micro. I have built myself a Joystick this way. I have 6 Axis 28 Buttos and so on...
@petertremblay37253 жыл бұрын
@@Stinktierchen Could you please recommend a good pro micro clone because i cannot get an original arduino pro micro in my area? See this one here : www.amazon.ca/CANADUINO-STM32-Black-Genuine-STM32F411CEU6-100MHz/dp/B0844QMB4F/ref=sr_1_20?dchild=1&keywords=stm32&qid=1613106213&s=electronics&sr=1-20
@markconger80494 жыл бұрын
Windows only flash tool? That’s a bummer. Maybe it’ll run in WINE.
@hrnekbezucha4 жыл бұрын
Does wine pass through usb connections?
@thekakan4 жыл бұрын
1> github.com/texane/stlink 2> sourceforge.net/projects/stm32flash/ I'm also gonna buy one of these boards to try tinkering :)
@stephenborntrager65424 жыл бұрын
An online compiler...? I'm trying to suppress the urge to vomit... I sure hope there's another way to get code onto these things. These are ARM based chips... shouldn't there be a way to GCC to emit code for them...? Please... the OS is nice, but all I really ask is my choice of IDE, and a set of register descriptions... The boards I ordered are going straight into the trash if I've got to use their online tool.
@GaryExplains4 жыл бұрын
Yes there are lots of alternatives including using GCC etc, the mbed OS compiler is just the easiest to demo in a short video.
@stephenborntrager65424 жыл бұрын
@@GaryExplains Thanks for clarifying! I was getting a little worried! The online tool is not nearly as threatening if it's a choice. I'm sure it's worth it for some. I would hate to lose hours of work because of spotty internet... or an account issue.
@rubenproost25523 жыл бұрын
Can it run linux?
@cube1us3 жыл бұрын
Doesn't seem to talk much about what the difference on the pill boards - the pinouts, for example - actually are.
@AKKJ4202 жыл бұрын
So you have to compile on a website (in which some features may or may not be free) and download to the local folder and use a flasher and use putty for console? Brilliant! I will stick with Arduino!
@robertheal51374 жыл бұрын
where are you getting these $4 F411's ?? All the ones I can find are around 30 USD. There are some cheaper F401 and F407, no F411.
@GaryExplains4 жыл бұрын
The link is in the description, I just checked it and the price is still the same: US $3.74.
@robertheal51374 жыл бұрын
@@GaryExplains thanks, I'll keep looking for a 411. I also found that a 407 is better than a 411 so I bought one of those for 11 USD. Complicated numbering scheme !
@TheRainHarvester4 жыл бұрын
@@robertheal5137 Maybe the 7 denotes a feature set, as well as 1...with 3 feature sets in the 3 digit number?
@lohikarhu7343 ай бұрын
never did do the promised 2nd episode
@GaryExplains3 ай бұрын
Oh! Sorry about that. Since I made the video 4 years ago, please remind me, what was the 2nd episode meant to be cover?
@JohnnieHougaardNielsen3 жыл бұрын
As USB/Serial adapter, I'd recommend the "golden CH340G" (good search term) instead, as it can deliver 150mA instead of only 50mA from that red board. While 50 mA may be enough for some boards, it is quite low if you go into MCU chips with Wifi (like ESP32 and ESP8266).
@dominicamoakobaah9516 Жыл бұрын
So what is the USB-C used for?
@GaryExplains Жыл бұрын
Power. It is also possible to program it via USB but I never have much success with that. See my video on the Blackpill built in Europe.
@dominicamoakobaah9516 Жыл бұрын
@@GaryExplains just finished watching and was disappointed in them
@greyhnd0013 жыл бұрын
Why not use the much better esp32 or 8266. the 32 is dual core and much faster. It comes with 8 touchpins by default. They only cost 1 dollar more at 5.00. On top of that you can run micropython on the esp32 and 8266 and it is much easier /quicker to program.
@GaryExplains3 жыл бұрын
You can use those boards if you want, this isn't a comparison video between the "Pill" boards and the alternatives.
@pavelpolyakov57634 жыл бұрын
It has USB, but to program it one has to jump through a dozen hoops, no wonder all the electronics I bought recently sucks a big one (meaning morons so entrenched in the past designed it so that all the advances in hardware are brought to nill). I wonder why they haven't brought back videocassette recorders or 8-tracks.
@iamthejesus0118 Жыл бұрын
over
@Rooey1293 жыл бұрын
Not sure why you think your audience would know how DSP instructions work but not how breadboards work.