DJI drones, Fluke multimeters, Xiaomi phones, Huawei watches, waiting for you!đ The Breadboard Community DIY event is ongoing!I was born in 1990, and my personality may lean more towards the 80s, not as carefree as the 90s. I remember when we were kids, the toys we had access to in rural areas were mostly purely mechanical, like glass marbles, rolling iron hoops, bamboo dragonflies, and wind-up frogs.It wasn’t until I entered elementary school and went to town that I accidentally discovered the arcade, which immediately attracted me. The games inside felt like a different level compared to what I usually played. I remember needing to spend money to buy game tokens, where one yuan could buy four tokens, later five. But one yuan was a big amount for kids back then; I could only watch others play in the arcade.
At that time, popular games included “Dinosaurs Attack,” “Romance of the Three Kingdoms,” “King of Fighters ’97,” “Journey to the West,” and “1945.” To make up for my childhood regrets, a few years ago I bought a set-top box and flashed it into an emulator to play games. I usually used a controller but always felt something was missing, so this time I plan to make a joystick controller. To avoid occupying the existing USB interface, the overall design concept is as followsThe circuit design diagram is as followsThe code is generated using STM32CubeMX based on my hardware configuration and pin configuration.The main focus is on selecting the USB driver.We define it as an HID device, and the tool generates a mouse file by default. We need to modify the relevant HID parameters.Modify the corresponding data size.Then, in the main function, collect data in real-time to send USB data to the host. We need to define our data structure, which must be consistent with the definitions in HID.Finally, assemble it. I want to find a wooden board.Drill holes according to the layout I need.Install the wiring.All done!Author: Haha~~~~~~~~~~~ Source: Breadboard Community “Rediscovering Childhood Fun – Joystick Controller” https://mbb.eet-china.com/forum/topic/147836_1_1.html
Scan to join
Embedded Community Group
The Breadboard Community DIY event is ongoing!đhttps://mbb.eet-china.com/forum/topic/147007_1_1.htmlCommunityActivitiesEventsActivitiesShare your DIY electronic designs on the Breadboard Community blog/forum, and add the [Electronic DIY] tag when publishing articles. There is no word limit, and articles that pass community review will receive rich rewards!â Scan to participate âăAwards SetupăFirst Prize (1 winner): DJI Neo drone, Xiaomi Redmi Note 13 Pro, Hikvision NAS Mage 20 PRO… (choose one)Second Prize (unlimited): Fluke F15B PRO MAX multimeter, Huawei WATCH FIT 2… (choose one)Third Prize (unlimited): Xiaomi Mi Band 9 NFC version, Xiaomi mini massage gun 2C, electronic common tools gift package worth ïż„300… (choose one)Participation Prize: All participants can receive 500 E-coin rewards!Over Ten Thousand Rewards: If a single article/video reaches over ten thousand views on the MBB WeChat account, each article will receive1000 E-coin rewards (E-coins can be redeemed for prizes in the mall, data statistics deadline is 2025.2.28, limited to the first 20 articles, sorted by the time of publication in the MBB community, personal cumulative maximum reward is 10,000 E-coin rewards)E-coin can be redeemed for engineering tools and exquisite gifts at the E-coin mall (https://estore.eet-china.com/)! Such as tweezers, development boards, oscilloscopes, toolboxes, storage boxes, etc.ăArticle Requirementsă1ăContent RequirementsOriginal, must be related to the electronics industry, and must be first published on the internet.2ăContent should include: design ideas, finished product display (such as circuit principles, functional display, cost control plans or lists, code, etc.) Content involving core intellectual property can be omitted.3. During the event, the same ID can participate multiple times, and under the same quality conditions, more works can accumulate scores.Event Time: 2024.11.13 – 2025.02.13