Skip to content

A Python interface for communicating with a Lego Mindstorms EV3 over RFCOMM.

License

Notifications You must be signed in to change notification settings

pavel-demin/ev3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ev3

A Python interface for communicating with a Lego Mindstorms EV3 over RFCOMM.

Verify that your sdp includes an SP:

-> % sdptool browse local
...
Service Name: Serial Port
Service Description: COM Port
...

If you don't see an SP entry add one:

-> % sdptool add SP

Then:

-> % hcitool scan
...
XX:XX:XX:XX:XX:XX   EV3
...

-> % sudo rfcomm bind /dev/rfcomm0 XX:XX:XX:XX:XX:XX

Now /dev/rfcomm0 can be opened and closed like a normal serial port. The opposite action is:

-> % sudo rfcomm release /dev/rfcomm0

Alternatively pair with PC using GUI bluetooth interface. Then start a connection to EV3 using: ... -> sudo rfcomm connect 0 XX:XX:XX:XX:XX:XX 1 ...

About

A Python interface for communicating with a Lego Mindstorms EV3 over RFCOMM.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%