Skip to content

Latest commit

 

History

History
129 lines (86 loc) · 4.52 KB

hardware.md

File metadata and controls

129 lines (86 loc) · 4.52 KB

Hardware - EV3 Brick

Update

  • giving up on bluetooth - wasted too much time reconnecting the ev3 brick, even with new batteries. Likely because we are using an older laptop (HP Elitebook 8460p). Purchased a WIFI dongle (Edimax N150 - WiFi Nano USB Adapter) - works like a charm. Will monitor battery usage - read some posts stating that it uses way more battery than Bluetooth...

Bluetooth - Win10 -> Ev3

2 steps to set up Bluetooth for EV3

A. One time setup - Bluetooteh Pairing - Windows 10 pairs with EV3 brick

Setup to pair ev3dev with Windows 10 using bluetooth.

on EV3:

Wireless and Networks
  > Bluetooth
     > Powered X
     > Visible  X
     > Devices kmaclean-laptop

on Windows:

Settings
  > Bluetooth & Other Devices
    > Bluetooth On

B. Network Connection - each time you want to use your device in Visual Studio

EV3 still does not show up Visual Studio Code (VSCode), need to 'Connect' EV3 with computer each time you restart VSCode.

On EV3:

Wireless and Networks 
  > All Network Connections 
    > {PC-Name} 
       > Connect on the brick.

(Going to Bluetooth device and connecting does not work... need to go to All Network Connections to reconnect)

In VSCode

EV3DEV Device Browser
  > reconnect

EV3 should now show up in VSCode.

see: ev3dev/vscode-ev3dev-browser#85

Troubleshooting

Software solutions

1. Ev3dev Linux commands

  • Ev3dev troubleshooting commands
    • $ ev3dev-sysinfo
    • $ sudo systemctl --no-pager status ev3-bluetooth
    • $ connmanctl

(see here: ev3dev/ev3dev#1314)

  • $ sudo systemctl restart bluetooth
  • try experimenting with the sleep time to see if making it longer makes a difference.
    • $ sudo nano /lib/systemd/system/ev3-bluetooth.service
    • And change the line:
      • ExecStartPre=/bin/sleep 10

3. Use USB for initial setup then use Bluetooth

3. Shutdown, then remove batteries, and put them back in (if batteries have over 7volts left)

Hardware solutions

1. Disconnect Motors and sensors, then restarting

2. replace batteries

3. Remove Bluetooth pairing on Windows and Ev3dev

  • remove pairing

    • Windows > System Settings > Bluetooth & other devices

      • delete pairing
      • turn off Bluetooth
    • EV3 > Wireless Networks > Bluetooth > delete laptop device

  • Restart Windows and Ev3dev

  • re-pair EV3 to laptop

    • Windows > System Settings > Bluetooth & other devices
      • Bluetooth On
    • EV3 > Wireless Networks > Bluetooth
      • Visible - on
      • scan start
    • Windows > System Settings > Bluetooth & other devices
      • Add a Device
        • ev3dev - select
        • connecting
        • Press Connct if the PIB on the ev3dec matches this one
    • EV3 > Wireless Networks > Bluetooth
      • Accept PIN
    • Windows > System Settings > Bluetooth & other devices
      • Connect
        • Setting up device
        • Device is ready
        • Done
  • Bluetooth connect

    • EV3 > Wireless Networks > Bluetooth
      • laptop (whatever name of you Win device is)
    • Windows > Visual Studio > EV3Dev Device Browser > connect
      • select ev3dev Bluetooth Netowrk connection2

4. Re-image sd card

  • sometimes fixes things

EV3's successor

LEGO reveals new Mindstorms 51515 Robot Inventor

the Robot Inventor, LEGO has now fully transitioned to what he called the LPF 2.0 (LEGO Power Functions 2.0) system which features the same interface across Powered Up components, Control+ app, Boost, SPIKE Prime and now Mindstorms. He said that the new LPF 2.0 hardware is not backwards compatible with the EV3, though the Powered Up app now supports some control of past Power Functions components.

Robot Inventor coding app uses a visual drag-and-drop coding language based on Scratch and supports Python for more advanced coders.