Simple Electronic Game with Black Pill STMCubeIDE

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

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

  • @anormes
    @anormes Год назад

    Pretty late to the game, but I have this problem regarding the power pins on the black pill. On the ST forum, an ST employee said this about the Blackpill made by We Act:
    "If you do not use the 3.3V connection to supply smaller external loads, but to feed in the 3.3V, you could run into unforeseen problems. This is because you are operating the LDO AP7343D-33FS4-7B backwards, since the p-fet it contains usually has a parasitic antiparallel diode with an anode at the regulator output. This diode path conducts as soon as the output has a higher potential than the input - i.e. when 5V is open." ... "3.3V is an output and very likely not suitable for feeding in".
    - So is powering the board through a 3.3V pin considered a bad practice? Did you have any problems powering the board using 3.3v ? I still haven't ran into any problems though

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 3 года назад

    I think Simon would be proud :)

    • @na5y
      @na5y  3 года назад

      Glad you enjoyed TEH!

  • @joeltibabwetizamuhanguzi8084
    @joeltibabwetizamuhanguzi8084 3 года назад +1

    Nice work, what is the ST link V2 connection to the black pill pin out

    • @na5y
      @na5y  3 года назад +1

      Have a look here
      www.st.com/resource/en/user_manual/dm00026748-st-link-v2-in-circuit-debugger-programmer-for-stm8-and-stm32-stmicroelectronics.pdf
      Go to page 12/13 and it shows the pinout. The only lines in use are VAPP, GND, TMS_SWDIO (which goes to SWDIO) and TCK_SWCLK (which goes to SWCLK).
      Note that that STLink *does not* provide power to the board - you have to power it separately.
      Thank you for the comment and I hope this helps.

    • @joeltibabwetizamuhanguzi8084
      @joeltibabwetizamuhanguzi8084 3 года назад

      thank you

  • @new_beginning2571
    @new_beginning2571 Год назад

    Hi, I'm facing Issue, I have powered the stm32f411ceu6 blackpill from a 5V buck convertor to the +5V pin on board, but the board does not power ON,
    It works when USB is connected, but does not power-on when battery connected to +5V on board.
    The USB-C is connected to the LDO, and LDO output connected to all 3.3V pin, but I cannot see the +5V pin connected to input USB power. (also when powered from USB, +5V can be measured on the 5V pin)
    What could be the issue?? could you please help

    • @na5y
      @na5y  Год назад

      A few suggestions:
      1) There are two 5V pins on the board - did you try both?
      2) Do you have a way of injecting 3.3V into that pin
      3) I have looked at the schematic www.sgbotic.com/products/datasheets/development/F4x1Cx_V30_schematic.pdf and I didn't see any else obvious. I think if the LDO was blown then USB wouldn't work so not sure
      I hope this helps

    • @new_beginning2571
      @new_beginning2571 Год назад

      @@na5y thanks for the suggestion,
      1) yes, i have checked input on all 5V pins, does not power-on
      2) Not completely clear from schematic, but im surprised input 5V is working for you in the video.
      3) Special case: It works if battery connected to 3.3v pin (on any pin), but i observed, if 3.3v given to 3.3v pin, then 5v pin volatge < 3.3 volts.
      If 5v given to 3.3v pin then on measuring voltage on 3
      3v pin shows 4.9V and on 5V pins shows 4.5V(which is not good, as whole controller is working on ~4.9v, will get wrong ADC reading later).
      4) nothing works, finally planning to tap the VCC and GND lines on USB-C just before LDO and connecting it to battery🤦.

    • @na5y
      @na5y  Год назад

      The schematic could of course be wrong... There's so many versions of these black pills out there - all with their own QC problems...

  • @rfdave3980
    @rfdave3980 3 года назад

    Interesting. Thanks

    • @na5y
      @na5y  3 года назад

      Thank you Dave

  • @changpuak
    @changpuak 2 года назад

    Awesome work, Sir ! This tutorial really helped me getting started. I'd give you 1000 thumbs up :-)

    • @na5y
      @na5y  2 года назад

      Thank you Changpuak - glad you enjoyed the video!

  • @emoutraspalavras-marloncou4459
    @emoutraspalavras-marloncou4459 2 года назад

    Thank the mikroe calculator program, it is very useful!

    • @na5y
      @na5y  2 года назад

      It is indeed - thank you for the comment!

    • @emoutraspalavras-marloncou4459
      @emoutraspalavras-marloncou4459 2 года назад

      @@na5y i hope you upload more interesting projects like that one with a good use of electronic components and well structured software. I was just thinking how a state machine would be great here and then you mentioned it hahaha

    • @na5y
      @na5y  2 года назад

      @@emoutraspalavras-marloncou4459 Thank you for the kind words. I am glad you enjoyed the programming side of the video!