My pi does not connect to wifi for some reason, i suspect the wpa_supplicant.conf file in the root directory of the sd card is malformatted:
wpa_supplicant.conf
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant
network={
scan_ssid=1
ssid="my ssid"
psk="my pass"
}