Page 1 of 1

lcd shield doesn't work

Posted: Tue Apr 18, 2017 4:36 am
by jisheng
Re: Can the board works disconnected from IDE ?
Postby kwagyeman » Tue Oct 04, 2016 7:57 am
On my phone, so, short answer.

Click tools, and the then save to OpenMV cam. The IDE will then ask you if you want comments striped. Then go to tools and click reset OpenMV cam.

The board will now run the script you loaded onto it without the IDE
============================================================================================================================================================================================
Today,I try the steps as introduced above, but something happens to my board. The LCD shield doesn't show the picture as the picture showed in the ide. Does someone know what happens? How can i fix this problem? Thanks

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 6:49 am
by deshipu
You have to run the lcd example for this to work.

Re:deshipu

Posted: Tue Apr 18, 2017 9:23 pm
by jisheng
I tried it just now, but it doesn't work still. :?

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 9:49 pm
by iabdalkader
Can you send us an image of the shield connected ?

Re:iabdalkader

Posted: Tue Apr 18, 2017 10:25 pm
by jisheng
Sure! I add it with the attachments. Can you see the picture?

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 10:38 pm
by iabdalkader
No can't see any attachments, also please include the script you used for testing.

Re: iabdalkader

Posted: Tue Apr 18, 2017 10:45 pm
by jisheng
# Hello World Example
#
# Welcome to the OpenMV IDE! Click on the green run arrow button below to run the script!

import sensor, image, time

sensor.reset() # Reset and initialize the sensor.
sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320x240)
sensor.skip_frames(10) # Wait for settings take effect.
clock = time.clock() # Create a clock object to track the FPS.

while(True):
clock.tick() # Update the FPS clock.
img = sensor.snapshot() # Take a picture and return the image.
print(clock.fps()) # Note: OpenMV Cam runs about half as fast when connected
# to the IDE. The FPS should increase once disconnected.
=====================================================================================
how can I add the picture? I add it to the attachment and then submit, the picture cannot be upload to the post.

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 10:50 pm
by iabdalkader
Click Attachments -> Add files then browse for the image, it will upload and then submit

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 10:51 pm
by iabdalkader
You're not using the LCD at all in your script, unless there's a problem with the HW, this should work:

Code: Select all

import sensor, image, lcd

sensor.reset() # Initialize the camera sensor.
sensor.set_pixformat(sensor.RGB565) # or sensor.GRAYSCALE
sensor.set_framesize(sensor.QQVGA2) # Special 128x160 framesize for LCD Shield.
lcd.init() # Initialize the lcd screen.

while(True):
    lcd.display(sensor.snapshot()) # Take a picture and display the image.


Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 11:05 pm
by jisheng
I tried the code you tell me.I think this time it works,but there are many stripes in the LCD shield. I cannot find the browse button in my web. Could you please tell me your email address, so that i can use the email to send you the picture. By the way, if I erase some thing by mistake, can it have an influence on the shield?

Re: lcd shield doesn't work

Posted: Tue Apr 18, 2017 11:27 pm
by iabdalkader
You can upload it somewhere like (http://imgur.com/) and just post the link.

Re: lcd shield doesn't work

Posted: Wed Apr 19, 2017 9:32 pm
by jisheng
IMG_1090.JPG
IMG_1090.JPG (1.92 MiB) Viewed 9979 times

Re:iabdalkader

Posted: Wed Apr 19, 2017 9:34 pm
by jisheng
hi, I post the picture. This is what the lcd shield like.

Re: lcd shield doesn't work

Posted: Wed Apr 19, 2017 9:51 pm
by iabdalkader
Hi, this shield is Not original, did you buy this from Taobao ? We've seen many clones lately on Taobao, they use low quality parts and 2 layers PCBs for the camera board, but also they change the design, which could cause issues. I can't be sure what's wrong with the shield, as we didn't make it.

Re:iabdalkader

Posted: Wed Apr 19, 2017 10:00 pm
by jisheng
Yes, I bought it from taobao. So do you have a formal distributor in China?

Re: Re:iabdalkader

Posted: Thu Apr 20, 2017 5:56 pm
by iabdalkader
jisheng wrote:
Wed Apr 19, 2017 10:00 pm
Yes, I bought it from taobao. So do you have a formal distributor in China?
Yes, very soon we'll have a distributor in China, I'll let you know then.

Re: lcd shield doesn't work

Posted: Thu Apr 20, 2017 9:01 pm
by jisheng
OK,thanks.

Re: Re:iabdalkader

Posted: Wed May 10, 2017 12:10 pm
by iabdalkader
jisheng wrote:
Wed Apr 19, 2017 10:00 pm
Yes, I bought it from taobao. So do you have a formal distributor in China?
Hey, we have a distributor in China now, you can order/pre-order directly from Seeed.

Re: lcd shield doesn't work

Posted: Wed Jun 21, 2017 11:16 am
by kwagyeman
We don't sell an LCD and keypad shield.