0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« on: March 17, 2010, 04:11:21 am » |
Hi there!
Looking to use an arduino or similar board for some trial&error logic tests in a product we're working on. Problem is, it's an industrial product using 24V signal level, and not 5V. Question is, is there an Arduino or similar out there that work with 24V instead? Is there any ready made arduino shield for working with 24V signals?
I realize I can use voltage dividers or similar on inputs and 5V relays on outputs, but then it's not quite as quick and handy anymore. Any ideas?
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25382
Solder is electric glue
|
 |
« Reply #1 on: March 17, 2010, 06:09:01 am » |
is there an Arduino or similar out there that work with 24V instead? No processes I have ever come across works on a 24V rail. You have to use signal conditioning to use 24V input signals. An opto isolator is a better bet than a potential divider in these cases.
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Faraday Member
Karma: 15
Posts: 2852
Gorm deficient
|
 |
« Reply #2 on: March 17, 2010, 06:19:02 am » |
No processes I have ever come across works on a 24V rail Trucks?
|
|
|
|
|
Logged
|
Per Arduino ad Astra
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 2
Arduino rocks
|
 |
« Reply #3 on: March 17, 2010, 06:34:50 am » |
In this case, pneumatic valves and sensors...
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25382
Solder is electric glue
|
 |
« Reply #4 on: March 17, 2010, 06:39:40 am » |
Trucks? Yes but the processor doesn't run at 24V does it?
|
|
|
|
|
Logged
|
|
|
|
|
UK
Offline
Faraday Member
Karma: 15
Posts: 2852
Gorm deficient
|
 |
« Reply #5 on: March 17, 2010, 06:57:46 am » |
Fair point.
|
|
|
|
|
Logged
|
Per Arduino ad Astra
|
|
|
|
Bahrain
Offline
Newbie
Karma: 0
Posts: 14
Arduinos rock
|
 |
« Reply #6 on: January 12, 2011, 01:22:28 am » |
One way to tackle this is with a solid state relay board (relay rack), and a bunch of IDC5 relays (Gordos, Grayhill, Opto22, ...). These relays will convert the 24V signal into 5VDC, while keeping the circuits optically isolated (ie very little chance on the 24V frying your arduino). You can get deals on these boards on ebay from time to time. Some boards have an IDC connector, others have edge connectors (like PC-cards). I guess you could solder wires on the edge connector and pull them straight to your arduino. I have not tried input DC relays thsi way, but am running 4x24=96 output relays through a tiny 8x10cm board that carries 12 shift registers 74HC595 and 4 IDC50 connectors. Works well.
|
|
|
|
|
Logged
|
|
|
|
|
'round the world...
Offline
Edison Member
Karma: 19
Posts: 2305
|
 |
« Reply #7 on: January 12, 2011, 03:56:03 am » |
Look for opto-coupler chips. Using these you'll need a chip and a 24V power signal together with your output/input.
|
|
|
|
|
Logged
|
Eu não sou o teu criado. Se respondo no fórum é para ajudar todos mediante a minha disponibilidade e disposição. Responder por mensagem pessoal iria contra o propósito do fórum e por isso evito-o. Se realmente pretendes que eu te ajude por mensagem pessoal, então podemos chegar a um acordo e contrato onde me pagas pela ajuda que eu fornecer e poderás então definir os termos de confidencialidade do meu serviço. De forma contrária toda e qualquer ajuda que eu der tem de ser visível a todos os participantes do fórum (será boa ideia, veres o significado da palavra fórum). Nota também que eu não me responsabilizo por parvoíces escritas neste espaço pelo que se vais seguir algo dito por mim, entende que o farás por tua conta e risco.
Dito isto, mensagens pessoais só se forem pessoais, ou seja, se já interagimos de alguma forma no passado ou se me pretendes convidar para uma churrascada com cerveja (paga por ti, obviamente).
|
|
|
|
SW Scotland
Offline
Edison Member
Karma: 6
Posts: 1053
Arduino rocks
|
 |
« Reply #8 on: January 12, 2011, 04:21:55 am » |
I believe you can feed your 24 volt logic levels (or any higher DC voltage for that matter) directly into the arduino provided you use input resistors to limit input current to less than 1ma. So as a provisional value I'd suggest, for 24 volts inputs, using 33k minimum.
As to outputs, you can use 5 volt relays (250ohm coils minimum) as an interface to your external circuits.
jack
|
|
|
|
|
Logged
|
|
|
|
|
Sussex UK / CT USA
Offline
Edison Member
Karma: 0
Posts: 1026
Forums forever
|
 |
« Reply #9 on: January 12, 2011, 05:16:01 am » |
Sorry... but sounds wrong to me!!! feed your 24 volt logic levels (or any higher DC voltage for that matter) directly into the arduino provided you use input resistors to limit input current to less than 1ma. So as a provisional value I'd suggest, for 24 volts inputs, using 33k minimum.
As to outputs, you can use 5 volt relays... I may be wrong about this being wrong (!)... but don't act on the suggestion without waiting a bit to see if anyone else responds to the post? The second part might be okay if you add a few "buts". There is a limit to how much currend can safely flow through a single I/O pin, and another limit to how much current you can allow to flow through the whole chip. You might well be able to have one 5v coil relay driven by the Arduino... but probably not ten.
|
|
|
|
« Last Edit: January 12, 2011, 05:19:01 am by tkbyd »
|
Logged
|
|
|
|
|
SW Scotland
Offline
Edison Member
Karma: 6
Posts: 1053
Arduino rocks
|
 |
« Reply #10 on: January 12, 2011, 07:14:30 am » |
But it ain't
And a 250ohm relay coil on 5 volts draws 20ma which is within the spec of a single I/O channel. The writer's text seemed mainly to be concerned with inputs.
jack
|
|
|
|
|
Logged
|
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 269
Posts: 25382
Solder is electric glue
|
 |
« Reply #11 on: January 12, 2011, 07:47:45 am » |
But it ain't Well I wouldn't recommended. The arduino (like most cmos circuitry) has internal clamping diodes for static protection but the current is very limited. Even at 1mA you are stressing the device. I prefer to use either external clamping diodes:- http://www.thebox.myzen.co.uk/Tutorial/Protection.htmlor much better feed the signal into the base of a transistor first.
|
|
|
|
|
Logged
|
|
|
|
|
Cumming, Ga
Offline
Edison Member
Karma: 12
Posts: 1388
Ultimate DIY: Arduino
|
 |
« Reply #12 on: January 12, 2011, 07:52:11 am » |
I believe you can feed your 24 volt logic levels (or any higher DC voltage for that matter) directly into the arduino provided you use input resistors to limit input current to less than 1ma. I would never trust that conditions remain "ideal" enough on a truck (or any similar industrial environment) to rely on just OHMS LAW to protect delicate input pins when the potential for error is so high and in this case the solution is screaming for "isolation" in the form of opto-couplers or solid state relays/standard relays. my analogy again: I would so rather lose a finger than blow my brains out if something goes amiss.
|
|
|
|
« Last Edit: January 12, 2011, 07:55:12 am by pwillard »
|
Logged
|
|
|
|
|
Atlanta
Offline
Sr. Member
Karma: 0
Posts: 254
Arduino still rocks
|
 |
« Reply #13 on: January 13, 2011, 12:28:04 am » |
Howdy rydan board for some trial&error logic tests in a product we're working on. Problem is, it's an industrial product using 24V signal level, Not clear if Arduino is used by you to *test an industrial product* of if Arduino will become *part of an industrial product*. If the latter, then its imperative that your solution be rugged and reliable and maintainable, in whihc case pubdc has the best answer. Really the only answer appropriate for an industrial product. If you re just using Arduino yourself for in-house testing then many of the fine ideas expressed above will work. Took me a minute to find this but Grumpy_Mike provided this to another post, its relevant to you too if you wanna "roll yer own" rather than use standard industrial I/O like opto-22. http://www.thebox.myzen.co.uk/Tutorial/Protection.html
|
|
|
|
|
Logged
|
|
|
|
|
|