User Tools

Site Tools


doc:appunti:hardware:raspberry_explorer

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
Last revisionBoth sides next revision
doc:appunti:hardware:raspberry_explorer [2018/10/15 16:03] – [Web References] niccolodoc:appunti:hardware:raspberry_explorer [2018/10/26 10:59] – [Other Sensors] niccolo
Line 42: Line 42:
 {{ .:raspberrypi:raspberry_pi_cam_miuzei_ov5647.jpg?direct&180|Image captured by the OV5647 camera}} {{ .:raspberrypi:raspberry_pi_cam_miuzei_ov5647.jpg?direct&180|Image captured by the OV5647 camera}}
 The camera mounted in our kit is based on the **OV5647 sensor**, capable of 2592x1944 pixels (**5 Mpixels**). The camera has a **wide viewing angle** of 175°. The camera requires a **manual focus adjust**, turning the lens mount clockwise or counerclockwise. The focus resulted a bit critical: trying to focus to infinity it resulted that the mere rotation of 1/16 of a turn, can **mess-out the focus** very badly. Also the quality of the pictures is **not exceptional**, they miss the crisp level that we would expect from a 5 Mpixels sensor. The camera mounted in our kit is based on the **OV5647 sensor**, capable of 2592x1944 pixels (**5 Mpixels**). The camera has a **wide viewing angle** of 175°. The camera requires a **manual focus adjust**, turning the lens mount clockwise or counerclockwise. The focus resulted a bit critical: trying to focus to infinity it resulted that the mere rotation of 1/16 of a turn, can **mess-out the focus** very badly. Also the quality of the pictures is **not exceptional**, they miss the crisp level that we would expect from a 5 Mpixels sensor.
 +
 +===== Other Sensors =====
 +
 +{{.:raspberrypi:sensors-front.jpg?direct&500|Misc sensors: GPS, Accel & Gyro, Magnetic, Pressure}}
 +
 +{{.:raspberrypi:sensors-back.jpg?direct&500|Sensor's Back Side}}
 +
 +  * **GPS u-blox NEO-6**
 +  * **GY-521: MPU-6050 Accelerometer and Gyroscope**
 +  * **GY-273: QMC5883L 3-Axis Magnetic Sensor**
 +  * **GYBMEP: BME280 pressure, humidity and temperature sensor**
  
 ===== Software Setup ===== ===== Software Setup =====
Line 226: Line 237:
  
 I use **gpxlogger** (from the **gpsd-clients** Debian package) to acquire track logs from the GPS. It seems that the program has a bug handling the **%%-f%% option**, sometimes it crashes with the error //free(): invalid next size (fast)//. I opened [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909082|bug #909082]] on Debian. Changing the file name to be created, is a workaround for this problem. I use **gpxlogger** (from the **gpsd-clients** Debian package) to acquire track logs from the GPS. It seems that the program has a bug handling the **%%-f%% option**, sometimes it crashes with the error //free(): invalid next size (fast)//. I opened [[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909082|bug #909082]] on Debian. Changing the file name to be created, is a workaround for this problem.
 +
 +===== GPS u-blox NEO-6 =====
 +
 +{{.:raspberrypi:neo-6m-gps.jpg?direct&180|u-blox NEO-6 GPS with small antenna}}
 +{{.:raspberrypi:neo-6m-gps_back.jpg?direct&180|u-blox NEO-6 GPS back view}}
 +
 +
 +A cheap alternative to the Adafruit Ultimate GPS HAT is the **u-blox NEO-6 GPS** module. It has a serial interface and a pin to carry the PPS signal.
 +
 +^ u-blox  ^ Raspberry Pi                ^
 +| 1 VCC   | PIN 2 - 5V                  |
 +| 2 GND   | PIN 6 - GND                 |
 +| 3 TXD   | PIN 10 - GPIO#15 UART0_RXD  |
 +| 4 RXD   | PIN 8 - GPIO#14 UART0_TXD   |
 +| 5 PPS   | PIN 7 - GPIO#             |
 ===== Time Syncronization with GPS and NTP ===== ===== Time Syncronization with GPS and NTP =====
  
Line 531: Line 557:
   * [[https://www.raspberrypi.org/forums/viewtopic.php?p=1102197#p1102197|Wrong I2C Address]]   * [[https://www.raspberrypi.org/forums/viewtopic.php?p=1102197#p1102197|Wrong I2C Address]]
   * [[https://www.raspberrypi.org/forums/viewtopic.php?t=184556|GY-271 HMC5883L Compass Returning 0]]   * [[https://www.raspberrypi.org/forums/viewtopic.php?t=184556|GY-271 HMC5883L Compass Returning 0]]
 +  * [[https://github.com/kriswiner/MPU6050/wiki/Simple-and-Effective-Magnetometer-Calibration|Simple and Effective Magnetometer Calibration]]
  
 === Other Sensors === === Other Sensors ===
doc/appunti/hardware/raspberry_explorer.txt · Last modified: 2018/11/26 09:42 by niccolo