{"id":2396,"date":"2022-06-08T14:35:15","date_gmt":"2022-06-08T14:35:15","guid":{"rendered":"https:\/\/picockpit.com\/raspberry-pi\/?p=2396"},"modified":"2023-11-25T11:44:20","modified_gmt":"2023-11-25T11:44:20","slug":"build-a-vr-glove","status":"publish","type":"post","link":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/","title":{"rendered":"Build a Virtual Reality Glove"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-1024x576.jpg\" alt=\"VR Glove Title Image\" class=\"wp-image-2438\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-1024x576.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-300x169.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-768x432.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-1536x864.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail-18x10.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>If you want to learn more about VR than this is the coolest project that you will find. In this article, we will show you how to build a programmable Virtual Reality Glove.<\/p>\n\n\n\n<p>The glove is based on a <a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040\">Raspberry Pi Pico<\/a>, a <a href=\"https:\/\/buyzero.de\/products\/a-d-wandler-8-kanal-mit-spi-schnittstelle\">MCP3008 ADC<\/a> and five flex sensors that you can even build yourself!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What you&#8217;ll need<\/h2>\n\n\n\n<p>Here is a list of things that you need for this project<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/buyzero.de\/products\/raspberry-pi-pico-mit-rp2040\">Raspberry Pi Pico<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/buyzero.de\/products\/usb-kabel-a-stecker-micro-b-stecker-0-6-m?variant=31486255122\">MicroUSB \/ USB Cable<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/buyzero.de\/products\/usb-kabel-a-stecker-micro-b-stecker-0-6-m?variant=31486255122\">MCP3008 ADC<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=QsllRarEKB4&amp;t=17s\">Five flex sensors<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/buyzero.de\/products\/copy-of-premium-female-female-jumper-wires-40-x-6\">Some wire or jumper wires<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/buyzero.de\/products\/leds-widerstande-basic-maker-kit\">Five 330\u03a9 resistors<\/a><\/li>\n\n\n\n<li>Soldering equipment (optional)<\/li>\n\n\n\n<li>Breadboard (optional)<\/li>\n<\/ul>\n\n\n\n<p>If you prefer a <a href=\"https:\/\/youtu.be\/OzCTjx5Lf9w\">video guide<\/a> then we got you covered.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/youtu.be\/OzCTjx5Lf9w\" title=\"VR Glove DIY - Build your own VR Glove with a Pico and a MCP3008 + Giveaway\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/OzCTjx5Lf9w?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Build your flex sensors<\/h2>\n\n\n\n<p>Since most flex sensors cost around 10$ a piece, it is way cheaper to build them yourself.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=QsllRarEKB4&amp;t=17s\">This Video<\/a> shows how to do that, although we made some changes to improve the performance.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" hcb-fetch-image-from=\"https:\/\/www.youtube.com\/watch?v=QsllRarEKB4&amp;t=17s\" title=\"DIY Sensors - Build your own Flex sensor, Pressure sensor and Vibration sensor\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/QsllRarEKB4?start=17&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Substitute the internal paper strip with velostat and the aluminum foil with copper tape. Also make the strips very thin (around 1 mm for the copper strip and 2mm for the velostat) to increase the resistivity of the sensor. Increased resistivity leads to higher resolution.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"245\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-1024x245.jpg\" alt=\"Flex Sensor\" class=\"wp-image-2402\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-1024x245.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-300x72.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-768x184.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-1536x368.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-2048x490.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/IMG-1849-18x4.jpg 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Flex Sensor<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Also you can solder the voltage divider circuit to remove some wires from the breadboard. Solder a red wire to one end. The read wire will be the positive contact. Solder a yellow wire to the other end. After the  yellow wire you need to connect a 330 Ohm resistor which will be connected to ground.<\/p>\n\n\n\n<p><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"358\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-1024x358.jpg\" alt=\"VR Glove Flex Sensor\" class=\"wp-image-2407\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-1024x358.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-300x105.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-768x269.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-1536x537.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-2048x717.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Flex-Sensor-18x6.jpg 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Flex Sensor<\/figcaption><\/figure>\n<\/div>\n\n\n<p>In my case the resistor is at the end of the black wire and I insulated it with some heat shrink tubing.<\/p>\n\n\n\n<p>The yellow wire will serve as our data cable.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The voltage divider circuit<\/h3>\n\n\n\n<p>A voltage divider circuit is commonly used in the embedded realm. It consists of two resistors in series with an output connection in between.<\/p>\n\n\n\n<p>It outputs a fraction of the input voltage and the precise amount depends on the resistivity of both resistors.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-1024x386.jpg\" alt=\"Voltage Divider Circuit\" class=\"wp-image-2405\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-1024x386.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-300x113.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-768x290.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-1536x579.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-2048x772.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/Voltage-Divider-Circuit-18x7.jpg 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Voltage Divider Circuit<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Wiring<\/h2>\n\n\n\n<p>Connect your MCP3008 to your Raspberry Pi Pico according to this graphic.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"606\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-1024x606.jpg\" alt=\"VR Glove Wiring\" class=\"wp-image-2411\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-1024x606.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-300x177.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-768x454.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-1536x908.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-2048x1211.jpg 2048w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Wiring-18x12.jpg 18w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">VR Glove Wiring<\/figcaption><\/figure>\n<\/div>\n\n\n<p>We have a step by step explanation in <a href=\"https:\/\/youtu.be\/OzCTjx5Lf9w?t=82\">our video<\/a>.<\/p>\n\n\n\n<p>Connect the flex sensors like the one in the graphic. The eight pins on the left side of the MCP3008 are the channels 0 to 7 (top to bottom). Connect the data wire of the flex sensor for the thumb to channel 0, the index finger to channel 1, the middle finger to channel 2, the ring finger to channel 3 and the pinkie to channel 4.<\/p>\n\n\n\n<p>If you want to change the order or add additional sensors you need to change the software on the Pico.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set up the VR Glove software<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Set up the Pico<\/h3>\n\n\n\n<p>In this set up the MCP3008 converts the analog singal from the flex sensor to a digital one. The Pico then reads the data and sends it to a Windows PC via USB Serial.<\/p>\n\n\n\n<p>For the Pico we will use Circuit Python as it provides a MCP3008 module that really facilitates things for us. To install Circuit Python on your Pico, download the <strong>.uf2<\/strong> file from the <a href=\"https:\/\/circuitpython.org\/board\/raspberry_pi_pico\/\">Official Pico Circuit Python site<\/a>.<\/p>\n\n\n\n<p>Connect your Pico via USB while holding the <strong>BOOTSEL<\/strong> button. Then drag and drop the <strong>.uf2<\/strong> file onto the Pico. The Pico will remount as <strong>CIRCUITPY<\/strong>.<\/p>\n\n\n\n<p>Donwload and extract the <strong>mcp3xxx<\/strong> Circuit Python Library that contains <strong>-mpy-<\/strong> from <a href=\"https:\/\/github.com\/adafruit\/adafruit_CircuitPython_MCP3xxx\/releases\/tag\/1.4.7\">this site<\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"261\" src=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-1024x261.jpg\" alt=\"Download MCP3XXX for Circuit Python\" class=\"wp-image-2435\" style=\"width:475px\" srcset=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-1024x261.jpg 1024w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-300x77.jpg 300w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-768x196.jpg 768w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-1536x392.jpg 1536w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download-18x5.jpg 18w, https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/MCP3XXX-CircuitPython-Download.jpg 1720w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Download MCP3XXX for Circuit Python<\/figcaption><\/figure>\n<\/div>\n\n\n<p>It contains a lib folder, that you need to copy onto the Pico (which is now the CIRCUITPY drive).<\/p>\n\n\n\n<p>Then download the code.py script from our <a href=\"https:\/\/github.com\/pi3g\/VR-Glove\">GitHub repository<\/a> and copy it onto the Pico.<\/p>\n\n\n\n<p>Now whenever you power up your Pico (<strong>without<\/strong> holding the BOOTSEL button) it will read the first five channels from the MCP3008 and send the data to the USB Serial.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set up Blender<\/h3>\n\n\n\n<p>The next step is to install Blender for your OS. This example was tested for Windows, but it should work on other operating systems too, with a few minor modifications.<\/p>\n\n\n\n<p>We need the PySerial Python module to read the Serial Data from the Pico in our Python script. Blender comes with it&#8217;s own Python version. Make sure to install PySerial there.<\/p>\n\n\n\n<p>Check out <a href=\"https:\/\/youtu.be\/OzCTjx5Lf9w\">our video<\/a> to learn how to install PySerial in Blender on Windows.<\/p>\n\n\n\n<p>Now download the <strong>hand.blend<\/strong> file from our GitHub and open it in Blender.<\/p>\n\n\n\n<p>You Should see a 3D hand on the left and a Python Script on the right. In line 73 a &#8220;Serial&#8221; object is created. You need to pass the name of your USB Serial Port to the contructor (which in my case was &#8220;COM4&#8221;).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>Want to see other projects that you can make with a Raspberry Pi Pico?<\/p>\n\n\n\n<p>Check out our Paragon Projects series by clicking on this button:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/picockpit.com\/raspberry-pi\/category\/paragon-projects\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Paragon Projects<\/strong><\/a><\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p>What will you do with your new Virtual Reality Glove?<\/p>\n<div class=\"shariff shariff-align-center shariff-widget-align-left shariff-buttonstretch\"><ul class=\"shariff-buttons theme-white orientation-horizontal buttonsize-medium\"><li class=\"shariff-button twitter shariff-nocustomcolor\" style=\"background-color:#595959\"><a href=\"https:\/\/twitter.com\/share?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fbuild-a-vr-glove%2F&text=Build%20a%20Virtual%20Reality%20Glove\" title=\"Share on X\" aria-label=\"Share on X\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#000; color:#000\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#000\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\"><path fill=\"#000\" d=\"M14.258 10.152L23.176 0h-2.113l-7.747 8.813L7.133 0H0l9.352 13.328L0 23.973h2.113l8.176-9.309 6.531 9.309h7.133zm-2.895 3.293l-.949-1.328L2.875 1.56h3.246l6.086 8.523.945 1.328 7.91 11.078h-3.246zm0 0\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#000\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fbuild-a-vr-glove%2F\" title=\"Share on Facebook\" aria-label=\"Share on Facebook\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#3b5998\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#3b5998\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#3b5998\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button telegram shariff-nocustomcolor\" style=\"background-color:#4084A6\"><a href=\"https:\/\/telegram.me\/share\/url?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fbuild-a-vr-glove%2F&text=Build%20a%20Virtual%20Reality%20Glove\" title=\"Share on Telegram\" aria-label=\"Share on Telegram\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0088cc; color:#0088cc\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#0088cc\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 32 32\"><path fill=\"#0088cc\" d=\"M30.8 6.5l-4.5 21.4c-.3 1.5-1.2 1.9-2.5 1.2L16.9 24l-3.3 3.2c-.4.4-.7.7-1.4.7l.5-7L25.5 9.2c.6-.5-.1-.8-.9-.3l-15.8 10L2 16.7c-1.5-.5-1.5-1.5.3-2.2L28.9 4.3c1.3-.5 2.3.3 1.9 2.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#0088cc\">share<\/span>&nbsp;<\/a><\/li><li class=\"shariff-button reddit shariff-nocustomcolor\" style=\"background-color:#ff5700\"><a href=\"https:\/\/www.reddit.com\/submit?url=https%3A%2F%2Fpicockpit.com%2Fraspberry-pi%2Fbuild-a-vr-glove%2F\" title=\"Share on Reddit\" aria-label=\"Share on Reddit\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#ff4500; color:#ff4500\" target=\"_blank\"><span class=\"shariff-icon\" style=\"fill:#ff4500\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\"><path fill=\"#ff4500\" d=\"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z\"\/><\/svg><\/span><span class=\"shariff-text\" style=\"color:#ff4500\">share<\/span>&nbsp;<\/a><\/li><\/ul><\/div>","protected":false},"excerpt":{"rendered":"<p>If you want to learn more about VR than this is the coolest project that you will find. In this article, we will show you how to build a programmable Virtual Reality Glove. The glove is based on a Raspberry Pi Pico, a MCP3008 ADC and five flex sensors that you can even build yourself!&hellip;<\/p>\n","protected":false},"author":3,"featured_media":2438,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,220],"tags":[594,593,591,11,221,592,486,447,187,588,589,590],"class_list":["post-2396","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi-pico","category-raspberry-pi-projects","tag-blender","tag-flex-sensors","tag-mcp3008-adc","tag-pico","tag-pico-w","tag-programmable","tag-project","tag-projects","tag-raspberry-pi","tag-virtual-reality","tag-virtual-reality-glove","tag-vr"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Build a Virtual Reality Glove | PiCockpit<\/title>\n<meta name=\"description\" content=\"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Build a Virtual Reality Glove | PiCockpit\" \/>\n<meta property=\"og:description\" content=\"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/\" \/>\n<meta property=\"og:site_name\" content=\"PiCockpit\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pi3gshop\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-08T14:35:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-11-25T11:44:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nathan Busler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pi3g\" \/>\n<meta name=\"twitter:site\" content=\"@pi3g\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nathan Busler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/\"},\"author\":{\"name\":\"Nathan Busler\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\"},\"headline\":\"Build a Virtual Reality Glove\",\"datePublished\":\"2022-06-08T14:35:15+00:00\",\"dateModified\":\"2023-11-25T11:44:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/\"},\"wordCount\":820,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/VR-Glove-Thumbnail.jpg\",\"keywords\":[\"blender\",\"flex sensors\",\"MCP3008 ADC\",\"Pico\",\"Pico W\",\"programmable\",\"project\",\"Projects\",\"Raspberry Pi\",\"virtual reality\",\"virtual reality glove\",\"VR\"],\"articleSection\":[\"Raspberry Pi Pico\",\"Raspberry Pi projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/\",\"name\":\"Build a Virtual Reality Glove | PiCockpit\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/VR-Glove-Thumbnail.jpg\",\"datePublished\":\"2022-06-08T14:35:15+00:00\",\"dateModified\":\"2023-11-25T11:44:20+00:00\",\"description\":\"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#primaryimage\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/VR-Glove-Thumbnail.jpg\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/VR-Glove-Thumbnail.jpg\",\"width\":1920,\"height\":1080,\"caption\":\"VR Glove\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/build-a-vr-glove\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Raspberry Pi projects\",\"item\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/category\\\/raspberry-pi-projects\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Build a Virtual Reality Glove\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#website\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"name\":\"PiCockpit\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#organization\",\"name\":\"PiCockpit.com\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"contentUrl\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/Screenshot-from-2023-07-24-15-01-24.png\",\"width\":1165,\"height\":283,\"caption\":\"PiCockpit.com\"},\"image\":{\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pi3gshop\",\"https:\\\/\\\/x.com\\\/pi3g\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/#\\\/schema\\\/person\\\/e38fef75134e5e54175b2615a8c3eb47\",\"name\":\"Nathan Busler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g\",\"caption\":\"Nathan Busler\"},\"sameAs\":[\"https:\\\/\\\/buyzero.de\"],\"url\":\"https:\\\/\\\/picockpit.com\\\/raspberry-pi\\\/author\\\/nathan\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Build a Virtual Reality Glove | PiCockpit","description":"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/","og_locale":"en_US","og_type":"article","og_title":"Build a Virtual Reality Glove | PiCockpit","og_description":"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.","og_url":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/","og_site_name":"PiCockpit","article_publisher":"https:\/\/www.facebook.com\/pi3gshop","article_published_time":"2022-06-08T14:35:15+00:00","article_modified_time":"2023-11-25T11:44:20+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg","type":"image\/jpeg"}],"author":"Nathan Busler","twitter_card":"summary_large_image","twitter_creator":"@pi3g","twitter_site":"@pi3g","twitter_misc":{"Written by":"Nathan Busler","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#article","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/"},"author":{"name":"Nathan Busler","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47"},"headline":"Build a Virtual Reality Glove","datePublished":"2022-06-08T14:35:15+00:00","dateModified":"2023-11-25T11:44:20+00:00","mainEntityOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/"},"wordCount":820,"commentCount":0,"publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg","keywords":["blender","flex sensors","MCP3008 ADC","Pico","Pico W","programmable","project","Projects","Raspberry Pi","virtual reality","virtual reality glove","VR"],"articleSection":["Raspberry Pi Pico","Raspberry Pi projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/","url":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/","name":"Build a Virtual Reality Glove | PiCockpit","isPartOf":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#website"},"primaryImageOfPage":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#primaryimage"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#primaryimage"},"thumbnailUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg","datePublished":"2022-06-08T14:35:15+00:00","dateModified":"2023-11-25T11:44:20+00:00","description":"If you want to learn more about VR than this is the coolest project that you will find. We will show you how to build a Virtual Reality Glove.","breadcrumb":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#primaryimage","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2022\/06\/VR-Glove-Thumbnail.jpg","width":1920,"height":1080,"caption":"VR Glove"},{"@type":"BreadcrumbList","@id":"https:\/\/picockpit.com\/raspberry-pi\/build-a-vr-glove\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/picockpit.com\/raspberry-pi\/"},{"@type":"ListItem","position":2,"name":"Raspberry Pi projects","item":"https:\/\/picockpit.com\/raspberry-pi\/category\/raspberry-pi-projects\/"},{"@type":"ListItem","position":3,"name":"Build a Virtual Reality Glove"}]},{"@type":"WebSite","@id":"https:\/\/picockpit.com\/raspberry-pi\/#website","url":"https:\/\/picockpit.com\/raspberry-pi\/","name":"PiCockpit","description":"","publisher":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/picockpit.com\/raspberry-pi\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/picockpit.com\/raspberry-pi\/#organization","name":"PiCockpit.com","url":"https:\/\/picockpit.com\/raspberry-pi\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/","url":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","contentUrl":"https:\/\/picockpit.com\/raspberry-pi\/wp-content\/uploads\/2023\/07\/Screenshot-from-2023-07-24-15-01-24.png","width":1165,"height":283,"caption":"PiCockpit.com"},"image":{"@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pi3gshop","https:\/\/x.com\/pi3g"]},{"@type":"Person","@id":"https:\/\/picockpit.com\/raspberry-pi\/#\/schema\/person\/e38fef75134e5e54175b2615a8c3eb47","name":"Nathan Busler","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/93fef66631dac0f47ce2c90f774cd4e4fe44028ea5266602e20fbf246f7d14f9?s=96&d=blank&r=g","caption":"Nathan Busler"},"sameAs":["https:\/\/buyzero.de"],"url":"https:\/\/picockpit.com\/raspberry-pi\/author\/nathan\/"}]}},"_links":{"self":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/posts\/2396","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/comments?post=2396"}],"version-history":[{"count":18,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/posts\/2396\/revisions"}],"predecessor-version":[{"id":6196,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/posts\/2396\/revisions\/6196"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/media\/2438"}],"wp:attachment":[{"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/media?parent=2396"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/categories?post=2396"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/picockpit.com\/raspberry-pi\/wp-json\/wp\/v2\/tags?post=2396"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}