Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

MCU, Multi-sensor and USB controller optimal communication setup. Need advice.

Status
Not open for further replies.

eebhoi01

Advanced Member level 4
Joined
Feb 22, 2012
Messages
116
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,347
Hi,

Once again, i am here ^_^. I suppose i'm quite familiar now.

Anyways, I would like to ask some tip about the optimal communication setup for my circuit. I have a Energy Meter IC (ADE7953), RTC, Heat sensor & MCU. I am planning to use I2C protocol for the Sensors and MCU, while UART using USB to UART chip for MCU to computer interface.

My question is this okay? in terms of practicality? I am thinking to separate the USB to PC interface from the rest of the Sensor so that it would add a bit of protection for my PC should there be some fluctuation in the high voltage side of the Energy Meter IC. By the way, can I trust the ADE7953? and omit using optocoupler (just to save some money :-D).

Also in terms of software implementation, will this setup cause future problems? To make my question more general, is it okay to implement different communication protocols (ex. I2C, SPI & UART) controlled by one MCU?

Thank you guys, as always!
 
Last edited:

I would start with designing an isolation concept for the instrument.

External interfaces (USB or UART) must be safely isolated against mains voltage, energy meter front is considerably simpler and more accurate with direct mains connection. Thus there must be an isolation barrier (class II, reinforced insulation) somewhere between energy meter chip and external interface. Processor can be placed on either the former or the latter side.

My preferred solution would be opto-coupled SPI interface for energy meter, but there are other options.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top