FORUM TOPIC · READ ONLY

100% beginners

100% beginners

Forum : Requirement, Installation & Configuration

5 message(s) · archive en lecture seule

Anonyme
Where do I find examples for total beginners?
listedunlisted

Re: 100% beginners

This is my first quote. So please go easy on me. I really need your help fellows.



I just found out about the thing where Simulink can be used to download the code on the PIC microcontroller without using C or any programming language.



Now, I have Matlab R2007B. First of all my main question is can someone please explain in simple steps how to download a Simulink blockset on the Micro Controller and what wires and software is required to do so. I saw the videos on your website. I have downloaded the Install_dsPIC_R2007b for my Matlab. But this is a script file. How do I move forward about downloading the file for Simulink. I really need help with this. I have a project coming up in a few weeks and I need to start working on it.



Can anyone please explain simple steps in using Simulink with PIC microcontroller and what do I need?
Bobes

Re: 100% beginners

1/ install the block-set (put it in some DIR like C:/Program Files/Matlab/Addons/Kerhuel toolbox - do not install it under Matlab/toolbox!) - In simulink you should see the block-set as Embedded Target for microchip (or something like that)

2/ create project - or better start with some example, you have to configure simulink for your target (PIC), there are blocks for this.

3/ when it is ready, click on "Incremental build" its next to run button. - this if everything is OK will create hex file

4/ you need some tool to upload HEX file, there are many tools to do that, ie ICD 2, ICD 3 from Microchip, but there are many cheaper ways. use google for that.
LubinKerhuel

Re: 100% beginners

Hello
Citation : listedunlisted
I have downloaded the Install_dsPIC_R2007b for my Matlab. But this is a script file. How do I move forward

* open matlab

* run the script file : eigher you type its name, or you right click on the script file and click "run"

This will install the blockset... at that place !



I guess bobes provide the way to go forward.



Lubin