STM32 with Arduino IDE | Schematic & custom PCB | NRF24 radio | Bootloader

Тәжірибелік нұсқаулар және стиль

High quality PCB prototypes: www.pcbway.com
3D & CNC service: www.pcbway.com/rapid-prototyp...
🔥I'm starting some projects with the STM32 and I've made my own PCB for tests in order to see if the basic configuration will work. I show you how to use this microcontroller with the Arduino IDE, how to burn a bootloader, the schematic and my PCB and use it with the NRF24 radio modules.
🔀LINKS
-------------------------------------
Tutorial STM32 + Arduino IDE: electronoobs.com/eng_arduino_t...
Tutorial STM + NRF24: electronoobs.com/eng_arduino_t...
Tutorial STM32 PCB: electronoobs.com/eng_arduino_t...
PCB schematic: electronoobs.com/images/Ardui...
PCB GERBERs: electronoobs.com/images/Ardui...
🤝SUPPORT
-------------------------------------
Join my Arduino Course (Spanish): bit.ly/2JY8icE
ELECTRONOOBS.io: electronoobs.io
Help my projects on Patreon : / electronoobs
my Q&A page: electronoobs.io/forum/index.php
Facebook page: / electronoobs
Canal en Español: / electronoobs en español
00:00 Intro
02:18 Steps of the video
03:00 Specifications STM32
04:16 Program the STM32
07:35 STM32 + NRF24
09:10 Bootloader burn
11:01 STM32 Schematic and PCB
13:34 Outro & Thank you
Like share and subscribe to motivate me. Thank you
#STM32
#Arduino
#NRF24

Пікірлер: 144

  • @ELECTRONOOBS
    @ELECTRONOOBS3 жыл бұрын

    Arduino Course (Spanish): bit.ly/3ldW6kO Follow me on FACEBOOK for more: facebook.com/Electronoobs Help me on Patreon: www.patreon.com/ELECTRONOOBS

  • @Shubham-po2tp

    @Shubham-po2tp

    2 жыл бұрын

    Please tell me which is best Black or blue

  • @diy.Builder

    @diy.Builder

    2 жыл бұрын

    Can you make this type of project without SMD components for future projects so that we can make an universal transmitter

  • @klif_n
    @klif_n3 жыл бұрын

    This was very helpful. I have a need for this MCU and wasn’t sure how to get started.

  • @abdll2804
    @abdll2804 Жыл бұрын

    The best explanation I have seen about stm32. All thanks to you and your efforts. I hope the video will be longer and not end so quickly. All the best to you, my brother.

  • @kitesforfuture577
    @kitesforfuture5773 жыл бұрын

    Awesome!!! I used your schematic to design an own stm32 dev board. Everything I needed works flawlessly (USB not tested yet). Saved me during this time, where stm32 blue pills are unavailable. Replaced the jumpers with SMD switches.

  • @piiumlkj6497
    @piiumlkj64973 жыл бұрын

    I had access to that board a while ago but didn't know how to use it as all I knew was about arduino, but now this video makes everything so much easier. Thanks !

  • @monsieur_piyushsingh
    @monsieur_piyushsingh3 жыл бұрын

    I actually was thinking of using blue pill for my project, this would be a great guide in the future.

  • @gauravbhattarai75
    @gauravbhattarai753 жыл бұрын

    Gracias. This is the reason why you are one of my best youtubers. By the way, learning little Spanish. Cheers!!

  • @tatavox1408
    @tatavox14083 жыл бұрын

    Greet Job ! We are looking forward to the new version of RC Remote Control, but also other projects with STM32 !Success

  • @ranganatennakoon
    @ranganatennakoon3 жыл бұрын

    I waited for this project, thank you !!! do not stop only stm32F1103, we wont F3,F4,F7 mcus and "stm 32 arduino 101" tutorials. I love this board . nice tutorial thanks, your the best and i like your style....

  • @backdemoletor4654
    @backdemoletor46543 жыл бұрын

    i was waiting for this video.... soooo good.. keep it up

  • @dronebot2079
    @dronebot20793 жыл бұрын

    Waiting for this from so long....

  • @duanerackham9567
    @duanerackham95673 жыл бұрын

    I cannot wait until we see the RC transmitter for this!

  • @CraigHollabaugh
    @CraigHollabaugh3 жыл бұрын

    Nice work. I have several STM32F103 designs, all using Arduino libraries. Look into adding a ST-Link header for flashing, its more reliable than the bootloader. ST-Link clones are inexpensive and you can debug your code with SWD pins. Thanks for the video, your board look great!

  • @Jose-tw9bl
    @Jose-tw9bl3 жыл бұрын

    Thank you for the video! i find it really formative and intresting! (salut! desde barcelona també jeje)

  • @ahmadmaaz2566
    @ahmadmaaz25663 жыл бұрын

    Best video as always... Waiting for fully equipped Stm32 radio Transceiver

  • @wegi9621
    @wegi96212 жыл бұрын

    very nice beyond arduino part! thumbs up

  • @DrJALAGHARI
    @DrJALAGHARI3 жыл бұрын

    Thank you so much for sharing this valuable information through this amazing video.

  • @vanshgarg5408
    @vanshgarg54082 жыл бұрын

    I like these types of projects

  • @rubenlizardo1430
    @rubenlizardo14303 жыл бұрын

    Grácias por tu esmero a la hora de hacer un video, espero que te sea rentable ya que para nosotros es una gran ayuda. Por eso miro tus videos hasta el final, incluso dejo los anuncios. Gracias.

  • @jparky1972
    @jparky19723 жыл бұрын

    That is great. It always feels like the STM32 is a little forgotten. Especially where the ESP boards are concerned.

  • @Mr.Leeroy

    @Mr.Leeroy

    3 жыл бұрын

    STM32Duino project on github is stronger than ever. That framwork is actually better than Ardiuno itself and supports nearly damn every SMT32 chip..

  • @danielblancorodriguez1623
    @danielblancorodriguez16233 жыл бұрын

    Buen video, siempre he preferido utilizar la STM32, actualmente utilizo la STM32F411CE, totalmente recomendada, es mucho mas potente. Saludos

  • @PhG1961
    @PhG19613 жыл бұрын

    Realy interesting video !

  • @thetastefultoastie6077
    @thetastefultoastie60773 жыл бұрын

    The STM32F103 already has built-in a USB peripheral which you can use to reprogram the chip using Device Firmware Update (DFU).

  • @skelethornbro
    @skelethornbro3 жыл бұрын

    Ive been using your arduino remote control from the start untill now. Now Im ready for the upgrade. Thanks to you, couple of bluepill on the way across the sea now! LOL

  • @customsolutionsinc
    @customsolutionsinc Жыл бұрын

    is there a way and would you consider including a BOM in your grbls so that the same parts can be ordered easier? otherwise great video as usual.

  • @max-o7x
    @max-o7x3 жыл бұрын

    Keep it up My bro

  • @jsilvalimaoliveira
    @jsilvalimaoliveira3 жыл бұрын

    I need more sir 😢 I'm looking forward to the next ones.

  • @krziwanm
    @krziwanm2 жыл бұрын

    Hola! Primero que nada me encanta tu canal! Ahora estoy haciendo el control remoto con la blue pill. Gracias! Estoy tratando de configurar la salida SPI2 para el modulo de radio y no he podido hacerlo funcionar. No se si lo haz echo alguna vez? Gracias de nuevo y thumbs up!

  • @Arinachipsquare
    @Arinachipsquare6 ай бұрын

    Like this video ❤,cool explanation 😊

  • @EVguru
    @EVguru3 жыл бұрын

    There's a major 'gottcha' with the Blue Pill board when using the PWM generators. The hardware PWM shutdown pin gets crosstalk from one of the PWM outputs. With a 'real' Blue pill, there are some workarounds I believe, but with the clones I bought, it just didn't work. Had no problems with a different cheap STM32 board.

  • @mamleshbohari2200
    @mamleshbohari22002 жыл бұрын

    Can u make more such projects on STM 32 ?... That would really great.

  • @ConsultingjoeOnline
    @ConsultingjoeOnline3 жыл бұрын

    Great video 📹 thanks!

  • @CosmicAerospace
    @CosmicAerospace Жыл бұрын

    Hey man! Great video, I am implementing your schematic on a flight computer. However, what is the DTR pin on the CH340 FTDI chip used for? It is only called once giving me a DRC error. Thanks!

  • @ranaharsh365
    @ranaharsh3653 жыл бұрын

    Can you make another video for programming of STM32 using KEIL software? It's specifically designed for it...

  • @hamdibenabdessalem5416
    @hamdibenabdessalem54163 жыл бұрын

    Thanks bro please continue your developpment project with stm32 into Raspberry Pi i gonna wait you form more projects

  • @jstro-hobbytech
    @jstro-hobbytech3 жыл бұрын

    Cool video. I've never used the stm32. Say I wanted to make a simple handheld game, would it be better to use this or an esp32. I realize it would be a simple game that has to take program memory into account.

  • @krukhlis
    @krukhlis3 жыл бұрын

    *Warning to the bluepills users*: 1): The +5V pins on this board are directly connected to the +5V pin of the USB connector. There is no protection in place. *Do not power this board through USB and an external power supply at the same time.* 2): This board may have a wrong value of resistor on the USB D+ pin. Instead of a 1.5kΩ it has either a 10kΩ or 4.7kΩ resistor. Replace resistor if this is the case with your board 3) Please pay attention, stm32 is 3.3V logic levels based( comparing to majority of Atmel-based Arduino boards which are 5V logic level based). The logic voltage of STM32 is 3.3V, so the logic voltage for GPIO input pins is also 3.3V. There are several pins that are 5V tolerant, *BUT NOT ALL!!! * . 4) You can power it from 3.3V pin directly or from 3.6V+ to 5.5V through the onboard regulator. Means you can use 1S Li-Ion Battery. But please pay attention, on-board regulator outputs 300mA maximum. You can't power demanding peripherals from the blue pill!!! 5) The maximum current the STM32 pins can provide is lower than Atmel's chips maximum current output. Do not overload your STM32 output pins!!! Use it for logical levels only, power your peripherals from the independent power source!!!

  • @wouladjecabrelwen1006
    @wouladjecabrelwen10063 жыл бұрын

    Hi, interesting video as usual I would like to interface stm32 with Ethernet to post data via HTTPS, do you think it can be positions?

  • @KC-yk5xe
    @KC-yk5xe3 жыл бұрын

    I find it funny why stm32f103 bluepill is cheaper, now I mostly use bluepill on my projects but there is still a time one board is easier to use than the other thus the two have its place on my arsenal along with esp32. Nice vid btw, Keep it up!

  • @Mr.Leeroy

    @Mr.Leeroy

    3 жыл бұрын

    f103 is $7. $8 with usb-c cheaper than what?

  • @real_Zuramaru
    @real_Zuramaru3 жыл бұрын

    great video!

  • @dineshganesh6723
    @dineshganesh67233 жыл бұрын

    Make videos with stm32 continues it helps

  • @seyyedamirhossein7778
    @seyyedamirhossein77783 жыл бұрын

    Thats so usefull. Is programming stm32 , reliable and comfortable for economic and industrial usage?

  • @ahmatrizki5154
    @ahmatrizki51543 жыл бұрын

    Thanks, for sharing, helpfull

  • @webslinger2011
    @webslinger20113 жыл бұрын

    Great!

  • @parindave1814
    @parindave18142 жыл бұрын

    It's very nice video for begginers to start with stm32... I too have started with it but received an error "got nack from device on demand" Can u please suggest wht would be an issue.... Thanks in advance...

  • @Bianchi77
    @Bianchi773 жыл бұрын

    Nice info, thanks :)

  • @TonoNamnum
    @TonoNamnum2 жыл бұрын

    Will this work with the STM32L series? The L series is for low power. Thanks for the amazing video!

  • @techieelectro
    @techieelectro3 жыл бұрын

    What's up my friend 😊👍

  • @CuriousScientist
    @CuriousScientist3 жыл бұрын

    Why would you need the CH340G chip? The STM32 has native USB support. Even the blue pill boards do not have any additional chips.

  • @KSITREVS
    @KSITREVS3 жыл бұрын

    With your custom board, why not use the usb pins with the maple firmware? Thank you :)

  • @korishan
    @korishan3 жыл бұрын

    10:50 I think you should have also included the possibility of getting blue pill clones. They usually have the wrong resistor values on the board, so the USB portion doesn't work correctly. Also, with the clones, this method won't always work. I had gotten 5, and all 5 were duds. A friend was able to get them working and found out they were a non-USB supported IC (an older f1 chip) and had half the flash as supposed to.

  • @kymcainday6677
    @kymcainday66773 жыл бұрын

    Great videos.. Can you also make a video on how openTX RC Radio Transmitter communicates with transmitter module like TBS crossfire? I have some STM32F4xx boards on my bench and I wonder if I can also make an OpenTX transmitter that can communicate with TBS Crossfire. I want to know what protocol TBS Crossfire communicates, like SPI, IC2 etc. THanks in advance.

  • @eee_bangla
    @eee_bangla3 жыл бұрын

    best one

  • @SudhirKumar-bq4xz
    @SudhirKumar-bq4xz3 жыл бұрын

    Finally.... :-)

  • @lamekamunyela6481
    @lamekamunyela64819 ай бұрын

    Nice video. But I have a few suggestion. I would not personally use an FTDI chip on the personal PCB with that stm32 chip as it has build in USB capability. You can just include a NRST button and Boot button on you PCB and connect your USB type C to normal USB pins of the chip and program it via USB. The stm32 chip has preloaded Bootloader so u can program it over USB. U can then use USB CDC for data logging. USB CDC works very similar to UART, but does not require actuate baud-rate to transmit or receive data correctly. I personally made personal PCB based on STM32F446RE and stm32F030CC. I program the F446RE directly via USB, even if I still have SDIO and Clock pin on separate connector just incase in need to debug some code. stm32F030CC will need some FTDI chip of course as it does not USB capabilities (I use the cheap CH340C for that job)

  • @harikamalakarreddydarapu7410
    @harikamalakarreddydarapu74103 жыл бұрын

    Awesome

  • @Pulixe
    @Pulixe3 жыл бұрын

    Hey nice video! Can you guide us on how to buy electronic components in big units (compras al por mayor) i want to be my own fabric😆

  • @MR_GOLD_LINVENTEUR_237
    @MR_GOLD_LINVENTEUR_2373 жыл бұрын

    Wahou thanks for this video l want to make m'y radio control

  • @varnabhapatra6008
    @varnabhapatra60083 жыл бұрын

    Sir can you make a 3 axis smartphone stabilizer compact and accurate with audrino nano as I needed for my drone so it must be lightweight and make it with servos I hope you will make it

  • @gudimetlakowshik3617
    @gudimetlakowshik36172 жыл бұрын

    Hi, I am making a programmer board for STM8 and STM32 MCU's. I wanna know what are the programming pins to be used on these MCU's (like SWDIO etc.,) to program bare ICs. Does STM32 IC's come with bootloader on them so that they natively accept code on UART lines?

  • @dineshganesh6723
    @dineshganesh67233 жыл бұрын

    Super bro

  • @marcusvinicius-ib1uk
    @marcusvinicius-ib1uk2 жыл бұрын

    ola muito bom seus projetos eu fiz o drone arduino o controle e o transmissor e funcionou tudo certinho porem essa programaçao nao esta carregando consigo carregar o blink normal mas a programaçao da erro stray '\303' in program

  • @rakesh__rocky9
    @rakesh__rocky93 жыл бұрын

    Nice.. 👍

  • @rakesh__rocky9
    @rakesh__rocky93 жыл бұрын

    Make a video ... Using STM cub ide to upload the program..

  • @pierre7127
    @pierre71273 жыл бұрын

    Nice video 👍 Is there a possibility to buy your dev board ? Kind regards

  • @saurabhphulpagar7950
    @saurabhphulpagar79503 жыл бұрын

    Can I drive MOSFETs of Arduino esc with transistors instead of mosfet driver ic

  • @capistor1
    @capistor13 жыл бұрын

    can you make a video about generating pwm with stm32 using arduino ide? i'm facing alot of difficulties with that.

  • @yajeshchandra9792
    @yajeshchandra97923 жыл бұрын

    make next transmitter with tft display??? maybe touch display???

  • @mohammadalawneh8100
    @mohammadalawneh81003 жыл бұрын

    I need your advice I want a reference to learning Arduino

  • @ANGRYDEMON_DEMON
    @ANGRYDEMON_DEMON Жыл бұрын

    Can we make a 3dr telemetry for drone with NRF24L01?

  • @arthur1984
    @arthur19843 жыл бұрын

    That board have micro USB port and can I use that for programming ?

  • @usmanumer9871
    @usmanumer98713 жыл бұрын

    hi . i want to know how to set the PWM frequency. i want 20kHz pwm signal. can you make a video . Thanks

  • @ithaajja5724
    @ithaajja57242 жыл бұрын

    Hi,,,,please continue make BadAss Tank, with your 3d print remote

  • @shambhusingh5094
    @shambhusingh50942 жыл бұрын

    I have STM32303K8T6, There is no any jumper option then how to program it using Arduino IDE?

  • @falcon02012
    @falcon020122 жыл бұрын

    What program do you use for the schematics?

  • @avinashraj4102
    @avinashraj41023 жыл бұрын

    can we use all arduino libraries in blue pill?

  • @yxhankun
    @yxhankun3 жыл бұрын

    Can u insert the sd card reader in the new pcb?

  • @TrentTationnaiseXization
    @TrentTationnaiseXization3 жыл бұрын

    Ope express lrs on your new controller?

  • @banban8481
    @banban84813 жыл бұрын

    Can you create a video of stm32 and Cubemx?

  • @ankitnegi2524
    @ankitnegi25243 жыл бұрын

    Niceee video

  • @diy.Builder
    @diy.Builder2 жыл бұрын

    Can we make this for Arduino Nano IC

  • @briyanpaul4617
    @briyanpaul46173 жыл бұрын

    nice

  • @robertroigsantamaria
    @robertroigsantamaria3 жыл бұрын

    what is the second jumper for?

  • @ayanvaidya2727
    @ayanvaidya27273 жыл бұрын

    In my board program doesn't get erased after resetting on boot mode if i change jumper it starts again

  • @_munna_
    @_munna_3 жыл бұрын

    👌👌👌👌👌

  • @varunkoganti9067
    @varunkoganti90673 жыл бұрын

    Changing the boot pin changes boot location it does not put It into programming mode.

  • @alvinboby9962
    @alvinboby99623 жыл бұрын

    Can you make a rc plane making video using this?

  • @tunckuyel
    @tunckuyel3 жыл бұрын

    please make a video for using 3.3 to 5 volts devices together bidrectonal

  • @md.mushfiqurrahman3090
    @md.mushfiqurrahman3090 Жыл бұрын

    Please make an Expanssion board for STM 32 blue pill

  • @OjasvApurv
    @OjasvApurv3 жыл бұрын

    Did your sponsor just changed from JLCPCB to PCBway? ;)

  • @Mr.Leeroy
    @Mr.Leeroy3 жыл бұрын

    6:38 nothing is erased. you still have jumper pulling bootsel to bootloader mode, so your program never starts. P.S. same mistake as ancient GreatScott's video, someone was lazy...

  • @vcodevideo
    @vcodevideo3 жыл бұрын

    Great video, thanks for your effort. I saw STM32 videos from another KZread channels and they don't use the jumpers on their projects to keep the code. What's the difference between your way and the others??. Check for example Phil's lab channel. Thanks in advance!!

  • @quangthango0o
    @quangthango0o10 ай бұрын

    Hi, anyone could help to reverse back before install the bootloader ???

  • @dushyantdahiya4524
    @dushyantdahiya45243 жыл бұрын

    I am using stm32f103c8t and i am facing a problem that PA3 -PA7 pins are not working. if any one have this kind of board please check it that your board pins are working or not if working please help me out for the same

  • @filepage1155
    @filepage1155 Жыл бұрын

    WHAT IS THE VALUE OF R9 AND R11 RESISTOR

  • @pdeepakjayan5515
    @pdeepakjayan55159 ай бұрын

    Sir, I am trying to receive gps data each second using interrupt function.What I understood is that,I had enabled the global interrupt in stm32 configuration for uart3, and whenever the interrupt triggers,the programs goes to the callback function which is hal_uart_rxcpltcallback.The program reaches the function..I do some processing again and then enable the interrupt again..The next sexond when the data arrives at 100ms after a pps signal(reference signal marked for 1 second),again interrupt is triggered , program goes to callback function, does the particular function, comes out of callback function.This happens in every 100th -130th millisecond of each second.I understood that whenever the codes enters the callback, ,the interrupt is diabled and we need to enable the interrupt again to receive the next data..Altogether 300bytes of data arrives from 100 to 130milliseconds..After 130 milisecond,if suppose some random data arrives, the interrupt may still trigger, since each time i enable the interrupt while coming out of callback function..how to stop receing the interrupt after 300millisecond? Can i use abort function?? Also can you please explain What is the differnce between isr function and callback function??Looking forward for your reply

  • @akibrahman1497
    @akibrahman14973 жыл бұрын

    Sir Bluetooth AC Triac control the video which have you uploaded 3 years ago I need help there please help me there I have commented there please help me sir please

  • @omartazul
    @omartazul3 жыл бұрын

    Why didn't you use the official Arduino core for STM32 ? And as for the bootloader you could use STM32_HID_bootloader by Serasidis which use only 2KB! on F1 boards and no USB drivers needed, even on windows. The bootloader you used in this video is using 21.7KB!

  • @shashankarmy
    @shashankarmy3 жыл бұрын

    Make Video on Raspberry Pi RP2040 Microcontroller Please

  • @davidespigolon8170
    @davidespigolon81702 жыл бұрын

    countdown timer with start stop with stm32f103 with real seconds

Келесі