OpenMV LCD Shield not functioning

Just received this item ([https://www.robotshop.com/en/openmv-cam-lcd-shield.html](http://LCD Shield)) and attached it to my working OpenMV board - attempted to run the example code and it fails. I presume the shield may be bad but wanted to confirm I wasn’t doing anything out of the ordinary.

import sensor, lcd
# Setup camera.
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.LCD)
sensor.skip_frames()
print("we make it this far")
lcd.init()
print("but never past initialization")
# Show image.
while(True):
    lcd.display(sensor.snapshot())

Hi @deroses

Please use the following link to help you with your code:
https://docs.openmv.io/library/omv.lcd.html

Functions

lcd. init ([ type=1 ])

Initializes an attached lcd shield using I/O pins P0, P2, P3, P6, P7, and P8.

type indicates the type of lcd shield (for future use possibly):

  • 0: None
  • 1: lcd shield

Thanks for the response - I read that in the documentation as it being an optional parameter so I did not include it. I just attempted to include it : when I set it to 0 (no lcd shield) the system runs and I see the view in the IDE but nothing on the LCD - which makes perfect sense. When I set it to 1 I get the same failure as before: when it attempts to initialize it fails and the code/IDE stops. My assumption is that the default is use the lcd shield so setting type = 1 is the same as doing nothing.

This seems to confirm that there is something wrong with the lcd hardware, correct?

Hi,

I’ve contacted the manufacturer and they seems to agree that it is defective. However, they want you to post on their forums if possible.
You can post here:
http://forums.openmv.io/

I just wanted to follow up here - the problem is mine - I originally soldered the pins facing up (towards the camera lens) and turns out they want you to solder down (facing away from lens). As such there was a mis-match between what was expected and what I was providing. User error (although come to find out other people on the OpenMV forum have had the same issue).
Adam

Hey @deroses

Thank you for your follow-up!