[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-720576-105":59,"doc-detail-720576-en":130,"doc-similar-720576":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","gyroscope-bno085-uart-rvc-guide","Gyroscope (BNO085) UART-RVC Guide","","Guide explains how to wire the BNO085 gyroscope to a BeagleBone for UART-RVC mode, including power, ground, UART RX connections, and optional UART2 RX usage. It details how to configure the BeagleBone using config-pin, verify UART device nodes, and handle serial access. The guide provides example C code to open and set UART parameters (e.g., baud rate 115200) and to read 19-byte packets at 100Hz, converting roll readings into degrees. It also covers practical troubleshooting for missing output, delays, and controlling read rate to avoid packet backlog.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/gyroscope-bno085-uart-rvc-guide/720576/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/gyroscope-bno085-uart-rvc-guide/720576.png","ImageObject",300,407,{"name":92,"@type":93},"A glass of water","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-18",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How do you connect the BNO085 to the BeagleBone for UART-RVC mode?","Question",{"text":112,"@type":113},"Place the gyroscope on a breadboard, connect VIN and P0 to 3.3V on the specified pins, connect GND to GND, and wire BNO085 RX to UART1 RXD (or UART2 RXD on an alternate pin).","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What BeagleBone commands verify the UART is configured correctly?",{"text":117,"@type":113},"Run config-pin for the chosen RX pin in uart mode, then read the UART device node with cat (e.g., /dev/ttyS1 for UART1, /dev/ttyS2 for the alternate UART2 pin).",{"name":119,"@type":110,"acceptedAnswer":120},"How is gyroscope data read and converted into degrees?",{"text":121,"@type":113},"After configuring and opening the serial port, read fixed-size 19-byte packets in a loop at 100Hz, reconstruct the roll raw value from the packet bytes, then divide by 100 to convert the integer roll into a double degree value.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},720576,1795038236,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":29,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":19,"preview_urls":144},962090760832,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","1  \n# Gyroscope (BNO085) UART-RVC Guide\n\nby David Choi, HiFen Kong and Eric Kempton  \n## Introduction\n\nThis guide shows how to wire the gyroscope to the Beaglebone for the UART-RVCmode. It shows how to configure the Beaglebone to receive data from thegyroscope and how to configure the connection. Furthermore, it shows how to readand convert the data as needed.  \n## Table of Contents\n\n1. Wiring the Gyroscope to Beaglebone for UART-RVC 2  \n2. Configuring the Beaglebone2  \n3. Configuring the Connection 3  \n4. Reading and Converting the Data4  \n5. Troubleshooting5  \n6. References 6  \n## Formatting:\n\nTarget (board) commands start with (bbg)$:  \n(bbg)$ echo \"Hello!\"  \n2  \n## Wiring the Gyroscope to Beaglebone for UART-RVC\n\nPlace the gyroscope on the breadboard with the text facing the same direction asthe red Zen cape.  \nWire the BNO085 VIN toP9.03 (DC 3.3V) .  \nWire the BNO085 P0 toP9.03 (DC 3.3V) . This isto enable UART-RVCmode.  \nWire the BNO085 GNDto P9.01 (GND) .  \nWire the BNO085 RX toP9.26 (UART1 RXD) .  \nP9 .22 (UART2 RXD)could also be used.However, it shares a pinwith the buzzer so onlyone can be controlled.  \nSource: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-9-dof-orientation-imu-fusion-breakout-bno085.pdf  \n## Configuring the Beaglebone\n\nAfter wiring the gyroscope to the Beaglebone, connect to your virtual machine.Once powered on, a green light should light up on the gyroscope. (If P9 .22 is used,the buzzer should buzz if connected properly) . To configure the Beaglebone toreceive data from the gyroscope, run the following command:  \n(bbg)$ config-pin P9_ 26 uart  \nor ifP9 .22 was used:  \n3  \n(bbg)$ config-pin P9_ 22 uart  \nTo check if it is configured properly, print the data from the UART’s device nodewith the following command:  \n(bbg)$ cat /dev/ttyS1  \nor ifP9 .22 was used:  \n(bbg)$ cat /dev/ttyS2  \nIf values are printed to the screen, the gyroscope has been properly connected andconfigured.  \n## Configuring the Connection\n\nTo configure the connection between the gyroscope and Beaglebone we must firstopen the serial port device and then configure the serial port. This can be done withthe following C code:  \n// C library headers\\#include \u003C stdio . h>\\#include \u003C string.h>  \n// Linux headers\\#include \u003Cfcntl. h> // Contains file controls like O_RDWR\\#include \u003Cerrno . h> // Error integer and strerror() function\\#include \u003Ctermios . h> // Contains POSIX terminal control definitions\\#include \u003C uni std. h> // write () , read() , close()  \n\\#define UART1 \"/dev/ttyS1 \" // Or /dev/ttyS2 if P9 .22 was used  \nint main (void) {static int uart_fd;struct termios tio;uart_fd = open(UART1 , O_RDWR) ;if ( uart_fd == -1){perror( \" Error opening UART \" ) ;exit(EXIT_FAILURE) ;}tcgetattr ( uart_fd , &tio ) ;cf setispeed(&tio , B115200); // Set baud rate to 115200cf setospeed(&tio , B115200); // Set baud rate to 115200tio . c_cflag |= (CLOCAL | CREAD) ;  \n4  \ntio . c_cflag |= CREAD | CLOCAL;tio . c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL | ISIG);tio . c_oflag &= ~OPOST;tio . c_oflag &= ~ONLCR;tio . c_iflag &= ~(IXON | IXOFF | IXANY) ;tio . c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL) ;tio . c_cc [VTIME] = 0;tio . c_cc [VMIN ] = UART_FD_NUM_BYTES; // 19 bytestio . c_cflag &= ~CSIZE; // clear bit datatio . c_cflag |= CS8; // 8-bit datatio . c_cflag &= ~PARENB; // No paritytio . c_cflag &= ~CSTOPB; // 1 stop bittcsetattr ( uart_fd , TCSANOW , &tio ) ;  \nclose( uart_fd); // Closing the connectionreturn 0;}  \nSource: https://blog.mbedded.ninja/programming/operating-systems/linux/linux-serial-ports-using-c-cpp/  \n## Reading and Converting the Data\n\nOnce the serial port has been configured and opened, we can start to read andconvert the data. This can be done with the following example code:  \nwhile (1 ){static double value;char buffer [19] ; // Since each packet is 19 bytesmemset(&buffer , ' \\0 ' , sizeof(buffer));ssize_t bytes_read = read(uart_fd , buffer , 19) ;if (bytes_read > 0){u int16_t roll_raw = (buf","cbCairgYGtiI8fQ9","https://ap.wps.com/l/cbCairgYGtiI8fQ9","pdf",673794,"English","# Introduction\n## Wiring the Gyroscope to Beaglebone for UART-RVC\n## Configuring the Beaglebone\n## Configuring the Connection\n## Reading and Converting the Data\n## Troubleshooting\n## References","[{\"question\":\"How do you connect the BNO085 to the BeagleBone for UART-RVC mode?\",\"answer\":\"Place the gyroscope on a breadboard, connect VIN and P0 to 3.3V on the specified pins, connect GND to GND, and wire BNO085 RX to UART1 RXD (or UART2 RXD on an alternate pin).\"},{\"question\":\"What BeagleBone commands verify the UART is configured correctly?\",\"answer\":\"Run config-pin for the chosen RX pin in uart mode, then read the UART device node with cat (e.g., /dev/ttyS1 for UART1, /dev/ttyS2 for the alternate UART2 pin).\"},{\"question\":\"How is gyroscope data read and converted into degrees?\",\"answer\":\"After configuring and opening the serial port, read fixed-size 19-byte packets in a loop at 100Hz, reconstruct the roll raw value from the packet bytes, then divide by 100 to convert the integer roll into a double degree value.\"}]","Gyroscope (BNO085) UART-RVC Guide | PDF",15,[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b4dde72eea45a46858d3ffa55d69f7d4.webp",983,1272,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/079d8d2bc6c04b13b2a70a5bd374c55b.webp",982,1270,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/47b9f5927f2dc490aab803d514541bdd.webp",981,1269,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/5b32f78478f4625bcfbed2c5d7afc439.webp",980,1268,{"list":162,"token":66},[163,169,176,182,188,194,200,207,213,219],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":81,"category_name":30,"create_tm":168},720577,"BNO080-BNO085 Migration Guide - Revision 1.6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024400373/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=hIULJXMlYXsKSqKJLZlMjmA7hxU%3D","bno080-bno085-migration-guide-revision-16",1795038237,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":30,"create_tm":175},562398,"BOLUTEK BLK-MD-BC04-B BLUETOOTH MODULE - AT COMMANDS - Instructions","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947809460/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=PtxjMKjXLHTTnj3ODFGoEt74QLY%3D","bolutek-blk-md-bc04-b-bluetooth-module-at-commands-instructions",33,1791808531,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":29,"category_name":30,"create_tm":181},720511,"BNO055 - UART Interface Application Note - Document Revision 1.0","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230023674447/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=u1vHrsJPzS%2BS0ZBWmSsy4N64cUo%3D","bno055-uart-interface-application-note-document-revision-10",1795037664,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":81,"category_name":30,"create_tm":187},692159,"UNIT-5 SERIAL COMMUNICATION - Communication: Basics of SPI, I2C and UART","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002065266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=OvBj7j4SAeKelqYfuLufCFsdTDc%3D","unit-5-serial-communication-communication-basics-of-spi-i2c-and-uart",1794180297,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":19,"category_name":30,"create_tm":193},691783,"Using the LIN in TRAVEO™ T2G MCU family","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002683693/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=NB47%2F5FmDN2b6Rj1Pw0t19er5L4%3D","using-the-lin-in-traveo-t2g-mcu-family",1794176114,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":34,"category_name":30,"create_tm":199},699878,"RS-232 To TTL Conveter (MAX3232IDR) - Module Version - Version","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011994901/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=Up6qnF%2FqxCMUMzO7amsAwO5i3o0%3D","rs-232-to-ttl-conveter-max3232idr-module-version-version",1794512263,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":30,"create_tm":206},289669,"DAT3024 - Application Note - Using DAT3000Modbus software to setup DAT3000 series devices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903423361/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=gmegpme%2F1KpdsmZ2PQi9qHiV3yA%3D","dat3024-application-note-using-dat3000modbus-software-to-setup-dat3000-series-devices",21,1789636253,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":81,"category_name":30,"create_tm":212},735470,"Error Messages","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230034122598/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=geJalzFWio3cfGnQcrPMy78ce%2BA%3D","error-messages",1795462732,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":29,"category_name":30,"create_tm":218},692093,"Use URT-1 to control Feetech servo - First hand tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002895259/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=y6cr77tJVs2r9%2B2jDJMfhryGbww%3D","use-urt-1-to-control-feetech-servo-first-hand-tutorial",1794178345,{"doc_id":220,"doc_title":221,"file_type":137,"home_preview_img_url":222,"slug":223,"view_count":143,"category_name":30,"create_tm":224},562653,"N4IOA01 1-channel RS485 to 4-20MA module - Modbus RTU protocol guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947888099/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110379&Signature=f8ZuJfLVd6zlvRob4PJn7xXRoT0%3D","n4ioa01-1-channel-rs485-to-4-20ma-module-modbus-rtu-protocol-guide",1791809220]