Giter Site home page Giter Site logo

michalpiekos / usb_cheap_mouse_jiggler Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6.01 MB

Mouse jiggler on: stm32f103 (bluepill) using HAL, ch32v003 (0.10$ RiscV) using cnlohr's SW USB

License: MIT License

Makefile 0.03% C 98.02% Assembly 1.81% C++ 0.15%
ch32v003 stm32f103 usb-hid

usb_cheap_mouse_jiggler's Introduction

Cheap mouse jiggler on USB

Simple USB-HID Mouse device on: STM32F103 (bluepill), CH32V003 (10cent RiscV processor).

Idea is to find cheap microcontroller with minimum external components to build mouse jiggler. I am sure no one needs such comparison therefore... here it is. Aliexpress can do it for around 2-2.5$ for ready made USB dongle. I wonder if I can beat that price. I will calculate the price of finished product including PCB, all components like usb plug or socket, resistors, capacitors, crystals, power regulators and what have you. In case of complete boards the price will be the price. I do not calculate shipping costs and USB cable if needed.

  1. STM32F103 Bluepill
    The cheapest one I found on aliexpress was for 1.94$ and the price of shipping was reasonable. Mouse jiggler is implemented using STM HAL and it is super easy, especially using CubeIDE or CubeMX environments. Cheap and popular bluepill is then the benchmark in this small test.

  2. CH32V003 the 0.10$ RiscV microcontroller
    Already a strong contender. One would need to create its own PCB. I used slightly changed version of the one that cnlohr posted on his github: https://github.com/cnlohr/rv003usb.
    Pricing: 0.23$ for chip and that only when buying 50pcs, 0.62$ for PCB (at least that is my price at one of chinese manufacturers), LDO was 0.04$ and I will add 0.12$ for capacitors and resistor and 0.08$ for USB male connector. That totals 1.09$.
    Probably a winner at this point.

CH32V003 Schematics

Provided here is my early breadboard prototype and PCB which I have ordered at one of chinese manufacturers.
Breadboard prototype
Prototype does work:
dmesg output
PCB 3D view
PCB 3D View

usb_cheap_mouse_jiggler's People

Contributors

michalpiekos avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.