Pages: [1]   Go Down
Author Topic: my first post: arduino, clock, LEDs...  (Read 635 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 47
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi there

this is my first post, so bear with me  smiley-wink . I'm an architecture student and
for some time now, I'm planning a wrist watch that I initially sent into a
competition.

I would like to create this watch and develop it further by using the arduino
hardware.

I have ordered the arduino diecimilia kit and I'm just about to start learning elecronics.
I have had some contact with electronics (e.g. building a diy projector), but apart
from that, I'm quite a newb...

So here I have some questions:

- clock in general: how precise is the arduino board? do I need an extra quartz? And how would
I use it?

- how big is the arduino mini? I've read about width and lenght (3x1 cm), but I've seen nothing
about the height of the board...

- LEDs: I'll need to order a number of LEDs. What will I have to look at while ordering them?
Do they need to be 5V? Or could I also order 3V LEDs? And where can I find information which
LEDs need what kind or resistor?

- and finally: do you know of a super easy explanation of shift registers? I've read the tutorial
on this page, but I frankly don't quite get it. I'll certainly work it out for myself, but it would
be nice if there was an easy explanation of the concept behind it, somewhere...


sorry, I know, these are quite a lot of questions, I'm thanking
you in advance for any help you can give me!

best
yves
« Last Edit: April 10, 2008, 12:52:51 pm by yves » Logged

0
Offline Offline
God Member
*****
Karma: 2
Posts: 854
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
- clock in general: how precise is the arduino board? do I need an extra quartz? And how would
I use it?

- how big is the arduino mini? I've read about width and lenght (3x1 cm), but I've seen nothing
about the height of the board...

- LEDs: I'll need to order a number of LEDs. What will I have to look at while ordering them?
Do they need to be 5V? Or could I also order 3V LEDs? And where can I find information which
LEDs need what kind or resistor?

- and finally: do you know of a super easy explanation of shift registers? I've read the tutorial
on this page, but I frankly don't quite get it. I'll certainly work it out for myself, but it would
be nice if there was an easy explanation of the concept behind it, somewhere...

The Dieci has a quartz crystal on it.  It should be accurate within about 5 seconds a day.  That's comparable to a commercial quartz watch.  

The mini is in the form factor of a standard dip package.  Including pins it's maybe 7mm thick (that's my estimate).

The LED question is a lot more complicated than that because what people don't usually recognize is that they're current devices, not voltage.  Basically though, if you want 20mA, the resistor should be ([supply voltage] - [led voltage]) / 0.02.  Or 50*(supply voltage - led voltage).

Supper easy explaination of shift registers would be "serial in, parallel out"  or "parallel in, serial out"  depending on the model.

« Last Edit: April 10, 2008, 01:16:08 pm by Oracle » Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 47
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hey thanks for your fast reply!
that helped alot. I'll probably have more questions
later on... cu then  8-)

greets
yves
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Quote
- clock in general: how precise is the arduino board? do I need an extra quartz? And how would
I use it?

- how big is the arduino mini? I've read about width and lenght (3x1 cm), but I've seen nothing
about the height of the board...

- LEDs: I'll need to order a number of LEDs. What will I have to look at while ordering them?
Do they need to be 5V? Or could I also order 3V LEDs? And where can I find information which
LEDs need what kind or resistor?

- and finally: do you know of a super easy explanation of shift registers? I've read the tutorial
on this page, but I frankly don't quite get it. I'll certainly work it out for myself, but it would
be nice if there was an easy explanation of the concept behind it, somewhere...

The Dieci has a quartz crystal on it.  It should be accurate within about 5 seconds a day.  That's comparable to a commercial quartz watch.  

The mini is in the form factor of a standard dip package.  Including pins it's maybe 7mm thick (that's my estimate).

The LED question is a lot more complicated than that because what people don't usually recognize is that they're current devices, not voltage.  Basically though, if you want 20mA, the resistor should be ([supply voltage] - [led voltage]) / 0.02.  Or 50*(supply voltage - led voltage).

Supper easy explaination of shift registers would be "serial in, parallel out"  or "parallel in, serial out"  depending on the model.


So, if I want to use a bright let that uses 3v/20mA, I should use a 100ohm resistor instead of a 220ohms resistor to have a better light?
thanks
Logged

Brazil
Offline Offline
Sr. Member
****
Karma: 0
Posts: 443
..., to learn, to know, to make, to share, to l...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Daniel,

to use a led you must know it's voltage and current.

In case of using it with Arduino pins (that works with 5v.), you must calculate the resistor value using the first Ohm Law:

R=U/I

where U is (5-led's voltage) in Volts, and I is the led's current in Amperes.
R value is in Ohm.
In your example, R=(5-3)/0,02A=2/0,02=100ohms.

I'm sure you can find this in your Electrical Engineering School Books...
Logged

PCB Designer

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 77
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Daniel,

to use a led you must know it's voltage and current.

In case of using it with Arduino pins (that works with 5v.), you must calculate the resistor value using the first Ohm Law:

R=U/I

where U is (5-led's voltage) in Volts, and I is the led's current in Amperes.
R value is in Ohm.
In your example, R=(5-3)/0,02A=2/0,02=100ohms.

I'm sure you can find this in your Electrical Engineering School Books...

Yes, thanks! smiley I wans't sure because everywhere I find examples using 220ohm resistor for leds.
Logged

Pages: [1]   Go Up
Jump to: