Search found 937 matches

by iabdalkader
Thu Sep 19, 2019 10:03 am
Forum: General Topics
Topic: external smps regulator for STM32H7
Replies: 1
Views: 31

Re: external smps regulator for STM32H7

No, but in the next revision we're going to add a pull-up on sensor power-down as discussed here in another topic, should lower the power consumption in low-power mode.
by iabdalkader
Thu Sep 19, 2019 10:02 am
Forum: General Topics
Topic: Time lapse snapshot
Replies: 2
Views: 11

Re: Time lapse snapshot

Try updating the firmware, I've just released a new firmware image which fixes some issues with the RTC and deepsleep on the H7.
by iabdalkader
Mon Sep 16, 2019 11:37 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 6112

Re: M7 crashes under Vin but works fine with USB

Hi, CAN is now supported on the H7 and the next release will be out in a day or two.
by iabdalkader
Mon Sep 16, 2019 11:34 am
Forum: Technical Discussion
Topic: h7 CAN not available
Replies: 24
Views: 21545

Re: h7 CAN not available

Hi, CAN is now supported on the H7, and I fixed the timing, setfilter() and any() bugs. The next release will be out in a day or two.
by iabdalkader
Wed Sep 11, 2019 6:27 pm
Forum: Technical Discussion
Topic: usocket and uselect reboots board
Replies: 11
Views: 2859

Re: usocket and uselect reboots board

Hi, just wanted to let you know that there were bugs in the WINC1500 driver wrapper, specifically the way timeouts were handled, which affected recv/recvfrom on non-blocking sockets, and check_msg in turn. These bugs are fixed now, setblocking(True/False) should work as expected and you shouldn't ne...
by iabdalkader
Wed Sep 11, 2019 6:29 am
Forum: General Topics
Topic: Higher FPS
Replies: 38
Views: 10737

Re: Higher FPS

mikemike wrote:
Wed Sep 11, 2019 2:12 am
hi is this applicable to H7?
Yes and it has been merged in the firmware a long time ago, plus the H7 is faster than the F7.
by iabdalkader
Mon Sep 09, 2019 2:32 pm
Forum: General Topics
Topic: H7 compilation
Replies: 6
Views: 1967

Re: H7 compilation

I installed this : https://github.com/ntfreak/openocd and - it works for debugging bootloader (i did an frimware programmation with openmv IDE) - but i have reset for firmware at led_init( hardfault ), and mp_init during mp_lookuptable(...) if i comment led... I tried debugging with openocd today a...
by iabdalkader
Sun Sep 08, 2019 8:03 pm
Forum: Technical Discussion
Topic: image areas analyse
Replies: 2
Views: 3443

Re: image areas analyse

Hi, this bug has been fixed.
by iabdalkader
Fri Sep 06, 2019 2:58 pm
Forum: General Topics
Topic: Size of usb key mounted as openmv
Replies: 7
Views: 2519

Re: Size of usb key mounted as openmv

Hi, I was going to add more sectors to the H7 filesystem, but I realized that it requires changes the bootloader and it must be updated before updating the firmware, otherwise the bootloader will jump to the old firmware address. So in conclusion this can't be done right now, because it will force u...
by iabdalkader
Mon Sep 02, 2019 6:56 pm
Forum: Technical Discussion
Topic: Error: Images not Equal
Replies: 5
Views: 248

Re: Error: Images not Equal

The two images need to be the same width, height and format. If you change this to GRAYSCALE it works:
extra_fb = sensor.alloc_extra_fb(sensor.width(), sensor.height(), sensor.RGB565)
by iabdalkader
Sun Sep 01, 2019 6:17 pm
Forum: Project Discussion
Topic: Standard Lens FOV
Replies: 9
Views: 318

Re: Standard Lens FOV

The default lens has the following FOV:
HFOV = 70.8°, VFOV = 55.6°
You can find the FOV (and other specs) of each lens in its product page:

https://openmv.io/collections/products?page=2
by iabdalkader
Sun Sep 01, 2019 1:02 pm
Forum: Technical Discussion
Topic: Taking snapshot immediately.
Replies: 4
Views: 148

Re: Taking snapshot immediately.

The example waits until it counts 10 frames where motion is detected. The 20 is a threshold for the difference.

