Search found 95 matches

by pcls1026
Sun Mar 29, 2020 6:39 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

Re: image

Under tools in the IDE the copy .. command is not high lighted.
Jim
by pcls1026
Sun Mar 29, 2020 6:32 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

Re: image

I'll try it and get back.
Thanks,
Jim
by pcls1026
Sun Mar 29, 2020 3:55 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

Re: image

after i'v saved the script to the cam, is it non volitile?

how do I start the program running, or does it just start when I power up the cam?
by pcls1026
Sun Mar 29, 2020 2:34 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

Re: image

Hi, I got my image timing to work the way I wanted. Thanks MY script works the way I want, when it is running in the IDE. What do I need to do to run it NOT using the IDE. I assume I need a power supply. How do I program the camera uP with the script. And, does the uP start running automatically whe...
by pcls1026
Thu Mar 26, 2020 7:59 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

Re: image

I forgot the enclosure.
by pcls1026
Thu Mar 26, 2020 7:45 pm
Forum: Technical Discussion
Topic: image
Replies: 9
Views: 125

image

Hi,
I finally got logged in under my wife's name.

Ihave enclosed my script file. I want the image to appear on the IDE frame buffer screen "immediately" after the picture is taken on line 24 , before the rest of the code is run.


Thanks,
Jim
by pcls1026
Fri Nov 15, 2019 12:43 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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...
by pcls1026
Fri Nov 15, 2019 12:22 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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
by pcls1026
Fri Nov 15, 2019 11:57 am
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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...
by pcls1026
Fri Nov 15, 2019 11:45 am
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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
by pcls1026
Thu Nov 14, 2019 5:10 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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
by pcls1026
Thu Nov 14, 2019 4:59 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

Re: usage

I checked continuity and there are no shorts.
Why Can't I use UART-1?
by pcls1026
Thu Nov 14, 2019 1:32 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 752

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...
by pcls1026
Sat Nov 02, 2019 8:38 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 948

Re: uart waveform

I checked the soldering and re-soldered the pin. Nothing changed.

How about finding the SD card?

Jim
by pcls1026
Sat Nov 02, 2019 6:30 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 948

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...
by pcls1026
Thu Oct 31, 2019 5:40 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 948

Re: uart waveform

I will try it hooked up to a microchip dsp33ep256mp on board uart and see if sends the correct wave form.
by pcls1026
Thu Oct 31, 2019 1:34 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 948

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...
by pcls1026
Wed Oct 30, 2019 10:41 am
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

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.
by pcls1026
Sun Oct 27, 2019 6:16 pm
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

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 ...
by pcls1026
Sat Oct 26, 2019 1:02 pm
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

Re: no file found

I have an SD card installed. How do I copy my image file to it?

Thanks
Jim
by pcls1026
Fri Oct 25, 2019 2:44 pm
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

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
by pcls1026
Fri Oct 25, 2019 2:20 pm
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

Re: no file found

Hi,
I remember now.
Thanks,
Jim
by pcls1026
Fri Oct 25, 2019 10:58 am
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 979

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...
by pcls1026
Sun Dec 09, 2018 6:53 pm
Forum: Technical Discussion
Topic: UART again
Replies: 5
Views: 2512

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: 2512

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: 2512

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: 2512

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: 3771

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: 3771

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: 3771

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: 3771

Re: usage

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

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: 3771

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: 2794

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: 2794

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: 2794

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: 2794

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: 2566

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: 2566

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: 2566

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: 2566

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: 1245

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: 1245

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: 1398

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: 12243

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: 8604

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: 8604

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: 1181

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: 1181

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: 12243

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

Go to advanced search