Display output using micro-controller block in simulation

I am working on simulation of digital weighing machine circuit in simulation, after design amplifier circuit i want to convert analog to digital, display output on 7-segment display using micro-controller block. where should i find micro-controller block in simulation ?? tell me also a brief introduction about how to use it?

 Accepted Answer

  1. Are you going to directly connect your display to your host/PC machine? If so, what type of interface will you use?
  2. If you plan to generate code from your Simulink block and then deploy that to the microcontroller, you'll need the Embedded Coder product which supports all devices that support ANSI C code. However, only a limited number of targets have "Additional Support": http://www.mathworks.com/products/embedded-coder/supportedio.html. The additional support is needed to generate code for device drivers for any peripheral devices (like the display in your case). If your device is not supported out of the box, it is possible to create your own custom target (some users have submitted their custom target to MATLAB File Exchange - so you might want to search there as well): http://www.mathworks.com/help/toolbox/rtw/ug/bse3b2z.html

5 Comments

In case of simulation What should be the step for displaying the weighing machine o/p?
Till now i have done following steps in simulation:-
1.just after amplifying the load cell sensor o/p converted to digital signal.
2. after it i'm still confused how should i use micro-controller block in simulation?(should i write the program ? or there a any micro-controller block already available in MATLAB ?
if available how should configure it?
plz....help
http://thelearningpit.com/lp/doc/7seg/7seg.html
@Dinesh: For that, you need to first need to reply to question#1 in my answer. You don't need a micro-controller block to interface I/O with Simulink, but you will need some interface driver blocks (similar to the serial, TCP/IP or UDP communications blocks in the Instrument Control Toolbox).
there is no interfacing b/w software and hardware.weighing machine ckt. only in software( simulation ) and output also taking on scope( in simulation ).
then how i incorporate idea of the analog to digital conversion(till this step i connect ADC )and display the output in analog after ADC.
if i completed till this step it will really a project? if not then suggest me.
plz....help as soon possible.
Dinesh: I'm sorry, but your question is not clear to me at all. I think that you may not be understanding my comment completely.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!