Search found 153 matches

by chrisPyres66
Wed Oct 14, 2020 10:09 am
Forum: Technical Discussion
Topic: H7 PLUS: LCD SHIELD & NO FREE PWM PIN
Replies: 2
Views: 40

H7 PLUS: LCD SHIELD & NO FREE PWM PIN

Hello All,

After looking lcd shield and H7 PLUS pinout, could i conclude there is anymore free pwm pin ???

Thanks,
by chrisPyres66
Tue Sep 01, 2020 6:06 am
Forum: Technical Discussion
Topic: april tag size
Replies: 1
Views: 62

april tag size

Dear all, I used apriltag generator from openmv ide which gives 510x510px square with 6x6 information squares of 85x85px surrounded by white and black square To save size, i did my own 6x6 information squares with size of 13x13px and surrounded only by a 6px white square. Does it mind if i change th...
by chrisPyres66
Mon Aug 24, 2020 4:28 am
Forum: General Topics
Topic: How use apriltag rotations to correct image rotation
Replies: 5
Views: 151

Re: How use apriltag rotations to correct image rotation

Ok, it means the use of z rotation is only ok like : .... sensor.set_windowing( (apriltag.cx(), apriltag.cy(), width, height) ) .... sensor.snapshot().rotation_corr( x_rotation = 0, \ y_rotation = 0, \ z_rotation = math.degrees( apriltag.z_rotation() ) ) because the center of image coordinate is onl...
by chrisPyres66
Thu Aug 20, 2020 6:13 am
Forum: General Topics
Topic: How use apriltag rotations to correct image rotation
Replies: 5
Views: 151

Re: How use apriltag rotations to correct image rotation

