{"id":13802441,"url":"https://github.com/FunPythonEC/OV2640_uPy","last_synced_at":"2025-05-13T13:31:06.343Z","repository":{"id":68401602,"uuid":"175147732","full_name":"FunPythonEC/OV2640_uPy","owner":"FunPythonEC","description":"Libreria para camara OV2640 con MicroPython","archived":false,"fork":false,"pushed_at":"2019-04-26T22:52:53.000Z","size":530,"stargazers_count":7,"open_issues_count":2,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-29T22:53:36.130Z","etag":null,"topics":["camera","camera-image","i2c-sensors","micropython-esp32","ov2640","spi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FunPythonEC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-12T06:19:23.000Z","updated_at":"2022-06-06T09:27:55.000Z","dependencies_parsed_at":"2023-09-13T05:03:08.282Z","dependency_job_id":null,"html_url":"https://github.com/FunPythonEC/OV2640_uPy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FunPythonEC%2FOV2640_uPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FunPythonEC%2FOV2640_uPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FunPythonEC%2FOV2640_uPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FunPythonEC%2FOV2640_uPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FunPythonEC","download_url":"https://codeload.github.com/FunPythonEC/OV2640_uPy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225218052,"owners_count":17439713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camera","camera-image","i2c-sensors","micropython-esp32","ov2640","spi"],"created_at":"2024-08-04T00:01:44.552Z","updated_at":"2024-11-18T17:31:24.558Z","avatar_url":"https://github.com/FunPythonEC.png","language":"Python","readme":"# OV2640_uPy - MicroPython class to use OV2640\nLibreria para camara OV2640 con MicroPython, especificamente para el ESP32 el cual tiene una mayor capacidad de procesamiento.\nHa sido creada a partir de la de namato encontrada en el siguiente link: https://github.com/namato/micropython-ov2640\n\n## Conexiones para la comunicación\nLa camara OV2640 con fifo permite comunicación I²C y SPI. Por lo que a continuación se muestran los pines predeterminados que son usados para ello. La comunicación I²C es dedicada para las configuraciones de la cámara, mientras que la SPI es para la transmisión de la imagen captada.\n\n### I²C\nLos pines especificados en la siguiente tabla son los usados por default en el constructor de la clase.\n| Pin Camara (OV2640) | Pin ESP |\n| ------------------- | ------- |\n| SCL                 | GPIO22  |\n| SDA                 | GPIO21  |\n\n### SPI\nLos pines especificados en la siguiente tabla son los usados por default en el constructor de la clase.\n| Pin Camara (OV2640) | Pin ESP |\n| ------------------- | ------- |\n| CS   | GPIO15 |\n| SCK  | GPIO14 |\n| MOSI | GPIO13 |\n| MISO | GPIO12 |\n\n## Ejemplos de uso\n### Pines predeterminados\n\n~~~~ python\nimport ov2640\nfrom ov2640_config import *\nfrom ov2640_constants import *\nfrom ov2640_hires_constants import *\nfrom ov2640_lores_constants import *\ncam = ov2640.ov2640()\nnbytes = cam.capture_to_file(\"/image.jpg\")\n~~~~\n\n### Pines especificos\n\n~~~~ python\nimport ov2640\nfrom ov2640_config import *\nfrom ov2640_constants import *\nfrom ov2640_hires_constants import *\nfrom ov2640_lores_constants import *\n#todos los imports anteriores son para poder usar las constantes de encoding de las imagenes y configuraciones\ncam = ov2640.ov2640(sclpin=22, sdapin=21, cspin=15, sckpin=14, mosipin=13, misopin=12, resolution=ov2640_hires_constants.OV2640_320x240_JPEG, imagedecode=ov2640_constants.OV2640_YUV422)\nnbytes = cam.capture_to_file(\"/image.jpg\")\n~~~~\n\n## Proximas actualizaciones\n* Proximamente se agregaran ciertas configuraciones posibles para la camara y ademas el ejemplo de un web server para video streaming.\n* Una programación más sencilla para los imports y su uso.\n* Metodos para la configuración de la camara por I²C.","funding_links":[],"categories":["Libraries"],"sub_categories":["Sensors"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFunPythonEC%2FOV2640_uPy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFunPythonEC%2FOV2640_uPy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFunPythonEC%2FOV2640_uPy/lists"}