Skip to main content

How to fix Lego Mindstorms EV3 Bluetooth connection

The EV3 Bluetooth connection feature is very useful, but can also be frustrating when it fails. Here are instructions to fix a failed Bluetooth connection. This was written for Windows 7 where it seems to fail more regularly.
  1. Turn off the EV3 bot. (Wait several seconds for it to turn off completely.)
  2. Run the EV3 software on the PC (if not already running) and press the Bluetooth Scan feature. The scan should now find no bots listed as being connected.  If it still shows the EV3 bot, press Scan again repeatedly until no bots are shown.
  3. Close the EV3 software on the PC.
  4. Go to the Windows Devices and Printers screen, find the EV3 bot device, right click, and remove the device.
  5. Restart the PC. The shutdown process may complain that a process is hung that can't be stopped.  This is the misbehaving Bluetooth driver.
  6. Now turn on the EV3 bot.
  7. After the PC restarts, go to the Windows Devices and Printers screen, and click Add device.
  8. The EV3 should show up as a found device that can be added.  Go ahead and Add it.
  9. A message now appears on the EV3 bot that asks if you want to trust the PC and accept 1234 as the password.  Yes is the answer to both.
  10. The PC will now pop up a message asking for the password. Enter 1234 and press Enter.
  11. Now in the Task Tray area of the PC, there will be an icon showing "installing driver".  This may take a good 2 or 3 minutes to finish.  Don't open the EV3 PC software until the driver reports it has finished installing.
  12. Now open the EV3 software and Scan for Bluetooth connections.  The EV3 bot will show up, and you should be able to connect to it and program it.

Comments

  1. This was very helpful to meh. Thanks youziz!

    ReplyDelete

Post a Comment

Popular posts from this blog

How to create a small Visual Studio 2017 Native C++/MFC Application

Sometimes it is useful to create a native Windows application that has no DLL dependencies. An example would be creating a simple tool application that you wish to share with others. If you need to ensure that end users have a large DLL installed to support the run time environment, this is can be counterproductive to making it easy. The solution is to use a native Windows application and statically link all required libraries into the single executable file. The user can run the application without installing anything, just by having the single executable. Back in the days of Microsoft Visual Studio 6, you could by default make small Dialog-based executables that would compile into an EXE of only a few hundred kB in size. Somewhere along the road from 1998 to Microsoft's 2017 version of Visual Studio, the default size got a lot larger.  Today, if you accept all default options, your Dialog-based GUI application will begin weighing in at a hefty 3.3MB. Can't we do better t...

Code Snippets for Visual Studio

Visual Studio has a great feature to speed entry of frequently typed lines of code called Code Snippets. It works by typing a few chars and pressing tab (C++) or tab-tab (C#). For C# my favorites are 'cw' for adding 'Console.WriteLine' and 'mbox' for adding 'MessageBox.Show'. Visual C++ lacks a similar snippet for adding AfxMessageBox--until now. To add this as a new snippet, save the XML below as a file with extension *.snippet and open the Visual Studio Snippet manager. (Searching "Code Snippets Manager" from the search box is an easy way to find it.)  Then import the snippet under Visual C++/My Code Snippets. Enjoy the increased productivity! <?xml version="1.0" encoding="utf-8"?> <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> <CodeSnippet Format="1.0.0">   <Header>     <Title>AfxMessageBox</Title>     <Author>nzmCode...