Code: Select all

    diff = 10 # We'll say we detected motion after 10 frames of motion.
by iabdalkader
Sun Sep 01, 2019 12:17 pm
Forum: Technical Discussion
Topic: Grayscale Blob Detection
Replies: 3
Views: 93

Re: Grayscale Blob Detection

If a blob’s bounding box area is less than area_threshold it is filtered out.

If a blob’s pixel count is less than pixel_threshold it is filtered out.
Please see the docs for the meaning of the args:

http://docs.openmv.io/library/omv.image ... find_blobs
by iabdalkader
Sun Sep 01, 2019 12:08 pm
Forum: Technical Discussion
Topic: Taking snapshot immediately.
Replies: 4
Views: 148

Re: Taking snapshot immediately.

The example saves the image after detecting 10 frames of motion, try this:

Code: Select all

    while(True):
        img = sensor.snapshot()
        img.difference("temp/bg.bmp")
        stats = img.statistics()
        if (stats[5] > 20):
            img.save("temp/snapshot-%d.jpg" % pyb.rng()) # Save Pic.
by iabdalkader
Wed Aug 28, 2019 6:45 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

deepsleep is now supported on the H7 in the latest development firmware on github:

https://github.com/openmv/openmv/tree/master/firmware
by iabdalkader
Tue Aug 27, 2019 12:47 pm
Forum: Technical Discussion
Topic: backup memory during low power mode
Replies: 5
Views: 565

Re: backup memory during low power mode

No we don't have an API to access that memory, not sure MicroPython has one either.
by iabdalkader
Sun Aug 25, 2019 7:33 pm
Forum: General Topics
Topic: Connecting to static IP
Replies: 4
Views: 2561

Re: Connecting to static IP

Hi, ifconfig now supports static IPs. To set a static IP you should call ifconfig((ip, subnet, gateway, dns)) *before* calling connect(). This will be available in the next release, alternatively you can download the development firmware images from github: https://github.com/openmv/openmv/tree/mast...
by iabdalkader
Fri Aug 23, 2019 1:55 pm
Forum: Technical Discussion
Topic: Openmv _thread module support?
Replies: 7
Views: 5765

Re: Openmv _thread module support?

would you help to highlight the patch. in my work, multithread support is more important than OPENMV IDE works. so I tend to remove that patch temporarily. https://github.com/openmv/micropython/compare/e3e7dbd9223c1f066aa17af9cba21e6183a42e90...27d413a7de75c7878718d28805399bd4cf17742e#diff-c8bd57bf...
by iabdalkader
Fri Aug 23, 2019 10:14 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

Hi, I noticed wakeup is not consistent (I think it has something to do with the backup SRAM content), anyway I just updated the RTC driver from upstream and merged in another fix to disable it after soft reset. I think it works fine now. As for that other issue, the camera does wake up after long sl...
by iabdalkader
Tue Aug 20, 2019 6:59 pm
Forum: Technical Discussion
Topic: Facial landmarks
Replies: 3
Views: 1841

Re: Facial landmarks

It will not work on the camera, face recognition requires a more powerful processor and more RAM.
by iabdalkader
Tue Aug 20, 2019 6:35 pm
Forum: Technical Discussion
Topic: Facial landmarks
Replies: 3
Views: 1841

Re: Facial landmarks

No, we don't have any code for that.
by iabdalkader
Tue Aug 20, 2019 5:12 pm
Forum: Technical Discussion
Topic: Motor and LCD Shield conflicting
Replies: 25
Views: 6421

Re: Motor and LCD Shield conflicting

WOW! Very nice if all that needs doing is adding the pins to the CSV. Thanks again. Glad we could help! 4. You say "Plus any changes made to enable pins will not be merged in the upstream firmware." I think any changes YOU make could and should make it. Why not? They wouldn't break anything. Sure, ...
by iabdalkader
Tue Aug 20, 2019 6:19 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

otills wrote:
Tue Aug 20, 2019 2:25 am
Hi, yes I’m using the firmware version you linked to here. I’m trying to wake from sleeps longer than 5000 ms so perhaps that’s the problem?
Yes there's an issue with that, it needs more debugging. For now you should only sleep for <= 5000 ms.
by iabdalkader
Mon Aug 19, 2019 7:39 pm
Forum: Technical Discussion
Topic: Motor and LCD Shield conflicting
Replies: 25
Views: 6421

Re: Motor and LCD Shield conflicting

I bought it because, among other things it had the LCD and motor shields. I didn't see anywhere they don't work together. The pin mappings of every shield is in the product page, we have a limited number of I/Os it makes sense that some shields will share pins. However we'll make sure this info is ...
by iabdalkader
Mon Aug 19, 2019 6:52 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

Hi, are you sure that what you are testing is the firmware image which I've attached here ? It should say Firmware Version: 3.4.2 on the bottom left when connected... No matter what I do with rtc.datetime, I get the date time (2000, 1, 1, 1, 0, 0, 0, 0) returned This test prints the right datetime: ...
by iabdalkader
Fri Aug 16, 2019 6:14 pm
Forum: Technical Discussion
Topic: Motor and LCD Shield conflicting
Replies: 25
Views: 6421

Re: Motor and LCD Shield conflicting

No, unfortunately the LCD shields needs a lot of pins most of which are shared with the motor shields, and it leaves only 1 free PWM channel.
by iabdalkader
Fri Aug 16, 2019 5:59 pm
Forum: Technical Discussion
Topic: Motor and LCD Shield conflicting
Replies: 25
Views: 6421

Re: Motor and LCD Shield conflicting

Yes the motor and LCD shields have common pins, you can't use them both at the same time.
by iabdalkader
Wed Aug 14, 2019 12:59 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

Okay I'll have more time to work on this in the weekend.
by iabdalkader
Tue Aug 13, 2019 2:11 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

I think so, it just counts from a different date/time. Anyway, give it a test and let me know and I'll into it next weekend.
by iabdalkader
Tue Aug 13, 2019 11:45 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

You need to disable the sensor shutdown, before another reset:

Code: Select all

sensor.shutdown(False)
As for the datetime issue, I'm not sure why it's not working, but you don't need to set datetime to get a callback. I'll work on fixing this issue. The ETA for the release is 2-3 weeks
by iabdalkader
Mon Aug 12, 2019 5:57 pm
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 6112

Re: M7 crashes under Vin but works fine with USB

It should be working in a couple of weeks before the next release.
by iabdalkader
Mon Aug 12, 2019 4:27 pm
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

Hi, the attached firmware should fix the issue. Note while sleep/stop mode now works, deepsleep is still not supported on the H7.
by iabdalkader
Mon Aug 12, 2019 10:35 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

Not unless you control power to the camera with another board. I'll try to work on this today.
by iabdalkader
Mon Aug 12, 2019 9:30 am
Forum: General Topics
Topic: Two Issues about autostart
Replies: 31
Views: 17381

Re: Two Issues about autostart

No not yet, sorry for the delays but it's not an easy bug and I have to fix it upstream as well. The release should be out in two weeks, I'll have it fixed before then.
by iabdalkader
Mon Aug 12, 2019 9:06 am
Forum: General Topics
Topic: Connecting to static IP
Replies: 4
Views: 2561

Re: Connecting to static IP

Seems our ifconfig doesn't support static IPs. I'll add support for this in the next release. It would be helpful if you can open an issue on github https://github.com/openmv/openmv/issues
by iabdalkader
Mon Aug 12, 2019 8:50 am
Forum: Technical Discussion
Topic: OpenMV-H7 - Wifi-Shield Not connecting to network
Replies: 2
Views: 4096

Re: OpenMV-H7 - Wifi-Shield Not connecting to network

I've been experimenting with the ATWINC1500 wifi shield that should be compatible with the OpenMV camera, Are those our WiFi shields that we sell on the store ? All the shields we sell should ship with 19.5.2 Can you post the info you see when you run this: wlan = network.WINC() print("\nFirmware v...
by iabdalkader
Sat Aug 10, 2019 12:40 pm
Forum: Technical Discussion
Topic: Reading data via ADC from temperature sensor
Replies: 9
Views: 3353

Re: Reading data via ADC from temperature sensor

Hi, I just tested ADC and it seems to be working fine. There's a simple way to test ADC, just connect a wire between ADC (P6) and 3.3v out or GND. And run this script: import time from pyb import ADC adc = ADC("P6") # Must always be "P6". while(True): # The ADC has 12-bits of resolution for 4096 val...
by iabdalkader
Fri Aug 09, 2019 3:28 pm
Forum: General Topics
Topic: Connecting to static IP
Replies: 4
Views: 2561

