STM32F070F6P6 miniature development board with native USB

Поделиться
HTML-код
  • Опубликовано: 10 янв 2024
  • Check out PCBWay's website for rapid prototyping of printed circuit boards, CNC and 3D printing services and many more! pcbway.com/g/mf33cv
    In this video, I show you my little development board based on the STM32F070F6P6 microcontroller. This is a small chip with a lot of nice things in it. It has a native USB, i2c, SPI, and multiple UART ports, and many more. Thanks to the simple requirements, it was relatively easy to program the board. It also comes with a built-in bootloader, so it can be easily programmed via USB.
    The video also contains a tutorial on how to add a new variant to the Arduino IDE. Since this microcontroller was not on the list of boards in the board manager, I had to add it manually.
    Blog: curiousscientist.tech/blog/st...
    Patreon: / curiousscientist
    PCBWay project: www.pcbway.com/project/sharep...
    Parts and tools: curiousscientist.tech/tools
  • НаукаНаука

Комментарии • 21

  • @noanyobiseniss7462
    @noanyobiseniss7462 5 месяцев назад +2

    I think this is the MCU used on my optopus pro ratrig control board.

  • @Paul_VK3HN
    @Paul_VK3HN Месяц назад +1

    So these MCUs come from the manufacturer with bootloader, you dont have to go thru the step of burning in a bootloader?

    • @CuriousScientist
      @CuriousScientist  29 дней назад

      Yes, I could program them directly via USB through the Arduino IDE. But I am not sure if all chips come with a pre-burned bootloader.

  • @noanyobiseniss7462
    @noanyobiseniss7462 5 месяцев назад +2

    there are risc5 chips that cost pennies now, cant you couple one of those with a uart on this size board?

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +1

      Yes, the CH32V203-series would be perfect... I am already working on it, but it requires me to learn another developing environment and tool chain. I have several of those chips and dev boards sitting in my cupboard and waiting to be discovered. But also an RP2040 would be great!

    • @noanyobiseniss7462
      @noanyobiseniss7462 5 месяцев назад +2

      @@CuriousScientist Awesome! Looking forward to it! Yeah I get so sick of haveing to deal with different dev tools, I blame microshaft. Why can't I just stick with Borland forever? :D

    • @noanyobiseniss7462
      @noanyobiseniss7462 5 месяцев назад +1

      @@CuriousScientist ruclips.net/video/IVlvWfM-m0w/видео.html

    • @noanyobiseniss7462
      @noanyobiseniss7462 5 месяцев назад +2

      @@CuriousScientist arduino ide plugin for CH32V203.
      githb openwch arduino_core_ch32

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +1

      @@noanyobiseniss7462 Thanks! If you look at my video at 7:55 and see the list of boards, you can see that I already have it. 😎 All I need is time, haha!

  • @EmbeddedEnigma
    @EmbeddedEnigma 5 месяцев назад

    good board. But the price for this chip is not justified as I looked at Digi key, when you can easily get stm32f411 for 3dollar.
    I think it would be better if you use it with cubeide rather then arduino ide.

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +2

      Thanks! Yes, I absolutely agree with you. Unfortunately, at small scale, none of these boards or chips worth it. I am not even expecting people to replicate this board. STM32F411 is a fantastic MCU. But for $3, you can also get nice RP2040-based boards or ESP32 boards. It is absolutely crazy. For me it was more about practicing board design and learning about the chip. CubeIDE is definitely better than Arduino IDE for STM32 chips. I have a few projects where I developed the code in CubeIDE. However, majority of the viewers prefer Arduino, so I also publish most of my projects using the Arduino IDE.

    • @EmbeddedEnigma
      @EmbeddedEnigma 5 месяцев назад

      @CuriousScientist Ya, if you think from hobbyists' perspective, these chips are not worth it due to the existence of pico and esp32. But in a professional environment, the use of pico and esp is none to zero.
      I agree with you. You should make video which are targetting larger audiences.
      Still, though, your videos are quite informative, and I watch them regularly. Keep up the good work

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +1

      Yes! Even though Pico and ESP32 are quite powerful, they lack of things that STM32s have (both on HW and SW side).
      Still, I really like the concept that thanks to the frameworks such as the stm32duino, hobbyists can discover more powerful MCUs for hobby purposes. When I jumped from ATmega328 (Arduino Uno/Nano) to STM32F103C8T6 ("blue pill"), it was definitely a huge change for me. Then after rediscovering the STM32 chips in CubeIDE was another "level up" moment for me. Coding using the HAL framework is quite a different experience. 😄
      Thanks for the kind words and for watching my videos! It is encouraging to hear it!

    • @ivolol
      @ivolol 5 месяцев назад +1

      For simple tasks, ArduinoIDE tends simplify the fast prototyping a lot.

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад

      The Arduino IDE is definitely the best for fast prototyping! Then, for a finalized project it might worth it to implement it in CubeIDE. At least, it is a good way of practicing developing in CubeIDE.

  • @kuro68000
    @kuro68000 5 месяцев назад +1

    Nice PCB. It's just such a shame about STM32... The software stacks that STM supply are just so, so bad. The USB stack, for example, supports very few modes, no runtime DFU, and the CDC mode seems to have some severe issues with Linux. The hardware is cheap, that's about the best thing you can say about it.
    But what is the alternative? Atmel/Microchip SAM is hurt by their god-awful IDE and software stack. It has more features than STM's, but it's still shockingly bad. And they really don't seem to be keen on you writing your own low level stuff either.
    I miss the 8 bit glory days, but Atmel's 8 bit lineup is a bit lacking and hasn't had the development it deserves.

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +1

      Thank you! Yes, it is not easy to pick "the best" platform, there are tradeoffs. Since I do this for fun and not for a living, I am fine with whatever platform that does the job for me. However, I would be super happy if they could put more computational power (cpu, flash and ram) in this specific package. I do not need 50+ GPIO ports, or 7 timers and 5 UART ports, but I just need SPI, USB and some GPIO.