User Tools

Site Tools


doc:appunti:hardware:xiaomi_yi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:xiaomi_yi [2020/07/24 16:53] – [Problema WiFi non funzionante] niccolodoc:appunti:hardware:xiaomi_yi [2022/05/12 19:58] (current) – [Problema WiFi non funzionante] niccolo
Line 1: Line 1:
 ====== Action Camera Xiaomi Yi ====== ====== Action Camera Xiaomi Yi ======
 +
 +The **Xiaomi Yi** action camera was introduced in **2015**, despite being a low-cost cam, it feature a very good chip and sensor, producing images comparable with the most famous cameras. It lacks the screen, so evey settings must be adjusted using the companion smartphone app.
  
 {{.:yi:xiaomi-yi-hd-camera.jpg?direct&200|Xiaomi Yi}} {{.:yi:xiaomi-yi-hd-camera.jpg?direct&200|Xiaomi Yi}}
 +
 +===== Technical Specs =====
 +
 +^ Specs  ^^
 +^ Size             | 60.4 x 42 x 21.2 mm                  |
 +^ Weight           | 76.6 g                               |
 +^ Image Processor  | Ambarella A7LS                       |
 +^ Image Sensor     | 16MP Sony EXMOR R CMOS BSI           |
 +^ Lens             | 155ᵒ ultra wide angle glass lens     |
 +^ Aperture         | F2.8                                 |
 +^ Battery          | 1000 mA, up to 90 minutes recording  |
 +^ Storage          | Micro SD card up to 64Gb, class 10   |
 +^ Video Format  ^^
 +^ Format    | AVC       |
 +^ Profile   | Main@L4   |
 +^ GOP       | M=1, N=8  |
 +^ FPS       | 29.970 (30000/1001)   |
 +^ Size      | 1920 x 1080 pixels    |
 +^ Bit rate  | 12.0 Mb/s (Variable)  |
 +^ Video Size  ^^
 +^ 1 sec       1.45 Mb |
 +^ 1 min      87.83 Mb |
 +^ 1 hour  |     5.09 Gb |
  
 ===== Problema di formattazione microSD ===== ===== Problema di formattazione microSD =====
Line 24: Line 49:
 fsck.vfat -v -n /dev/sdc1 fsck.vfat -v -n /dev/sdc1
 </code> </code>
 +
 +===== Password WiFi =====
 +
 +La password predefinita per l'access point offerto dalla telecamera è **1234567890**.
 +
 ===== Problema WiFi non funzionante ===== ===== Problema WiFi non funzionante =====
  
Line 49: Line 79:
 La telecamera formatta la scheda microSD con un **filesystem VFAT**, per definizione i **timestamp** su tale filesystem sono in **localtime**. La telecamera formatta la scheda microSD con un **filesystem VFAT**, per definizione i **timestamp** su tale filesystem sono in **localtime**.
  
-Se si monta la microSD su un sistema GNU/Linux è possibile utilizzare il parametro di montaggio **tz=UTC**, in tal modo i timestamp vengono considerati in UTC e opportunamente convertiti in localtime.+Se si monta la microSD su un sistema GNU/Linux è possibile utilizzare il parametro di montaggio **tz=UTC**, in tal modo i timestamp vengono considerati in UTC e opportunamente convertiti in localtime. In alternativa esiste il parametro **time_offset**.
  
 FIXME: Cosa fare di preciso per avere i timestamp corretti? La telecamera dove prende l'ora? Dal telefono? Se ci troviamo all'estero che succede? Quale parametro usare per il montaggio su GNU/Linux? FIXME: Cosa fare di preciso per avere i timestamp corretti? La telecamera dove prende l'ora? Dal telefono? Se ci troviamo all'estero che succede? Quale parametro usare per il montaggio su GNU/Linux?
  
