Search found 72 matches

by pcls1026
Sun Dec 09, 2018 6:53 pm
Forum: Technical Discussion
Topic: UART again
Replies: 5
Views: 111

Re: UART again

Hi,
It works!!
thanks,
jim
by pcls1026
Sat Dec 08, 2018 7:14 pm
Forum: Technical Discussion
Topic: UART again
Replies: 5
Views: 111

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.
by pcls1026
Sat Dec 08, 2018 6:52 pm
Forum: Technical Discussion
Topic: UART again
Replies: 5
Views: 111

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'.
by pcls1026
Sat Dec 08, 2018 6:43 pm
Forum: Technical Discussion
Topic: UART again
Replies: 5
Views: 111

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 ...
by pcls1026
Tue Nov 06, 2018 2:56 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

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
by pcls1026
Tue Nov 06, 2018 12:12 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

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
by pcls1026
Mon Nov 05, 2018 6:21 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

Re: usage

What about power? do I need Caps or Resistors?
by pcls1026
Mon Nov 05, 2018 4:25 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

Re: usage

Thanks for the quick reply.
by pcls1026
Mon Nov 05, 2018 1:24 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

Re: usage

This is PCLS1026 again.

I am assuming that the UART is read by using polling and not interrupts. Is that true?

Jim
by pcls1026
Mon Nov 05, 2018 12:30 pm
Forum: Technical Discussion
Topic: usage
Replies: 9
Views: 1490

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...
by pcls1026
Fri Aug 10, 2018 5:58 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 631

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.
by pcls1026
Thu Aug 09, 2018 6:16 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 631

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...
by pcls1026
Tue Aug 07, 2018 3:08 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 631

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?
by pcls1026
Mon Aug 06, 2018 3:40 pm
Forum: Technical Discussion
Topic: position encoder
Replies: 7
Views: 631

position encoder

Do you have a python example to read a simple quadrature encoder with the cam 7?
by pcls1026
Sun Mar 25, 2018 11:24 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 968

Re: grayscale to monochrome

how do i show it in the frame buffer so I can see it?
by pcls1026
Sun Mar 25, 2018 10:59 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 968

Re: grayscale to monochrome

my image that I load in is already grayscale. I want to convert the grayscale to black and white.
by pcls1026
Sun Mar 25, 2018 9:59 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 968

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
by pcls1026
Sun Mar 25, 2018 9:43 pm
Forum: Technical Discussion
Topic: grayscale to monochrome
Replies: 7
Views: 968

grayscale to monochrome

Hi,
What this this command do? image.binary(thresholds(50, 255),invert=false)
Jim
by pcls1026
Wed Mar 21, 2018 1:55 pm
Forum: Technical Discussion
Topic: apriltag
Replies: 3
Views: 509

Re: apriltag

Ignore my post. I moved the apriltag closer to the camera and it worked.
Jim
by pcls1026
Wed Mar 21, 2018 12:58 pm
Forum: Technical Discussion
Topic: apriltag
Replies: 3
Views: 509

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
by pcls1026
Tue Mar 13, 2018 2:11 pm
Forum: General Topics
Topic: github
Replies: 1
Views: 522

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
by pcls1026
Sat Mar 10, 2018 11:42 am
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

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
by pcls1026
Fri Mar 02, 2018 1:35 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 6567

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 ...
by pcls1026
Thu Mar 01, 2018 7:42 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 6567

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...
by pcls1026
Thu Mar 01, 2018 6:24 pm
Forum: Technical Discussion
Topic: image.image
Replies: 2
Views: 485

Re: image.image

Hi,
Ignore this post. I am sending a substitute.

Jim
by pcls1026
Thu Mar 01, 2018 5:59 pm
Forum: Technical Discussion
Topic: image.image
Replies: 2
Views: 485

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 ...
by pcls1026
Thu Mar 01, 2018 10:46 am
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

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
by pcls1026
Wed Feb 28, 2018 2:51 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

blksearch.py zipped file attached
by pcls1026
Wed Feb 28, 2018 2:29 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

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
by pcls1026
Tue Feb 27, 2018 6:15 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

Me again,
Whats (tag.) how do i use it?
Sorry for being such an ignoramus.
Jim
by pcls1026
Tue Feb 27, 2018 6:08 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 6054

Re: serial terminal

It works. Sorry for all the trouble.
Jim Sullivan
by pcls1026
Tue Feb 27, 2018 3:39 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 6054

Re: serial terminal

HI,
I attached the wrong code in the previous reply.
Here is the correct code.
by pcls1026
Tue Feb 27, 2018 3:34 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 6054

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.
by pcls1026
Tue Feb 27, 2018 3:23 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

How do I post the script for debugging? And, how can they debug it without my camera?
Jim
by pcls1026
Tue Feb 27, 2018 3:22 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

How do I post the script for debugging? And, how can they debug it without my camera?
Jim
by pcls1026
Tue Feb 27, 2018 2:08 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

I bought from the openmv website. --openm3 r2 us-mf-002 ov7725-m7 05/20/2017-- When I put the SD card in the camera the PC recognizes the USB port and the CAM7 works as usual. This morning I got the following results for my file problem. 1. I started the openmv ide. The previously attached file "cop...
by pcls1026
Mon Feb 26, 2018 8:32 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

Hi,
Now I have another problem. When I plug the camera into the PC USB port, the PC will not accept it. It says the device not recognized. Also, the camera light blinks like crazy.
Jim
by pcls1026
Mon Feb 26, 2018 7:29 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

I had the SD card attached to the camera. I thought the file was automatically opened on the SD card. How do I know if the file is being written to the SD card or the Flash?
by pcls1026
Sat Feb 24, 2018 6:12 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

Re: f.write

I tried adding the /. It worked the first time I ran the script. I could read the file on the K drive. However, it did not work the second time I ran the script. I reinstalled the CAM firmware and it ran properly again the first time but not the second. It would appear the firmware is getting corrup...
by pcls1026
Sat Feb 24, 2018 5:44 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 6054

Re: serial terminal

kwagyeman,
What do you mean by adding a wait. Is this a Python command?

I created a 3x24 2d list that I want to look at.
I attached code.

Jim
by pcls1026
Sat Feb 24, 2018 3:52 pm
Forum: General Topics
Topic: serial terminal
Replies: 7
Views: 6054

serial terminal

Hi,
When I PRINT too much data, the serial terminal does not accept all of it. Is there any cure ,other than writing a file to the SD card as I talked about on my previous post; "F.WRITE" .
Jim
by pcls1026
Sat Feb 24, 2018 3:29 pm
Forum: General Topics
Topic: Question for iabdakader
Replies: 1
Views: 2225

Question for iabdakader

Hi,
Were you able to include the pixel RAW data code in the 8a update?
Jim Sullivan
by pcls1026
Sat Feb 24, 2018 3:23 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 9246

f.write

Hi, I wrote and ran a script several months ago that writes data to a file on the SD card. After running the script, I reset the MV Cam using IDE tools. The file then presents on the K-Drive of the PC. I then open the file on Notebook and look at it. I ran the script today, but the file does not pre...
by pcls1026
Wed Feb 14, 2018 1:46 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 6567

Re: importing a *.bmp file

Hi, Sorry about all the posts. My updated program is attached. I tried to attach a copy of the image file from the PC, but the following error message ensued "Invalid file extension: blkandwht12.bmp." I tried to attach a copy of the image file from the K drive, but it did not show there. All of the ...
by pcls1026
Sat Feb 10, 2018 2:51 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 6567

importing a *.bmp file

Hi,
I am using the attached code to import a 16KB, BMP image file, into the Image frame frame buffer on an M7.
It gives a syntax error.
What am I doing wrong?
Jim
by pcls1026
Wed Feb 07, 2018 5:45 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1349

Re: usb cable

HI,
I think I answered your question wrong.
I am talking about the USB cable that goes from the PC to openmv board.
Jim
by pcls1026
Wed Feb 07, 2018 5:39 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1349

Re: usb cable

No, it was the big "A" connector.
The board is fine I think.

Do you have the official names for the cable connectors. I have no idea what to ask for.

Jim
by pcls1026
Tue Feb 06, 2018 8:40 pm
Forum: General Topics
Topic: usb cable
Replies: 4
Views: 1349

usb cable

Hi,
Believe it or not, a wild squirrel ate the end off of my USB cable. Can you give a part number or let me buy one from you?
Thanks,
Jim Sullivan
by pcls1026
Mon Jan 15, 2018 2:22 pm
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 1195

Re: pixel value

Thanks iabdalkader
Jim
by pcls1026
Sat Jan 13, 2018 12:52 am
Forum: Technical Discussion
Topic: pixel value
Replies: 7
Views: 1195

Re: pixel value

A "REDO" of the previous reply.
If you get the time I would appreciate the ability to get the raw intensity value of the red filtered pixel.
Thanks
Jim

Go to advanced search