अभी पंजीकरण करें

लॉग इन करें

पासवर्ड खो गया

आपका पासवर्ड खो गया है? कृपया अपना पूरा ईमेल दर्ज करें. आपको एक लिंक प्राप्त होगा और आप ईमेल के माध्यम से एक नया पासवर्ड बनाएंगे.

पोस्ट जोड़ें

पोस्ट जोड़ने के लिए आपको लॉगिन करना होगा .

प्रश्न जोड़ें

प्रश्न पूछने के लिए आपको लॉगिन करना होगा.

लॉग इन करें

अभी पंजीकरण करें

स्कॉलरसार्क.कॉम में आपका स्वागत है! आपका पंजीकरण आपको इस प्लेटफॉर्म की अधिक सुविधाओं का उपयोग करने की अनुमति देगा. आप सवाल पूछ सकते हैं, योगदान दें या उत्तर दें, अन्य उपयोगकर्ताओं के प्रोफ़ाइल देखें और बहुत कुछ. अभी पंजीकरण करें!

Learn USB Library and Interfacing With Pic Microcontroller

Learn USB Library and Interfacing With Pic Microcontroller

कीमत: $19.99

Universal Serial Bus, or USB, is a very common method of communication between electronic devices. USB is universal, meaning that it’s standard across all electronic devices, serial, meaning that data is transmitted on only one data line one bit at a time, and is a bus, meaning that all devices are connected through the same parallel electronic wires and therefore require addresses. A simple USB connection requires a host and a device. The host initiates all communication, assigns device addresses, and controls the flow of the data line in the connection. For our purposes, the USB host will be the PC and the USB device will be a PIC chip.

There are many different speeds associated with USB. USB 1.0 introduced data rates of 1.5 Mbits/s (Low-Speed) तथा 12 Mbits/s (Full-Speed). With USB 2.0 तथा 3.0, data rates of 480 Mbits/s (Hi-Speed) तथा 5 Gbits/s (Super-Speed), were added respectively. PIC chips have hardware capable of full speed USB.

हार्डवेयर

A USB cable has 4 wires: शक्ति (लाल), ground (काला), D+ (हरा), and D- (गोरा). You may notice that many USB plugs and receptacles have 5 पिंस. This fifth pin is called ID, and is often not connected, but has been added to the specifications for use with USB-OTG, or On-The-Go. OTG allows devices to also act as a host. Many PIC chips are compatible with USB-OTG communication, but we will not discuss this topic any further at this point.

The two data lines, D+ and D-, provide information about the state of the USB link.

  • Detached State, or SE0device is unplugged, both data lines are low, pulled down by 15 kOhm resistors within the host hardware.

  • Attached State, Idle State, or J Statethe device pulls up the D+ line (for a high-speed device) when it is attached.

  • K Stateopposite polarity from J State. To communicate, the host or device alternates the device between the J and K states in specific patterns.

  • Illegal State, or SE1both data lines are high. यदि ये हो तो, there is a hardware problem with the USB link.

के बारे में अर्कडमिन

उत्तर छोड़ दें