new to RA and connecting to Mac

New members questions
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

new to RA and connecting to Mac

Post by aus996 »

Hi Guys, newbie in the reef angel field, although the unit has been in operation before.

it is a reef angel plus

I am operating a mac on OSX 10.6.8

So far I have the reef angel hardware set up and seemingly working fine.

Most things uploaded onto mac however I cant get the wifi utility to upload from the sight.

I have a small wifi box but there is no press to connect button on the unit so I will have to go the long way.

Before that though, I cant seem to get the RA to speak to the computer. I have the ttl to usb fitted correctly, have uploaded the drivers, powered down and powered up.

I have settings on tools on:
Board: reef angel plus
serial port dev.tty usb serial

but when I go to file:sketch book or file:examples i get no drop down options.

I hit upload anyway and get an error.the error reads: ( last couple of lines):
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:5: undefined reference to `setup'
/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/main.cpp:15: undefined reference to `loop'.

SOOOO first things first help me gte it plugged into the computer, then we can work on wifi :mrgreen: thanks in advance for the help



i should add that the unit doesn't power up with just the usb ttl connection ( not sure if it should), so I have it plugged into the relay box for power ( have tried both ways)
User avatar
lnevo
Posts: 5422
Joined: Fri Jul 20, 2012 9:42 am

new to RA and connecting to Mac

Post by lnevo »

Theres an Arduino folder that needs to be in your documents directory. That should resolve your not finding examples.

I don't think i was ever able to use the wifi utility and i ended up configuring over serial.
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

new to RA and connecting to Mac

Post by dbmet »

I have a Mac and the wifi utility that's in the folder that you download works great. I also use coolterm to connect to the wifi module for other settings.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

Make sure you download the Reef Angel Installer from the website and follow the instructions in the manual on how to move the libraries folders to your Mac computer.
The wifi utility is also inside the same package.
You can move it to your applications folder and it will always be there for you.
The controller does not power up with the USB-TTL cable.
Roberto.
User avatar
DrewPalmer04
Posts: 818
Joined: Tue May 29, 2012 2:12 pm
Location: Christopher, IL

Re: new to RA and connecting to Mac

Post by DrewPalmer04 »

Finder->documents->arduino->libraries
Out for now...but not over.

VISIT: Ethernet Module/Wifi Alternative
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

thanks guys new there had to be a simple fix, i will get onto this and see how I go cheers
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Ok got it to talk to the computer just going to give the wifi a shot now, have the wizard up and running so I will see how I go

In the arduino program when you click on Tools>Programmer there are a series of drop down selections, is there any special preference for what should be ticked here?
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Okay not a lot of joy with the wifi set up yet using the wizard

