#13- [QuickStart] GPIO and UART of CH32V003 using Arduino IDE

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

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

  • @qsptecnologia
    @qsptecnologia 11 месяцев назад

    Please where is the link to download this software? WCH Serial Port Debug? I can't find it. TKS

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

    at 0:29: WCH-LinkE photo is wrong, it is WCH-Link (without "E") , it cannot program CH32V00..

  • @happyhippo4664
    @happyhippo4664 6 месяцев назад

    I have a stupid curiosity. I just received a CH32V003F4P6-EVT. When I run the GPIO toggle, nothing happened. But if I hooked up an external LED to PC_3, it did blink as programmed. I noticed in your program, that the LEDs on the board blinked. How did that happen?

    • @happyhippo4664
      @happyhippo4664 6 месяцев назад

      Never mind. I did some trace tracking on the board and realized that there are LED pins. I see you simply jumpered PC_3 to one of those pins. :) I thought they might be built-in LEDs, so I spent a lot of time looking through the documentation to see how to access them. I should have simply looked at the board more closely.

  • @zcbesaba
    @zcbesaba 11 месяцев назад +3

    Why plain blink spent over 60% flash? using Wire.h spent over 86%. It's stranger.

  • @AdirutC
    @AdirutC 4 месяца назад

    Hi I would like to use CH32V003F4P6 board to connect with LCD 16x2 display to show text messages, can I use Arduino IDE to implement it?

  • @sasha.djordjevic3071
    @sasha.djordjevic3071 6 месяцев назад

    First of all, thank you for your effort. Any suggestions about a problem: PD6 (RX pin) of the CH32V003F4P6 does not receive data over UART communication. PD5 (TX pin) works fine, sending data is not an issue. Tested with WCH LinkE + WCH-LinkE-R0-1v3 board and with ESP32 C3 too, CH32 was able to send but unsuccessful in receiving data.
    edit: Arduino Ide 2.3.2

  • @sipbit
    @sipbit Год назад +1

    Thank you soo much for this tutorial. I was wondering could you do a demo of the low powered modes using the Arduino IDE. and Posibly waking it up with a button. I would be very interested in seeing the real power consumption tested.

  • @bertbrecht7540
    @bertbrecht7540 Год назад +2

    Thanks for making this video. The dev board I have is the CH32Vx03C-R0-1v0 (with the CH32V203 chip) and I am not sure if this is essentially the same as the the CH32V203G8U board you discuss in this video.

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

      The dev board of V203C8T6 is a little bit different from V203G8, but it's easy to remap the pin-map file in .cpp source file.

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

    I noticed that you removed the XTAL from the board. Where can I configure to use the external XTAL? As a suggestion it should be mention in your demonstration. Thanks

  • @MaheshBabu-vs8nx
    @MaheshBabu-vs8nx 7 месяцев назад

    Here I noticed that this simple led blinking program using nearly 65% of program memory space and more than 10% of RAM.. what's the reason? Is it bcos of Arduino?

  • @nfcradio4622
    @nfcradio4622 23 дня назад

    How to Change Tab Size From Default 4 to 8, I change it from Windows-> Preferences->General ->Editors->Text Editor and set Display Tab width = 8 but it does not Work. IDE is Moun River

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

    one question, is it possible to upgrade from wch-link to wch-linkE by software(firmware) ?. can i use other swd adapter for this?

  • @Yogesh-gg7qu
    @Yogesh-gg7qu 8 дней назад

    How to configure ch32v003 timer interrupt for led toggle

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

    Hey,
    Is there also the posibillity to use Visual Studio Code with the PlatformIO extension instead of Arduino IDE?

  • @NickNoneYa-j3g
    @NickNoneYa-j3g Год назад +2

    It would be good to support their higher capability chips also. UART, DAC, ADC, WDT, hardware interrupts...etc. Just like on the reset of the Arduino supported devices.

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

    Great work! Especially your documentation on GitHub is excellent!
    I'm still waiting for my WCH Link E. What I'm wondering: is this a normal CMSIS-DAP probe or something custom?

    • @randallyoung6715
      @randallyoung6715 Год назад +1

      I think it's selectable DAP-Link for ARM, or Risc-V programmer in software.

    • @rvmaking
      @rvmaking  Год назад +1

      For V003, it's the 1-wire debug protocol. For V203, it's the 2-wire debug protocol.

  • @laurentitolledo1838
    @laurentitolledo1838 4 месяца назад

    flashing CH32V002 via arduino is not possible in Linux, USB not found error, WHC-LinkE appears as ttyACM0
    flashing CH32V002 via arduino is only possible in w$, WCH-LinkE appears as COM(x)

  • @thekikaz
    @thekikaz 7 месяцев назад +2

    hey, how do you make a analogRead? with analogRead(PA2) or other Analogpins i got nothing in return? digitalread is working? any ideas? thx

    • @briansmith262
      @briansmith262 7 месяцев назад +2

      Hi there, just got this working, the ADC is disabled by default, you just need to edit the .arduino15/packages/WCH/hardware/ch32v/1.0.4/variants/CH32V00x/CH32V003F4/variant_CH32V003F4.h file and remove the '//' from the line that says #define ADC_MODULE_ENABLED

  • @mlt-35
    @mlt-35 11 месяцев назад

    Hello. Congratulations on the channel. Can you tell me if it is possible to use an internal reference for the ADC on the CH32V008?

    • @rvmaking
      @rvmaking  11 месяцев назад

      You mean you wanna use the internal 1.2V for the reference of ADC?

    • @mlt-35
      @mlt-35 11 месяцев назад

      ​@@rvmakingyes, because my VDD voltage cannot be stable all the time, it varies from 3v to 5v.

  • @onecircuit-as
    @onecircuit-as Год назад +1

    Great work! 👏👍😀

  • @PeterGriffiths-u9b
    @PeterGriffiths-u9b Год назад

    Where did you get the pin name array for the ch32vxxx ? thanks. PeterG

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

      You can find them in the code section

  • @sarkilo
    @sarkilo 11 месяцев назад +3

    why blink takes 10kB?

    • @briansmith262
      @briansmith262 7 месяцев назад

      I've started using the ch32v003fun environment instead. It's a bit more complex than Arduino (which was great for getting started), but binaries are way smaller - 560 bytes for a 'blink' example for me.

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

    How can DHT11 be operated with CH32V003?

  • @nfcradio4622
    @nfcradio4622 23 дня назад

    How to add NotePad++ Editor to Moun River with intelisence.

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

    Arduino prefences is broken so I cannot load the arduino cores for this or any other board.

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

    Hey, what's up friends, a pleasure to greet you, they will include more plates such as the CH32V307 or the CH32V208

  • @Серго-в3в
    @Серго-в3в Год назад

    Arduino это хорошо, хотелось бы увидеть реализациию CAN.

  • @zzz-gr3kg
    @zzz-gr3kg Год назад

    In my case, after uploading the sketch, I had to disconnect LINK-E then connect it again, otherwise the LED wouldn't blink. The same goes for testing serial output. It would be better to reset uC like AVR.

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

    Is there a schematic for the factory CH32V003 development board, D5 pin mapping is not working out for me?

    • @petermuller608
      @petermuller608 Год назад +1

      Yes, in the schpcb subdirectory

    • @randallyoung6715
      @randallyoung6715 Год назад +1

      @@petermuller608 Thank you! I did learn quite by accident that if you select D5 in your Arduino sketch, you have to run a jumper between PC3 and the LED pins on the dev board. I guess it's clearly labeled, but confusing for me none the less. Other wise the tools and hw run great, a lot of value for 7$ dev board, and sophisticated programmer/debugger. Batteries included totally.

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

      @@randallyoung6715 thanks for the heads up, I'm looking forward to mine :)

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

      please refer to this link, github.com/openwch/ch32v003/tree/main/EVT/PUB

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

    does the toolchain work on linux as well?

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

    why the CH32 board doesnt have an on board USB to UART converter?

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

      The WCH-LinkE has the USB-UART converter inside :)

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

    It would be good if they add support for the CH57x and CH58x boards

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

    why is CH32V003 on backorder? it won't be a common part if we cannot get it.

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

    @risc-v dear sir i cannot config d0 d2 ch32v003 pa1 pa2 as digitalinput

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

      Ah, I know the problem. If you used our CH32V003 dev board, you need to remove the XTAL and solder the R4 and R5

    • @alo1236546
      @alo1236546 Год назад +1

      @@rvmaking thank sir. Follow your steps and config internal HSI 48mhz

  • @おとじゅん
    @おとじゅん 11 месяцев назад

    Next time, please tell me how to display Hello world! using I2C of CH32V003.

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

    the index is not working server responds 404

  • @ladjdudu77
    @ladjdudu77 10 месяцев назад

    which pin for the led built board development CH32V303CBT6?

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

    We need wch arduino core to work on Mac OS :)

  • @fiftyplus644
    @fiftyplus644 4 месяца назад

    You say Arduino IDE but show what looks like VScode IDE. After adding the supplied URL to 'Additional Bd Manage URLs -- Then WCH to Board Manager brings up nothing. Poor poor poor ! I won't be using ANY of this.