WiFi Attachment Setup Issue

Expansion modules and attachments
Post Reply
ufgators2k
Posts: 58
Joined: Sun May 12, 2013 2:21 pm

WiFi Attachment Setup Issue

Post by ufgators2k »

Hi everyone,

I just got the WiFi unit today and I tried running both the Utility and Coolterm. I get this error in the utility:


* Please, select a serial port and click the "Connect" button
Opening Serial Port...
Verifying speed at 9600 baud
** ERROR: Connecting to /dev/tty.usbserial-AH01Q7UY
** Additional installation required to use serial, read the console below.

However there is nothing in the console below. FYI, I am on a Mac running Mountain Lion.
Image
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: WiFi Attachment Setup Issue

Post by lnevo »

Did you install the mac. Usb-serial driver?
ufgators2k
Posts: 58
Joined: Sun May 12, 2013 2:21 pm

Re: WiFi Attachment Setup Issue

Post by ufgators2k »

Yes, the one included in the Reef Angel Mac Download
Image
ufgators2k
Posts: 58
Joined: Sun May 12, 2013 2:21 pm

Re: WiFi Attachment Setup Issue

Post by ufgators2k »

I just downloaded the driver again and rebooted. Same issue. I don't have any issues talking to the Reef Angel Controller. I have a blue and green blinking light as well.
Image
Jean-Christophe
Posts: 8
Joined: Mon May 13, 2013 2:26 pm

Re: WiFi Attachment Setup Issue

Post by Jean-Christophe »

I have the same problem, did you find a solution? I'm following.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

Ok, so it's not just a local problem then....
Let me look into this.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

Ok, I think this is isolated to MacOSX.
So, I compiled another one.
Give it a try and let me know if it works.
http://www.reefangel.com/files/wifi_uti ... c_1.06.zip
Roberto.
Jean-Christophe
Posts: 8
Joined: Mon May 13, 2013 2:26 pm

Re: WiFi Attachment Setup Issue

Post by Jean-Christophe »

Still the same, I think i'll install a windows part to fix it...
Opening Serial Port...
Verifying speed at 9600 baud
** ERROR: Connecting to /dev/tty.usbserial-AH01Q70Z
** Additional installation required to use serial, read the console below.
ufgators2k
Posts: 58
Joined: Sun May 12, 2013 2:21 pm

Re: WiFi Attachment Setup Issue

Post by ufgators2k »

I ended up dusting off an old Dell laptop and doing it that way. I never got the Mac (Mountain Lion) to work. Can the WiFi Utility have a radio button to select the baud rate so it can be used after the device is initially configured (57600 instead of 9600)?
Image
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

The wifi utility actually goes through 9600 and changes it to 57600 everytime, so there is no need to change it.
Roberto.
Jean-Christophe
Posts: 8
Joined: Mon May 13, 2013 2:26 pm

Re: WiFi Attachment Setup Issue

Post by Jean-Christophe »

Works fine with windows.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

Ok, so after investigating this for a while, I noticed that it has to do with specific settings in your local MacOSX machine.
Here is the thread that led me to a work around:
http://forum.arduino.cc/index.php?topic ... msg1016859
You basically need to run two commands in sudo mode:
To use the serial library, first open
Applications -> Utilities -> Terminal.app
and enter the following:
sudo mkdir -p /var/lock
sudo chmod 777 /var/lock
I'll try to find a more permanent solution.
I remember reading somewhere that there is a version that doesn't use locks and you don't need to run those commands. I just need to figure out how.
Roberto.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

I have recompiled using a processing 1.5.1 instead of the current released one.
Can anyone with a Mac try this version to see if it works before I package in the installer?
http://www.reefangel.com/files/wifi_uti ... _1.06a.zip
Roberto.
Jean-Christophe
Posts: 8
Joined: Mon May 13, 2013 2:26 pm

Re: WiFi Attachment Setup Issue

Post by Jean-Christophe »

Yes this version works on mac (I have snow leopard), I just tried it.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: WiFi Attachment Setup Issue

Post by rimai »

Awesome!! Thanks!!!
Roberto.
Post Reply