Show Posts
Pages: 1 ... 9 10 [11] 12 13 ... 114
151  Using Arduino / Displays / Re: LCD doesn't display any characters on: July 22, 2014, 06:27:28 am
Hi and welcome.

Let me start with the backlight issue.
You should reduce the current to a backlight LED, not the voltage.
If you reduce the current, the voltage will follow, but not the other way around.
To reduce the current you could use a resistor.
Lots of displays have such resistor built in, but by far not all of them.
So find out about that for your display.

In case really nothing happens, assume you need to adjust the contrast potentiometer.
You should see some contrast where the characters should appear.
You can set the contrast already when the module only gets power (and is not controlled in any way).
In that case you should see all blocks in the first line, and none in the second.
After doing that you can go and try to get some characters on your LCD.

The module has an excellent manual, telling how to build it, but also how it is connected to the LCD.
It is in German, so if someone doesn't understand that that would be a problem.
I'm assuming you understand the German language.
On top of page 4, a schematic shows this connection.
This has to be the same as in your declaration of the screen in this line:

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

I didn't bother to check that , but you should.
152  International / Nederlands / Re: LCD scherm met IIC module on: July 22, 2014, 06:02:22 am
Hoi driesdep, welkom.

Quote from: driesdep

Ik heb namelijk de nodige libraries aan arduino toegevoegd,
maar, nog steeds heeft de compiler een hele reeks aan problemen ....

Om een libary te verkrijgen, ga ik naar deze google code site,
Ik copy de code, en plak het in de notebook.
(Ik geef hem de juiste naam, en plaats hem in libraries van Arduino);
Dit zou het toch moeten doen ?
Of niet ??

Niet dus.
Aangezien je niet hebt vermeld dat je in libraries een nieuwe map hebt gemaakt met dezelfde naam als de library die je aanroept, moet ik aannemen dat je dat niet gedaan hebt.
Daar word naar gezocht en als dat niet word gevonden gaat het dus niet goed en krijg je deze foutmeldingen.
Elke library moet dus in zijn eigen map staan, niet in de hoofdmap genaamd 'libraries' .
153  General Category / General Discussion / Re: Noob question on: July 22, 2014, 05:49:11 am
As you were starting this thread telling you're a n00b, let me help you with this.
You are asking other people,who are in an entire different mindset as you are at that moment for something that is very clear to you.
Assume that it isn't to anybody else.
There are very much things that can click, a mouse in just another example for that.

Next time when you're going to ask any question, assume the people reading it do not know what you're talking about.
Be sure you are telling every detail you know, and do not leave parts (that might be obvious to you) out.
The link you supplied has the word(s) MouseClick in it.
That changes it all and makes a lot more sense.

Having said that, start with the beginning.
Follow some examples, have some LEDs blinking and so forth.
That will be the base for your programming skills, and you shouldn't skip that.
Don't try to do what you had in mind without any skills yet, you'll end up disappointed in Arduino and your skills (which has to be developed).
154  Using Arduino / General Electronics / Re: 10k Resister problem. on: July 22, 2014, 05:32:00 am
I don't know about your age, Naruto128, but that is the first step: to know what you need to go ahead.
Next step is to go out and work for that, as anybody else over here.
You can't expect everybody else to work for you (i know there's tons of people disagreeing with that), that doesn't work.

So instead of asking for stuff that has to be bought for free, start looking for stuff that is free and might not offer exactly what you are looking for.
That might mean there is a steeper learning curve, but that is the way you would choose to go.

Point is: act instead of complain.
If you need money to get any book at all, go out and earn that money.
If you are younger that say 15 years, and so working for that is not acceptable, ask parents or other family (perhaps as a birthday gift).
155  General Category / General Discussion / Re: Noob question on: July 21, 2014, 04:55:46 pm
Hi nj55.

What's this clicking you're talking about ?
156  International / Nederlands / Re: verbinden van draden. on: July 21, 2014, 03:44:06 pm
Problem Exists... smiley-twist
157  Using Arduino / General Electronics / Re: 10k Resister problem. on: July 21, 2014, 03:34:31 pm
Hi and welcome.

Keep following that book.
You'll learn how to do that without a resistor.
For now, as CrossRoads (an excellent teacher) told you: a single 4K7 will do just fine.
158  Using Arduino / Displays / Re: LCD not displaying eveything on: July 21, 2014, 03:22:52 pm
Indeed you would.
Just fill in the pin number or the pin function such as A0.
Works both ways.
Use it the same way as any other pin, so tell it it is an input (you might want to look into PULLUP too).