got the ssid for the airport ( have used both Upper case and lower case letter combinations.
The airport router seems to have a couple fo different SSID combinations however I am using the main one ( i think :mrgreen: )
Checked my access password in my key chains - its correct.

Still getting "false' parameters and blinking blue LED, i know I am missing something simple :?:
cheers
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

Re: new to RA and connecting to Mac

Post by dbmet »

Screen Shot 2013-01-26 at 9.06.11 PM.png
Screen Shot 2013-01-26 at 9.06.11 PM.png (884.45 KiB) Viewed 6972 times
When you say wizard are you using the RA wifi utility?
Image
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Yep that's the one.

For the serial port I have the first one ticked int he drop down list

dev tty usb serial.

it gives me a choice of two both the same.

For the board I have selected reef angel controller plus.

This first part seems to go okay, its the wifi settings where everything grinds to a halt
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Hi Guys anyone out there able to suggest anything cheers
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

Try changing the security to WPA2-PSK with AES Encryption
Roberto.
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Nope played with both options, had it set to WPA2 Personal intitally, changed it to WPA/WPA2 Personal but no difference.

When I look at the ssid for the airport (Using system profiler and then looking at airport) I see BSSID ( is this the same?) and the corresponding number, 6 sets of either two digits, two letters or combinations of both separated by a colon. I am putting this in in this format correct?

the firewall is allowing all incoming connections
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

Does your router have push button?
How far away are you from the router?
If not, make sure that the SSID and the password is the exact same case.
ReefAngel is not the same as reefangel, Reefangel or REEFANGEL.
Roberto.
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Hi Roberto,
the reefangel wifi box doesnt have a push button to connect.
I have not checked the airport device yet, will do so when I get home.
Airport router is one room away, I would guess about 8-10 metres
Have checked the upper and lower case settings on both the ssid and password as well as trying multiple combinations but to no effect.

Ill check the airport for a push button when I get home tonight from work
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

If the wifi doesn't have the push button, it won't help.
Can you use Tera Term or putty to enter into command mode and get the result of the command below?

Code: Select all

scan
Roberto.
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

Re: new to RA and connecting to Mac

Post by dbmet »

Can you post a screen shot of what your seeing when you search for your wifi network from your mac?
command+shift+3 will do that and post on your desktop.. The numbers with the colon sounds like a mac address.
Image
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Will do guys , thanks for your help, gotta head to work now and will attcak it when i get home tonight and let you kno how I go
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

rimai wrote:If the wifi doesn't have the push button, it won't help.
Can you use Tera Term or putty to enter into command mode and get the result of the command below?

Code: Select all

scan
Hi Roberto will try this as well when i get home but what are "terra Term" and "Putty", I am a complete newb when it comes to IT stuff
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

They are serial terminals.
http://www.chiark.greenend.org.uk/~sgta ... nload.html
http://www.ayera.com/teraterm/
Make sure that you connect at 57600 baud.
Take a look at the manual for more info on how to enter command mode, but basically it is open serial connection and type $$$.
Roberto.
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

new to RA and connecting to Mac

Post by dbmet »

I'm using coolterm on my Mac. Works good once you figure out what your doing. Lol.
Image
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Ok guys getting there.

Have learnt how to take screen shots on a mac :mrgreen:
and upload picture on the forum :mrgreen:
uploaded coolterm as it was the only one that i could see that had an option for Mac os :mrgreen:

Now what?
I managed to get a string of $$$ sent and you can see the cool term screen shot, but really have no idea what I am doing or looking for here :?:

Ive still got to get a screen shot of the other errors, hopefully I will get some more time tonight to get to it, only had about 10 minutes before shooting off to work again

thanks for your continued support cheers
Attachments
desk top shot
desk top shot
Screen shot 2013-01-30 at 6.45.00 AM.png (480.95 KiB) Viewed 6537 times
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

Awesome!!!
When you see the <2.32> you are ready to send commands to the module.
Try this command:

Code: Select all

scan
You need to hit enter after the command.
Roberto.
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

cool, of course I'm at work now so wont get to it until later this arvo. Im afarid IT stuff with me is like extracting teeth with a spoon, painful and often fruitless :-), and I havenet even got to really playing with th e code yet, although I did check out the wizard the other day and that looks like it will solve a lot of my coding for me
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Okay scanned it and got two results both for my airport. The first one is the primary one and the second one is the guest network

Is there any particular way I should be putting these into the wifi wizard, can I copy and paste. Just left out the last digits of both addresses

SCAN:Found 2
Num SSID Ch RSSI Sec MAC Address.Suites
1 PROMETHEUS 08 -62 WPA2PSK 10:9a:dd********** AES/TKIPM-TKIP 3104
2 PROMETHEUS Guest Network 08 -63 WPA2PSK 1a:9a:dd:8******** AESM-AES 3104

almost there, I will go and double check my passwords for each of these, i know the primary one works because thats what I am on now :mrgreen:
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

Hi Guys have a screen shot of the wifi wizard status now, still now joy on connecting. Hope the photo isnt too small tho
Attachments
Screen shot 2013-01-30 at 6.30.44 PM 2.png
Screen shot 2013-01-30 at 6.30.44 PM 2.png (983.92 KiB) Viewed 6523 times
dbmet
Posts: 235
Joined: Thu Nov 10, 2011 11:49 am

new to RA and connecting to Mac

Post by dbmet »

If the Prometheus is the ssid that your connected to on your laptop then that's what you need to put in the wifi wizard in the spot that says ssid. You have a MAC address in that spot now. You can look at the wifi signal indicator on your Mac in the top right corner to make sure that's the name of your ssid.
Image
rimai
Posts: 12857
Joined: Fri Mar 18, 2011 6:47 pm

Re: new to RA and connecting to Mac

Post by rimai »

Also, I think WPA2PSK-TKIP encryption is not supported by the manufacturer.
Try changing it to WPA2PSK-AES encryption.
Roberto.
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

thanks roberto, its likely to be the encryption thing, ill check how to change this and give it a shot cheers steve
aus996
Posts: 40
Joined: Wed Dec 19, 2012 12:02 am

Re: new to RA and connecting to Mac

Post by aus996 »

AND TODAY'S I.T. AWARD GOES TO......... :?:
Me :!:
For putting in the code string for the ssid instead of the name of the airport which had been staring at me all the time. Of course once that was plugged in it worked first time. Also note that when you are in the wizard (for mac anyways) you can't hit 'all caps' as the text box recognizes this as a keyed input (little faded square) and screws up your ssid.

of course IT savvy people would know this, but for the rest of us mere mortals, well enough said.

Thanks to Roberto and others for walking me through this reeeaaally slowly :mrgreen:
Post Reply