WiFiBee RCKit compatibilty

93 views
Skip to first unread message

TriCopter

unread,
Sep 20, 2012, 7:22:38 PM9/20/12
to rc...@googlegroups.com
I have been testing the WiFiBee with the RCKit Sketch ... it does compile and load however the WiFi chip never turns on and neverposts it's SSID "RCArduino"
I have succesfully compiled the WiSHield UDP example from Asynclabs and  UDP communications work fine ... The onboard micro int0 (digital pin 2) is hardwired to the WiFi chip
similar to the Yellowjackit.
 
Are there any other hardwired pin dependencies I should be aware of???
 
I have included a link to the WiFiBee Wiki ....
 
 
Best Regards,
Tricopter
 

Mike McCauley

unread,
Sep 23, 2012, 5:29:58 PM9/23/12
to rc...@googlegroups.com
Hello,

What hardware are you using to connect to and and test the wifi-bee?
Are you sure you uploaded the software to the AVR *on the wifi-bee*?

Cheers.
--
Mike McCauley mi...@open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia http://www.open.com.au
Phone +61 7 5598-7474 Fax +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.

TriCopter

unread,
Sep 23, 2012, 7:33:13 PM9/23/12
to rc...@googlegroups.com
Hello
 
    The WifIBee has it's own embedded Atmega328P so no base Arduino board is needed.  The WiFiBee plugs directly into the UsartBee giving it a usb interface to the computer ... no other programming hardware is needed ... The UsartBee communicates directly to Arduino 1.0.1 in my case via com port 4 for downloading and remote serial monitoring.
 
I have seen some other hardware configurations that disable the onboard micro and wire the bee back down to a regular arduino base board to have easier acces to the digital and analog pins.
 
I have compiled and loaded my own Adhoc peer to peer simple network (using AsyncLabs WISHeild library) which sends text messages back and forth just fine to my iPhone using a simple UDP test app. I'm using the embedded micro only configuration.
 
Your code compiles and downloads fine .... you can see the rec/xmit leds flashing during the downlload ... the Arduino downloader reports download complete when finished.
The WiFi light on the WiFiBee however never turns on ...(It does with my UDP app and posts my SSID after a few seconds to the iphone).
 
I was going to set some breakpoints in the code and do some debbuging using the Arduino serial monitor.  I don't believe RCKit communications ever posts the SSID "RCArduino"
 
Best Regards,
Tricopter

Mike McCauley

unread,
Sep 23, 2012, 7:46:29 PM9/23/12
to rc...@googlegroups.com
Hello,

I am testing with wifi-bee now, and see the same results as you.
It appears the wifi bee initialistion never returns, looks like an issue with
SPI comms.
Investigating now.

Cheers.

Mike McCauley

unread,
Sep 23, 2012, 8:54:43 PM9/23/12
to rc...@googlegroups.com
Hi,

OK. Found.

The sample RCRxWiShield sketch and others uses arduino D4 digital pin 4 to
drive servo 1.

The problem is that with the WiFi-Bee, the arduino D4 pin is connected to the
wifi chip HIBERNATE pin. The constant output from the servo driver is
affecting the wifi chip.

If you change your sketch so that you use say pin D7 for the servo instead of
pin D4, you should be OK.

I have now updated the documentation to show this gotcha.

Cheers.
Message has been deleted

TriCopter

unread,
Sep 24, 2012, 11:47:29 AM9/24/12
to rc...@googlegroups.com
Thanks Mike,
 
   Downloaded 2.3 this morning ... Works Great!!!  You'll see a well deserved click at the Apple App Store for RCTx
 
Two questions .... any Android version of RCtx in the future???
 
I have a Trekbot $15 robot that is Ir controlled ... any easy way of decoding the Ir control signal like you did for your heli???
I tried using my TV Ir learning remote ... however I believe the transmitter sends multiple commands for each function.
Thought of using the Ir sketch with and Ir detector attached to the Arduino ... maybe you have an easier way???
 
I think the Trekbot uses a ATtiny85 Arduino compatible 8 pin chip ... thought of reprogramming the chip and talking to the WiFiBee directly
Very simple one speed $15 robot (right drive, left drive, both wheels forward, both wheels reverse, and some blinking lights)
 
Trekbot link

Mike McCauley

unread,
Sep 24, 2012, 4:58:10 PM9/24/12
to rc...@googlegroups.com
Hi,

On Monday, September 24, 2012 08:47:29 AM TriCopter wrote:
> Thanks Mike,
>
> Downloaded 2.3 this morning ... Works Great!!! You'll see a well
> deserved click at the Apple App Store for RCTx

Thanks!

>
> Two questions .... any Android version of RCtx in the future???

Not planned.

>
> I have a Trekbot $15 robot that is Ir controlled ... any easy way of
> decoding the Ir control signal like you did for your heli???

Dont know. The IR signals for the heli were partly documented and I had
devices to test against. Without those 2 things its very hard.

> I tried using my TV Ir learning remote ... however I believe the
> transmitter sends multiple commands for each function.
> Thought of using the Ir sketch with and Ir detector attached to the Arduino
> ... maybe you have an easier way???

Thats about as easy as it gets. Then you have to reverse engineer the
protocol.


>
> I think the Trekbot uses a ATtiny85 Arduino compatible 8 pin chip ...
> thought of reprogramming the chip and talking to the WiFiBee directly
> Very simple one speed $15 robot (right drive, left drive, both wheels
> forward, both wheels reverse, and some blinking lights)

Interesting idea.

>
> Trekbot link
> http://www.mydeskpets.com/trekbot/

Hmm I may get one.

Mike McCauley

unread,
Sep 25, 2012, 7:16:53 AM9/25/12
to rc...@googlegroups.com
Hi again,

this might be helpful:

http://www.youtube.com/watch?v=RR3DrW74yAw
Reply all
Reply to author
Forward
0 new messages