Pages: 1 2 3 [4] 5 6 ... 10   Go Down
Author Topic: ABC - Arduino Basic Connections  (Read 33989 times)
0 Members and 1 Guest are viewing this topic.
Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Card 15 on line.
Download here


Thanks to Nick Gammon!
Logged

Offline Offline
Sr. Member
****
Karma: 5
Posts: 422
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How long does it take you to create each of these?

Do you also create things like the pot component from scratch?

Thanks for making them free! smiley
Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

How long does it take you to create each of these?

Do you also create things like the pot component from scratch?

Thanks for making them free! smiley

Thanks!

The main library over a month!
Each component is designed by 0.
In the last card to draw the graphic LCD it took me about 2 hours.
A full card one day (depends on the circuit)  smiley-grin

Today I am publishing a nice card. DIY Arduino
Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Card 16 on line.
Download here

Bye,
PighiXXX
Logged

Sweden
Offline Offline
Jr. Member
**
Karma: 0
Posts: 61
Be patient, I'm a total newbie.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why the diode?

With a coil as load, a diode would be absolutely mandatory, but to a resistive load...?
Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Why the diode?
(cut)

Hi SimLego.
You are right, but the diode in this case is redundant but does not disturb!  But is essential if beginners, a day, wants to connect a little motor instead of a lamp! As soon as i public the "B side" of the cards you will understand what i mean.
I want to thank You, however, for the note!

Ps) Next cards:
- Connect a SD Card
- Use a LM35
- Use MAX232
- Stepper Motors (Advanced)
- Connect a EEPROM

Ciao,
PighiXXX  smiley-grin
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The ICSP pinout on page 16 is mis-labelled.

ICSP pin 1 --> pin 18 on chip that is PB4 not PB3.
ICSP pin 5 --> pin 1 on the chip: I would label that RESET not PC6, it's a lot clearer

The rest looks OK (you have PB3 there twice, as discussed above).



If possible show decoupling capacitors on Vcc and AVcc close to the pins, or at least on that side of the diagram (near Vcc).
« Last Edit: March 30, 2013, 06:36:50 pm by Nick Gammon » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On the FTDI pinout, there is a school of thought that CTS (pin 2) should be wired to Gnd. That would be simple to change, if I am right. Maybe number the FTDI pins, at least put a "1" on the Gnd pin.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

On page 12:

Quote
Connect via 12C a LCD ...

That should be "I2C" not "12C".

Or even I2C
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If you want to add something else to what is already a fantastically good project, you could do:



VGA connections:





And the "TV out" connections in a similar vein.

Composite Video:





Generic I2C connecting two devices:



Plug Gnd of course.



RS485 connection:



Maybe add a 120 ohm terminator between A and /B for that one.

Note that Gnd is not required in this case as A/B are a balanced pair of lines.



Generic SPI connection between two devices.

(Don't have an example, but basically connecting MOSI/MISO/SCK/SS and GND).

Code:
Master MOSI -->  Slave MOSI
Master MISO <--  Slave MISO
Master SCK  -->  Slave SCK
Master SS   -->  Slave SS
Gnd         <--> Gnd



Generic connection of serial between two devices:

Code:
Tx -->   Rx
Rx <--   Tx
Gnd <--> Gnd
« Last Edit: March 31, 2013, 01:19:08 am by Nick Gammon » Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

On page 12:

Quote
Connect via 12C a LCD ...

That should be "I2C" not "12C".

Or even I2C

A typo  smiley-grin

If you want to add something else to what is already a fantastically good project, you could do:
(cut)

Definitely i will insert these schemes in the next cards.
Thanks to all
Logged

Offline Offline
Edison Member
*
Karma: 57
Posts: 2078
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

pighixxx, could you take a look at my post about the "Connect a speaker", http://arduino.cc/forum/index.php/topic,157647.msg1180760.html#msg1180760
Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

pighixxx, could you take a look at my post about the "Connect a speaker", http://arduino.cc/forum/index.php/topic,157647.msg1180760.html#msg1180760


I take a look, then I write you.
Thanks,

PighiXXX
Logged

Italy
Offline Offline
Edison Member
*
Karma: 112
Posts: 1111
O ti distingui o ti estingui
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Card 17 on line.
Preview on 1st post,
Download here

Bye,
PighiXXX
Logged

Latina
Offline Offline
Jr. Member
**
Karma: 0
Posts: 86
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

good
Armando
Logged

Pages: 1 2 3 [4] 5 6 ... 10   Go Up
Jump to: