Pages: 1 [2]   Go Down
Author Topic: Arduino UNO R3 + PCF8574P + HD44780  (Read 10343 times)
0 Members and 1 Guest are viewing this topic.
Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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:
void begin(uint8_t cols, uint8_t rows, uint8_t charsize = LCD_5x8DOTS );



@floresta: Google is your best friend
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Wonderzoek
Quote
@floresta: Google is your best friend
Are you serious?

Don
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Don
Logged

Leeds, England
Offline Offline
God Member
*****
Karma: 15
Posts: 655
Quick, chuck it in the bin before the boss finds out...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Wonderzoek
Quote
@floresta: Google is your best friend
Are you serious?

Don

I think he meant well!   smiley-grin
Logged

Beginners guide to using the Seeedstudio SIM900 GPRS/GSM Shield

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  smiley-lol
Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Anaheim CA.
Offline Offline
Faraday Member
**
Karma: 47
Posts: 2892
...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

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

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 37
Posts: 4329
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Pages: 1 [2]   Go Up
Jump to: