Pages: [1]   Go Down
Author Topic: Completly new with a few questions  (Read 441 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, i am completly new here and with this dev board aswell and have a few questions for a project im thinkg about.

I think what i want is a basic A to D but i want to store them in memory and then pluck them out of a registry addr via RS485/485 modbus?

So i may have 20 sources all range from 0 - 5v and i want to store them in locations where they can be looked at via rs485?

Is this possible witht his board and how many channels does or can arduino support?

Thanks
Andy
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25898
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Boards have six, eight or sixteen analogue inputs (expandable with external multiplexers, costing digital pins), but all have only one A/D converter, so spreading the inputs over more inputs means lower per-channel sampling rates.

RS485 will require external hardware too.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

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

Ok, what about RS232? does arduino support RS232 without any external harware? and is there a RS485 shield for Arduino?

Thanks
Andy
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 291
Posts: 25898
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
does arduino support RS232 without any external harware?
No.
(you could, but I don't recommend, probably use one of the software serial libraries to directly drive a roughly RS232-compatible interface straight in and out of the pins, but this relies on protection diodes, and could easily damage your controller. I've done it with PICs, but it is very, very dirty)
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

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

Ok, thanks again for the answer, although i still a little confused to weather this is viable or not?

Is there a 485 module for Arduino, ive googled and it appears as though there is?

And would this let me just look at registry address, i assume i would program locations them in the software?

Andy
Logged

CO, USA
Offline Offline
God Member
*****
Karma: 5
Posts: 711
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is there a 485 module for Arduino, ive googled and it appears as though there is?

You want someone to confirm the results of your web search? There are lots of threads and articles on it already. Try going to the Arduino Wiki and use the search there for starters. 'Module' could be taken to mean 'shield' or 'library'. You probably want both, and in the case of a library, I assume something like modbus or DMX. (I know nothing about these, they could even be the same thing, I just found them in a search.)

Quote
And would this let me just look at registry address, i assume i would program locations them in the software?

If, by 'registry address', you mean that you would write a sketch where you store your measurements in an array, and also retrieve them in response to query on the comm interface, then this sounds absolutely fine to me.
Logged

... it is poor civic hygiene to install technologies that could someday
facilitate a police state. -- Bruce Schneier

Pages: [1]   Go Up
Jump to: