MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    HID Mouse Emulation using ESP32

    ESP32
    2
    4
    1661
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kowshik1729
      kowshik1729 last edited by

      Hi all,

      I am trying to make an application where I would like to emulate a mouse when I plug my device to the computer through a USB cable. I've seen applications where ESP32 pairs with the computer through Bluetooth and emulates the mouse. But I only want to use emulation through the wire.

      1 Reply Last reply Reply Quote 1
      • salmanfaris
        salmanfaris last edited by

        ESP32 doesn't have any native USB support right?

        1 Reply Last reply Reply Quote 0
        • kowshik1729
          kowshik1729 last edited by

          @salmanfaris I guess no, it doesn't have.

          salmanfaris 1 Reply Last reply Reply Quote 0
          • salmanfaris
            salmanfaris @kowshik1729 last edited by salmanfaris

            @kowshik1729 Then I think it will be difficult, here on this video https://www.youtube.com/watch?v=po3FBdY0GS4 , bitluni's lab used CH559 USB Host controller in order to use the USB HID Services.

            Another possibility is Port V-SUB to ESP32, V-USB is a software-only implementation of a low-speed USB device for Atmel’s AVR microcontrollers

            I found some Github repo's that contain BLE HID

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            Recent Posts

            • @kowshik1729 said in Error downloading package:

              The license of the https://dl.espressif.com/dl/package_esp32_index.json might be expired(If this is the reason you can't do anything but just wait until they re-activate the license)

              e210e762-5609-4f60-9409-3c5df1123744-image.png If the page liecence

              It's good.

              • read more
            • @abdultechguy999 usually https://dl.espressif.com/dl/package_esp32_index.json this works while installing through boards manager. But I faced the same issue some times. it might be due to a couple of reasons.

              Bad Internet connectivity

              The license of the https://dl.espressif.com/dl/package_esp32_index.json might be expired(If this is the reason you can't do anything but just wait until they re-activate the license)

              I remember there is a way to install the board files offline by downloading from some github repos.

              All the best.

              • read more
            • @abdultechguy999 It looks like Arduino IDE having trouble to connect internet, can you try to download any other board from the board manager or library from the library manager!

              • read more
            • A

              @salmanfaris I tried three types which I all found on the net

              https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json

              https://dl.espressif.com/dl/package_esp32_index.json

              All I keep getting is an error message
              'Error downloading [the link]'

              • read more
            • @abdultechguy999 Can you share the Board URL you using? it might be the wrong board URL!

              • read more
            By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
            Copyright © 2021 MakerGram, All rights reserved.
            Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct