Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Networking, Protocols, and Devices / Re: Using Xbee to implement a wireless network on: May 20, 2011, 02:21:25 am
Hi Markbee

Thank you for answering.
I will try as soon as I will get my Xbees.
I suspect I should keep free some I/Os pins supporting multiple roles like:
AD3 / DIO3 / (COORD_SEL)
AD5 / DIO5 / (ASSOCIATE)
DI8 / (DTR) / (Sleep_RQ)
I don't think I will have to control data flow through RTS/CTS, so if the solution works it should allow me to add 7 I/O to the Arduino.

Raoul.
2  Using Arduino / Networking, Protocols, and Devices / Re: Using Xbee to implement a wireless network on: May 20, 2011, 01:06:48 am
Hi.

I purchased Faludi-book, and started to read it waiting for the shipping of my XBees... And yes it is very useful and written in a very accessible way for beginners. I think it is a good investment.

Regarding my project I discovered I am short in terms of I/O (for the nodes connected to a Duemilnaove) and  I was wondering if it is possible to use the digital inputs available in the Xbee series2 to collect data and to “send” it to itself, and then to read and process the data on the local Arduino as if it was send by another node in the network?

Do you think it will work? What can be the limitations of such approach?

Thank you.
Raoul.

3  Using Arduino / Networking, Protocols, and Devices / Re: Using Xbee to implement a wireless network on: May 17, 2011, 08:57:14 am
Hi
Thank you for your comments.
I ordered 3 XBee Series 2 with wired antennas.
As soon as I will receive them I will start prototyping.
Raoul.
4  Using Arduino / Networking, Protocols, and Devices / Re: Using Xbee to implement a wireless network on: May 16, 2011, 11:12:58 am
Hi

Latency is a real concern and having a car crash because data was not received is a little bit scary (digital cars are quite expensive).
I don't know if it can help or not but my intention was to have the Race Manager pooling for data to avoid collision and simultaneous talks...
Do you think it can work like this?

My second concern is about the comment above from markbee about series 2. I am wondering why to choose series 2 if I am implementing a point multipoint network? I understood from different post that Xbee Series 1 allow such architecture. But maybe there is another reason...

I will appreciate any return of experience, in particular regarding  xBee performance.

Thank you for supporting.

Raoul.
5  Using Arduino / Project Guidance / Re: Wireless communication between Arduino's - What do you recommend on: May 16, 2011, 05:12:51 am
Hi

