The sensor module 224 may generate an electrical signal or a data value corresponding to an internal operating state of the electronic device 220 or an external environmental state. The sensor module 224 may detect an external environment through the first surface 231 of the first housing 230. The electronic device 220 may further include at least one sensor module disposed to detect an external environment through the second surface 232 of the first housing 230. The sensor module 224 (e.g., an illuminance sensor) may be disposed under the flexible display 260 in order to detect an external environment through the flexible display 260. The sensor module 224 may include at least one of a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an IR sensor, a biometric sensor, a temperature sensor, a humidity sensor, an illuminance sensor, a proximity sensor, a biometric sensor, an ultrasonic sensor, or an illuminance sensor.
The camera devices 225 and 228 may include a first camera device 225 (e.g., a front camera device) and a second camera device 228 disposed on the second surface 232 of the first housing 230. The electronic device 220 further includes a flash 229 disposed near the second camera device 228. The camera devices 225 and 228 may include one or more lenses, an image sensor, and/or an ISP. For example, the flash 229 may include an LED or a xenon lamp.