Re: Connecting to static IP

Hi, I'll test this and get back to you.
by iabdalkader
Wed Aug 07, 2019 3:32 pm
Forum: Technical Discussion
Topic: Connectivity issues
Replies: 10
Views: 4011

Re: Connectivity issues

Just to be clear, when you received the camera it was Not working ? And what do you mean by damaged ? Can you send us some photos of the lens and camera to openmv@openmv.io
by iabdalkader
Tue Aug 06, 2019 8:51 pm
Forum: Technical Discussion
Topic: Connectivity issues
Replies: 10
Views: 4011

Re: Connectivity issues

Did it work before replacing the lens ? And did you remove the sensor from the camera or just replace the lens without removing the sensor ? If you removed the sensor, make sure it's making full contact.
by iabdalkader
Sun Aug 04, 2019 6:38 am
Forum: Technical Discussion
Topic: Number recognition
Replies: 1
Views: 1049

Re: Number recognition

Hi, see the Lenet and Chars74K examples in Examples->25-Machine Learning
by iabdalkader
Thu Aug 01, 2019 1:17 pm
Forum: General Topics
Topic: Size of usb key mounted as openmv
Replies: 7
Views: 2519

Re: Size of usb key mounted as openmv

Yes we can add more sectors to the H7. But the F7 can't use any sectors larger than 32K.

That said, the flash filesystem is not intended to store images/videos etc.. it's just for scripts.
by iabdalkader
Wed Jul 31, 2019 12:24 pm
Forum: General Topics
Topic: IR-LOCK for OPENMV CAM
Replies: 2
Views: 1466

Re: IR-LOCK for OPENMV CAM

Hi, what does IR-LOCK do ?
by iabdalkader
Wed Jul 31, 2019 6:57 am
Forum: Technical Discussion
Topic: Timer with sensor.snapshot
Replies: 5
Views: 1832

Re: Timer with sensor.snapshot

Hi kwagyeman, thank you for your reply. So you mean that we can't use the print function in the timer callback,unless we edit the C code. And is that any way to avoid the delay of snapshot function in the while loop? No you can't call any function that allocates memory in a callback. There's no way...
by iabdalkader
Tue Jul 30, 2019 4:55 pm
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 6112

Re: M7 crashes under Vin but works fine with USB

I'd have to lower the heap, isn't there any other way around this ?
by iabdalkader
Mon Jul 29, 2019 7:01 am
Forum: Technical Discussion
Topic: Timer with sensor.snapshot
Replies: 5
Views: 1832

Re: Timer with sensor.snapshot

The snapshot function delays your code from running to update s, ms. If you move that logic to the timer callback it should work fine: def systick(tim7): global s, ms ms=ms+1 if ms>=1000: ms=0 s=s+1 tim7.callback(systick) #Loop while(True): img=sensor.snapshot() print(s, ms)
by iabdalkader
Sun Jul 28, 2019 2:48 pm
Forum: General Topics
Topic: Connect openmv H7 to Android phone
Replies: 1
Views: 1536

Re: Connect openmv H7 to Android phone

No that's not supported by our software. If you have the time and skill needed I think you can write an app to read the framebuffer and display it.
by iabdalkader
Thu Jul 25, 2019 7:00 am
Forum: General Topics
Topic: How to design and build your own module? (documentation and schematics)
Replies: 2
Views: 1540

Re: How to design and build your own module? (documentation and schematics)

All the design files are hosted on github:

https://github.com/openmv/openmv-boards

But we don't have any documentation for designing modules.
by iabdalkader
Wed Jul 24, 2019 7:58 am
Forum: General Topics
Topic: Linear CCD sensor module
Replies: 2
Views: 1361

Re: Linear CCD sensor module

No we don't have any plans to make a module, but it should be easy to design your own.
by iabdalkader
Wed Jul 24, 2019 7:53 am
Forum: General Topics
Topic: M7 crashes under Vin but works fine with USB
Replies: 17
Views: 6112

Re: M7 crashes under Vin but works fine with USB

Try changing the threshold ?

Go to advanced search