Pages: [1]   Go Down
Author Topic: which arduino to buy  (Read 691 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys
   
    i am doing a project on traffic automisation. the concept i want to use is to give time delays for LEDs based 
on the traffic density.
I am new to arduino.
so pls help me with this.

which arduino model should i buy??
how many LEDs can i control individually with arduino based on input from an external sensor??
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys
   
    i am doing a project on traffic automisation. the concept i want to use is to give time delays for LEDs based 
on the traffic density.
I am new to arduino.
so pls help me with this.

which arduino model should i buy??
how many LEDs can i control individually with arduino based on input from an external sensor??


I always suggest starting off with the basic Uno board. It has a total of 19 I/O pins available, but there are easy ways to expand to more input and output pins using simple external components. If you know for sure you are going to need more I/O pins then the Uno has then the mega board has many more built in.

Lefty
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 534
Posts: 26969
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Uno.
20 IO lines, use them as needed: 2 for serial for debugging, 3 for input, 15 for output, etc.
Pick up one here on sale even.
http://www.nkcelectronics.com/Arduino_c_9.html

20 IO: D0-D13, A0-A5 which are also usable as D14-D19.  20 total.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

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

thanks

Can the PWM pins be used for giving output??
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks

Can the PWM pins be used for giving output??

The PWM pins can be used as simple digital input pins, simple digital output pins, or as pwm output pins using the analogWrite() command.

Lefty

Logged

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

Ok

So how do i use the analog pins as digital outputs?
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17293
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok

So how do i use the analog pins as digital outputs?

With the same commands you use with any of the other digital pins, using digitalWrite() (after setting to output mode using the pinMode() command), just using pin numbers 14 to 20 that correspond to analog inputs pins 0-5.

Lefty
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 534
Posts: 26969
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A0-A5 which are also usable as D14-D19.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Dallas, TX USA
Offline Offline
Faraday Member
**
Karma: 67
Posts: 2694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I like some of the 3rd party "duino" boards.
For example:
http://imall.iteadstudio.com/im120905006.html
There is also an iteaduino which is a bit less that uses the FTDI chip vs the atmel processor
for USB to serial conversion.
http://imall.iteadstudio.com/development-platform/arduino/arduino-compatible-mainboard/im120411008.html
http://store.iteadstudio.com/index.php?main_page=product_info&cPath=50_51&products_id=467


Will work just the same as an UNO, but there are some nice extra features
like the 3 pin headers that allow hooking up things like 3 pin sensors or servos
directly to the board
as well as an option to run 3v.

--- bill
Logged

Pages: [1]   Go Up
Jump to: