Search found 89 matches
- Fri Nov 15, 2019 12:43 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
In the last post I forgot the most important thing. I had removed the SD card. Now, when I put the SD card in the camera (with the 8 traces facing down in the connector) I get the same response in windows explorer. I will get a new SD like you suggested and see if it works. Just out of curiosity wha...
- Fri Nov 15, 2019 12:22 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
when I plug in the camera removable disk K shows up under computer in windows explorer.
However, using properties it says it has 80 KB which is not the size of the SD card.
I tried UART1 and the transmitter works correctly. So, I can use UART1 instead of UART3.
Jim
However, using properties it says it has 80 KB which is not the size of the SD card.
I tried UART1 and the transmitter works correctly. So, I can use UART1 instead of UART3.
Jim
- Fri Nov 15, 2019 11:57 am
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
Hi, I tried your code above. It still gets the OSERROR. Type "help()" for more information. >>> Traceback (most recent call last): File "<stdin>", line 9, in <module> OSError: Failed to write requested bytes! MicroPython v1.11-omv OpenMV v3.5.0 2019-11-04; OPENMV3-STM32F765 Type "help()" for more in...
- Fri Nov 15, 2019 11:45 am
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
If it wasn't for the SPELLCHECKER I would misspell every thing.
I will try the code you sent.
I have not tried UART1, but I will.
I'll be back!! (A quote from Arnold S.)
Thanks,
Jim Sullivan
I will try the code you sent.
I have not tried UART1, but I will.
I'll be back!! (A quote from Arnold S.)
Thanks,
Jim Sullivan
- Thu Nov 14, 2019 5:10 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
I tried the code you sent me and I get OS ERROR: failed to write requested bytes.
I Used helloworld_1.py from the examples. I removed the while loop.
You spelled sensor wrong.
Jim Sullivan
I Used helloworld_1.py from the examples. I removed the while loop.
You spelled sensor wrong.
Jim Sullivan
- Thu Nov 14, 2019 4:59 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
Re: usage
I checked continuity and there are no shorts.
Why Can't I use UART-1?
Why Can't I use UART-1?
- Thu Nov 14, 2019 1:32 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 11
- Views: 267
usage
OpenMV Cam M7 I need an explanation of how to save an image frame buffer to the sd card; and then copy it back into the frame buffer so I can see it. Also, I still can't get UART3 to output the correct waveform. The waveform timing is correct but the voltage levels are wrong. [low=2.94V and high=3.2...
- Sat Nov 02, 2019 8:38 pm
- Forum: Technical Discussion
- Topic: uart waveform
- Replies: 9
- Views: 502
Re: uart waveform
I checked the soldering and re-soldered the pin. Nothing changed.
How about finding the SD card?
Jim
How about finding the SD card?
Jim
- Sat Nov 02, 2019 6:30 pm
- Forum: Technical Discussion
- Topic: uart waveform
- Replies: 9
- Views: 502
Re: uart waveform
Hi, That is exactly what I would expect to see. My cam7 pin 4 is high before I start my script (attached) and remains high during the uart.write command. I fear my cam7 microprocessor uart 3 transmitter has failed. The uart 3 WILL receive a write from my DSP with no problem. Also, The PC cannot find...
- Thu Oct 31, 2019 5:40 pm
- Forum: Technical Discussion
- Topic: uart waveform
- Replies: 9
- Views: 502
Re: uart waveform
I will try it hooked up to a microchip dsp33ep256mp on board uart and see if sends the correct wave form.
- Thu Oct 31, 2019 1:34 pm
- Forum: Technical Discussion
- Topic: uart waveform
- Replies: 9
- Views: 502
uart waveform
I have a simple script to run UART 3 on my OpenMV Cam M7. I have attached it. The UART voltage waveform does not seem to be correct. I have the scope probe attached to pin 4 of the Cam M7. I have the probe ground attached to the GND pin of the Cam M7. The script sends chr(24), binary '00011000' from...
- Wed Oct 30, 2019 10:41 am
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
Re: no file found
I reloaded the firmware.
I checked the K drive properties. It uses the FAT file system. It has 80 KBYTES of memory available. It ran its self-test successfully.
I checked the K drive properties. It uses the FAT file system. It has 80 KBYTES of memory available. It ran its self-test successfully.
- Sun Oct 27, 2019 6:16 pm
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
Re: no file found
I followed your instructions: " or put the card in the camera, connect to PC a driver will show up, copy & paste, unmount and reset the camera" I put the card "sandisk ultra plus 16gb" in the camera with the red tab of the card facing the same way as the camera. I plugged in the USB connection from ...
- Sat Oct 26, 2019 1:02 pm
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
Re: no file found
I have an SD card installed. How do I copy my image file to it?
Thanks
Jim
Thanks
Jim
- Fri Oct 25, 2019 2:44 pm
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
Re: no file found
My image is grey scale 640x480. When I look at properties on the K drive it lists capacity at 81KB . The 307KB picture cannot be copied to the K drive.
Jim
Jim
- Fri Oct 25, 2019 2:20 pm
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
Re: no file found
Hi,
I remember now.
Thanks,
Jim
I remember now.
Thanks,
Jim
- Fri Oct 25, 2019 10:58 am
- Forum: Technical Discussion
- Topic: no file found
- Replies: 9
- Views: 535
no file found
Hi, It's been along time. I just pulled up an old script. It has the following command. img=image.Image("/blksqrclose.pgm",copy_to_fb=True) When i run the script I get the following error. os error: could not find file The file is located at c:\user\jimkim\documents\blksqrclose.pgm Any ideas? Thanks...
- Sun Dec 09, 2018 6:53 pm
- Forum: Technical Discussion
- Topic: UART again
- Replies: 5
- Views: 2298
Re: UART again
Hi,
It works!!
thanks,
jim
It works!!
thanks,
jim
- Sat Dec 08, 2018 7:14 pm
- Forum: Technical Discussion
- Topic: UART again
- Replies: 5
- Views: 2298
Re: UART again
Another mistake. I think I was supposed to be CAM 7 P5 , UART 3. I changed to pin 5, however the results were the same.
- Sat Dec 08, 2018 6:52 pm
- Forum: Technical Discussion
- Topic: UART again
- Replies: 5
- Views: 2298
Re: UART again
You probably noticed that I had the baud rate @19200. I changed this to a baud rate of 9600, however the result was the same. The output of print(takepic) command in the serial terminal
was <function>, and not the character 'v'.
was <function>, and not the character 'v'.
- Sat Dec 08, 2018 6:43 pm
- Forum: Technical Discussion
- Topic: UART again
- Replies: 5
- Views: 2298
UART again
Hi, I am back on to my uart program. I have attached a script called "uarttest.py". I am sending a single character , 'v', from a dsPIC u_processor UART at 9600 baud. I have the transmit pin of the dsPIC UART wired to the P0 pin on the CAM7. The dsPIC is transmitting the character "v" in a loop. My ...
- Tue Nov 06, 2018 2:56 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
Re: usage
Thanks again,
I have another question.
If I am running the CAM7 in the IDE, can the CAM7 read and write a UART message from and to the Microchip processor ?
Jim
I have another question.
If I am running the CAM7 in the IDE, can the CAM7 read and write a UART message from and to the Microchip processor ?
Jim
- Tue Nov 06, 2018 12:12 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
Re: usage
Me again,
Can I power the CAM7 using a power only USB cable? If I can use the USB power, is there any problem with the CAM7 ground being common with the Microchip ground?
Jim
Can I power the CAM7 using a power only USB cable? If I can use the USB power, is there any problem with the CAM7 ground being common with the Microchip ground?
Jim
- Mon Nov 05, 2018 6:21 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
Re: usage
What about power? do I need Caps or Resistors?
- Mon Nov 05, 2018 4:25 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
Re: usage
Thanks for the quick reply.
- Mon Nov 05, 2018 1:24 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
Re: usage
This is PCLS1026 again.
I am assuming that the UART is read by using polling and not interrupts. Is that true?
Jim
I am assuming that the UART is read by using polling and not interrupts. Is that true?
Jim
- Mon Nov 05, 2018 12:30 pm
- Forum: Technical Discussion
- Topic: usage
- Replies: 9
- Views: 3467
usage
Hi, I want to run the CAM7 without using the openmv IDE. Do you have a schematic for providing power, or is it just VDD and GND? My software will be running in a loop waiting for a message from UART1. The CAM7 software takes picture/image, does an analysis on the image, calculates distance to a targ...
- Fri Aug 10, 2018 5:58 pm
- Forum: Technical Discussion
- Topic: position encoder
- Replies: 7
- Views: 2407
Re: position encoder
I like that solution, patrickpoirier51 . What do you think Kwagyeman? I could collect the data, calculate the distance traveled and transmit a 2 byte word to Cam7 every 0.1 second.
- Thu Aug 09, 2018 6:16 pm
- Forum: Technical Discussion
- Topic: position encoder
- Replies: 7
- Views: 2407
Re: position encoder
The STM processor does use interupts on its QEModule. Will I still have interrupt problems if I take a picture; wait until the uP is done processing the image; and then use the QEmodule. I can do this because I will not be moving when I'm using the camera and there won't be any QEModule interrupts b...
- Tue Aug 07, 2018 3:08 pm
- Forum: Technical Discussion
- Topic: position encoder
- Replies: 7
- Views: 2407
Re: position encoder
I understand ithe example Python code would not run well while run as a script. However, would it run OK when it is loaded onto the uProcessor and run with a battery or just a power only USB cable?
- Mon Aug 06, 2018 3:40 pm
- Forum: Technical Discussion
- Topic: position encoder
- Replies: 7
- Views: 2407
position encoder
Do you have a python example to read a simple quadrature encoder with the cam 7?
- Sun Mar 25, 2018 11:24 pm
- Forum: Technical Discussion
- Topic: grayscale to monochrome
- Replies: 7
- Views: 2296
Re: grayscale to monochrome
how do i show it in the frame buffer so I can see it?
- Sun Mar 25, 2018 10:59 pm
- Forum: Technical Discussion
- Topic: grayscale to monochrome
- Replies: 7
- Views: 2296
Re: grayscale to monochrome
my image that I load in is already grayscale. I want to convert the grayscale to black and white.
- Sun Mar 25, 2018 9:59 pm
- Forum: Technical Discussion
- Topic: grayscale to monochrome
- Replies: 7
- Views: 2296
Re: grayscale to monochrome
I am loading a saved file using image.Image---
I want to convert the image to monochrome.
I want to have the monochrome image show in the IDE frame buffer.
Jim
I want to convert the image to monochrome.
I want to have the monochrome image show in the IDE frame buffer.
Jim
- Sun Mar 25, 2018 9:43 pm
- Forum: Technical Discussion
- Topic: grayscale to monochrome
- Replies: 7
- Views: 2296
grayscale to monochrome
Hi,
What this this command do? image.binary(thresholds(50, 255),invert=false)
Jim
What this this command do? image.binary(thresholds(50, 255),invert=false)
Jim
- Wed Mar 21, 2018 1:55 pm
- Forum: Technical Discussion
- Topic: apriltag
- Replies: 3
- Views: 1090
Re: apriltag
Ignore my post. I moved the apriltag closer to the camera and it worked.
Jim
Jim
- Wed Mar 21, 2018 12:58 pm
- Forum: Technical Discussion
- Topic: apriltag
- Replies: 3
- Views: 1090
apriltag
Hi,
For script "find_apriltags_3d_pose" Which apriltag "ID" should I use. For example "april.tag.Tag36h11" has 586 ID's? I printed out and tried ID=1, however the script could not find the apriltag.
Jim
For script "find_apriltags_3d_pose" Which apriltag "ID" should I use. For example "april.tag.Tag36h11" has 586 ID's? I printed out and tried ID=1, however the script could not find the apriltag.
Jim
- Tue Mar 13, 2018 2:11 pm
- Forum: General Topics
- Topic: github
- Replies: 1
- Views: 1264
github
Hi,
Where can I find the source code for img.find_rects?
I think it is on github, but I have no idea how to find it.
Is there a web page explaining how to use github?
Thanks, Jim
Where can I find the source code for img.find_rects?
I think it is on github, but I have no idea how to find it.
Is there a web page explaining how to use github?
Thanks, Jim
- Sat Mar 10, 2018 11:42 am
- Forum: Technical Discussion
- Topic: f.write
- Replies: 21
- Views: 11736
Re: f.write
Thanks,
You guys are operating way above my meager capabilities. Do you get paid to do this or is it a passion?
Thanks Again,
Jim
You guys are operating way above my meager capabilities. Do you get paid to do this or is it a passion?
Thanks Again,
Jim
- Fri Mar 02, 2018 1:35 pm
- Forum: General Topics
- Topic: importing a *.bmp file
- Replies: 8
- Views: 8280
Re: importing a *.bmp file
Hi, I discovered several things I never new before: 1.When I take a cam7 picture with VGA and GRAYSCALE, each pixel in the IMG file is an 8 bit word. However, when I use the "save image to pc" command, on the frame buffer image, it is saved in a 3 byte tuple, ie (255,255,255). Notice that each byte ...
- Thu Mar 01, 2018 7:42 pm
- Forum: General Topics
- Topic: importing a *.bmp file
- Replies: 8
- Views: 8280
Re: importing a *.bmp file
Hi, I apologize for opening this post again but I finally got back to work on it. I attached my latest script file. I tried to attach the .bmp graphics file but it totally screwed up your attach software. I Made the changes you suggested but it still doesn't run. When I save an image from the IDE wh...
- Thu Mar 01, 2018 6:24 pm
- Forum: Technical Discussion
- Topic: image.image
- Replies: 2
- Views: 1064
Re: image.image
Hi,
Ignore this post. I am sending a substitute.
Jim
Ignore this post. I am sending a substitute.
Jim
- Thu Mar 01, 2018 5:59 pm
- Forum: Technical Discussion
- Topic: image.image
- Replies: 2
- Views: 1064
image.image
img = image.image(c:\user\jimkim\blksqrclose.bmp, copy_to_fb=true) I saved a cam7 image from the frame buffer to the pc. Will the command shown above work to load the saved file into the frame buffer and use it as if the camera was being use?. Also, the saved image is GRAYSCALE, VGA *.bmp. The file ...
- Thu Mar 01, 2018 10:46 am
- Forum: Technical Discussion
- Topic: f.write
- Replies: 21
- Views: 11736
Re: f.write
Once again the file appeared on the K drive this morning after running the script. I deleted the file from the K drive; ran the script; and the file did not appear on the K drive.
What it is Bro.
Jim
What it is Bro.
Jim
- Wed Feb 28, 2018 2:51 pm
- Forum: Technical Discussion
- Topic: f.write
- Replies: 21
- Views: 11736
Re: f.write
blksearch.py zipped file attached
- Wed Feb 28, 2018 2:29 pm
- Forum: Technical Discussion
- Topic: f.write
- Replies: 21
- Views: 11736
Re: f.write
You won't believe this.
Every morning when I start openmv ide and run my script, the file magically appears on the k drive. But the rest of the day it does not. Maybe the problem is in Windows and it gets repaired at night over the internet.
Jim
Every morning when I start openmv ide and run my script, the file magically appears on the k drive. But the rest of the day it does not. Maybe the problem is in Windows and it gets repaired at night over the internet.
Jim
- Tue Feb 27, 2018 6:15 pm
- Forum: Technical Discussion
- Topic: f.write
- Replies: 21
- Views: 11736
Re: f.write
Me again,
Whats (tag.) how do i use it?
Sorry for being such an ignoramus.
Jim
Whats (tag.) how do i use it?
Sorry for being such an ignoramus.
Jim
- Tue Feb 27, 2018 6:08 pm
- Forum: General Topics
- Topic: serial terminal
- Replies: 7
- Views: 7445
Re: serial terminal
It works. Sorry for all the trouble.
Jim Sullivan
Jim Sullivan
- Tue Feb 27, 2018 3:39 pm
- Forum: General Topics
- Topic: serial terminal
- Replies: 7
- Views: 7445
Re: serial terminal
HI,
I attached the wrong code in the previous reply.
Here is the correct code.
I attached the wrong code in the previous reply.
Here is the correct code.
- Tue Feb 27, 2018 3:34 pm
- Forum: General Topics
- Topic: serial terminal
- Replies: 7
- Views: 7445
Re: serial terminal
Hi,
I'm sorry for the endless questions.
When I use pyb.delay(1) I get the error "NameError: name 'pyb' is not defined".
Code is attached.
I'm sorry for the endless questions.
When I use pyb.delay(1) I get the error "NameError: name 'pyb' is not defined".
Code is attached.