Go Down

Topic: Want to ask opinion on using Arduino with multiple inputs (Read 606 times) previous topic - next topic

Apr 08, 2013, 09:03 am Last Edit: Apr 08, 2013, 09:05 am by shoulder202 Reason: 1
Hi,

I am new to Arduino, and this is my first time in learning it (yeah i know i'm a bit outdated :smiley-red:). My question is, is there any ways of making my own circuit board (not using any completed boards in the market by Arduino) with requirement of taking many data inputs from electrical and meteorological parameters? There are 4 sensors that will be going to use in electrical part while for meteorological part, it is having 3 sensors. And those sensors are used for 1 set of system and for the whole project I will be having more than 1 set of the system (let say 13 sets). I am thinking to use more than 1 of ATMEGA328, but still not decided yet on how to do it. Any suggestion and idea from you guys? Thank you in advance!

Nick Gammon

Welcome to the forum, and I hope your experiences with Arduino are as happy as mine have been! :-)

The Atmega328 is pretty powerful, but you need to be a bit more specific about "sensors". Are they analog, digital, or what?
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics

fungus

You can make your own board, sure.

If you use an ATMega328P it will have exactly the same inputs/outputs as a standard Arduino. No more, no less.
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)


Welcome to the forum, and I hope your experiences with Arduino are as happy as mine have been! :-)

The Atmega328 is pretty powerful, but you need to be a bit more specific about "sensors". Are they analog, digital, or what?


All sensors are analog. I forgot to mention that I will be using SD card for storing data purpose. Thank you in advance for your response  :)


You can make your own board, sure.

If you use an ATMega328P it will have exactly the same inputs/outputs as a standard Arduino. No more, no less.



That is why I am thinking to use more than 1 ATMega328. But still not decided yet on how to maximize the I/O channels for all sensors.

Nick Gammon

You can get analog multiplexer chips. For weather data you won't need thousands of measurements a second.

http://www.gammon.com.au/forum/?id=11976
Please post technical questions on the forum, not by personal message. Thanks!

More info:
http://www.gammon.com.au/electronics


You can get analog multiplexer chips. For weather data you won't need thousands of measurements a second.

http://www.gammon.com.au/forum/?id=11976


Thank you for your reply! :)

fungus

A chip like this will let you connect 8 analog devices to a single Arduino pin:

http://www.ti.com/lit/ds/scls464/scls464.pdf

(with three digital pins to select the source)
No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

CrossRoads

Or if you want more resolution, then external ADC, such as MCP3208, 8 channels of 12 bit inputs, accessed via SPI.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up