Commit Graph

169 Commits

Author SHA1 Message Date
Kwabena W. Agyeman
2f5216f448 Requested changes for Ibrahim 2020-06-01 20:16:38 -07:00
Kwabena W. Agyeman
8d09c6630a Fix buffer overflow issues 2020-05-29 11:48:32 -07:00
Kwabena W. Agyeman
644655539b Modified sensor.c per Ibrahim's requests 2020-05-25 16:13:34 -07:00
Kwabena W. Agyeman
f454cd82c5 Fix comments and typos per Ibrahim 2020-05-25 10:53:56 -07:00
Kwabena W. Agyeman
1fe9d62958 Optimized Sensor Driver for Double FPS 2020-05-23 15:37:16 -07:00
Kwabena W. Agyeman
104ed7c0b8 Fixed OV5640 Imaging Modes
* Grayscale/RGB565/Bayer/JPEG works perfectly on all reses.
* Increased maximum JPEG image transfer size.
* Improved line buffer transfer rate.
2020-05-17 21:53:57 -07:00
iabdalkader
a92c927aed Make cambus functions accept I2C handle. 2020-05-08 19:51:28 +02:00
Kwabena W. Agyeman
18b27e11c3 Fix disable FB 2020-05-03 17:33:32 -07:00
Kwabena W. Agyeman
012bef5966 First image is invalid on sensor init0. 2020-04-18 23:09:26 -07:00
Larry Bank
b07ea88875
Optimize sensor copy (#747)
* Optimize line copy to allow full res capture
* Change all pixel types to use the 40/80Mhz clock

Authored-by: Larry Bank <laurencebank@gmail.com>
2020-04-02 21:38:51 +02:00
iabdalkader
f6f030e2b7 Rename sensor ifdef check. 2020-02-26 18:02:25 +02:00
iabdalkader
ccea3aecb2 Rename FSIN pin to FSYNC.
* Legacy name from OV datasheets.
2020-02-21 14:20:47 +02:00
iabdalkader
403e8ae798 Fix FSYNC pin.
* Disable FSYNC flag for sensors that don't actually use it.
* Only control the FSYNC pin for sensors that set the FSYNC flag.
2020-02-21 14:04:58 +02:00
Kwabena W. Agyeman
705e98f915 Remove:
* Unused py_sensor.h header file.
* Unused set_framerate method.
* Unused py_sensor_print method.
* Removed unused set_binning.
2020-02-17 18:36:55 -08:00
Kwabena W. Agyeman
3c970e860a Auto rotation enabled 2020-02-12 21:49:32 -08:00
Ibrahim Abd Elkader
58f7d5e3c2
Merge pull request #714 from kwagyeman/kwabena/ov7690_driver_round_2
New OV7690 camera driver.
2020-02-12 20:53:45 +02:00
Kwabena W. Agyeman
98d203c747 New OV7690 camera driver. 2020-02-11 22:18:02 -08:00
Kwabena W. Agyeman
f314ac4e72 Improve sensor module with transpose and get operations 2020-02-11 20:59:36 -08:00
iabdalkader
9f2e0d66ca Allow sensor clock to not be defined.
* Add OMV_XCLK_OSC to use when an external osc is used.
2020-02-09 22:14:26 +02:00
iabdalkader
3a7dd95ecc Fix sensor address and manf. ID. 2020-02-09 18:48:35 +02:00
iabdalkader
abd977c60f Add HIMAX HM01B0 driver. 2020-02-08 21:25:59 +02:00
Kwabena W. Agyeman
e249770fe1 OV5640 Driver Finished
It basically works. I might be able to improve it with the final
hardware.
2020-01-13 00:21:19 -08:00
Kwabena W. Agyeman
0cdd3e57ac Add initial full support for the OV5640
* Need to increase sensor output speed
* Need to add exposure control code
2020-01-04 17:48:55 -08:00
iabdalkader
73c64abb22 Fix indent. 2019-12-28 02:16:33 +02:00
iabdalkader
48a965fb96 Fix hardfault when setting lepton to VGA/RGB565. 2019-10-07 17:06:50 +02:00
iabdalkader
54b8132949 License update. 2019-09-05 22:17:50 +02:00
iabdalkader
7665d4f16c Restore sensor shutdown state on reset. 2019-08-23 20:54:34 +02:00
iabdalkader
cd119d8d82 Fix cache maintenance issue in JPEG mode.
* In JPEG mode the cacheable framebuffer memory is used directly by the DMA, instead of the line buffer.
Cache maintenance must be performed before the CPU accesses the framebuffer memory.
2019-08-11 18:04:12 +02:00
iabdalkader
3187b5c20e Fix max DCMI transfer size. 2019-07-22 23:38:39 +02:00
Kwabena W. Agyeman
376899876f Lower PCLK from 72 MHz to 36 MHz. 2019-07-21 16:36:37 -07:00
Kwabena W. Agyeman
5e0cca6c3c Update the OV2640 driver.
* Images are right side up now.
* Picture quality is acceptable (not as good as the OV7725)
* All auto functions work now (the OV2640 ignores exposure control
however)
* Added XGA frame size.
* JPEG mode is enabled but needs work still (not sure if the H7 hardware
can capture the packet stream fast enough not to drop bytes).
2019-07-20 23:30:08 -07:00
kidswong999
dceb0e324f Detect sensor based on I2C address. 2019-07-12 23:11:24 +02:00
kidswong999
dcbc67fd60 Change sensor reg_addr to uint16_t 2019-07-12 23:04:15 +02:00
Kwabena W. Agyeman
a3f197e12d Add method to get the color palette. 2019-03-11 19:07:13 +02:00
iabdalkader
164f2e71c1 Add set_color_palette 2019-03-05 18:21:53 +02:00
iabdalkader
54e431adb2 Implement MT triggered mode using ioctls 2019-03-04 20:55:17 +02:00
iabdalkader
aafc6e995a Add sensor ioctl function. 2019-03-04 19:52:11 +02:00
Ibrahim Abd Elkader
2e327aaf38
Merge pull request #465 from kwagyeman/kwabena/mt_driver_update
Kwabena/mt driver update
2019-03-04 18:44:12 +02:00
Kwabena W. Agyeman
3c49f986e4 Enable setting the sensor to a triggered mode. 2019-03-03 00:48:12 -05:00
Kwabena W. Agyeman
2523754638 Make default jpeg res not so terrible. 2019-03-02 22:34:32 -05:00
iabdalkader
68f0b3749c Revert MT to default snapshot function. 2018-10-29 23:21:14 +02:00
iabdalkader
0f1fce6b31 Add streaming support to snapshot function. 2018-10-01 03:08:26 +02:00
iabdalkader
3fa52f966f Fix UVC streaming on H7. 2018-09-30 02:42:47 +02:00
Ibrahim Abd Elkader
36111eb2c0
Faster UVC streaming using double buffers. (#383) 2018-09-29 20:02:05 +02:00
iabdalkader
4eb2f1ac35 Add shutdown function. 2018-09-05 16:44:58 +02:00
iabdalkader
9b08e91557 MP: Update to MP 1.9.4 2018-06-11 05:18:54 +02:00
Kwabena W. Agyeman
3233592c07 Support jpeg compressing bitmap images. 2018-06-04 17:32:05 +02:00
Kwabena W. Agyeman
6daabb3a52 Fix hardcoded freqs. 2018-05-30 19:06:49 +02:00
Kwabena W. Agyeman
eb8b0777f4 Fix dynamically changing the XCLK frequency. 2018-05-30 19:04:52 +02:00
Kwabena W. Agyeman
ba47e84ec1 Add higher resolutions. 2018-05-29 16:46:26 +02:00