Search found 36 matches
- Mon Jul 01, 2019 10:15 am
- Forum: General Topics
- Topic: Baud rate
- Replies: 3
- Views: 3339
Re: Baud rate
Yes, I did. In the setup, I set all baud Rates to 115200. Do i have to change it somewhere in the openmv code as well? Or does it do that automatically?
- Mon Jul 01, 2019 4:27 am
- Forum: General Topics
- Topic: Baud rate
- Replies: 3
- Views: 3339
Baud rate
Hello! I have my arduino connected to the camera. They communicate through UART. With a baud rate of 9600, the communication works just fine. But I need to increase the baud rate to 115200. When I do that, the communication doesn’t work anymore. Is there a way, to change the baud rate for the camera...
- Sat Jun 29, 2019 4:30 am
- Forum: General Topics
- Topic: Reset doesn't work
- Replies: 8
- Views: 4255
Re: Reset doesn't work
Ok, just in case you need a description, I’ll give it to you now. My camera is supposed to send a signal to an arduino when it detected something. This arduino then blinks with an led, and sends a signal back, when it’s done. Very easy, nothing complicated and it always worked fine. But then suddenl...
- Sat Jun 29, 2019 4:14 am
- Forum: General Topics
- Topic: Reset doesn't work
- Replies: 8
- Views: 4255
Re: Reset doesn't work
Well, the code I ran before on that camera always worked fine. For some reason, without any changes, it started to not work. There were no updates, no added code, no added externalities. It just stopped working as intended. So I thought, maybe a reset of the camera would help (the button you can cli...
- Fri Jun 28, 2019 3:24 am
- Forum: General Topics
- Topic: Reset doesn't work
- Replies: 8
- Views: 4255
Re: Reset doesn't work
It doesn’t reset...there is still everything on the camera after I pressed reset and waited for it to finish. My code, the network I saved. Normally, it would all get deleted, if I reset the camera, right? Or do I do something wrong?
How do I reflash the firmware?
Thanks for your help,
Finn
How do I reflash the firmware?
Thanks for your help,
Finn
- Thu Jun 27, 2019 12:04 pm
- Forum: General Topics
- Topic: Reset doesn't work
- Replies: 8
- Views: 4255
Reset doesn't work
Hello! I've got a problem with my OpenMV H7...it won't reset. When I press 'reset' in the IDE, it starts turning red for a second and then blinks green, like when it is connecting or starting. Do you know, how else I could reset the camera? I've got a problem that wasn't there before, and I have to ...
- Wed May 29, 2019 10:49 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
OK, thank you very much for your help. I appreciate it!
All the best,
Finn
All the best,
Finn
- Wed May 29, 2019 8:54 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
OK. Here is the new code. I didn't have a camera with me, so I couldn't run the code. But it doesn't take much time for you to run the code...so everything's fine, right? Thank you anyway, that you test it for me. import sensor, image, time, os, nn, math from pyb import UART sensor.reset() sensor.se...
- Wed May 29, 2019 6:41 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
Yes, I do (see the first code in my first message). # Always pass UART 3 for the UART number for your OpenMV Cam. # The second argument is the UART baud rate. For a more advanced UART control # example see the BLE-Shield driver. uart = UART(3, 9600, timeout_char = 1000) Insert that above clock = tim...
- Wed May 29, 2019 5:11 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
from pyb import UART Do you mean this line? I have it in my other, bigger code. Can you insert this line into the code snippet I sent you earlier today, and then test it for me, please? As I said, I don't have another camera. It worked before, but I am not sure if it worked because I was lucky (and ...
- Wed May 29, 2019 4:20 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
I don't know, but I tried it. How I came to the result that I would have to use this, is because I printed whatever I received from the Arduino board. This was (for the letter h) 209, for some reason. So I just took this number and in case the received message equals 209, the camera is allowed to go...
- Wed May 29, 2019 1:47 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
Ok, here is an example. As my camera doesn't work with the communication to Arduino, I can't check if it is correct. But if it works, then I know, my camera is broken. OpenMV code: import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor....
- Wed May 29, 2019 9:13 am
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
Have you already had the chance to test it?
Finn
Finn
- Tue May 28, 2019 10:34 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Re: Camera communication with Arduino Mega
Yeah, I would appreciate it if you could test it. The connections were like this: OpenMV to Arduino: GND to GND 5v to 5v P4 to RX1 P5 to TX1 The camera should not be connected to any other thing that supplies it with electricity, but the 5v from the arduino board. Also, the camera needs to work with...
- Tue May 28, 2019 2:58 pm
- Forum: General Topics
- Topic: Camera communication with Arduino Mega
- Replies: 15
- Views: 12579
Camera communication with Arduino Mega
Hello! I want to send a signal to my Arduino Mega as soon as I detect something. It worked fine with 5v, but for some reason, my camera doesn't work with 5v anymore. So, I switched to 3.3v. The camera worked and it even sent the signal to the board. The arduino board did what it was supposed to do a...
- Fri May 24, 2019 3:40 pm
- Forum: General Topics
- Topic: OpenMV Problem
- Replies: 2
- Views: 6317
OpenMV Problem
Hello. My camera has a problem: When I connect it to the laptop, it tries to connect, but just stops and blinks white the whole time. My laptop doesn't recognize the camera either. I didn't do anything to the camera, it just happened and then never fixed by itself. I can't do anything with the camer...
- Sat Apr 20, 2019 1:54 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Or does it always automatically execute the main.py file, when connected correctly?
- Sat Apr 20, 2019 1:45 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Ok. So now the code is saved on my camera. But how do I start the code from outside the IDE? Is there a way through arduino coding? Or some kind o button or connection,that has to be turned on?
- Fri Apr 19, 2019 2:23 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Can the board work without the laptop, too? If I connect it to my arduino board, but disconnect it from my laptop, how would I ensure, that the code is on my camera and that the camera is turned on and does whatever the code wants it to do?
- Wed Apr 17, 2019 4:56 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Alright... This is the code, I have so far: # Color Tracking Thresholds (Grayscale Min, Grayscale Max) # The below grayscale threshold is set to only find extremely bright white areas. thresholds = (0, 40) blobby = False sensor.reset() # Reset and initialize the sensor. # Set sensor settings sensor....
- Wed Apr 17, 2019 3:42 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Ok, and how would that work? How would the code look like?
- Wed Apr 17, 2019 3:33 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
And just one more question: Where do I find the '/img-chars74k.network'? Or does the '/fnt-chars74k.network' work better for printed letters?
- Wed Apr 17, 2019 3:20 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
I think, I solved the problem, that it always detects the wrong letter. But I still don't know, how I can make it detect letters, only if there is actually something. What, if I tell him, to only start the detection procedure, when there is something black?
- Wed Apr 17, 2019 3:14 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Is it possible, to use the CNN Chars74K, only when there is actually a letter? For example, if there is only a white wall, it just gives nothing. Oh, and I tried the Chars74K network library on printed letters, but it gave me nothing. Also, the camera was just black and white. It gave me B or P, eve...
- Tue Apr 16, 2019 11:25 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Hello! My camera finally arrived, so I got to test a few things. I came to the conclusion, that using the templates might be an easy way to detect letters. Do you think, using templates is a reliable way to detect letters? Or how would you do it? When I tested it with the printed letters, it worked....
- Mon Apr 15, 2019 8:57 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Where should the Model Explorer be? I don't find it in Tools -> Machine Vision.
- Mon Apr 15, 2019 8:51 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Sorry, my bad. My anti virus application was it, that caused the problem x)
- Mon Apr 15, 2019 6:41 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Thank you for the link, but I can't install the new version. There is an error, that says: "Windows cannot access the specified device, path or file. You may not have the appropriate permission to access the item."
Is it something I do wrong, or an error with that file?
Is it something I do wrong, or an error with that file?
- Mon Apr 15, 2019 4:09 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Windows, please. Thank you!
- Mon Apr 15, 2019 10:35 am
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Oh, and I have another short question: Is there a proper and detailed documentation on how to connect the camera to the arduino board, and how to write the arduino code according to what the camera sees?
Thank you for all your help,
Finn
Thank you for all your help,
Finn
- Mon Apr 15, 2019 7:40 am
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
If you could send me the link, that would be awesome 

