Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 108
61  Using Arduino / General Electronics / Re: 110V detection on: July 22, 2014, 02:57:56 pm
Use an optocoupler to see power is there or not.
It will not tell you anything about the consumption, but you will know the state of the switch.
As it will probably be an AC power supply, the result of the optocoupler will be a "flashing" signal.
That can be used.
Big advantage of such optocoupler is that it is galvanic isolated and so safe to use.
62  Using Arduino / Displays / Re: 40 pin extension cable on: July 22, 2014, 02:49:17 pm
Hi and welcome.

I can't answer your question.
But it seems you are assuming  that it will still work after extending the connection from 0.0 cm to 121.9 cm .
That is quite an assumption.
So let me warn you that you might be in for a surprise.
You might want to test that before you commit to it.
63  Using Arduino / Displays / Re: LCD doesn't display any characters on: July 22, 2014, 12:10:56 pm
OK, no problem, we'll let it rest now.

Important is that you need to be meticulous when coding.
It is good to ask if you understood it right in case of any doubt.
So don't let this keep you from asking another (maybe similar) question.
The only dumb question is that, that was never asked.
64  Using Arduino / Displays / Re: LCD doesn't display any characters on: July 22, 2014, 11:23:41 am
Where did you get that information from ?
So we know to stay away as far as possible from that.

Good to see you booked some progress, and will be able to go on now.
65  International / Nederlands / Re: LCD scherm met IIC module on: July 22, 2014, 07:45:45 am
Welke versie van de IDE heb je ?
Als dat de laatste versie is (1.0.5), dan kun je daarin libraries importeren.
Dat doe je dan door te klikken op Sketch - Import Library te klikken (of Sketch - Bibliotheek Importeren voor NL versie).
Verder is die map die je hebt laten zien, een map in "mijn documenten".
Dat is niet de juiste plaats (ik weet ook niet waarom die map bij installatie word aangemaakt).
Je moet 'm in de installatiemap zetten.
Hier staat ie (win 7 home pro 64bits) in C:\Program Files (x86)\Arduino\libraries
Vermoedelijk ga jij die map op een vergelijkbare plaats terugvinden.
66  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.
67  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' .
68  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).
69  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).
70  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 ?
71  International / Nederlands / Re: verbinden van draden. on: July 21, 2014, 03:44:06 pm
Problem Exists... smiley-twist
72  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.
73  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.
74  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.
75  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.
Pages: 1 ... 3 4 [5] 6 7 ... 108