Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

LCD - ST7735B


  • Please log in to reply
4 replies to this topic

#1 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 08 August 2013 - 06:42 PM

Hi all,

i am testing LCD ST7735B, but i dont know how to wire it...picture is atached

all thanks to any help

 

Attached Files



#2 NooM

NooM

    Advanced Member

  • Members
  • PipPipPip
  • 490 posts
  • LocationAustria

Posted 08 August 2013 - 06:58 PM

easy.

gnd vcc, ok i guess you know that.

nc = no connection.

reset also clear.

a0 is data/command switch.

sda is mosi.

sck is sck

cs is chipselect (thats all for the display itself, spi)

 

the other sck,mosi miso and cs is for the sd card.



#3 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 08 August 2013 - 07:23 PM

The AO and SDA was confusing for me, but its not still working,

i used for testing example from here : http://fabienroyer.w...ith-a-netduino/

 

I will check it tomorrow again....and i will place here my source code



#4 alesbedac

alesbedac

    Advanced Member

  • Members
  • PipPipPip
  • 63 posts

Posted 09 August 2013 - 08:10 AM

| am using code from here :

http://netduinohelpe...aFruitST7735.cs

 

but its not working, program is crashing

in class : ExtendedSpiConfiguration

method name : public ExtendedSpiConfiguration(.....

command : fieldInfo.SetValue(this, BitsPerTransfer);

 

program code is atached

 

Can anybody help me please

Attached Files



#5 Mario Vernari

Mario Vernari

    Advanced Member

  • Members
  • PipPipPip
  • 1768 posts
  • LocationVenezia, Italia

Posted 09 August 2013 - 04:04 PM

Hello.

If the Fabien's trick in the ExtendedSpiConfiguration is not available on Netduino 2, because the ST MCU does not allow the same flexibility as the Atmel's on the Netduino (1).

 

I think you have two choices, none of them are easy, though.

The first one is taking an "Arduino"-like board (or a simple chip), and program it as "proxy" between the Netduino and the LCD module.

 

The second one requires no extra hardware than the Netduino 2 board and the LCD, but it's a software/hardware hack around the limitation of the ST MCU.

I wrote some post about it, when I wanted to drive a led matrix module. Since the problem was probably similar to this one, I suggest you to have a look:

http://tinyclr.it/su...r-netduino.aspx

http://tinyclr.it/a-...r-netduino.aspx

http://tinyclr.it/a-...ino-plus-2.aspx

 

Here are the sources:

http://cetdevelop.codeplex.com/

 

Good luck!


Biggest fault of Netduino? It runs by electricity.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.