- Sun Apr 14, 2019 10:58 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
When will that new IDE be released? And what is that CNN you are talking about? Sorry, I am new to OpenMV 

- Sun Apr 14, 2019 10:01 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Ok, let's say, I wanted to modify this code, so it compares the lines to the three letters. Let's say, we want to detect A, as an example. # Find Line Segments Example # # This example shows off how to find line segments in the image. For each line object # found in the image a line object is return...
- Sun Apr 14, 2019 9:08 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Ok. So how would it work, if I want the camera to look for letters, and if there is no letter, it just does nothing. But if there is a letter (one of the letters I want to see), it sees which one and sends some kind of notification to the Arduino Mega so that the Arduino executes a certain function,...
- Sun Apr 14, 2019 8:36 pm
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Re: Detecting Letters
Hey! Thank you for the link :) If I just want certain characters to be seen, and not every single character, how would the code need to be modified? I can't test it right now, that is why I am asking. Also, the camera will probably not arrive before Thursday...so if you could provide me with some co...
- Sun Apr 14, 2019 12:17 am
- Forum: General Topics
- Topic: Detecting Letters
- Replies: 37
- Views: 40207
Detecting Letters
Hello! I am getting my OpenMV H7 on Monday, and I am trying to learn about the camera already, so I can prepare some code and try some things with the camera this week. One thing I did not find is if it is possible, to detect Letters with the OpenMV H7. If yes, how would that work? Thank you, Finn :)