Recently I made a board for a weather station that has an Arduino chip on it with an ESP8266 WiFi module1(http://www.kynix.com/Detail/732620/ESP8266.html) mounted right next to it.

When I power the board, the ESP8266 seems to be unable to connect to my WiFi network.

It took me a while to figure out why as the module worked perfectly fine when connected directly to a USB-to-serial converter and writing AT commands directly to it.

So I tried to connect the ESP8266 module to my board using a ~15cm ribbon cable and suddenly it all works.

Seems like there is some electromagnetic interference when the Arduino (board) and ESP8266 are placed close to each other.

Has anyone encountered this before and is there another solution than placing the 2 parts away from each other?

These are the boards:
Click image for larger version. 

Name:	board.png 
Views:	39 
Size:	380.8 KB 
ID:	1169