Pages: [1]   Go Down
Author Topic: Arduino + Wifi Fonera  (Read 1142 times)
0 Members and 1 Guest are viewing this topic.
Paris, France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
Arduino Yún board + GSM shield
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi There,

I have a problem I don't understand...

I connected a Fonera to my Arduino board through the serial COM port - RX/TX.

I connected the Arduino board to my computer -through USB. The problem is that I can't really make my computer or Arduino talk to the Fonera.

Did anybody try to do the same?

Thanks,
Franck
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 37
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I don't fully understand your setup BUT if you want to use your HardWare UART (RX/TX pins on Arduino) you cannot use them for USB communication at the same time.

hope this helps

C
Logged

Paris, France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
Arduino Yún board + GSM shield
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your reply; here's what I want to do in details:
- I reflashed a Fonera with DD-WRT to set it up as a Wifi Client. It works; when I connect the Fonera to my computer through ethernet I'm able to surf the web. The Fonera also has an embedded serial port.
- For my project, I want the fonera to send data to the serial port of the Fonera to send commands to upload data on the internet.
- I have a USB Arduino board.

So to test, I want to sort of simulate the program I'll embed in the Arduino. I connected to Fonera to the RX/TX + GND of the Arduino and I connected my Mac to the USB of the Arduino.

What I expect:
* Get on my Mac (through the Arduino SDK, or screen) the output of the Fonera and a login prompt.
* Send data with the keyboard of my Mac to the Fonera through the Arduino.

If it doesn't work, do you have any idea? I should use "other" input/outputs? In such a case do you have a program to send data from the USB to the "other" RX and get data from the "other" TX sent to the USB?

Thanks a lot,

F.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 37
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

something is there:

http://www.geocities.jp/arduino_diecimila/wifi/index_en.html

but as I wrote on my previous post, you can use the embedded UART OR for USB connection OR for connection to the fonera.

I think also that fonera serial port needs a quite high bitrate (115200
?) , so I think you cannot use a SW serial port.

hope this helps
Logged

Paris, France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
Arduino Yún board + GSM shield
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks, yes I've read that article; this where I discovered the Fonera :-o) The speed of the Fonera might be changed to 9600. I don't know how the guy tested his solution...

When you talk about SW serial port, you speak about the SoftwareSerial Library? The speed for this lib is 9600 bds.

F.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 37
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
When you talk about SW serial port, you speak about the SoftwareSerial Library? The speed for this lib is 9600 bds.

yes, I talk about the SoftwareSerial lib (or its evolutions)
My suggestion - but it's just an idea - would be to use the HW uart for the fonera connection, and the SW uart for PC side communication, with a TTL-USB adapter (like FTDI's cables with embedded FT232)

again, hope this helps

C
Logged

Paris, France
Offline Offline
Jr. Member
**
Karma: 0
Posts: 69
Arduino Yún board + GSM shield
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for your reply; I might try this...
Franck
Logged

Pages: [1]   Go Up
Jump to: