element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs Using VNC on a RIOTBoard
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: charlotte_godley
  • Date Created: 29 Oct 2014 1:34 PM Date Created
  • Views 827 views
  • Likes 0 likes
  • Comments 2 comments
  • android
  • riot_board
  • riotboard
  • leds
  • charlotte_godley
  • gmail
  • freescale_riot
Related
Recommended

Using VNC on a RIOTBoard

charlotte_godley
charlotte_godley
29 Oct 2014

As a Raspberry Pi hacker, one of the first things I looked at for my RIOTBoard was VNC, or Virtual Network Computing. Basically, the principle of VNC is to let you use one set of peripherals for multiple computers/microcomputers, with the extra computers being displayed as windows on the main system. This way you can control a device using your mouse/keyboard, and then flick back to your main computer to do debugging on an app, for example. Similar to SSH, where you have access to a device's commandline interface, but with the graphics displayed and updated as well, so you're seeing the same display as you would see if you plugged in a monitor.

 

I'll note at this point that though this works like a dream on the Pi, on the RIOTBoard, the lag became unbareable so I gave up with VNC, but if you'd like to try it anyway, here's the tutorial:

You'll need:

- A rooted riotboard

- Laptop of some variety

- internet connection on your laptop

- a screen/mouse

 

Step 1: Download a VNC server APK to your PC - I used Droid VNC server. Next, open up a terminal: if you're using Windows, it may be a better idea to open up Eclipse or Android studio project and flick to the "console" tab at the bottom of your window. In here type "adb install <APKLocation>" with your device plugged in via USB.

 

Step 2: Now plug your RIOTBoard into your peripherals and open up the app, which should now be in your applications. Inside settings, there should be an option to make this run on boot - on droid vnc server click the 3 dots on the bottom right, and then click settings > run on boot:

image

 

Step 3: Install a VNC viewer on your laptop: on Ubuntu there's one preinstalled called "Remote Desktop Viewer". Here's a windows option, if you search for "VNC viewer" you should find plenty.

 

Step 4: Plug your RIOTboard in to your computer via USB. Open up the app and make sure it's running, and then open your terminal window on your computer. Type in:

adb forward tcp:5801 tcp:5901

 

Step 5: Open up your vnc viewer and find your board: should be localhost:5901 or localhost:5801. You should now see on your computer the same as is on your screen!

  • Sign in to reply
  • charlotte_godley
    charlotte_godley over 11 years ago in reply to DAB

    Hi DAB,

     

    Thanks for the feedback: I'll flesh it out a bit more!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 11 years ago

    Hi Charlotte,

     

    It would help those of us who are not Linux or RPi guru's if you would spell out VNC and add a little description as to why you want it available or the RioT board.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube