Search found 74 matches

by deshipu
Tue Mar 01, 2016 3:44 am
Forum: Technical Discussion
Topic: Camera module is obsolete
Replies: 7
Views: 5771

Re: Camera module is obsolete

Yeah, as soon as they saw your post, they borrowed a time machine from Guido Van Rossum, traveled back half a year and changed the sensor. Good job!
by deshipu
Thu Feb 25, 2016 4:48 am
Forum: Technical Discussion
Topic: Firmware Development
Replies: 15
Views: 10359

Re: Firmware Development

That one works, thank you. Any idea why the one I compiled myself doesn't? The new sensor really has much nicer colors! However, I tried to run the color blob detection example, and it fails with "None type is not iterable" -- seems like the "find_blobs" functions returns None instead of an empty li...
by deshipu
Wed Feb 24, 2016 4:45 am
Forum: Technical Discussion
Topic: Firmware Development
Replies: 15
Views: 10359

Re: Firmware Development

I just received the OpenMV with the new sensor, and I compiled and flashed the latest firmware. Unfortunately, now the board comes up with a "failed to initialize sensor" error. I wonder if I need to specify some options to the make command to tell it about the new sensor?
by deshipu
Sun Feb 14, 2016 1:08 pm
Forum: Technical Discussion
Topic: Flipping the camera up-side-down
Replies: 17
Views: 9507

Re: Flipping the camera up-side-down

Ah, silly me, I thought OV7725 is the old one. Sorry, your code works perfectly, thank you!
by deshipu
Sun Feb 14, 2016 12:16 pm
Forum: Technical Discussion
Topic: Flipping the camera up-side-down
Replies: 17
Views: 9507

Re: Flipping the camera up-side-down

I guess I can't read this datasheet, or I'm missing something obvious. The docs say: Address: 0C, Name: COM3, Bit[3]: Vertical flip image ON/OFF selection So I added this code just before the loop in the helloworld example: sensor.__write_reg(0x0C, sensor.__read_reg(0x0C) | (1 << 7)) But it doesn't ...
by deshipu
Sun Feb 14, 2016 12:09 pm
Forum: Technical Discussion
Topic: Flipping the camera up-side-down
Replies: 17
Views: 9507

Re: Flipping the camera up-side-down

I found the datasheet for OV7725, I will look for the corresponding registers. Thanks!
by deshipu
Sun Feb 14, 2016 5:33 am
Forum: Technical Discussion
Topic: Flipping the camera up-side-down
Replies: 17
Views: 9507

Flipping the camera up-side-down

Due to limited space inside my robot I decided to mount the OpenMV board inside it up-side-down. I figured it will not matter much, as I can simply just flip the y coordinate of whatever results of image processing I get, and it will amount to the same thing. However, I didn't think about things lik...
by deshipu
Sun Feb 14, 2016 5:21 am
Forum: Technical Discussion
Topic: Running the IDE from source
Replies: 3
Views: 3350

Re: Running the IDE from source

As usual you are right. There is so much text in so many places, that it's sometimes hard to find the specific thing you are looking for.
I see that the version of ide from the repository looks better and seems to be more stable. And it works with the recent versions of firmware -- the old one didn't.
by deshipu
Sat Feb 13, 2016 3:46 pm
Forum: Technical Discussion
Topic: Running the IDE from source
Replies: 3
Views: 3350

Running the IDE from source

I cloned the openmv/openmv-ide repository, together with the submodules, but I can't figure out how to actually run it. Any hints?
by deshipu
Sat Feb 13, 2016 1:58 pm
Forum: General Topics
Topic: Documentation on connecting?
Replies: 11
Views: 8865

Re: Documentation on connecting?

Aweseome, that's really helpful, thanks!
by deshipu
Sat Feb 13, 2016 1:54 pm
Forum: Technical Discussion
Topic: Support: Cannot run demo scripts.
Replies: 6
Views: 4638

Re: Support: Cannot run demo scripts.

I can use the IDE just fine (after some initial problems with firmware flashing). Are you getting any errors? What do you do exactly?
by deshipu
Sat Feb 13, 2016 10:15 am
Forum: General Topics
Topic: Documentation on connecting?
Replies: 11
Views: 8865

Re: Documentation on connecting?

One more important point:
  • Can we connect the USB cable while the board is being powered from another source through VIN?
by deshipu
Sat Feb 13, 2016 10:05 am
Forum: Project Discussion
Topic: Henk the Hexapod
Replies: 1
Views: 2881

Henk the Hexapod

I really wanted to put OpenMV on one of my robots, and when the fire-sale board came, I decided to take an unfinished robot of mine, and install OpenMV in it. The robot is called Henk and is a 18-degree-of-freedom hexapod made with cheap 9g hobby servos. IMG_20160213_131938.jpg There is a detailed b...
by deshipu
Sat Feb 13, 2016 9:59 am
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Re: Using the I2C protocol

Yes, I noticed that you use that in the mlx python module. Is that because you also had problems with I2C?
By the way, that code also has the SDA and SCL pins swapped, I think?
by deshipu
Sat Feb 13, 2016 9:01 am
Forum: General Topics
Topic: Documentation on connecting?
Replies: 11
Views: 8865

Documentation on connecting?

I think it could be very helpful if there was a page in the documentation dedicated to physical connections. I know that we have the pinout diagram in the quick reference, and there are links to the schematic and datasheets for the components -- which in theory is enough to figure out connections --...
by deshipu
Sat Feb 13, 2016 8:52 am
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Re: Using the I2C protocol

I know this is pretty much beta, and I don't expect everything to work out of the box. I'm experimenting with this because it's fun (at least when you don't do it as a job) and I hope it's helpful. Thanks for your hard work!
by deshipu
Fri Feb 12, 2016 6:12 pm
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Re: Using the I2C protocol

The following makes it work properly:

Code: Select all

>>> import pyb
>>> import ustruct as struct
>>> bus = pyb.I2C(2, 0)
>>> bus.scan()
[9]
>>> pyb.disable_irq(); bus.mem_write(struct.pack("<H", 1500), 9, 0)
True
PYB: enabling IRQs
>>>
by deshipu
Fri Feb 12, 2016 5:59 pm
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Re: Using the I2C protocol

by deshipu
Fri Feb 12, 2016 3:43 pm
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Re: Using the I2C protocol

I just checked with a pocket osciloscope, and after doing the read/write the SCL line stays permanently pulled down on the side of OpenMV.
by deshipu
Fri Feb 12, 2016 3:32 pm
Forum: Technical Discussion
Topic: Using the I2C protocol
Replies: 18
Views: 10951

Using the I2C protocol

I finally have some more time for experimenting with OpenMV. Since I want it to control a hexapod robot, that's a lot of servos to take care of. So I built myself a simple servo controller based on a Pro Mini, with which I can communicate over I²C, basically just sending the servo positions to the r...
by deshipu
Thu Feb 11, 2016 6:02 pm
Forum: Technical Discussion
Topic: Where is the BOOT0 pin?
Replies: 3
Views: 3223

Re: Where is the BOOT0 pin?

With one of them it was failing to init the sensor, and with another, failing an ADC test. It did mount as a USB disk, with ERROR.LOG file in it, but there was no REPL in either case.
Anyways, I have this solved and the board works now. Thank you for clarifying this.
by deshipu
Wed Feb 10, 2016 4:57 am
Forum: Technical Discussion
Topic: Where is the BOOT0 pin?
Replies: 3
Views: 3223

Re: Where is the BOOT0 pin?

Ijust realized that I'm supposed to connect the BOOT pin to RST, not to GND. This works.
by deshipu
Wed Feb 10, 2016 4:32 am
Forum: Technical Discussion
Topic: Where is the BOOT0 pin?
Replies: 3
Views: 3223

Where is the BOOT0 pin?

The README.txt file in the firmware directory says that in order to manually get the board into DFU mode, I should connect the BOOT0 pin on the debug header to GND. So far I was unable to locate any debugging header on my OpenMV. I did find a pin labeled BOOT, but tying it to the ground doesn't make...
by deshipu
Sat Jan 09, 2016 8:51 am
Forum: Technical Discussion
Topic: Controlling hobby servos
Replies: 9
Views: 6728

Controlling hobby servos

I think it would make a lot of sense to have the ability to control hobby servos with the GPIO pins of the OpenMV. However, I took a look at the pyb.Servo library in the documentation, and I can see that all the pin names are from PyBoard -- there are no X1, X2, X3 or X4 pins on the OpenMV. Is that ...

Go to advanced search