creating a simple simulation

I'm trying to create a simple simulation using simscape elements of this circuit
Unfortunately I'm a newbie of simulink and I had problems. PIN 9, PIN 10 and PIN 11 represents the pin of ARDUINO UNO so if they are setted to HIGH produce 5 V otherwise they produce 0V. I created this
I had problem adding the ground to the system.

Answers (1)

Ryan G
Ryan G on 30 Oct 2012
You can try using a controlled voltage source and adding a ground to one end of the source and connecting the other end to your system. Furthermore, you should be able to add a ground after the diodes the same way you added the solver (by splitting the signal).

This question is closed.

Products

Asked:

on 30 Oct 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!