Pages: [1]   Go Down
Author Topic: arduino bluetooth and ubuntu linux  (Read 896 times)
0 Members and 1 Guest are viewing this topic.
Oslo
Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hi,

i got my arduino bt boards today and
i tried to hook it up under ubuntu with little success so far
maybe somebody has an idea how to proceed:

first i did:

erich@pupu:~$ hcitool scan
Scanning ...
        00:15:A0:80:FE:1E       Nokia N70
        00:07:80:82:1F:35       ARDUINOBT
        00:12:62:DB:EA:E7       Erich

to find the bt id (ARDUINOBT)
then i edited:

erich@pupu:~$ sudo vi /etc/bluetooth/rfcomm.conf
#
# RFCOMM configuration file.
#

# example:
#
 rfcomm0 {
 bind yes;
# Bluetooth address of the device
 device 00:07:80:82:1F:35;
# RFCOMM channel for the connection
 channel        1;
# Description of the connection
 comment "ARDUINOBT";
         }

and after:

erich@pupu:~$ sudo /etc/init.d/bluez-utils restart

now i have a linux bt serial device rfcomm0 which shows with

erich@pupu:~$ rfcomm
rfcomm0: 00:07:80:82:1F:35 channel 1 clean

i edited then the preferences text in ~/.arduino/preferences.txt
and changed the following:
 
serial.port=/dev/rfcomm0
and
serial.download_rate=115200

if i now start the ide, compile a program and upload it, i get a:
/dev/rfcomm0 permission denied.
in the ide message window and command line.

the output of rfcomm changes to:

erich@pupu:~$ rfcomm
rfcomm0: 00:07:80:82:1F:35 channel 1 closed

but i m in group dialout and the rights are the same like for example for /dev/ttyUSB0 which
works without problems on the usb arduino board. also chip is set to atm168 and serialmonitor to 115200.

maybe somebody has an idea

thx a lot

erich

ps: the bord works fine under windows !
« Last Edit: January 31, 2007, 08:21:52 am by erich » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 183
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I thought I read somewhere that you couldn't program the board with the BT connection. Are you saying that you can program it with BT under windows?
Logged

Oslo
Offline Offline
Newbie
*
Karma: 0
Posts: 37
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

i had the impression i did so

:-)

to quote form the arduino hardware page:
"Bluetooth - This is the latest version that eliminates the need for cables going to the microcontroller board. It can be programmed and communicate up to 10 metres away from a computer. It can also be used from a mobile phone."

best

erich
« Last Edit: January 31, 2007, 01:48:42 pm by erich » Logged

Forum Administrator
Offline Offline
Newbie
*****
Karma: 3
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello bigengineer

can you tell me where you read that?smiley
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 183
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
can you tell me where you read that?


No, I can't. I looked around but couldn't find it. I think it was somewhere here in the forum. Maybe someone who was trying to program with a bluesmirf module? But I couldn't find anything usefull with "bluesmirf" either.


I also that the hardware page changed while I wasn't looking. Maybe I should check 3 times a day.
Logged

Daniel
Guest
 Bigger Bigger  Smaller Smaller  Reset Reset

it's the description posted on the hardware page

http://www.arduino.cc/en/Main/Hardware
Logged

Pages: [1]   Go Up
Jump to: