Show Posts
Pages: 1 ... 7 8 [9] 10 11 ... 113
121  Using Arduino / Motors, Mechanics, and Power / Re: Serial monitor crash when relays switch on main power on: July 24, 2014, 02:37:43 pm
That lamp seems to be a PL lamp.
Those were the first power saving lamps that could be put in a normal E27 lamp fitting (that i know of).
If so, then it is highly inductive, as it is nothing else than a small TL that was bent multiple times to fit the jar it is mounted in.
They evolved from standard (bi-metal) starter to electronic starter to a complete electronic module.
The first two were very inductive due to the nature of a starter.
The last one was less so.
This was over 25 years ago, though.
122  Using Arduino / Microcontrollers / Re: Smallerst arduino on: July 24, 2014, 11:42:55 am
I recently found this.
It's an ATmega32U4, so should be Leonardo compatible.
It doesn't offer that much pins (3 analog, 3 digital) due to its size, but serial, I2C and ICSP (requires some more soldering skills) are available.
Because of it being an ATmega32U4, USB is available also through a micro connector.

I think i'll have some applications in mind for this one, so have ordered a couple.
123  Using Arduino / Displays / Re: 16x2 goes blank after few hours. on: July 24, 2014, 06:16:52 am
Paul: your link results in a 404 message (page not found)  to me.

Google helped with that though.
It is an AC optocoupler, which should also need 2 wires, doesn't it ?
124  Using Arduino / Programming Questions / Re: How to split an incoming serial into int on: July 24, 2014, 06:05:47 am
That is exactly what i meant.
I got that you were receiving these value once every second, and expected a pause between them.
You need to find specific `recognition points´, and a pause is one of them.
A pause can be measured / found using a timer.
I hinted to a possibility, because it is a school project, and you didn't exactly tell about the pause.

School project means you need to do some thinking yourself, and you will not be helped by simply serving you some code.
You'll really learn when you do stuff yourself including the unavoidable errors and mistakes you'll make.
125  Using Arduino / Programming Questions / Re: How to split an incoming serial into int on: July 23, 2014, 04:31:49 pm
...And that's where those comma's come in.
Count the comma's.
But you'll need to find a way to synchronise first.
I bet you can do that using timing.
126  Using Arduino / Microcontrollers / Re: Arduino Uno ---> Arduino Pro on: July 23, 2014, 03:32:56 pm
Is that pro, or pro mini ?

Pro mini comes in the same variants, but is really small and so will gain the most in space.
Believe it or not, it has 2 more analog pins (A6, A7), as the chip has them available in its SMD package.
I can't tell why the pro (which has the same chip) doesn't have that
I can only guess that that to benefit the form factor that makes it possible to use the same shields, but even then that should not be any problem.
The pro mini is so small, that is hasn't got the USB to serial adapter on board.
You need to use an external adapter board for that, but you only need one for all pro mini's you'll use in the future (that do not need an USB connection).

If you want 100 % compatibility, get the 5 volt version.
That one has the same clock at 16 MHz, the 3 volt version is limited (due to the 3 volts) to 8 MHz.
127  Using Arduino / Programming Questions / Re: How to split an incoming serial into int on: July 23, 2014, 01:47:15 pm
Hi and welcome.

Is this some school project ?

First of all, you need more information.
Is the data a constant stream of data, or do you get a new line too ?
If you get a new line, are all lines of the same length ?
That means are there a fixed number of fields, delimited by a comma ?
Do you need to process all fields, or are you just interested in certain fields ?

These are some things you need to ask yourself.

Further, you need to know that you are receiving characters, ASCII values.
You need to convert these to some variables, which is the core of your question.
The comma's are a great help while doing this.
128  General Category / General Discussion / Re: Using Arduino as "plug and play" device on: July 23, 2014, 10:33:01 am
Hi and welcome.

What you ask is very unlikely to be possible.
The reason for that is that you need some software for this, and there aren't that much OS'es that have this built in already.
So you need some software to be installed for this.

I've seen devices that install their own software.
To do this, they are identified as a memory stick, and after that has been installed, it will install the driver and other needed software.
After this installation, the device will be recognised as the correct device, and the software can be used.
That software doesn't change the Device ID and Vendor ID (these are what is sent to the OS so it can recognise the device) aren't changed, because when the device is plugged in for the first time in another machine, it will install the software again.

It may very well be possible to create all this using an Arduino.
But you need to understand USB protocols very well, and change the bootloader on your Arduino.
You also need to add a piece of memory (a SD card could do the trick) to your Arduino, and write the drivers and software for all platforms (widows in different tastes, mac, android, i don't know) you wish to support.
129  International / Nederlands / Re: keypad on: July 23, 2014, 10:16:15 am
Sowieso moet je er altijd van uit gaan dat je zelf een fout hebt gemaakt.
Dan kun je ook na 3 keer controleren uitsluiten dat dat zo is.

Je moet er ook rekening mee houden dat je je eigen fouten maar moeilijk kunt herkennen.
Dat komt omdat je nou eenmaal een bepaalde werkwijze hebt, en die zal waarschijnlijk niet veranderen als je op zoek gaat naar die fout.
Daarom is het dan een goed idee om er eens iemand anders naar te laten kijken.
130  Using Arduino / Displays / Re: 16x2 goes blank after few hours. on: July 23, 2014, 10:09:46 am
That's not clear to me.
Not wired AND no jumper.
Does that mean that there is only 1 single wire to each optocoupler ?

The jumper should indeed be open.
But there should be a circuit, meaning that both wires to the optocoupler should be used in order to complete that circuit.
I can't see how else the LED inside the optocoupler could be lit else.

A capacitor forms a barrier to DC signals, but is a short to pulses.
That way it can do its filter function which you are using at the moment.
131  International / Nederlands / Re: keypad on: July 23, 2014, 08:48:03 am
De eerste foutmelding in het zwarte gedeelte moet je ook het eerst oplossen.
Dat is deze fout:
D:\Documenten\Arduino\libraries\Keypad/Keypad.h:36:25 error: utility/Key.h: No such file or directory

Er is dus iets fout gegaan bij het installeren van de library, omdat Key.h (en / of diens map) niet gevonden kan worden.
132  General Category / General Discussion / Re: How to begin? on: July 23, 2014, 05:37:00 am
Any starter kit would do.
You should have asked before, because you would have saved some money (at least for shipping) by ordering a kit that includes an Uno.

To give the best answer, the best question has to be asked.
What are your goals with Arduino ?
133  Community / Website and Forum / How to end a topic on: July 22, 2014, 05:23:39 pm
Wrong section, wrong thread.

You don't.

You can change the thread title adding "[solved]" (or "[opgelost]" in your case) to it.
134  Using Arduino / Displays / Re: 40 pin extension cable on: July 22, 2014, 05:06:56 pm
My remark was made in relation to the display.
You told about a display to be placed to the wall, and the need of a 40 wire cable, not much else.
Thus my conclusion that you need that 40 wire cable for that display.
Such cable in relation to a display excludes a 1602 like display (way too much wires than needed).
I've seen some tft screens that do use a similar cable, so that was what i thought of.
I've also seen multiple problems popping up because people used these displays with a bunch of single wires, which were shorter than the length you are planning to use.

In short: if this 40 wire cable isn't meant to be used for the display, then forget my first post here.
135  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.
Pages: 1 ... 7 8 [9] 10 11 ... 113