Show Posts
|
|
Pages: [1] 2
|
|
3
|
Forum 2005-2010 (read only) / Interfacing / Re: Sending and Receiving data from Bluetooth Adap
|
on: July 19, 2007, 07:44:45 pm
|
|
Daniel,
In my comments I told everybody that there is a example in Pynton that is not what I want... I need write a program that can run in different machines... Pynton is not a commercial programming language. It just works in S60 mobiles phone.
Yes, I google my questions/requests all the time. It was the first example I saw. And I also encourage people to use the Google all the time.
What I want is "a small source code in Java, C++ or C for PC that send or receive data via Blueetoth adapter to/from Arduino BT". Pynton is not a option to me.
I will be vey thankfull if someone could help me.
Thanks.
|
|
|
|
|
4
|
Forum 2005-2010 (read only) / Interfacing / Re: Sending and Receiving data from Bluetooth Adap
|
on: July 19, 2007, 05:28:58 pm
|
Just to explain better what I need... I want use my mobile phone (nokia, motorola, ericsson, sony ericsson, etc.) to send some data to Arduino using bluetooth. I mean, I want create a small application and send string commands like "left", "right", "forward", "backward", receive it in Arduino BT and control a device using digital pins. Is is just like a exemple using Phyton ( http://www.arduino.cc/playground/Interfacing/Python) but I need send data to Arduino from a Mobile, a computer, a Palm, etc. using a comercial programming language. The sketch code inside Arduino looks simple. I have to configure the serial port and read the data received from this serial port. If it's a "left" command, I'll use pin (analogic or digital) to control one servo (eletronic engine - motor). If it's a "right" command, I'll use another pin... and so on... My question is: How to create a software to use the bluetooth from my mobile or my computer to open a socket or a serial port (I don't know how this two options works over bluetooth) to send this data via bluetooth, and this data will be read by Arduino BT? I've been reading some bluetooth manuals, and there are a lot of stacks to identify devices, identify services, send files over bluetooth. I don't need this, I just need send "HELLO" from any computer to Arduino using Bluetooth devices. Can anyone you help me? Thanks.  Daniel Abib
|
|
|
|
|
6
|
Forum 2005-2010 (read only) / Interfacing / Sending and Receiving data from Bluetooth Adapter
|
on: July 19, 2007, 04:52:09 pm
|
Hello Guys. I need some help to understand better how do I create a program in my PC or any other device with bluetooth adapter to comunicate with Arduino BT. It was in a wrong session, and I belive that Software >> Interfaceing is more accurance. As I could understand, Arduino BT uses a simple serial communication with external devices via Bluetooth (computer, phone, palms, etc.). I just have to programming the serial port (bluetooth) for configuration, read the serial port, and as soon as any data is avalilable, I have just to get it and it's ok. If I need send data out, I just have to send it via serial communication. My question is: In my computer (or mobile phone), bluetooth adapter is not a serial device. I have to create a Java or C++ program to read/write the bluetooth adapter port. How it works? Do I have to implement all bluetooth stack (device inquiry, service inquiry, etc.)? Can you share with me a small source code in Java, C++ or C for PC that send or receive data via Blueetoth adapter to/from Arduino BT? I mean, a source code that will be compiled in a computer to send and receive data from/to Arduino? Thanks for any help...  Regards Daniel Abib
|
|
|
|
|
7
|
Forum 2005-2010 (read only) / Development / Re: Simple BlueTooth Data Exchange
|
on: July 19, 2007, 03:47:11 pm
|
|
Hello Everybody.
I am quite crazy about bluetooth comminication between Arduino BT and a computer or any bluetooth device (mobile phone, palm, machine, etc.), and I'll be very thankfull if someone could help me.
Now I can understand how Arduino BT works. It's just a simple serial communication with external devices (computer, phone, palms, etc.). I just have to programming the serial port for configuration, read the serial port, and as soon as any data is avalilable, I have just to get it and it's ok. If I need send data out, I just have to send it via serial communication.
My question is: In my computer (or mobile phone), it's not a serial communication, it's a java or C++ program running and reading/writing the bluetooth adapter port.
How it works? Do I have to implement all bluetooth stack (device inquiry, service inquiry, etc.)? Can you share with me a small source code in Java, C++ or C that send or receive data from Arduino BT? I mean, a source code that will be compiled in a computer to send and receive data from/to Arduino?
Thanks a lot for any help.
Daniel Abib
|
|
|
|
|
8
|
Forum 2005-2010 (read only) / Development / Re: Simple BlueTooth Data Exchange
|
on: July 17, 2007, 08:23:01 am
|
Hello Daniel. The GPS exemple uses a Arduino NG and serial communication with GSP module. I was thinking about use Arduino BT and read information from external elements. My inicial question was: Do we have to implement services (device discovery, service discovery, profiles, security, etc) or just use BT as serial interface? Another question: Is the communication secured? I've bought my Arduino BT and it will arrive in few days... I'll try learn more praticing than in books  Thanks for your (all of you) help. Daniel Abib 
|
|
|
|
|
9
|
Forum 2005-2010 (read only) / Development / Re: Simple BlueTooth Data Exchange
|
on: July 16, 2007, 10:02:11 pm
|
|
Hello Daniel
It's looks simple... But I need some code recognition in Arduino to identify if something that the computer sent is exactly what I am expecting.
I mean, in Arduino I will receive one string and I want check if this string is "Daniel" (my name too). If it is, I'll blink the green LED... If it's not, I will return and read the next value value.
Can you tell me if it's possible?
Thanks for your help and attention.
Daniel Abib
|
|
|
|
|
10
|
Forum 2005-2010 (read only) / Development / Simple BlueTooth Data Exchange
|
on: July 16, 2007, 03:58:36 pm
|
Hello Guys... I have some draughts related with Arduino BT, but the most important questions is: Bluetooth protocol has some communication layers (device discovery, service discovery, profiles, security, etc). How it is implemented on Arduino? I don't believe all modules are present on this small device, isn't it? I just need send some simple information from my computer like "My Name" or "My ID" to Arduino and if I pass the correct name or ID, I want turn on a LED. Is it difficult? Do I have to implement all Bluetooth service specification in Arduino BT? I appreciate all your help. Thanks.  Daniel
|
|
|
|
|
12
|
Forum 2005-2010 (read only) / Portugues / Proramação de Sketches sem Hardware Reset
|
on: August 18, 2007, 08:59:02 am
|
|
Meus Amigos.
Entendi que foi criado um novo hardware ( Diecimila ) que tem algumas características de economia de bateria entre outras features.
Minha questão é: a funcionalidade de programar os sketches não está ligado a este novo hardware, e sim ao Arduino 009, não é?
Isso é, posso utilizar o 009 para enviar meus programas para meu arduino NG ou arduino BT sem precisar de um hardware reset?
Obrigado.
|
|
|
|
|
14
|
Forum 2005-2010 (read only) / News / Re: Open source Project / Hardware
|
on: July 13, 2007, 10:07:16 am
|
Hey, Thanks for your help. As I told before, it's clear how it works with software, but not with hardware. But after some research in Arduino hardware, and also in others studyboards, I realize that I don't need use the same structure (project) used by Arduino because it's more complex then my requirements. Anyway, thanks for your help.  Regards, Daniel.
|
|
|
|
|
15
|
Forum 2005-2010 (read only) / News / Open source Project / Hardware
|
on: July 10, 2007, 04:27:46 pm
|
Hello, My Friends. It's my first time discussing about a open source project/hardware and I'd like understand how it works, it means, if I create a tool, machine, device using Arduino, what do I have to do related with commercial or legal aspects? I've been working with open source software and tools, but never with a hardware component. My e-mail address is daniel.abib@itelefonica.com.br Thanks for any help. 
|
|
|
|
|