theycallmeswift / BreakfastSerial

A Firmata based framework for interacting with Arduinos over serial.
MIT License
116 stars 30 forks source link

Document support for Bluetooth Serial interface #5

Open theycallmeswift opened 11 years ago

theycallmeswift commented 11 years ago

Worked with @kymwatts to figure out bluetooth serial communication yesterday. Need to document how to get it all working so others can use it.

theycallmeswift commented 11 years ago

This depends on tino/pyFirmata#17 going in. Will also need to bump the dependency version

kymwatts commented 11 years ago

Some one posted a really good walk though for updating the firmware with an arduino: http://www.instructables.com/id/Modify-The-HC-05-Bluetooth-Module-Defaults-Using-A/

Am in the process of getting the bluetooth serial working between a rpi/linux and an arduino. Am documenting as i go. I forked your repo, so that i can add instructions for using your patched version of pyfirmata.

kymwatts commented 11 years ago

So i got this working on my raspberrypi. I had to comment out your check for the firmware version in my local copy, because even thou your patch makes it return a None, that still breaks it for bluetooth serial.

I have added some instructions on how to setup the devices and how to find the port: https://github.com/kymwatts/BreakfastSerial/blob/master/README.md

Seeing if i can roll the bluez-test-serial.py into the same script as arduino calls, that way you can hold the connection open for longer than 100sec.