🌟 About the Project

The codes in this repository are for the wireless controller using XIAO nRF52840. I'm using a joystick module and internal LSM6DS3 to send HID commands to the receiver board and control the mouse of the target computer.

📷 Pictures

screenshot

🎯 Features

  • Control mouse via joystick module
  • Control mouse via internal LSM6DS3 (roll, pitch, yaw)
  • 2 extra buttons for sending commands
  • light indicator using Neopixel ws2812b

🧰 Getting Started

In this project, I decided to use the Seeed Studio XIAO nRF52840 board. Because a lot of the features I need are built into this board, for example, Bluetooth and gyroscope.

  • XIAO nRF52840 Sense
  • XIAO nRF52840
  • joystick module
  • NeoPixel ws2812b
  • Microswitch

🔌 Schematic

Make the connections according to the table and schematic below.

  • XIAO nRF52840 and joyStick.
XIAO nRF52840joyStick
A0VRX
A1VRY
4SW
5V+5v
GNDGND

Neopixel Din will be connected to pin 3 of XIAO nRF52840 (Receiver) also the other two Microswitches will be connected to pins 5 and 6.

  • Complete Schematic

screenshot

👀 Usage

after the uploads and we are able to control the mouse using the joystick and also we will be able to control the mouse via the movement of our hand.


⚠️ License

Distributed under the MIT License. See LICENSE.txt for more information.

🤝 Contact

CiferTech - @twitter - @instagram - CiferTech@gmali.com

Project Link: https://github.com/cifertech/XIAO-Controller

💎 Acknowledgements

  • Attitude monitor using Peripheral:XIAO_BLE_Sence and Central:XIAO_BLE with mbed 2.7.2 and ArduinoBLE Click Here.
  • DAZZLER Light Organ Bracelet Click Here.