Ok thanks. Is this correct for you : .... sensor.set_windowing( (apriltag.cx(), apriltag.cy(), width, height) ) .... sensor.snapshot().rotation_corr( x_rotation = 180-math.degrees( apriltag.x_rotation() ), \ y_rotation = 360-math.degrees( apriltag.y_rotation() ), \ z_rotation = math.degrees( aprilta...
by chrisPyres66
Wed Aug 19, 2020 9:51 am
Forum: General Topics
Topic: How use apriltag rotations to correct image rotation
Replies: 5
Views: 151

How use apriltag rotations to correct image rotation

Dear all, I use 4x 16H5 ApriTtags with size of (90x90) px on a plane surface at the corners of a rectangle area. Like i can see them with different view angle, i would like to rotate image by using the apriltag informations. After locating april tags, i use x_rotation, y_rotation, z_rotation in radi...
by chrisPyres66
Fri Jun 05, 2020 5:08 am
Forum: General Topics
Topic: main.py
Replies: 1
Views: 227

main.py

Dear All, I am a bit confused because i missed a change about the use of main.py or not, i dont know. i believed to remember if there is not a main.py on sdcard, that is the main.py of c code which is used. But if i have a sdcard, the main.py of c code is not used. is it right ? If it is right, is t...
by chrisPyres66
Thu Jun 04, 2020 9:08 am
Forum: General Topics
Topic: H264 on H7+
Replies: 3
Views: 301

Re: H264 on H7+

Well it is pretty amazing, all openmv is amazing for me (i have never started video without openmv). What a pity, there is not an ethernet shield to do the same through wire. I was thinking more about recording this video at the other end without any additionnal treatment except recording. I mean in...
by chrisPyres66
Thu Jun 04, 2020 8:59 am
Forum: Technical Discussion
Topic: what is the good practice to import module
Replies: 1
Views: 169

what is the good practice to import module

Dear All,

I would like to know if there is an impact to do relative or absolute import about speed or maximal size of python code ?

Thanks,
by chrisPyres66
Wed Jun 03, 2020 8:56 am
Forum: General Topics
Topic: H264 on H7+
Replies: 3
Views: 301

H264 on H7+

Dear All,

Does the "+" of "h7+" mean only more memory or as well additional compression mode like h264 for exemple in next future ?
H264 shield does not seam very efficient due to big data transmission, does it ?

Thanks,
by chrisPyres66
Thu Apr 02, 2020 2:34 am
Forum: Technical Discussion
Topic: Pic time for OV2640 in JPEG/UXGA with USB connected
Replies: 5
Views: 939

Re: Pic time for OV2640 in JPEG/UXGA with USB connected

yes it is, if i dont have usb connected.
The time between pics is around 250ms at each time on pics, when i run main.py and record on sdcard without usb connection.
I will forward today to see if it is not uvc driver, a current limitation of usb2 or something else..
by chrisPyres66
Wed Apr 01, 2020 1:23 pm
Forum: Technical Discussion
Topic: Pic time for OV2640 in JPEG/UXGA with USB connected
Replies: 5
Views: 939

Re: Pic time for OV2640 in JPEG/UXGA with USB connected

It is the same problem without the SD card write.
it appears along time like 4- 5pics, and stabilize around 3s.
by chrisPyres66
Wed Apr 01, 2020 11:59 am
Forum: Technical Discussion
Topic: Pic time for OV2640 in JPEG/UXGA with USB connected
Replies: 5
Views: 939

Pic time for OV2640 in JPEG/UXGA with USB connected

Hello all, I use OV2640 cam in UXGA/JPEG mode on STM32F765 with firmware 3.5.3. The time between pics is very high when usb is connected. Even if frame view is desactivated in openmvide, or the test is only through uvc terminal. Here is an test code : import sensor, image, time, os, pyb total = 10 f...
by chrisPyres66
Wed Apr 01, 2020 11:40 am
Forum: Technical Discussion
Topic: Something like chkdsk for SdCard in python ?
Replies: 5
Views: 1093

Re: Something like chkdsk for SdCard in python ?

Yes, i agree jpeg has good compression even with lost.
The idea was to do a big pack to send....
by chrisPyres66
Thu Mar 26, 2020 11:45 am
Forum: Technical Discussion
Topic: Something like chkdsk for SdCard in python ?
Replies: 5
Views: 1093

Re: Something like chkdsk for SdCard in python ?

Ok, what a pity ! Have you an idea how compress files in tgz before sending thourgh uart ? I found - uzlib but it is only decompression and not installed - on micropython website : - https://github.com/micropython/micropython-lib/tree/master/utarfile - https://github.com/micropython/micropython-lib/...
by chrisPyres66
Wed Mar 25, 2020 6:48 am
Forum: Technical Discussion
Topic: Something like chkdsk for SdCard in python ?
Replies: 5
Views: 1093

Something like chkdsk for SdCard in python ?

Hi all, I hope everything is ok for all at this world around confinement period. I use M7 with sdcard to record pictures and send them later through UART. So i record files, send the name or data of theses files, then erase them. As i still use openmvide to check python code, sdcard is sometimes cor...
by chrisPyres66
Tue Jan 21, 2020 3:14 am
Forum: Technical Discussion
Topic: is it possible to do something else during adc reading ?
Replies: 1
Views: 892

is it possible to do something else during adc reading ?

Dear all, i try to sample an analog signal at 40khz with adc but i dont success to do it in real time in this code : import time, pyb from pyb import ADC adc = pyb.ADC(pyb.Pin("P6")) # create an ADC on pin P5 tim = pyb.Timer(6, freq=40000) # create a timer running at 10Hz buf = bytearray(5) # creat ...
by chrisPyres66
Tue Jan 07, 2020 6:18 am
Forum: General Topics
Topic: 5MP OV5640 sensor on STM32F765
Replies: 3
Views: 1474

Re: 5MP OV5640 sensor on STM32F765

Omnivision has ov5640 dev board like Gaia with a soft which can help because you have writed register in real time !
by chrisPyres66
Mon Jan 06, 2020 11:30 am
Forum: General Topics
Topic: 5MP OV5640 sensor on STM32F765
Replies: 3
Views: 1474

5MP OV5640 sensor on STM32F765

Dear all, Awefull, I tested the last firmware V352 to save UXGA images with OV5640 on a STM32F765 in jpeg mode on SDCARD and it works. The only thing is the subject is blured if the subject moves under indoor environnment. I suppose the automative exposition time is set too long. Do you you any idea...
by chrisPyres66
Wed Dec 18, 2019 11:15 am
Forum: General Topics
Topic: H7 compilation
Replies: 15
Views: 5684

Re: H7 compilation

great, i will check this
by chrisPyres66
Fri Dec 13, 2019 8:00 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Hello, I just tested the OV5640, and in first approach i get in openmvide - QVGA image with violet color - VGA image with psychedelic color - no jpeg mode I tried to modify the registers through __write_reg and __read_reg function without success ?? Therefore i did it before compiling, and i could r...
by chrisPyres66
Tue Dec 10, 2019 6:11 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

well, i was badly thinking about rising and falling edges time consideration... but it is ok !

I tried OV5640, and VGA mode give colored images.
Do you have timeline for OV5640 driver ?
by chrisPyres66
Tue Dec 03, 2019 3:13 am
Forum: General Topics
Topic: H7 compilation
Replies: 15
Views: 5684

Re: H7 compilation

Thanks a lot for your ever quick answer and time. From my side, I did not get the link between the st official software and your wiki install from github : https://github.com/openmv/openmv/wiki Do you mean to use : - stmcube32ide in place of qtcreator - or the official st on-chip debbuger ??? in pla...
by chrisPyres66
Mon Dec 02, 2019 12:08 pm
Forum: General Topics
Topic: H7 compilation
Replies: 15
Views: 5684

Re: H7 compilation

What is the official ST debugging software ?
by chrisPyres66
Mon Dec 02, 2019 11:05 am
Forum: General Topics
Topic: H7 compilation
Replies: 15
Views: 5684

Re: H7 compilation

hello all, I started new installation with : - OS : Ubuntu 18.04 - Qt creator : 4.10.2 - Default gcc (arm 32bit) - Default openocd - Plug in : Bare metal 4.1.2 - debugger : GDB 8.3 which allows to debug openmv3 with stm32f7. For openmv4, i tried as well : - openocd from ntfreak with stm32h7x.cfg wit...
by chrisPyres66
Tue Nov 26, 2019 10:43 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Ok, but could you use the maximum speed to communicate ?
by chrisPyres66
Mon Nov 25, 2019 11:19 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

How did you manage I/o voltage between 2.8v of sensor and 3.3v of uc ?
Did you use a level voltage switcher ?
by chrisPyres66
Wed Nov 20, 2019 8:01 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Are you going to add jpeg mode for the ov5640 too ?
by chrisPyres66
Tue Nov 19, 2019 11:33 am
Forum: General Topics
Topic: mjpeg file
Replies: 7
Views: 1533

Re: mjpeg file

It is weird, because if i see the vlc messages when i open the video file, it is an avi error ????
by chrisPyres66
Mon Nov 18, 2019 9:12 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Opposite to the subject of this post, i tried it on a F7 board.
by chrisPyres66
Mon Nov 18, 2019 3:39 am
Forum: General Topics
Topic: mjpeg file
Replies: 7
Views: 1533

Re: mjpeg file

Thanks,

1 - See the joined file to read the text of vlc when i read the mjpeg file.
Note if i use mpg extension, i dont have this problem with the windows player...

2 - i use windows and my idea was to do it with a mycropython function like machine.reset()..
by chrisPyres66
Fri Nov 15, 2019 5:45 am
Forum: General Topics
Topic: mjpeg file
Replies: 7
Views: 1533

mjpeg file

Dear All, I used the mjpeg function to create a mjpeg file on sdcard. 1 - The mjpeg file has any resolution description in its propriety, and the index should be recreated when reading with VLC. What is the simple way to have these proprieties and/or this index ? 2 - To see the mjpeg file on sdcard,...
by chrisPyres66
Fri Nov 15, 2019 4:07 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Ok with the 3.5.1 firm, the mjpeg function did an uxga video on the sdcard with the ov2640 in jpeg mode.
by chrisPyres66
Fri Nov 08, 2019 3:47 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

With 3.4.0 version and this python code : import sensor, image if sensor.get_id() == sensor.OV2640 : print('OV2640') sensor.reset() # Reset and initialize the sensor. sensor.set_pixformat(sensor.JPEG) # Set pixel format to RGB565 (or GRAYSCALE) sensor.set_framesize(sensor.UXGA) # Set frame size to Q...
by chrisPyres66
Thu Nov 07, 2019 12:16 pm
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

Ok, but how do you get image without using snapshot which is not working in this mode ?
by chrisPyres66
Wed Nov 06, 2019 4:36 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

Re: OV2640 module for H7 cam

A board with 24pin fpc connector could be great to test other camera. The only problem for ov2640 is the power supply of 3v in place of 3.3v. In M4, you could change the regulator output reference. However I started openmv with F7, is it possible to have UXGA (1600x1200) with M4 through openmvIDE or...
by chrisPyres66
Tue Nov 05, 2019 11:39 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 5341

OV2640 module for H7 cam

Dear All,

I know the cam H7 is working with ov7725 (640x480), and the cam M4 with the ov2640 (1600x1200 but used in 320x240).
Like all the code exists, i would like to know if it is possible to build an 0v2640 module for cam h7, and record jpeg image in uxvga ?

Thanks,
by chrisPyres66
Wed Oct 16, 2019 4:54 am
Forum: General Topics
Topic: DFU programmation with openmvide
Replies: 4
Views: 1042

Re: DFU programmation with openmvide

It works now with the last stm32cubeprogrammer V2.2 at 115200bauds.
by chrisPyres66
Fri Sep 20, 2019 5:04 am
Forum: General Topics
Topic: external smps regulator for STM32H7
Replies: 2
Views: 888

Re: external smps regulator for STM32H7

Yes, or you can just add a fet transistor to switch off and re-on the camera as you need ! I am looking at the moment to have a low consumption for H7, and it is more complicated than F7 : - In standby mode, if you switch off camera, switch on RTC, BACKRAM, SWD GPIO, you can have less than 5µA. - In...
by chrisPyres66
Wed Sep 18, 2019 4:55 am
Forum: General Topics
Topic: external smps regulator for STM32H7
Replies: 2
Views: 888

external smps regulator for STM32H7

Dear all, I was working on web (lol), and i red this st forum post : https://community.st.com/s/question/0D50X0000BI1mZCSQZ/stm32h743-failure-behavior-with-external-core-smps about using external smps regulator in place of internal ldo regulator to save energy for STM32H743. That is right in new stm...
by chrisPyres66
Wed Sep 11, 2019 11:31 am
Forum: General Topics
Topic: OpenIoE
Replies: 3
Views: 1039

Re: OpenIoE

What do you mean by DRAM ?
Is a cam connnecting something like here :
https://github.com/scorelab/OpenIoE
?
by chrisPyres66
Tue Sep 10, 2019 11:30 am
Forum: General Topics
Topic: OpenIoE
Replies: 3
Views: 1039

OpenIoE

Dear all, I was working on web, lol, and i found this : https://fr.aliexpress.com/item/32882809584.html?srcSns=sns_More&tid=white_backgroup_101&mb=loajGOeM62DJzeK&tt=ae.MailActivity&aff_platform=default&cpt=1568128867367&sk=2Hs2kgGC&aff_trace_key=22b4ff1e021a45148d218e17208b42d3-1568128867367-09391-...
by chrisPyres66
Thu Sep 05, 2019 2:45 am
Forum: General Topics
Topic: DFU programmation with openmvide
Replies: 4
Views: 1042

Re: DFU programmation with openmvide

The programmation window appears and does nothing more than 5min. I just installed the last stm32cubeprogrammer V2.1.0 in place of V1.1.0, i dont know if the driver has changed ? I tried with UART3 boot mode and stm32cubeprogrammer but without success. Have you already done it with uart boot mode ? ...
by chrisPyres66
Wed Sep 04, 2019 8:08 am
Forum: General Topics
Topic: DFU programmation with openmvide
Replies: 4
Views: 1042

DFU programmation with openmvide

Dear All,

I tried to program the cam H7 in dfu mode with openmvide V2.2 without success, and I could do it with stm32cubeprogrammer V2.1.0 in dfu mode.
Do you know why it does not work anymore with openmvide ?

I join you an image with stm32cubeprogrammer.

Thanks,
by chrisPyres66
Wed Aug 28, 2019 10:38 am
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 1490

Re: backup memory during low power mode

Dear both, Thanks for your precious help. I could not test it with STM32H7 because deep_sleep.py example does work with it : https://github.com/openmv/openmv/issues/573 But with STM32F7, here is the code which seems to works : import pyb, time, machine, stm rtc = pyb.RTC() rtc.datetime((2019, 4, 29,...
by chrisPyres66
Tue Aug 27, 2019 11:34 am
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 1490

backup memory during low power mode

Dear all,

I know on STM32F7 and STM32H7, there is a backup sram to use for keeping the configuration during low power mode like deepsleep.
But i dont know how to use it in python code, is it possible ?

Thanks,
by chrisPyres66
Fri Aug 02, 2019 6:07 am
Forum: General Topics
Topic: Size of usb key mounted as openmv
Replies: 9
Views: 4260

Re: Size of usb key mounted as openmv

Yes i know, but the time to transfert image through UART is too long, and my idea was to stock these images temporarely to this flash. I thought the vfs driver manage this page writing but you are right, there are some unstabilities. eg, sometimes all files i had on this flash disappeared, probably ...
by chrisPyres66
Thu Aug 01, 2019 5:46 am
Forum: General Topics
Topic: What is the simplest way to create my own python function ?
Replies: 7
Views: 3983

Re: What is the simplest way to create my own python function ?

Sorry i was not very explicit, because i proposed a solution and dit not with the idea. The idea is to have a template python function included in the github for newbie to understand how it works and test it. I think to do it by myseld, i should - create and add in py directory the files : py_file.c...
by chrisPyres66
Thu Aug 01, 2019 5:21 am
Forum: General Topics
Topic: Size of usb key mounted as openmv
Replies: 9
Views: 4260

Re: Size of usb key mounted as openmv

Well i dont understand what means "filesystem is cached in memory" because : F7 has : - sector (0) for boot of 32k - sector (1, 2, 3) for Fat of 32k each (32k x 3 = 96k) - sector 4 of 128k and sector (5 to 11) of 256k each for firmware each (128k + 7 x 256k = 1920K) H7 has : - sector (0) for boot of...
by chrisPyres66
Thu Jul 25, 2019 2:43 am
Forum: General Topics
Topic: What is the simplest way to create my own python function ?
Replies: 7
Views: 3983

Re: What is the simplest way to create my own python function ?

Is it possible to have a template lib for newbie like there are in imlib_config.h ?
by chrisPyres66
Thu Jul 18, 2019 2:52 am
Forum: General Topics
Topic: OpenMV and robotic arms
Replies: 3
Views: 2114

Re: OpenMV and robotic arms

It is not a function, it is the lens wich is fixed focus or auto focus !
If you use default lens of openmv, it is all fixed focus

Go to advanced search