As stated before: do not use println in inappropriate display position, your text will be printed, but might drop off of the screen so to say.
159  International / Nederlands / Re: probleem bij de bibliotheken. on: July 21, 2014, 03:09:58 pm
Hoi nj55, en welkom.

Je gaat een beetje kort door de bocht.
"Het werkt niet" is niet bepaald een bruikbare beschrijving.
Als je IDE hebt geïnstalleerd (welke versie is dat ?) en gebruikt, dan krijg je een melding te zien als er iets niet goed gaat.
Die melding staat onderaan in je scherm.
In het oranje gedeelte dat er iets fout gaat, en in het zwarte gedeelte daaronder wat er zoals wel ene zoal wel en niet goed gaat.
Dat kan je helpen het probleem vast te stellen en op te lossen, en daar is dat ook voor bedoeld.
160  Using Arduino / General Electronics / Re: IR Led and Phototransistor connection give always 0 value on: July 21, 2014, 12:26:06 pm
Can't see it very clear.
But your green wire seems to be in row 60, one pin of the IR receiver is in 60 too.
The other pin of the receiver is in row 61, together with a connection to GND and some resistor that does nothing at all but waste some energy.
Because that resistor is connected between power and GND rail.
I'm quite sure that is not what was in the tutorial.
But i could be mistaking because your picture isn't really clear.
161  Community / Website and Forum / Re: Arduino Nano wep page lacks user manual for Nano v3.0 and later on: July 21, 2014, 10:48:56 am
Well, taking it step by step is the way to go anyway.
Create a new topic in the correct section if any questions arise about that.
162  Using Arduino / Displays / Re: 16x2 goes blank after few hours. on: July 21, 2014, 10:46:09 am
Indeed these are just a few cents.
So use one for every channel in use.
Also keep the wiring apart.
That means do not route all wires together, keep the control and the (230 volt) power lines apart from each other as much as possible.
If these wires share a route, it will be much easier to pick up interference (which is exactly the right word for this problem).
163  Using Arduino / Displays / Re: 16x2 goes blank after few hours. on: July 21, 2014, 10:13:27 am
Moving the relay board is part of debugging, it's not a definitive solution.
So just put it as far away as possible with the current setup.
If you have some available, use a 100nF capacitor and connect it between the relay pin and GND.
I think best position to do that is at the relay board.
Mentioned relay pin is where your Arduino controls the relay.
If you use a too large capacitor, the relay will take some time to switch off (act sluggish).
164  International / Nederlands / Re: verbinden van draden. on: July 21, 2014, 09:55:39 am
Die jumper wires worden massaal in China geproduceerd.
Iedere Arduino enthousiasteling heeft wel een setje daarvan liggen, om te gebruiken met zijn breadboard(s).
Ze zijn inderdaad erg handig daarvoor.
Maar helaas zijn ze ook niet heel erg betrouwbaar.
Ik heb inmiddels al 3 keer een setje besteld (want dit is iets waar je nauwelijks teveel van kan hebben).
Maar er zitten toch echt wel wat draden bij die gewoon niet goed zijn.
Ik vermoed dat de pennen aan de draden worden geklemd, maar dat kan dus ook fout gaan.
Daarom, als je op deze manier wil werken, zul je elke draad voor gebruik moeten controleren (diode test met de multimeter, en draden bewegen tijdens test).
Het zou kunnen zijn dat solderen van de pennen een eventueel slecht contact verhelpt, maar lastig is dat wel.

Buiten dat, denk ik niet dat dit is waar Jantje naar op zoek was.
165  Using Arduino / Displays / Re: 16x2 goes blank after few hours. on: July 21, 2014, 09:36:11 am
Hi Lennaert, and welcome

Quote from: Lennaert
Strange thing is, the times I noticed it happening, was when the relay got turned off  after having run for a random time  (dropping the power to the relay)

I am imagining something like a magnetic field collapse perhaps causing a disturbance on the LCD, but seems far fetched.

It's not that strange.
In fact this can be expected.
You're probably switching off some motor or other inductive load.
That suddenly switching off will generate a spike, which might very well be picked up by your LCD (controller) and crash it.

Your relay board has an opto isolator for each relay, that's OK.
It also has an anti-parallel diode to the relay coil, that will take care of back-EMF.
So the spike will most likely be originated at the load part of that relay.
Start by putting your relay board further away from the Adruino and / or LCD.
Then you could try to use capacitors and / or diodes to get rid of said spikes before they can reach the Arduino and LCD.
Pages: 1 ... 9 10 [11] 12 13 ... 114