Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 8:18
mvahoney the codewitch2-Oct-20 8:18 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
CodeWraith2-Oct-20 8:34
CodeWraith2-Oct-20 8:34 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 8:47
mvahoney the codewitch2-Oct-20 8:47 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
CodeWraith2-Oct-20 8:59
CodeWraith2-Oct-20 8:59 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 9:31
mvahoney the codewitch2-Oct-20 9:31 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
Nelek2-Oct-20 11:21
protectorNelek2-Oct-20 11:21 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 11:26
mvahoney the codewitch2-Oct-20 11:26 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
CodeWraith2-Oct-20 12:10
CodeWraith2-Oct-20 12:10 
*SIGH* What a noob!


honey the codewitch wrote:
They're labeled, but not in way that's helpful.
You mean unmeaningful stuff like VSS, VDD, V0, RS, RW, E, D0 - D7? These don't tell you anything? Are you painting by numbers (= blindly following some examples)?

VSS is the source voltage, or ground. VDD is your supply voltage (probably +5V). Mess these up and your display will be sending smoke signals and die. Check these.

Vo, if I remember right, is not an input. It's a voltage that's produced in the display from the supply voltage. You are supposed to use a potentiometer to regulate the display's contrast. You should not take my word for it and check this in the datasheet.

RS is a digital input to select one of two registers in the display. What are the registers for? Don't
know, but you can always check the datasheet. In any case, you must make sure that only an output pin of the Arduino is connected here and is set to the correct value (0 or 1), depending on which register you want to access.

RW is the read/write signal, oldschool 6800 style. 1 if you want to read the selected register and 0 if you want to write to it. A datasheet would tell you that. It's another input, so it must be hooked up to yet another output pin of the Arduino.

E is the enable signal, also old 6800 style. It's also an input, so you will need another output pin from the Arduino here.

D0 - D7 are your eight data bits. You will need eight bidirectional signals from the Arduino, or if it does not have such data lines, reconfigure these I/O pins to the right direction for every access of the display. Here you can easily send both the Arduino and the display to east hyperspace when you read from the display and the Arduino's I/O pins are still set to be outputs. Here you should read up on how the Arduino handles bidirectional parralel data lines and make sure that such a collision never happens. Short two outputs together and you get a nice short circuit which will fry a few transistors and permanently damage your devices.

A and K are simple. They are the anode and cathode of the LED that lights the display. You only need to hook them up to +5V and ground with a resistor to limit the current. Which value? Ask the data sheet. It will tell you the maximum current that is allowed and Ohm's law will tell you the rest. Just guessing, but a typical single LED works nicely with a 470 Ohm resistor in series. I have some that survived more than 40 years that way.
I have lived with several Zen masters - all of them were cats.

His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 12:39
mvahoney the codewitch2-Oct-20 12:39 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
CodeWraith2-Oct-20 14:16
CodeWraith2-Oct-20 14:16 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 15:34
mvahoney the codewitch2-Oct-20 15:34 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
CodeWraith2-Oct-20 22:42
CodeWraith2-Oct-20 22:42 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch3-Oct-20 1:29
mvahoney the codewitch3-Oct-20 1:29 
AnswerRe: So my little arduino clone is fun but I was wondering something Pin
Luc Pattyn2-Oct-20 9:33
sitebuilderLuc Pattyn2-Oct-20 9:33 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 10:44
mvahoney the codewitch2-Oct-20 10:44 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
Luc Pattyn2-Oct-20 11:08
sitebuilderLuc Pattyn2-Oct-20 11:08 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 11:35
mvahoney the codewitch2-Oct-20 11:35 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
Luc Pattyn2-Oct-20 12:08
sitebuilderLuc Pattyn2-Oct-20 12:08 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 12:41
mvahoney the codewitch2-Oct-20 12:41 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
David Crow2-Oct-20 10:08
David Crow2-Oct-20 10:08 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 10:40
mvahoney the codewitch2-Oct-20 10:40 
AnswerRe: So my little arduino clone is fun but I was wondering something Pin
Robotek232-Oct-20 11:10
Robotek232-Oct-20 11:10 
GeneralRe: So my little arduino clone is fun but I was wondering something Pin
honey the codewitch2-Oct-20 11:34
mvahoney the codewitch2-Oct-20 11:34 
AnswerRe: So my little arduino clone is fun but I was wondering something Pin
_WinBase_4-Oct-20 22:37
_WinBase_4-Oct-20 22:37 
AnswerRe: So my little arduino clone is fun but I was wondering something Pin
Member 148590765-Oct-20 2:54
Member 148590765-Oct-20 2:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.