PIC simulator : A cool one

I guess most of you who are using using PIC for theirproject do use a simulator to test your code first then realise it as a hardware. For those who are not aware of simulators well i’l give it a briefing.
Simulators are software that you’l use to test your code.As in the case of PIC simulator you will load the .HEX file that you wrote in MicroC.

The simulator will give you the graphic view of the pins, an integrated LCD display on your screen and Program memory contents and the ROM memory contents of the PIC you will be using. All you have to do is it just load the.HEX you wrote and watch the poins go high and low. You may induce external sensor signal using a buttpn in front of the pins to actually suimulate how your program will respond on occurance of a signal from your sensor.There will be various spped of execution and you may view at your own pace.

Simulators greately help in optimising you code and are a great techinical tool.I normally use the simulator from Oshonsoft.

In that download page if you are using PIC16F877A you’l have to download the first one.
This software is not FREE and comes in a trial period of 30 trials. I made a partition of 2 GB to load a OS and load this using partition magic that essentially doesn’t damage your existing data during partition. Then at the end of trail period i reformat the 2GB and load this again and use.(Not a real fun still worth it).

The interface is cool and simple and nice to use with no complications and confusions.


In the picture above you may see lot of things . just don’t confuse. all you have to do is . File–>load hex. then just click to simulate.Then watch your pic screen tha’a the picture below.

i guess now things are clear. you can see the PINS and a green in front of it indicates a high in that particular pin and a grey color indicates a low. In pics that have A/D conversion facility you may adjust the A/D using a adjuster which is shown at the centre saying “Change Analog value”. Hey ant this will disappear once you set it so you’lthen have a cool uninterrupted view of your PIC and the PIN states. This will be most helpfull for someone beginig with a PIC learning.

For begginers i’l suggest you to just pull down an example hex provided to you after you installing Microc. for example the simplest being “LED Blinking” and test its hex on th simulator. This will give you a very good idea of using you simulator.
Well now chill out and get your copy od simulator and get working.

Madan
P.S:-This simulator is of great help and i had tested my micomouse code on this simulator and is amazing tool to debug.
–>to purchase a version i badly need 55 euro. is anyone likes to contribute a bit for that please feel free to donate here
Thanks for that!!!

Advertisements

12 thoughts on “PIC simulator : A cool one

  1. hey man the Toggle “T” pins indicate the Digital sensor inputs and the “A” pins indicate analog signals form the sensors.

    so it has actaully incorporated sensors in it. Can say so.So to test your program you will have to toggle it to specify an input from some sensor.

  2. Pingback: Lawn Mower Reviews ~

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s