-===== Video Format =====+  * [[https://softsolder.com/2018/01/31/vfat-time-zone-offset-correction/|VFAT Time Zone Offset Correction]] 
 +  * [[https://unix.stackexchange.com/questions/440765/linux-showing-incorrect-file-modified-time-for-camera-video|Linux showing incorrect file modified time for camera video]]
  
-^ Format    | AVC       | +===== Battery on Model Z23L vs Z25L =====
-^ Profile   | Main@L4   | +
-^ GOP       | M=1, N=8  | +
-^ FPS       | 29.970 (30000/1001)   | +
-^ Size      | 1920 x 1080 pixels    | +
-^ Bit rate  | 12.0 Mb/s (Variable) +
- +
-^  Video Size  ^^ +
-^ 1 secondo  |     1.45 Mb | +
-^ 1 minuto      87.83 Mb | +
-^ 1 ora      |     5.09 Gb | +
- +
-===== Model Z23L vs Z25L =====+
  
 I purchased a second camera after some months, it turned out that the new model, which serial number is starting with **Z25L**, is a bit different from the older one, with serial number starting with **Z23L**: I purchased a second camera after some months, it turned out that the new model, which serial number is starting with **Z25L**, is a bit different from the older one, with serial number starting with **Z23L**:
Line 77: Line 96:
 As you can see, the bottom of the camera is changed a little: the **alignment notch** is not longer present. But the most important change is in the **battery cover**. The new cover is reinforced with a metal plate and its thickness is decreased by 1 mm, this means that the **the battery depth is increased by 1 mm**! As you can see, the bottom of the camera is changed a little: the **alignment notch** is not longer present. But the most important change is in the **battery cover**. The new cover is reinforced with a metal plate and its thickness is decreased by 1 mm, this means that the **the battery depth is increased by 1 mm**!
  
-^ Model  ^ Battery Size        ^ Current Rating +Cam Model  ^ Battery Model  ^ Battery Size        ^ Current Rating 
-| Z23L    | 36.5 x 32.5 x 8 mm  | 1010 mAh  | +| Z23L       | AZ13-1         | 36.5 x 32.5 x 8 mm  | 1010 mAh  | 
-| Z25L    | 36.5 x 32.5 x 9 mm  | 990/1020 mAh (minimum/typical)  |+| Z25L       | AZ13-2         | 36.5 x 32.5 x 9 mm  | 990/1020 mAh (minimum/typical)  |
  
 {{.:yi:xiaomi-yi-z23_battery.jpg?direct&160|Model Z23L battery 8 mm depth}} {{.:yi:xiaomi-yi-z23_battery.jpg?direct&160|Model Z23L battery 8 mm depth}}
Line 86: Line 105:
 This means that a new battery **does not fit** into an older camera, instead an old battery **requires a thickness of 1 mm** to stay into the new camera. The only change in sizes are about **battery** and **battery cover**, it seems that sizes of the camera body is unchanged. This means that a new battery **does not fit** into an older camera, instead an old battery **requires a thickness of 1 mm** to stay into the new camera. The only change in sizes are about **battery** and **battery cover**, it seems that sizes of the camera body is unchanged.
  
-==== Web References ====+===== Battery duration ===== 
 + 
 +I tested some batteries for duration in video recording. Some baterries are rather old, some are brand new. The video is automatically split approximately every **1.9 Gb**, using high quality video this means about 22 minutes. 
 + 
 +During the test I experienced some unexpected stops in recording: the camera emitted a beep followed by three short beeps (FIXME check actually) then stopped recording. The camera remained on, the battery was not empty (the ring LED was still blue) and SD card had plenty of space. No overheat was evident: room temperature was about 19 °C and camera body was cold. I just pressed the video button again to start another recording. May be some glitches into the SD card? It was a Samsung 32 EVO microSDHC, Bus UHS-I, UHS Speed Class U1. 
 + 
 +^ Battery Model and Brand     ^ Service Status     ^ Video Recording Duration 
 +| AZ13-1 Yi original 1010 mA  | Used, 5 years old  | 70 min  | 
 +| AZ13-1 Kingma 1010 mA       | Used, 5 years old  | 64 min  | 
 +| AZ13-1 MTB 890 mA           | Brand new          | 89 min  | 
 + 
 + 
 +===== Lens Distortion Correction ===== 
 + 
 +The Yi camera features an **ultra-wide angle lens**, capable of an **angle of view of 155°**. However this leads to a strong image distortion at the edges of the frame. You can enable the **Lens Distortion Correction** into the camera settings, this will stretch the image, reducing the angle of view and thus loosing a portion at the edges, but it will correct the aspect of the image, reducing the **barrel effect**. The correction is performed by software, this means that a smaller portion of the native image captured by the sensor will be enlarged to became a full resolution image, effectively **creating missing pixels** by **software interpolation**. 
 + 
 +In the following images you can se the difference between **LDC** (Lens Distortion Correction) option set to **OFF** and **ON**. The third image shows roughly how much of the frame is lost when LDC is on. 
 + 
 +{{.:yi:yi-cam-lens-distortion-correction-off.jpg?400|Yi Action Camera - Lens Distortion Correction Off}} 
 +{{.:yi:yi-cam-lens-distortion-correction-on.jpg?400|Yi Action Camera - Lens Distortion Correction On}} 
 + 
 +{{.:yi:yi-cam-lens-distortion-correction.jpg?400|Yi Action Camera - Lens Distortion Correction Off-On Comparison}} 
 + 
 +===== Time-lapse ===== 
 + 
 +For **long duration time-lapse**, **remove the battery** and connect an **external power supply** to the micro USB. 
 + 
 +To start a time-lapse video you need the Android app. From the main screen select the **video icon**, then **Timelapse**. Tapping the **INT/LEN** label you can select the **interval** between each frame (from 0.5 to 60 seconds) and the **video length** (from 6 to 120 minutes, or off for manual stop). Once you made the settings, you can disconnect the app and turn off the camera WiFi. Start the time-lapse using the **shot button**. The **camera remains in time-lapse mode** untill you turn it off. 
 + 
 +Do not confuse the **video time-lapse** mode with the **photo time-lapse** mode. From the main screen, **Settings** (gear icon) => **Device Settings** => **Default Photo Mode** you can set the default photo mode: 
 + 
 +^ Photo Modes  ^^ 
 +^ Photo     | Standard single shot mode.  | 
 +^ Timer     | Shot is taken after an initial wait of 3, 5, 10 or 15 seconds. 
 +^ Burst     | A short burst of poses is taken, you can choose 3p/s, 5p/s, 7p/s or 7p/2s. 
 +^ Timelapse | The interval between shots can be set to 0.5, 1, 2, 5, 10, 30 or 60 seconds. 
 + 
 +The photo time-lapse start when you press the shot button; press it again to stop the sequence. The **single photos** are saved, a video is not created.
  
-  * [[https://www.youtube.com/watch?v=CoVasFuhiH8|Third Party Battery Issue - Xiaomi Yi Action Camera]] 
-  * [[https://www.youtube.com/watch?v=EA0l0jxU21I|Xiaomi Yi Action Camera - Chinese vs International Version (black version) - Review]] 
 ===== The Android App ===== ===== The Android App =====
  
 We installed the Android application **[[https://play.google.com/store/apps/details?id=com.xiaomi.xy.sportscamera|YI Action]]** version 3.9.3, it required access to **media files**, **camera** and **location**, we revoked the access to **contacts** and **phone**. We installed the Android application **[[https://play.google.com/store/apps/details?id=com.xiaomi.xy.sportscamera|YI Action]]** version 3.9.3, it required access to **media files**, **camera** and **location**, we revoked the access to **contacts** and **phone**.
 +
 +To date (April 2021) the YI Action app is not longer hosted on the Google Play, may be due the dispute with the United States government. You can find the app from the **[[http://www.xiaoyi.com/yi_action_camera/download_en.html|www.xiaoyi.com]]** site.
  
 As reported by several users, if you have trouble connecting to the Yi camera WiFi, try to **disable data connecton**, leaving only WiFi active. As reported by several users, if you have trouble connecting to the Yi camera WiFi, try to **disable data connecton**, leaving only WiFi active.
- 
  
 ===== Firmware ===== ===== Firmware =====
Line 104: Line 159:
 Use the SD card to update the firmware version by placing "firmware.bin" on the SD card and powering on the device. Use the SD card to update the firmware version by placing "firmware.bin" on the SD card and powering on the device.
  
 +===== Web References =====
 +
 +  * [[https://www.youtube.com/watch?v=CoVasFuhiH8|Third Party Battery Issue - Xiaomi Yi Action Camera]]
 +  * [[https://www.youtube.com/watch?v=EA0l0jxU21I|Xiaomi Yi Action Camera - Chinese vs International Version (black version) - Review]]
 +  * **{{.:yi:yi-sport-camera-en.pdf|Getting Started Manual}}**
 +  * **[[https://www.xiaoyi.com/en/specs_en.html|YI Action Camera Technical Specs]]** - ({{:doc:appunti:hardware:yi:yi-action-camera-specs.jpg?linkonly|local copy}})
doc/appunti/hardware/xiaomi_yi.1595602385.txt.gz · Last modified: 2020/07/24 16:53 by niccolo