Show Posts
Pages: 1 ... 3 4 [5] 6 7 ... 90
61  International / Nederlands / Re: hulp gevraagd voor arduino regelunit voor distilleer apparaat on: March 26, 2014, 05:32:34 pm
Nou das dus het begin.
Je laat nu de Arduino ook in zijn hoofd tellen.
Maar terwijl je dat doet, laat je m wel elke tel roepen: "Dertig minuten : Negenenvijftig seconden".
Dus hij telt dan wel in zijn hoofd, maar niet "hardop".
En dat komt omdat je niets doet met de minuten en de seconden.
Dus dan gaan werken aan wat ik in mijn vorige post al zei: elke seconde een seconde er af.
En als je onder de nul seconden uitkomt, zet je de secondes weer op negenenvijftig, maar tel je tegelijk ook een minuut eraf.
Hoe dat ook alweer ging met die secondes die onder de nul uitkomen, vind je terug in je distiller sketch.
In "Distiller_Maart_17.ino" bijvoorbeeld, staat zoiets in regels 177 en 178.
Maar omdat je hier maar 1 richting op gaat (alleen omlaag, nooit omhoog) hoef jij maar 1 zo'n regel te gebruiken.

Als ik jou was zou ik eerst beginnen met de secondes.
Als je die goed hebt kun je de minuten ook in de gaten gaan houden, na de secondes zal je dat ineens heel simpel voorkomen.
62  Using Arduino / Motors, Mechanics, and Power / Re: Encoder counting IC on: March 26, 2014, 04:10:33 pm
No.
That is an encoder (and it looks to be an expensive one too).
An encoder generates at least 2 pulses that are phase shifted.
Because of that you can not only see movement, but you can also see the direction of that movement.

An IC is an Integrated Circuit, also known as 'chip'.
The chip you are looking for, decodes the signals from the encoder, and offers data to a processor.
You can do this with an Arduino, but using a dedicated chip takes a lot of work off of the Arduino.
I told about a HCTL-2017-A00 (click !).
That is a commercial link (first that popped up in Google) to a Dutch Mouser site and it has a link to the product's datasheet.
A datasheet like that tells you about the product and how to use it, but some knowledge about the matter is assumed.
Reading it might shed some light (pun intended) on how encoders work, and how this chip helps in using those signals.
63  Using Arduino / Motors, Mechanics, and Power / Re: Encoder counting IC on: March 25, 2014, 06:40:14 pm
Hoi Mondriaan, en welkom !

Did you read through the entire article at least twice ?
If you do that, some of your questions will be (partially) answered.

  • An encoder counting IC is some solution that catches the pulses form an encoder (a sensor), and generates pulses or counts that can be connected to an Arduino for example.
    First hit on Google was "HCTL-2017-A00"
  • A hall sensor is a sensor that measures magnetic fields (and/or variations in that)
    It can be used to sense a position in relation to one ore multiple magnets, or earths' magnetic field.
    The article explains that PEC means Periodic Error Correction (of the transmission gears).
    I guess that means it's used to get rid of some mismatch in a given gear ratio and the actual ratio, which does happen now and then)
64  International / Nederlands / Re: hulp gevraagd voor arduino regelunit voor distilleer apparaat on: March 25, 2014, 05:58:00 pm
Dat is niet zo heel moeilijk en volgens mij kun je dat inmiddels zelf wel.
Alleen zou ik dit dan niet met 60 minuten doen, maar met 1 uur.
Als je dat liever hebt, kun je daar ook nog 59:59 van maken in plaats van 1:00:00.
(Die 1:00:00 kun je wel afbeelden, maar zodra je gaat tellen kun je die zonder problemen weggooien, dus helemaal niet in je tellen betrekken).
De truuk is dus dat je moet tellen, en dat je dat tellen dan niet omhoog doet, maar omlaag.
Je moet (daar komt ie weer:) bijhouden waar je ergens bent met dat tellen.
En dan ga je dus seconden aftellen.
Als je over een grens gaat (je komt onder nul uit), dan ga je een minuut eraf trekken, en kom je de volgende stap dus weer uit op 59 seconden.
Als de minuten over die grens heen gaan, ben je klaar met tellen.
En dat tellen doen we natuurlijk op de manier zoals in blink without delay.

Dit is een variant op iets dat je al vaker gezien hebt.
Dus dat moet je met een beetje fantasie uit je eigen hoge hoed kunnen toveren.
65  Community / Website and Forum / Error in user signoff makes all posts after his have a smaller font ? on: March 24, 2014, 05:30:03 pm
Hi Admin (i think you are the one that could solve this).

In this thread, i saw that each post after OP's post will be in a smaller font after OP has posted.
If OP answeres a lot, then at the end no one can read any replies anymore.
OP is user ejasoft, but i don't think he (or she) will be able to solve this.
Also the background colors or style gets messed up.

If i have a peek in Firefox's show page source (i don't know the exact English phrase), is see this starting at line 266 (sorry for the mess):

	
	
	
	
	
	
	
<
div class="signature">I am using arduino for car pc project you can help me on this blog <a href="http://astaza.com/" target="_blank">العاب</a> - <a href="http://</div>
	
	
	
	
	
	
</td>
	
	
	
	
	
</tr>
	
	
	
	
</table>
	
	
	
</td></tr>
<tr>
<td class="
windowbg3"><br />
</td>

The a href= part is highlighted in red, until line 373 with the /td tag.
This red highlighted part is visible in every post of ejasoft.
I guess some error has occurred in his profile, but i doubt he can solve that himself.
I have no idea about php or html codes.


66  Using Arduino / Displays / Re: tv-out change white to one color eg orange on: March 24, 2014, 04:56:24 pm
Hi ejasoft.

Something completely unrelated.
But you seem to have something in your signature or somewhere else, but in every post you make, that makes the forum software have all next posts a smaller font.
That is very annoying, as text sizes of replies get smaller and smaller each time you repsond to an answer.

I can't tell you what it is, because is seems to be a HTML code and therefore is invisible to me.
Could you have a look and see whether you have some strange code in your signature (it contains what seems Arabic characters to me) ?

67  International / Nederlands / Re: Totaal beginner, 2 cijfers lezen probleem on: March 24, 2014, 04:27:38 pm
Hoi.

Als je echt een totaal beginner bent zoals je meermaals gezegd hebt, zou dat betekenen dat dit je eerste sketch is.
In dat geval is het niet erg vreemd dat je tegen veel problemen oploopt.
Je gaat nu bijvoorbeeld al meteen met arrays aan de slag, das wel erg optimistisch.
Waarom begint bijna niemand gewoon bij het begin, maar gelijk met een ambitieus project ?
Doe gewoon de voorbeelden die zijn meegeleverd bij de IDE, speel er mee.
Daar leer je veel van, en tis heel leuk om te doen (vind ik).

Lees verder ook eens het "whats with the attitude" thread (klik !), in Bar Sport.
Dat gaat over het wel of niet "afzeiken" van nieuwkomers en is uitgebreid voor voor discussie.
Je kunt daar onder andere mijn uitgesproken mening zien.
En voor de zekerheid: met anderhalf jaar ervaring in Arduino en programmeren zie ik mezelf ook nog steeds als een nieuwkomer.
68  Community / Bar Sport / Re: [HELP] Helping a friend winning a contest on: March 24, 2014, 04:16:44 pm
So you signed up just for that ?
I'm not on facebook so i can't "like" you.
But if i could i wouldn't.
69  Using Arduino / General Electronics / Re: Simulate rubber button on: March 24, 2014, 03:40:30 pm
Don't give up that easily.
If there's a pic inside, it is likely that that is where these buttons go.
They for sure aren't connected directly to the 230 vac.

Relays are available in many tastes.
You need to drive a relay, and by that i mean you cannot connect it directly to an Arduino pin.
A relay is a switch that is controlled by electronics instead of by someone or something pressing it.
The good part about that, is that the controlling part is not electrically connected to the switching part.
That way it is safe to control different circuits with very little chance of damaging either one.
If you can emulate a button press by shorting two contacts with a piece of wire, then you must also be able to do that by using relays.
And soldering is a matter of practicing, i don't think it will be too hard to solder small wires to those pads visible on the pictures.

If you want to do this without relays, you really need to find out how these buttons work, and what voltage is on them.
70  Community / Bar Sport / Re: whats with the attitude on: March 23, 2014, 06:51:09 pm
..proper response..

While that might be correct in hindsight, it isn't in real life.
People in this thread are badly mistaking this forum for some helpdesk like thing.
We're not at some large company that has an entire village in India answering calls.
We're just other enthusiasts that are trying to help.
Some have an ocean of experience, some are struggling with the same issues and might have recently learned something that has some common points to what that OP is asking about.

If you know exactly what the problem is, one could answer the question like you suggested.

Except not crawling on their knees, bowing over all the time (and just don't have the audaciousness to look towards the screen, by proxy of looking the OP in the face) excusing for being so bold to point out that there might be a better way of doing things and if the OP eventually would be so nice to check the humble suggestions that are made, please ?

Asking for help might yield answers you do not fully understand or that you might not like to hear.
Why is it a problem to (nicely, you are the one needing help) ask for some more explanation if you indeed don't understand ?
And to check if there is something in what was answered ?

Don't expect professional help over here.
Professional help costs money, and no one is paying for that over here.
Lots of us are putting in their valuable time answering questions, though (like i'm doing right now, should have been in bed for over an hour already).
71  Using Arduino / General Electronics / Re: fried a pro mini..not exactly sure what I did... on: March 23, 2014, 01:01:52 pm
Hi.

If you power from 12 volts, you should power your Arduino through it's on board regulator (if available).
You have already learned that.
After doing so, your chip will be fed (close to) 5 volts and that is what it can output on it's pins.
You need to know that you can't just count on all available outputs to keep this 5 volts, because there are limits to the currents that can be supplied by the regulator and to that that van be handled by the chip.
(And voltage will drop if current rises)
Also you can't just multiply the maximum current per output by the total number of outputs, the maximum total current is significant lower than that.
You should know what resistors were used for your RGB LED, it is not unlikely that each color needs a different value.

You should have a datasheet for each device you want to use for optimal performance.
That includes the Arduino and the chip it has.
72  Using Arduino / General Electronics / Re: Simulate rubber button on: March 23, 2014, 12:46:24 pm
Hi Aruen (or is it Auren ?).

You can't simply connect an Arduino pin to some external unit and hope it will work, without knowing what signals are normally there.
The buttons have a lot of solder pads, each button visible in your 2nd picture has at least 1 solder pad to each end.
You could use those to solder the outputs of some relays to.
These relays can be very small ones as there will not be large currents running through the contacts.
So now you have to find out how to connect relays to an Arduino (because you shouldn't connect them just like that), it has been discussed a lot over here.

You could also find out more details about the normal signals in this device of yours, maybe something simpler can be used.
73  Using Arduino / LEDs and Multiplexing / Re: PWM LED fade with buck regulator LED driver on: March 23, 2014, 12:28:23 pm
By the way, the description of that PWM input shows that is is reversed PWM.
That means a larger duty cycle will lead to more dimming, not more illumination.
You want to keep that in mind while creating your sketch.
74  Using Arduino / Displays / Re: 4x20 LCD I2C Adapter - 1st 4 char of line4 repeated over last 4 char of line2 on: March 22, 2014, 05:44:03 pm
Always see the sunny side:

Didn't you learn a great deal with this ?
75  Using Arduino / Motors, Mechanics, and Power / Re: Silent servo on: March 22, 2014, 04:37:47 pm
I'll believe those pneumatic servos won't make that whining noise.
But what about the noise they do make, you don't want that while listening to delicate harp play.

How about filling a servo with grease (oil would be hard to keep inside), would that help ?
Pages: 1 ... 3 4 [5] 6 7 ... 90