I made a board for a weather station that has an Arduino chip on it with an ESP8266 WiFi module 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?
EDIT: Added pictures to clarify