Pages: [1]   Go Down
Author Topic: Opto-isolation needed for data communication between different MCU boards?  (Read 370 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is optoisolation necessary (ideally) when communicating between MCU boards? Maybe even different brands of boards running at maybe different voltages and maybe not sharing the same ground?? E.g. Arduino to Propeller boards to ARM boards?

Offline Offline
Faraday Member
Karma: 59
Posts: 3071
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

maybe not sharing the same ground
If there's a real need for not sharing the same ground, an optoisolator is the easiest way to go.

Question is rather : is it possible to tie grounds together ? or why not ...

Offline Offline
Shannon Member
Karma: 215
Posts: 12489
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Opto isolation is a great solution for when grounds can't be shared - however its usually possible (and natural) for grounds to be shared in
most cases.

Differing voltages require some solution - either level conversion circuit/chip, open-collector bus, or indeed opto-isolator.

The length of connecting wires influences the choice of signalling scheme too - for long distances you either have to sacrifice speed and use something like serial at lower baudrates (19.2kbaud say, rather than 1Mbaud), or go for a transmission-line technique such as RS485 (or even ethernet)

For 10cm--20cm long wires then you just connect directly (if same voltage) without problems.

Lastly even if grounds can be shared but the environment is electrically noisy (lots of motors/solenoids say), an opto-isolator is great for
preventing noise on the ground wiring from causing false signals.

So what is your application - it might need opto-isolators, or that might be overkill.

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: