Skip to content

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

License

Notifications You must be signed in to change notification settings

michalpiekos/usb_cheap_mouse_jiggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages