How to EMULATE STM32F103 as a MOUSE || CubeIDE || USB HID DEVICE

Поділитися
Вставка
  • Опубліковано 18 лис 2024
  • Purchase the Products shown in this video from :: controllerstec...
    ________________________________________________________________________________________
    Before commenting that it doesn't work, make sure your USB cable support data transfer. Cheaper cables only support the charging, not the data transfer
    To download the code, goto controllerstec...
    Check out more VIDEO on USB with STM32 • STM32 USB
    ________________________________________________________________________________________
    ****** SUPPORT US BY DONATING*****
    paypal.me/cont...
    ******Join the Membership******
    / @controllerstech
    Join the Discord Server / discord
    Join the Telegram Group t.me/controlle...
    Follow me on Instagram / controllerstech
    For more info, visit www.controller...

КОМЕНТАРІ • 34

  • @a1nelson
    @a1nelson 4 роки тому +4

    Another great video. I didn’t realize that CMSIS provided so much of the USB plumbing. Previously, I’ve use the PJRC Teensy boards for this purpose - and that’s pretty straightforward. But, seeing how easy USB HID is here, I’m definitely going to use STM32 parts/boards going forward. Thanks a lot.

  • @unomasenelmar
    @unomasenelmar 4 роки тому +3

    Yo uso el stm32f401 es muy poderoso y flexible ese procesador y excelentes herramientas de desarrollo, buen video!

  • @matkozrnic9756
    @matkozrnic9756 3 роки тому +1

    Thank you soooo much, you helped me so much and I have a lot of friends that your videos helped, if you somehow organize your videos for stm, I think you can make a perfect tutorial for stm which would be great for lazy people like me who don't want to go trough datasheet for simple projects

    • @ControllersTech
      @ControllersTech  3 роки тому

      I think organizing is a good idea. I will do that. cheers

  • @vladimirsustek3405
    @vladimirsustek3405 2 роки тому

    Awesome, especially the speaker's native english (y)

  • @JakkuSakura
    @JakkuSakura 4 дні тому

    very nice tutorial. However, I followed the tutorial but my MacBook can't detect the device. I'll check more

  • @sumedhburbure4173
    @sumedhburbure4173 4 роки тому +1

    Amazing Video! Thank you for sharing!!

  • @davidbalog1014
    @davidbalog1014 3 роки тому

    Could you make a video about interfacing with mpu9250? I cannot get the yaw value from the sensor.

  • @bhargavs3896
    @bhargavs3896 4 роки тому

    very good tutorial and amazing video,
    can you please send me the select and hover function of hid mouse

  • @AmoghaSudhi1
    @AmoghaSudhi1 4 роки тому

    Great work, thank you. Could you please let me know how to implement the wheel option? What should be its input? I have tried to hard code values like mousehid.wheel = 50; and then called the USBD_HID_SendReport(&hUsbDeviceFS, &mousehid, sizeof (mousehid)); , but it does not work.

  • @Jishnu.Janardhanan
    @Jishnu.Janardhanan 4 роки тому +2

    Thanks a lot. Is it possible to send data to stm32 while it being a mouse/keyboard. For example RGB LED color in a USB mouse?

  • @ferdinvivian9336
    @ferdinvivian9336 4 роки тому +1

    Please make a video,, Bluetooth communication with mesh network using STM.. please

    • @ControllersTech
      @ControllersTech  4 роки тому +1

      There is already a video. Just search it in the channel

    • @ferdinvivian9336
      @ferdinvivian9336 4 роки тому

      @@ControllersTech I saw the video contents of this Chanel, it has hc05 Bluetooth communication..
      It is one to one communication..
      I am asking something like mesh topology.. if a Bluetooth device 3 is not in range to communicate with Bluetooth device 1,, it must establish communication with near by Bluetooth device 2.. Mesh network topology..
      blueNRG2 something like this,,any Bluetooth module,, but with mesh network,, please make a video..
      Thanks a lot for the reply,, I'm following your videos regularly

  • @sankethowal3748
    @sankethowal3748 2 роки тому

    Is it possible to use Potentiometer to control volume of PC through USB HID?

  • @leozhong2017
    @leozhong2017 4 роки тому

    Great tutorial.

  • @moazabdeljalil
    @moazabdeljalil 6 місяців тому

    What should be done differently to emulate a Gamepad?

    • @moazabdeljalil
      @moazabdeljalil 6 місяців тому

      I want to consist of Two joysticks, 8 push buttons
      The code for reading their values is available and no problem with it, I want to know what to do in the USB HID interface to make it appear as a Gamepad to the PC

  • @usrrsr
    @usrrsr 4 роки тому +1

    Make mouse + keyboard device simultaneously

  • @HarpreetSingh-yo9ir
    @HarpreetSingh-yo9ir 4 роки тому

    hi there. ive recently switched my setup from arduino to STM32 just because of its power modes. but in actual i dont know even a single thing about how to put MC into sleep and how to wake it up(with aplying voltage on pin or with any other mehods) i dont know . my project is quite simple. i want to enable sleep mode of MC after some time of being turned on and wake up when i apply 3.3 or 5v to its pin( i dont know which pin but i want to wake up MC with a trigger voltage). this is so urgent for me, any kind of help would be appreciated.

    • @ControllersTech
      @ControllersTech  4 роки тому

      There are videos on all 3 power modes. Check the stm32 playlist

  • @nishchaysingh6846
    @nishchaysingh6846 4 роки тому

    can all of the stm32 boards be used as a hid device , can u pls make a video on making a mouse and a keyboard from stm32

    • @ControllersTech
      @ControllersTech  4 роки тому

      Did you even watched the video ?
      This video shows how to make a mouse from STM32

  • @codenic_ir
    @codenic_ir 4 роки тому

    *very good👌*

  • @lukaszM46
    @lukaszM46 2 роки тому

    does it matter if i use F103C8T6 or F103C6T6? will the programming steps be the same?

  • @rubikon7648
    @rubikon7648 3 роки тому

    Great work, thank you, i wonder how can we get libraries of arduino modules for Stm32 or can we adapt it? Its hard to drivers/libraries for stm32 but very easy for arduino .

    • @ControllersTech
      @ControllersTech  3 роки тому +1

      It's equally hard for the people who write the Arduino libraries 😂
      What you can do is try to understand the library and relate it to the datasheet.. at least that's what i do in some cases, when it's hard to understand the datasheet..
      Then there are some cases like tft libraries or any other display library which are extremely hard to get from datasheets... In these cases we can try to port, but again you need to go through each and every line, and change it as per your mcu

    • @rubikon7648
      @rubikon7648 3 роки тому

      @@ControllersTech Thank you for nice explanation, it will be very good if you teach us how to create a library from a datasheet or adapt a library from arduino ecosystem.May be it takes a few time of you but saves our hours 😊

    • @rubikon7648
      @rubikon7648 3 роки тому

      @@ControllersTech also if you check my project, which works fully analog, i will be happy, must i make it with stm32 or leave it analog, what do you think please leave a comment here is the link ua-cam.com/video/MSQAH1ApuxI/v-deo.html