{"product_id":"mikroe-3340-uart-1-wire-click-board-uk","title":"UART 1-Wire Click Board™","description":"\u003cp\u003eFeaturing a set of options for fine-tuning the 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus performance, allowing it to accommodate to a wide variety of different applications, complex state machine which allow straight-forward conversion of characters sent over the UART interface, using the accurate crystal-driven UART timing as a reference for the 1-Wire\u003csup\u003e®\u003c\/sup\u003e time base, UART 1-Wire click represents a perfect solution for rapid development of 1-Wire\u003csup\u003e® \u003c\/sup\u003eapplications: it can be used to facilitate working with various iButton\u003csup\u003e®\u003c\/sup\u003e devices or similar applications based on 1-Wire\u003csup\u003e® \u003c\/sup\u003ecommunication, offering a simple and familiar UART interface to the host microcontroller (MCU).\u003c\/p\u003e\n\n\u003ch3\u003eABOUT THE 1-WIRE\u003csup\u003e®\u003c\/sup\u003e PROTOCOL\u003c\/h3\u003e\n\n\u003cp\u003e1-Wire\u003csup\u003e®\u003c\/sup\u003e is a very popular communication protocol developed by Dallas Semiconductors (acquired by Maxim Integrated in 2001), that requires only two wires: signal line and GND. In most cases GND is common to both devices, so the whole bus is reduced to just a single line. The 1-Wire\u003csup\u003e®\u003c\/sup\u003e protocol is often used between different devices when low-speed communication is sufficient. With the appearance of iButton\u003csup\u003e®\u003c\/sup\u003e devices and MicroLAN interfaces, the 1-Wire\u003csup\u003e®\u003c\/sup\u003e protocol gains popularity. However, there are not many MCUs that have the 1-Wire\u003csup\u003e®\u003c\/sup\u003e peripheral integrated onboard, so they must rely on bit-banging routines to provide accurate 1-Wire\u003csup\u003e®\u003c\/sup\u003e signal waveforms. Producing accurately timed signals by using such routines may prove demanding for most applications. Because of this, devices such as UART 1-Wire click simplify the firmware development greatly, reducing the host MCU workload.\u003c\/p\u003e\n\n\u003ch3\u003eHow Does The UART 1-Wire Click Board™ Work?\u003c\/h3\u003e\n\n\u003cp\u003eThe \u003cstrong\u003eUART 1-Wire Click Board™\u003c\/strong\u003e is based on the DS2480B IC, a serial to the 1-Wire\u003csup\u003e®\u003c\/sup\u003e driver IC, from Analog Devices. This IC is designed to directly interface the UART with the 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus. It performs data conversion using independent data rates for both interfaces, allowing standard and overdrive communication speeds. Internal timing generators of the DS2480B IC are continuously synchronized with the incoming UART data, which is typically driven by a high-precision crystal oscillator of the host microcontroller (MCU). This allows time-critical 1-Wire\u003csup\u003e®\u003c\/sup\u003e signals to be generated by the IC itself, greatly reducing the processing load from the host MCU. Many physical parameters of both the UART and 1-Wire\u003csup\u003e®\u003c\/sup\u003e buses can be fine-tuned so that the UART 1-Wire click can be accommodated to any type of UART\/RS232 to 1-Wire\u003csup\u003e®\u003c\/sup\u003e signal conversion application.\u003c\/p\u003e\n\n\u003cp\u003e\u003cimg alt=\"MikroE Click Boards Interface UART 1-Wire Click\" data-entity-type=\"\" data-entity-uuid=\"\" src=\"https:\/\/www.mikroe.com\/img\/images\/UART-1-Wire-click-inner-img.jpg\"\u003e\u003c\/p\u003e\n\n\u003cp\u003eThe DS2480B IC can be observed as a complex state-machine. It can be configured by UART commands, so the IC must parse the incoming data prior to conversion. The device can be operated in two main operating modes: Command Mode and Data Mode. The Command Mode is the default state after the Power ON event. This mode allows the configuration parameters to be set. However, the DS2480B IC must be initialized prior to any operation: the 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus reset command should be sent over the TXD line at a fixed rate of 9600 bps. This is used only to calibrate the internal timing generators, without performing any action on the 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus. After the initialization, the DS2480B IC can be used normally.\u003c\/p\u003e\n\n\u003cp\u003eThe Data Mode is used to convert bytes received at the TXD line into their equivalent 1-Wire\u003csup\u003e®\u003c\/sup\u003e waveforms, and to report the responses back to the host MCU through the RXD line. The datasheet of the DS2480B IC illustrates the operating principles of this IC by using the state transition diagram. Along with several examples at the end of the datasheet, it represents a very useful starting point for the application development. However, the included mikroSDK compatible library offers functions that simplify the firmware development even more.\u003c\/p\u003e\n\n\u003cp\u003eThe DS2480B IC requires using 5V for both the power supply and logic levels. Having in mind that most MCUs use 3.3V logic levels for UART communication, a level translator had to be added. UART 1-Wire click uses the TXB0106, a bi-directional level translator IC, by Texas Instruments. This IC allows reliable logic voltage level translation, allowing the Click board™ to be used with a wide range of MCUs that use 3.3V logic levels on their UART lines.\u003c\/p\u003e\n\n\u003cp\u003eThe 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus can be accessed over the screw terminal on the \u003cstrong\u003eUART 1-Wire Click Board™\u003c\/strong\u003e. Due to the nature of most 1-Wire\u003csup\u003e®\u003c\/sup\u003e applications, the signal line of the 1-Wire\u003csup\u003e®\u003c\/sup\u003e bus is protected by the DS9503, an integrated ESD Protection Diode with resistors. This IC is specifically designed to be used as the Electrostatic Discharge (ESD) protection in 1-Wire\u003csup\u003e®\u003c\/sup\u003e applications.\u003c\/p\u003e\n\n\u003ch3\u003eSPECIFICATIONS\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eType\u003c\/td\u003e\n            \u003ctd\u003e1-Wire\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eApplications\u003c\/td\u003e\n            \u003ctd\u003eThe \u003cstrong\u003eUART 1-Wire Click Board™\u003c\/strong\u003e can be used to facilitate working with various iButton® devices or similar applications based on 1-Wire communication, offering a simple and familiar UART interface to the host microcontroller (MCU)\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eOn-board modules\u003c\/td\u003e\n            \u003ctd\u003eDS2480B IC, a serial to 1-Wire driver IC, from Maxim Integrated; TXB0106, a bi-directional level translator IC, by Texas Instruments\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eKey Features\u003c\/td\u003e\n            \u003ctd\u003eA set of options for fine-tuning the 1-Wire bus performance, complex state machine which allow straight-forward conversion of characters sent over the UART interface, an accurate 1-Wire bus timing derived from the crystal-driven UART reference, etc.\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInterface\u003c\/td\u003e\n            \u003ctd\u003eUART\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eCompatibility\u003c\/td\u003e\n            \u003ctd\u003emikroBUS\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eClick board size\u003c\/td\u003e\n            \u003ctd\u003eM (42.9 x 25.4 mm)\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eInput Voltage\u003c\/td\u003e\n            \u003ctd\u003e3.3V,5V\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003ePINOUT DIAGRAM\u003c\/h3\u003e\n\n\u003cp lang=\"en-us\" xml:lang=\"en-us\"\u003eThis table shows how the pinout of the \u003cstrong\u003eUART 1-Wire Click Board™ \u003c\/strong\u003ecorresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).\u003c\/p\u003e\n\n\u003ctable width=\"549\"\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth colspan=\"4\"\u003e\u003cimg alt=\"Mikrobus logo.png\" data-entity-type=\"\" data-entity-uuid=\"\" src=\"https:\/\/cdn.mikroe.com\/img\/mikrobus\/mikroBUS-logo-black.png\"\u003e\u003c\/th\u003e\n            \u003cth\u003ePin\u003c\/th\u003e\n            \u003cth\u003eNotes\u003c\/th\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e1\u003c\/td\u003e\n            \u003ctd\u003eAN\u003c\/td\u003e\n            \u003ctd\u003ePWM\u003c\/td\u003e\n            \u003ctd\u003e16\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e2\u003c\/td\u003e\n            \u003ctd\u003eRST\u003c\/td\u003e\n            \u003ctd\u003eINT\u003c\/td\u003e\n            \u003ctd\u003e15\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e3\u003c\/td\u003e\n            \u003ctd\u003eCS\u003c\/td\u003e\n            \u003ctd\u003eRX\u003c\/td\u003e\n            \u003ctd\u003e14\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eTX\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eUART TXD Line\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e4\u003c\/td\u003e\n            \u003ctd\u003eSCK\u003c\/td\u003e\n            \u003ctd\u003eTX\u003c\/td\u003e\n            \u003ctd\u003e13\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eRX\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eUART RXD Line\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e5\u003c\/td\u003e\n            \u003ctd\u003eMISO\u003c\/td\u003e\n            \u003ctd\u003eSCL\u003c\/td\u003e\n            \u003ctd\u003e12\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n            \u003ctd\u003e6\u003c\/td\u003e\n            \u003ctd\u003eMOSI\u003c\/td\u003e\n            \u003ctd\u003eSDA\u003c\/td\u003e\n            \u003ctd\u003e11\u003c\/td\u003e\n            \u003ctd\u003eNC\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePower Supply\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e3V3\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e7\u003c\/td\u003e\n            \u003ctd\u003e3.3V\u003c\/td\u003e\n            \u003ctd\u003e5V\u003c\/td\u003e\n            \u003ctd\u003e10\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003e5V\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003ePower Supply\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003e8\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003eGND\u003c\/td\u003e\n            \u003ctd\u003e9\u003c\/td\u003e\n            \u003ctd\u003e\u003cstrong\u003eGND\u003c\/strong\u003e\u003c\/td\u003e\n            \u003ctd\u003eGround\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003eONBOARD SETTINGS AND INDICATORS\u003c\/h3\u003e\n\n\u003ctable\u003e\n    \u003ctbody\u003e\n        \u003ctr\u003e\n            \u003cth\u003eLabel\u003c\/th\u003e\n            \u003cth\u003eName\u003c\/th\u003e\n            \u003cth\u003eDefault\u003c\/th\u003e\n            \u003cth\u003eDescription\u003c\/th\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003ePWR\u003c\/td\u003e\n            \u003ctd\u003ePWR\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003ePower LED indicator\u003c\/td\u003e\n        \u003c\/tr\u003e\n        \u003ctr\u003e\n            \u003ctd\u003eCN1\u003c\/td\u003e\n            \u003ctd\u003eGND, 1-W\u003c\/td\u003e\n            \u003ctd\u003e-\u003c\/td\u003e\n            \u003ctd\u003e1-Wire\u003csup\u003e®\u003c\/sup\u003e bus connector\u003c\/td\u003e\n        \u003c\/tr\u003e\n    \u003c\/tbody\u003e\n\u003c\/table\u003e\n\n\u003ch3\u003e \u003c\/h3\u003e","brand":"Mikroelektronika d.o.o.","offers":[{"title":"Default Title","offer_id":37768421671101,"sku":"MIKROE-3340","price":26.0,"currency_code":"GBP","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0522\/6931\/8333\/products\/mikroelektronika-d-o-o-click-board-uart-1-wire-click-board-30215440564413.jpg?v=1685223473","url":"https:\/\/thedebugstore.com\/es\/products\/mikroe-3340-uart-1-wire-click-board-uk","provider":"Debug Store","version":"1.0","type":"link"}