Search found 3504 matches

by kwagyeman
Mon Jan 23, 2017 8:50 am
Forum: General Topics
Topic: Shipping to Europe
Replies: 1
Views: 1633

Re: Shipping to Europe

The store automatically calculates shipping costs. The only thing to be concerned about is if the order will actually arrive given whatever shipping option you choose. For example, USPS usually gives packages to the nation's mail service which for some countries will never deliver the item.
by kwagyeman
Sun Jan 22, 2017 5:01 pm
Forum: Technical Discussion
Topic: ubinascii
Replies: 11
Views: 5949

Re: ubinascii

See here just for info: https://github.com/openmv/openmv/wiki/F ... evelopment

You can do a ubuntu vm on a windows machine.
by kwagyeman
Sun Jan 22, 2017 4:34 pm
Forum: Technical Discussion
Topic: ubinascii
Replies: 11
Views: 5949

Re: ubinascii

It just isn't linked into the build.

I can fix that for you in a custom image after I get this release out.

Um, just a question, do you have a linux computer and do you know how to compile MicroPython? If so, you should just get setup with the firmware dev environment to have full control.
by kwagyeman
Sat Jan 21, 2017 10:39 am
Forum: General Topics
Topic: Shape Detection
Replies: 26
Views: 39757

Re: Shape Detection

Sorry, I forgot about this post for a while. Okay, so, find_blobs() will work for this. First, you setup the thresholds to find the color of the triangle. This will let you find all the triangles in the image. find_blobs() will tell you the centroid of the object. So, that's the location. find_blobs...
by kwagyeman
Fri Jan 20, 2017 11:55 pm
Forum: Technical Discussion
Topic: Hw reset and/or reboot?
Replies: 12
Views: 8183

Re: Hw reset and/or reboot?

Mmm, put a bug on it in the openmv repo.
by kwagyeman
Fri Jan 20, 2017 12:29 pm
Forum: Technical Discussion
Topic: Hw reset and/or reboot?
Replies: 12
Views: 8183

Re: Hw reset and/or reboot?

Mmm, okay, well, you should at least be able to use the IDE to update the main script easily.
by kwagyeman
Fri Jan 20, 2017 12:21 pm
Forum: Technical Discussion
Topic: Hw reset and/or reboot?
Replies: 12
Views: 8183

Re: Hw reset and/or reboot?

"sensor" is a built-in module we use... not sure if you should be shadowing that. Maybe rename that file? As for the requirement of reset behavior. That's a deeper issue into how MP works. I can't tell you that exactly from my knowledge. Could be a bug with the system, or not. Maybe Ibrahim knows mo...
by kwagyeman
Thu Jan 19, 2017 2:09 pm
Forum: Technical Discussion
Topic: Hw reset and/or reboot?
Replies: 12
Views: 8183

Re: Hw reset and/or reboot?

Yes.
by kwagyeman
Thu Jan 19, 2017 12:13 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

Okay, I should just be able to generate a patched version of the firmware for you. Not an official release or anything. I'll do this after we do this release we've been gearing up for. Note: I'm just going to patch the machine.I2C file.
by kwagyeman
Thu Jan 19, 2017 11:03 am
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

Well, I'd rather not have you dropping the project.

But, from reading the above you found a workable solution in the mean-time right?

We might be also able to just patch that one file.
by kwagyeman
Thu Jan 19, 2017 11:00 am
Forum: General Topics
Topic: Shape Detection
Replies: 26
Views: 39757

Re: Shape Detection

Okay, well, find_blobs() again can be used for this task using just grayscale. The ratio between the area of the bounding box around the object and the number of pixels tracked in the object is different for rectangles, circles, and squares. However, what's the vision setup for your problem? Are you...
by kwagyeman
Thu Jan 19, 2017 12:02 am
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

We're at version 1.8. But, we're not likely to update to the newest version until after the M7 ships. Every time we update a lot of things break. So, that would be done when more or less everything is working to make fixing everything easy. Oh, note that we've finished prototyping the M7 and have go...
by kwagyeman
Wed Jan 18, 2017 12:47 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

cagiva - check if the packet was acked... if you have a protocol analyzer that would be good to use. Otherwise, use the exception mechanism and try the command again.
by kwagyeman
Wed Jan 18, 2017 12:46 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

I'll make sure to include the machine doc in the doc release I'm about to do.
by kwagyeman
Wed Jan 18, 2017 12:43 pm
Forum: Technical Discussion
Topic: External access from public ip
Replies: 2
Views: 1655

Re: External access from public ip

Hi, getting an image out of the OpenMV Cam is the simple part. But, do you know how to do any of the internet plumbing details? We have a simple script for turning your OpenMV Cam into a webs server to host JPEG images. But, if you want to do more than that. Anyway, let's try to break this problem d...
by kwagyeman
Wed Jan 18, 2017 12:38 pm
Forum: General Topics
Topic: Shape Detection
Replies: 26
Views: 39757

Re: Shape Detection

Hi, what kind of shape detection do you want to do? find_blobs() gives you an area and pixels that match the color settings in that area. This can be used to distinguish between circles and squares. However, I'm assuming you want something else right?
by kwagyeman
Wed Jan 18, 2017 12:12 am
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

Well, I believe the machine.i2C module is compiled into the binary right now but I can't say we support it. I'm not going to press Ibrahim to update MP right now since everything breaks when we do that. However, it would be nice to have the time available to do the update. I'm working on getting our...
by kwagyeman
Wed Jan 18, 2017 12:06 am
Forum: Technical Discussion
Topic: VBUS doesn't seem to be available
Replies: 4
Views: 2592

Re: VBUS doesn't seem to be available

The diode is there to protect you from breaking the USB. However, 3.3V can be an input or output as long as VBUS and VIN aren't connected.
by kwagyeman
Tue Jan 17, 2017 9:20 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

Hi, any reason you need the machine module? We're about to update the docs and no effort was put in to document that since we're using pyb.I2C.
by kwagyeman
Tue Jan 17, 2017 6:05 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 12455

Re: I2C from machine vs I2C from pyb

Use pyb.I2C. I've never tested the machine variant.
by kwagyeman
Mon Jan 16, 2017 12:13 am
Forum: Project Discussion
Topic: OpenMV to Arduino
Replies: 15
Views: 10650

Re: OpenMV to Arduino

Mmm, well, if you need a pre-canned library then use the Arduino. It honestly shouldn't be to hard to make the OpenMV Cam do that however. I'm assuming the coms work via serial using some type of simple protocol right? Anyway, if writing the com interface in python doesn't work for you then I'd use ...
by kwagyeman
Sun Jan 15, 2017 10:58 pm
Forum: Technical Discussion
Topic: Number Recognition? Is it possible?
Replies: 4
Views: 2776

Re: Number Recognition? Is it possible?

Ibrahim looked into this once for reading digits on a meter. It's actually possible by using image templates. So what you do is basically take a picture of each number with the OpenMV Cam. Save these as templates, then since the camera will be locked into a fixed position with the display you also k...
by kwagyeman
Sun Jan 15, 2017 10:53 pm
Forum: Project Discussion
Topic: OpenMV to Arduino
Replies: 15
Views: 10650

Re: OpenMV to Arduino

You definitely want to use SPI to send an image to the Arduino. So, make the OpenMV Cam into a SPI slave and read the image out. You just have to do the sync byte things I did in the script and then it's pretty stable. That said, why do you want the Arduino in the equation at all? What can it do tha...
by kwagyeman
Sun Jan 15, 2017 7:54 pm
Forum: Technical Discussion
Topic: Bricked unit, Firmware Update.
Replies: 5
Views: 2716

Re: Bricked unit, Firmware Update.

Great!
by kwagyeman
Sun Jan 15, 2017 3:51 pm
Forum: Technical Discussion
Topic: Bricked unit, Firmware Update.
Replies: 5
Views: 2716

Re: Bricked unit, Firmware Update.

Hi, okay, so you got to the last part. That's the DFU update. DFU update will fail immediately unless the device is connected. You should see the DFU device in your windows device manager under the USB device section as something like this: http://forums.openmv.io/download/file.php?mode=view&id=61 Y...
by kwagyeman
Sun Jan 15, 2017 2:39 pm
Forum: Technical Discussion
Topic: Bricked unit, Firmware Update.
Replies: 5
Views: 2716

Re: Bricked unit, Firmware Update.

Hi, just try to connect and the IDE will walk you through how to DFU update the board. Are you on windows? If so this this is easy and 100% works. Just click the connect button and then say your board is bricked after connect fails to connect to your board.

If you are on linux or mac let me know.
by kwagyeman
Sat Jan 14, 2017 8:43 pm
Forum: Project Discussion
Topic: OpenMV to Arduino
Replies: 15
Views: 10650

Re: OpenMV to Arduino

Great for you! So, I spent all day on these two scripts. Learned a lot. Wrote notes in the code. https://github.com/kwagyeman/openmv/blob/870985178a91f7ca1dacf8e866f92f02037b0eb7/usr/examples/02-Board-Control/arduino_spi_slave.py https://github.com/kwagyeman/openmv/blob/870985178a91f7ca1dacf8e866f92...
by kwagyeman
Fri Jan 13, 2017 4:34 pm
Forum: Technical Discussion
Topic: QR Code Decoding
Replies: 17
Views: 7961

Re: QR Code Decoding

Just install the M4 firmware and run this script: https://github.com/openmv/openmv/blob/m ... ns_zoom.py
by kwagyeman
Fri Jan 13, 2017 10:02 am
Forum: Technical Discussion
Topic: QR Code Decoding
Replies: 17
Views: 7961

Re: QR Code Decoding

I actually do plan to support April Tags. I've found the C++ library for it. Reviewed it, and determined it can be ported. However, I'll have to rewrite almost every line since the C++ library depends on OpenCV calls and it uses C++ objects. The QRCode library only required minor changes to be porte...
by kwagyeman
Thu Jan 12, 2017 9:41 pm
Forum: Technical Discussion
Topic: Compression Making MJPEG Larger?
Replies: 6
Views: 3308

Re: Compression Making MJPEG Larger?

Hi, use pyb.mills() as the time base. Doing a loop with 100 was just the easiest to write when we were updating the firmware in a blitzkrieg last year. As in, track the milliseconds between frames and start to compress the next frame once some number of milliseconds passes. This will let you slow th...
by kwagyeman
Thu Jan 12, 2017 9:38 pm
Forum: Technical Discussion
Topic: ADC not reading correct value
Replies: 8
Views: 3116

Re: ADC not reading correct value

Hi, please let me know if the firmware.bin file loads now. Your boot loader on your OpenMV Cam should have been updated to work better.
by kwagyeman
Thu Jan 12, 2017 9:36 pm
Forum: Project Discussion
Topic: OpenMV to Arduino
Replies: 15
Views: 10650

Re: OpenMV to Arduino

Hi, do you think you can wait till the weekend? I need to do a video update for the company blog and I don't have the cycles tonight. Ping me if I forget about this on the weekend.

I'll try to do a SPI/ Serial / and I2C example and I'll make them part of the examples that come with the IDE.
by kwagyeman
Thu Jan 12, 2017 1:41 pm
Forum: Technical Discussion
Topic: ADC not reading correct value
Replies: 8
Views: 3116

Re: ADC not reading correct value

It sounds like you should try to use the dfu method and that for some reason the regular bootlaoder can't attach. Note that the dfu file contains an updated bootloader which should not have the same connecting issue the current one has on your OpenMV Cam M4 board.
by kwagyeman
Thu Jan 12, 2017 1:39 pm
Forum: Technical Discussion
Topic: ADC not reading correct value
Replies: 8
Views: 3116

Re: ADC not reading correct value

Hi, I've verified this version of the firmware works on my camera. So, are you using the latest IDE. If so, did you try to load the firmware.bin file or the openmv.dfu file? Assuming you've been able to update the firmware before the firmware.bin should upload without any issues onto your openmv cam...
by kwagyeman
Thu Jan 12, 2017 10:11 am
Forum: Technical Discussion
Topic: 2.4 GHz vs 5 GHz Wifi Network
Replies: 2
Views: 1763

Re: 2.4 GHz vs 5 GHz Wifi Network

Hi, the WiFi shield has these capabilities. http://www.atmel.com/devices/atwinc1500.aspx

5GHz is not supported.
by kwagyeman
Thu Jan 12, 2017 10:09 am
Forum: Project Discussion
Topic: OpenMV to Arduino
Replies: 15
Views: 10650

Re: OpenMV to Arduino

Hi, I have an Arduino at home. I can debug this code for you tonight. But, can you do this for me in the mean time, just strip out everything from both scripts except the I2C commands. Since I think you'd prefer the Arduino as the master I'll try to get that working. I'll try to make the code as you...
by kwagyeman
Wed Jan 11, 2017 10:02 pm
Forum: Technical Discussion
Topic: ADC not reading correct value
Replies: 8
Views: 3116

Re: ADC not reading correct value

Hi, sorry about that. The ADC was tested and working before. However, we periodically pull in changes from MicroPython's main branch and things break like this. Attached are two files. The openmv.dfu file for dfu firmware updating and the firmware.bin file for our own custom bootloader. Note that th...
by kwagyeman
Wed Jan 11, 2017 9:45 pm
Forum: Technical Discussion
Topic: ADC not reading correct value
Replies: 8
Views: 3116

Re: ADC not reading correct value

Hi, let me check the latest firmware for the ADC. There was a bug that we pulled in from MP that broke it a while back. I can just upload a copy of the newest firmware for you to flash to fix this.
by kwagyeman
Wed Jan 11, 2017 7:19 pm
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 23
Views: 43188

Re: Future wishlist

Yes.
by kwagyeman
Wed Jan 11, 2017 2:51 pm
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 23
Views: 43188

Re: Future wishlist

Yes, you can use a 3.7V battery to power the system. Please apply it to the VIN pin to go into the regular. The system cannot charge the battery however. We don't have a battery charging circuit on board. This is something I'd like to do in the future. The goal for the M7 board was not to break the ...
by kwagyeman
Wed Jan 11, 2017 10:58 am
Forum: General Topics
Topic: openmv-cascade.py for new OpenCV XML format ?
Replies: 5
Views: 3884

Re: openmv-cascade.py for new OpenCV XML format ?

K, we took a lot at this and to support the new format would require a rewrite of the haar code. This is not really feasible for us. The new haar format uses a different type of data structure so it's not even just fixing renames and etc. Can you load the new format back into OpenCV and then save it...
by kwagyeman
Wed Jan 11, 2017 9:28 am
Forum: General Topics
Topic: openmv-cascade.py for new OpenCV XML format ?
Replies: 5
Views: 3884

Re: openmv-cascade.py for new OpenCV XML format ?

Ibrahim will have to check on this for you. It should be possible to update the conversion script to support the new format too.
by kwagyeman
Mon Jan 09, 2017 2:17 pm
Forum: Technical Discussion
Topic: SD Card Troubles
Replies: 6
Views: 4397

Re: SD Card Troubles

The main.c file for OpenMV which controls this mounts one of or the other file systems. It hasn't been a priority to fix currently. So... the OpenMV Cam either exposes the SD card or the flash file system if the SD card isn't inserted. I personally think this should work like the pyboard. But, Ibrah...
by kwagyeman
Sat Jan 07, 2017 11:12 am
Forum: Project Discussion
Topic: OpenMV cam Eye Tracker
Replies: 13
Views: 13902

Re: OpenMV cam Eye Tracker

Here's are versions of the eye tracking scripts with serial output added.
by kwagyeman
Sat Jan 07, 2017 10:54 am
Forum: Technical Discussion
Topic: Half-Duplex Operations
Replies: 6
Views: 3174

Re: Half-Duplex Operations

Thanks!
by kwagyeman
Sat Jan 07, 2017 10:50 am
Forum: Technical Discussion
Topic: Cannot power up the OpenMV board
Replies: 5
Views: 2689

Re: Cannot power up the OpenMV board

We install the latest version of our firmware with MP. Ibrahim will need to update our code base to the latest MP version. This usually breaks a lot of stuff each time he does this so it's somewhat avoided if not necessary. For the M7 board we will pull in all MP changes again. As for the documentat...
by kwagyeman
Sat Jan 07, 2017 10:45 am
Forum: Technical Discussion
Topic: SD Card Troubles
Replies: 6
Views: 4397

Re: SD Card Troubles

Hi, the blue led blinking is the heart beat script running. The red LED turning on is the computer accessing the flash drive. As for the the blue and white LED flashing. That's an error. Can you try to reformat your SD card? The system probably can't read it. We have tested the system with 32GB SD c...
by kwagyeman
Fri Jan 06, 2017 8:25 pm
Forum: Technical Discussion
Topic: Half-Duplex Operations
Replies: 6
Views: 3174

Re: Half-Duplex Operations

If you edit the firmware, otherwise no. However, you can just tie the two lines (RX/TX) together if you only plan to use one pin to send and receive on. Just make sure to add a series resistor between the two devices.
by kwagyeman
Fri Jan 06, 2017 9:44 am
Forum: Technical Discussion
Topic: OpenMV with pymavlink
Replies: 1
Views: 1414

Re: OpenMV with pymavlink

It looks like there's a lot of PC side software for that program. What part of it do you want explicitly? Just the serial code? You should be able to use files like this part of it without much modification: https://github.com/ArduPilot/pymavlink/blob/master/fgFDM.py Just install all the parts of th...
by kwagyeman
Fri Jan 06, 2017 9:39 am
Forum: Technical Discussion
Topic: Cannot power up the OpenMV board
Replies: 5
Views: 2689

Re: Cannot power up the OpenMV board

Great!

We do actually test all cams with a firmware image and it's weird that it somehow doesn't work once you get it in your hands...

Go to advanced search