Jump to content
Sign in to follow this  

Problem with your CuHead WiFi Mega

Recommended Posts


I have your LinkSprite CuHead WiFi Shield for Arduino Mega that is interfaced to an Arduino Mega 2560.  This is working -- I have successfully compiled and run your various examples including the WebServer, WiServer, SimpleServer, SimpleClient, etc.

The problem comes when other devices (shields) are added to the system.  Now I understand that the SPI bus (Arduino pins 50-53) is the primary interface to the CuHead shield and that the interrupt is hardware/software selectable as follows:

INTX0: Arduino pin 2 (port D)


DIG8: Arduino pin 8 (port

and in header file "spi.h" one must select either

#define USE_DIG0_INTR


#define USE_DIG8_INTR

By examining the schematic diagram for you product, this interrupt signal (INTX) is then connected to pin 33 (INT) of the MRF24WBOMA chip.


However, the problem is that you have ALSO connected Arduino pin 21 (SCL) to the same interrupt line (INTX).  This fact is not documented in any of your supporting literature. This is causing a conflict with other shields that I must include with my system.  The processor simply freezes.  I searched various blogs and online forums for help without any useful results.  I can see no technical reason why the SCL signal is needed by your WiFi shield.

I tried looking through your software to no avail as it is poorly documented.  I also bent pin 21 outward so that it does not connect to the Arduino; in this case, the WiFi shield does not work at all and will not initialize.

So my question is this:  Is there a hardware or software fix for this problem?  Is there someway to remove the SCL signal from going to your board so that my other devices will work properly?  By the way, without your CuHead WiFi shield in the system, my other devices work just fine.  And I have NO conflicts with Arduino pins 7, 8, or 9 that are also being used by the CuHead shield.

Any light that you can shed on this issue will be much appreciated.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this