Text
How to build a USB device?
I want to build/program a USB HID device (yes, a human interface device device).
So I'm wondering if anyone out there has programmed their own USB devices, and might have some tools/platforms they can recommend?
I've started using LPCXpresso, because I had a dev board on my desk.
But it's not super intuitive, it's a bit unreliable (the program/debug interface, that is, the target chip is fine), and the example I've used as a foundation has some interesting limitations / design decisions. LPC also doesn't seem to have a hugely useful online following, at least not for the phrases I've been Googling.
I'm using Linux on my PC, so I've become familiar with the following tools, which have been of great help: dmesg, lsusb, evtest
Bonus side question: I've also got a comms-class interface, which shows up as /dev/ttyACM0, and works alright, except on connection the computer sends AT commands to it. Any ideas of what to change in the descriptor to make Linux think it's a virtual com port, rather than a modem?
0 notes
Text
Making USB devices – end to end guide to your first gadget
A very nice writeup and intro into USB, although - it's very focused on using an ST microcontroller, which is a lot more steps and toolchains compared the the recent ESP32 ecosystem that offers a number of easy plug-and-play ways to make USB devices work (for example, several projects from Adafruit's learning pages provide basic use cases). Another issue is differential pairs - having designed several working USB boards myself, this has not a concern for beginners, mainly relevant for doing high-speed work. USB controller ICs (as used typically with arduio/esp) can handle a lot of the details for you, so doing the calculations seems overkill, especially for someone making their first gadget.
0 notes
Text
Hacker's Field Guide: Arduino Foundations: Basic electronics and software for success with Arduino projects
How can I tell the difference between a temperature sensor and a transistor? When do I use a for loop versus an if statement? You're starting (or want to start) working with Arduinos but are overwhelmed with everything related to both the electronics and programming. Harley Pebley is a life-long maker who has been there. He knows first hand the overwhelming feelings of not knowing where to start and wants to guide you step by step through your first steps. This introductory guide teaches you: * The basic electronics components that come with most Arduino starter kits. * What a program is, how it's structured and the building blocks to make one. * How to setup your computer to start working with Arduinos. * And the various models of Arduino that are available to choose from. You'll learn the fundamentals of the Arduino and feel more prepared to jump into your first projects.
0 notes
Text
Making USB devices - end to end guide to your first gadget
0 notes
Video
youtube
How does USB device discovery work?
What happens when you first plug a USB device in? There's a whole bunch of negotiation where the computer discovers what a USB device is capable of. In this video I capture the conversation and walk through what's going on.
Support these videos on Patreon: / beneater or https://eater.net/support for other ways to support.
------------------
Social media:
Website: https://www.eater.net
Patreon: / beneater
Reddit: / beneater
0 notes
Video
youtube
How to Fix USB Device Not Recognized | Restore USB Drive to Default Sett...
How to Fix a Corrupted USB Drive Using Diskpart: Step-by-Step Guide! How to Fix USB Device
🔗Get a 14-day free trial with my sponsor Aura and see where your personal information is being leaked online: https://Aura.com/nico
📽️ Video Description:
Welcome to [Your Channel Name]! In today's tutorial, we'll guide you through the process of fixing a corrupted or unrecognized USB drive using Diskpart. If you've ever faced issues with your USB drive not being recognized or displaying errors, this video is your solution! Follow our step-by-step guide and get your USB drive back in working order.
🚀 Key Steps Covered:
Identifying the Issue: Learn how to recognize if your USB drive is corrupted and needs fixing.
Backup Data: Before any restoration, safeguard your important data using a backup method of your choice.
Running Diskpart: Dive into the powerful Diskpart utility for Windows to fix file system errors on your USB drive.
Executing Commands: Follow along as we walk you through the essential Diskpart commands for repairing and formatting your USB drive.
Verification: Confirm the success of the process and ensure your USB drive is now in optimal condition.
📌 Important Note:
Remember that using Diskpart will format your USB drive, so make sure to backup your data before proceeding. This video is specifically tailored for Windows users facing USB drive issues.
Topics included in this tutorial:
how to fix flash drive using cmd
how to repair corrupt pen drive
no nedia usb fix
usb flash drive no media fix
fix corrupted usb drive
pendrive not showing in my computer
there is no media in the device
pen drive showing no media in disk management
no media pendrive fix
💢 Business Inquiries: [email protected]
💢 Follow us on social media:
💻 Instagram: / nicoknowstech
💻 Twitter: / nicoknowstech
▶️ Join my Discord: https://discord.io/NicoKnowsTech
▶️ Support me on Patreon: / nicoknowstech
▶️ Frequently Asked Questions: • Frequently Asked Questions About Tron...
---------------
#RestoreUSB #USBNotRecognized #USBDrive #Windows11 #NicoKnowsTech
Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.
0 notes
Text
If you want to learn how to create USB devices, the most recommended book is "USB Complete: The Developer's Guide" by Jan Axelson; it provides a comprehensive understanding of USB technology, covering everything from basic operation to designing custom USB peripherals, including detailed explanations and code examples for various platforms.
Key points about "USB Complete":
Authoritative source: Considered the definitive guide for USB development.
Comprehensive coverage: Explains all aspects of USB, including device design, host interaction, and different USB protocols.
Practical examples: Includes code samples to illustrate concepts and help with implementation.
Other relevant books for USB development:
"Embedded USB Design By Example" by John Hyde:
Focuses on practical aspects of integrating USB into embedded systems, offering a hands-on approach with real-world examples.
"USB Design by Example: A Practical Guide to Building I/O Devices":
Provides a practical guide to building USB devices with detailed explanations and code examples.
0 notes
Text
USB Complete: Everything You Need to... book by Jan Axelson
0 notes
Text
Jan Axelson's Lakeview Research
This book is for developers who are involved with designing or programming devices that use the Universal Serial Bus (USB) interface. If you are a hardware designer, if you write firmware that resides inside USB devices, or if you write applications that communicate with devices, this book is for you.
The USB interface is versatile enough to serve just about any device function. Familiar USB peripherals include mice, keyboards, drives, printers, speakers, and cameras. USB is also suitable for data-acquisition units, control systems, and other devices with specialized functions, including one-of-a-kind designs. The right choices of device hardware, software drivers and development tools and techniques can help you design devices that perform their functions without errors or user aggravation. This book will guide you along the way.
0 notes
Text
USB Complete: The Developer's Guide by Jan Axelson [Fifth Edition] : ID 3087 : Adafruit Industries, Unique & fun DIY electronics and kits
0 notes
Text
Usb Complete: Everything You Need to Develop Custom Usb Peripherals
Usb Complete: Everything You Need to Develop Custom Usb Peripherals https://a.co/d/4mdloB8
0 notes
Text
USB Design by Example: A Practical Guide to Building I/O Devices
USB Design by Example: A Practical Guide to Building I/O Devices https://a.co/d/1RxcG9B
0 notes
Text
How does a USB keyboard work?
youtube
The USB 2.0 spec: https://eater.net/downloads/usb_20.pdf
0 notes
Text
V-USB on an ATmega328! - V-USB and HID Explained
youtube
Sometimes, we only have access to microcontrollers without all of the peripherals that we need. Several cases like in the AVR line of microcontrollers involving USB support. Luckily there is a library called V-USB that allows us to bit-bang USB support into our projects.
-- Links --
My Website: https://sinelab.net
Buy me a coffee: https://www.buymeacoffee.com/thesinelab
V-USB Download: https://www.obdev.at/products/vusb/in... \
Code and Schematic: https://sinelab.net/code/vusb-keyboar...
USB Datasheet: https://sinelab.net/pdf/usb-20-specif...
HID Datasheet: https://sinelab.net/pdf/hid_spec.pdf
Usage Tables: https://sinelab.net/pdf/hid_usage_tab...
Report Descriptor Checker: http://eleccelerator.com/usbdescreqpa... --
0 notes
Text
Add USB To Your Electronics Projects! - The USB Protocol Explained
youtube
USB is both the simplest and most complex interface to use. It is simple to plug in and let the computer handle. It is complex to create and run a microcontroller with it.
-- Links --
My Website: https://sinelab.net Buy me a coffee: https://www.buymeacoffee.com/thesinelab
Schematic: https://sinelab.net/pdf/usb_test.pdf Code: https://sinelab.net/code/usbify.zip
ASF-USB: https://asf.microchip.com/docs/latest... LUFA: http://www.fourwalledcubicle.com/LUFA...
USB Datasheet: https://sinelab.net/pdf/usb-20-specif...
ATmega16u2 Datasheet: https://sinelab.net/pdf/ATmega16u2.pdf
Adapter: https://www.aliexpress.us/item/225183... --
0 notes