Go Down

Topic: Arduino UNO R3 + PCF8574P + HD44780 (Read 11302 times) previous topic - next topic

floresta

Which lead is the emitter and what is it connected to?

Don


That's why a statement such as this is used.  You have to use your pin numbers, in the proper order, inside the parentheses.

myLCD LiquidCrystal_I2C ( 0x20, 4, 5, 6, 0, 1, 2, 3, 7, POSITIVE );

Which library do you use? The libraries of Mario H. and DFRobot don't provide the ablitiy to provide specific IO pins for the outputs.

This is the declaration of the .begin statement.
Code: [Select]
void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS );



@floresta: Google is your best friend

floresta

@Wonderzoek
Quote
@floresta: Google is your best friend

Are you serious?

Don

floresta

Google???  Doesn't everyone use 'Archie'?

Don

dannable


@Wonderzoek
Quote
@floresta: Google is your best friend

Are you serious?

Don


I think he meant well!   :D
Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

floresta

I forgot to answer this part.
Quote
Which library do you use?

I don't use any library, I write all of my own code from scratch, usually in assembly language.

Quote
The libraries of Mario H. and DFRobot don't provide the ablitiy to provide specific IO pins for the outputs.

I don't know anything about those libraries and since you didn't include a link, and since I have obviously never heard of Google, I gave you an example based upon a library that I am familiar with.

Quote
This is the declaration of the .begin statement.

The .begin statement gives the library information about the characteristics of the display but does not give it information about the interconnections between the display and the Arduino.

Don


The library by Mario H. is the one that's published in the Arduino Playground. On several sites where I2C LCD's are sold, you can also download a library but 9 out of 10 they are the DFRobot library.


Concerning my response about Google: You asked about which lead is the emitter on the transistor. I just tried to be smart.  XD

floresta

Quote
The library by Mario H. is the one that's published in the Arduino Playground. On several sites where I2C LCD's are sold, you can also download a library but 9 out of 10 they are the DFRobot library.

You still haven't bothered to post a link (http://www.w3schools.com/html/html_links.asp).

Quote
You asked about which lead is the emitter on the transistor.

There were several references to the wiring of the transistor posted before I asked this rhetorical question (http://en.wikipedia.org/wiki/Rhetorical_question).  If you really comprehended what was going on you would have pointed your response toward a more appropriate party.

Don

Docedison

The DF circuit is fine If the transistor was an NPN as the LCD backlight doesn't need more than 4 volts to work properly, The emitter follower actually is a blessing there as full 5V isn't required. a PNP connected properly (Emitter more positive than collector and emitter and the base -.6 V with respect to the emitter you have a full on high current switch. I do agree though it is more likely the mistake of the draftsman or engineer who did the drawing because it either is the wrong symbol or miswired.

Bob
--> WA7EMS <--
"The solution of every problem is another problem." -Johann Wolfgang von Goethe
I do answer technical questions PM'd to me with whatever is in my clipboard

floresta

Quote
The DF circuit is fine If the transistor was an NPN ...

But the transistor is labeled as a PNP and it is drawn as a PNP so why keep giving excuses that this incorrect circuit has no problems.  I have been ignoring the fact that there is no current limiting resistor because there is an outside possibility that there is one on the display PC board.

Don

Go Up