I continued the discussion in the forum Networking, Protocols, and Devices (http://arduino.cc/forum/index.php/topic,61323.0.html), that was probably a better place than here.

Raoul.

6  Using Arduino / Networking, Protocols, and Devices / Using Xbee to implement a wireless network on: May 16, 2011, 05:09:28 am
Good morning.

I opened the discussion in Project Guidance forum (http://arduino.cc/forum/index.php/topic,60976.0.html) but I feel it is more appropriate to continue it into this forum. I hope I am doing well...

Let me recap shortly what I am trying to achieve just to provide some context…
I am building a system around Carrera Digital Slot Car system.
All the components of the system should communicate according to the network shown in the attached picture. Except the laptop all devices are built on Arduino.

1-Communication between Race Manager and Laptop:
During the initialization phase Race Manager and Laptop synchronize exchanging about 100 bytes (no time constraint).
During race the Race Manager sends to the LapTop a packet of 8 bytes each time a car complete a lap (up to 6 cars), about every 5 to 10s.

2-Communication between Driver Station and Control unit:
During the race the Driver Station sends to the Control/Unit one byte every 75ms and on request (can be never or twice during the race) one byte. No answer from the Control Unit is expected.

3-Communication between Driver Station and Race Manager:
During the initialization phase Race Manager and Driver Station synchronize exchanging about 20 bytes (no time constraint).
During the starting phase the Race Manager and the Driver Station exchange one byte to manage the possible jump start, both directions.
During race the Race Manager sends to the Driver Station a packet of 8 bytes each time a car complete a lap (up to 6 cars), about every 5 to 10s. There is one Driver Station per car and the other Driver Stations are not interested by the data related to the other cars.
During the race the Driver Station sends to the Race Manager one byte on request (can be never or several times during the race) that requires always one answer byte from the Race Manager.


 Now my questions:

After looking at different posts I am planning to use Xbee modules to build the network.

So far I am having the following questions:
- is Xbee the right approach for what I want to achieve?
- to work the network should be based on modules belonging to the same series ?
- according to what I understood both series 1 and series 2 could allow me to implement the communications I need, so why shall I go for series 1 or series 2 (cost, library, easier to use…) ?
- Xbee modules for PC can be connected to RS232 interface or USB port, in the context of being use with Arduino’s are the 2 solutions equivalent or should I go for USB?

I will have probably more questions in the future, but your feed-back will help me to define the “high level” design…

If someone has already the experience of using Xbee modules in similar context, I would appreciate the return of experience.

Raoul.
7  Using Arduino / Project Guidance / Re: Wireless communication between Arduino's - What do you recommend on: May 12, 2011, 11:10:26 am
Good afternoon.

Thank you for the interest.

You are right I need to be more precise about the requirements and I realize I was too fast when writing my post.

From Hand Controller to Race manager:
The car is controlled by receiving a byte every 75 ms with:
-   car ID (3 bits)
-   speed command (4 bits)
-   change line (1 bits)
The set-up of the car (max speed, max brake, lights …) may be modified by sending a specific byte on demand.

From Race Manager to Hand Controller:
The Race manager sends each time a lap is completed (about 5 to 10s depending on the length of the circuit) the car position, the number of laps done, the lap time, the gap with car behind and the gap with car ahead: meaning more or less a total of 8 bytes.

6 Hand Controllers may talk “simultaneously” to one Race Manager, and vice versa.

There is a risk to have an obstacle between the Hand Controller and the Race Manager (one driver moving...). Despite this fact Carrera digital wireless hand controllers are using IR control for example.

The range is a maximum of 5-10m indoor.

I am ready to exchange additional effort against additional savings…

Raoul.
8  Using Arduino / Project Guidance / Wireless communication between Arduino's - What do you recommend on: May 12, 2011, 08:20:14 am
Good afternoon.

I discovered Arduino some months ago and started to develop a nice project around a digital slot car system.
I am now developing a “smart” hand controller providing throttle control, fuel management, car tuning and other features…based on Arduino.
I hope I posted my question in the right forum.

My question is about connecting wirelessly this hand controller with the race manager (based on Arduino Mega).
The communication should be in both ways:
-   the hand controller sends a couple of bytes ideally every 3,5 to 10 ms (car ID, speed, lights control…)
-   the hand controller receives longer messages (about 12 bytes) every 10 to 20 seconds (car position, laps done, timing…) when a lap is completed.
There are up to 6 hand controllers to connect to the Race Manager.

I was looking at the different options used in Arduino projects (IR, Bluetooth, RF modules…) and I am a little bit lost and need some guidance to adopt the right solution (the one that will work, be as cheap as possible, and not too difficult to implement…).

What do you recommend?
Thank you.
Raoul.
9  Using Arduino / Programming Questions / Re: Interoperability between Arduino and Windows on: April 20, 2011, 03:19:44 am
Thank you for your answer.

I am not a software programmer and I learnt by using Arduino, so probably I am more familiar with C than any other language.
What I would like to achieve in the PC is quite simple: displaying into a window  the data processed by Arduino in a nice way with limited interaction with the user (maybe to switch from one screen to another one).
So I plan to invest less time as possible in learning a new language (in the short term I would like to move forward on my project) even if later on I may feel the need to do it and then rework the project…

I didn’t knew about Processing and I found it quite interesting. I will have a deeper look on it.

I am still open to any suggestion.

Thank you again for supporting.

Raoul.
10  Using Arduino / Programming Questions / Interoperability between Arduino and Windows on: April 20, 2011, 01:30:32 am
Good morning.

I discovered Arduino some months ago and had a lot of fun so far using it.
I am trying now to connect my Mega2560 to a windows XP laptop in order to display in a nicer and bigger way the data processed by the Arduino. I already display “locally” some data on a couple of graphic LCDs. It is fine but I need to display similar data bigger and in colour on the laptop sreen.

My questions are the following:
1)   How can I make the Arduino and a windows XP application to communicate (the application reads and process data sent by Arduino and PC sends data to Arduino)
2)   Do you know any Windows software allowing to build quickly a graphical interface ? And why not to dream a software already interfaced with Arduino?

Thank you a lot.
Raoul.
11  Using Arduino / Programming Questions / Re: Are tone() and millis() compatible? on: April 15, 2011, 12:34:22 am
Korman
Thank you for the tip.
Raoul.
12  Using Arduino / Programming Questions / Re: Are tone() and millis() compatible? on: April 14, 2011, 02:36:20 pm
Thank you Korman.
One more question to learn a little bit more, where can I find such information?
Raoul.
13  Using Arduino / Programming Questions / Are tone() and millis() compatible? on: April 14, 2011, 04:26:53 am
Good morning

I would like to know if using tone() may affect the functions using millis() or micros() ?

I read the following in  the Tone library documentation:

•   Using this library will affect usage of the PWM outputs, so be aware.
•   Also, although it's the last timer to be allocated, timer 0 (which is used for millis() among other things) will be affected if used.
   
As tone() seems to have been integrated into Arduino software from this library I am asking the question.
I am using a Mega2560 and Arduino022.

Thank you for your answer.
Raoul.
14  Using Arduino / Displays / Re: How to control 2 graphic LCDs with one Arduino on: April 07, 2011, 03:35:11 pm
Hi Bill
I confirm that with your correction it is working fine in 128X128 configuration.
Thank a lot.
Raoul.
15  Using Arduino / Displays / Re: How to control 2 graphic LCDs with one Arduino on: April 04, 2011, 04:11:03 pm
Bill
Don't be sorry at all, I am happy if I can contribute in making the library more robust doing “monkey testing”.
I will not be able to try your correction until end of the week as I am currently in a business trip.
I will keep you posted.
Thank you again.
Raoul.
Pages: [1] 2 3 4