Transistorman
Member
hi
i want to know , what is the good simulator
for a starter like me ?
i want to know , what is the good simulator
for a starter like me ?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hi
i want to know , what is the good simulator
for a starter like me ?
hi,erichi TT,
Look at Oshonsoft sim, there is a free trial period. Oshon Software Homepage
hi TT,hi,eric
i already download it a couple days ago
but i have no idea how to use it
what is the step - step to simulating ?hi TT,
You could always ask me/us for help....
Whats the main problem.???
what is the step - step to simulating ?
there seems to be so many setting
as usualhi,
Which PIC and clock freq are you wanting to use.?
hi,as usual
12F629
and the freq is 4 mhz
yes its okhi,
Run Oshonsoft.
On the menu bar click OPTIONS, then SELECT MICRO, find the 12F629 PIC on the displayed table of PIC's.
Also in the OPTIONS, select CHANGE CLOCK FREQ, make it 4.
On the menu bar click TOOLS, then BASIC COMPILER.
This will show a blank Basic window, this is where you type your program code.
The 12F629 is too simple to explain the features of Oshonsoft fully.
For teaching I would suggest the 16F628A PIC, I can then post some written programs for you to try.!
Is that OK.?
hi erichi,
Look at this simple 628A Basic program, select the 16F628A from the OPTIONS, select the Basic Compiler and copy and paste the attached Basic program into the Basic Compiler window.
When you have done that, press keyboard 'F9' this will compile and load the program into the sim.
Using the TOOLS menu, load the LCD module, now just run the program, I always set the RATE from the menu as ULTIMATE
EDIT:
If you use windows explorer, you will see that Oshonsoft also creates an 'asm' file, 'lst' and 'hex' file.
The 'asm' file is useful if you you prefer to work in assembler, the sim also has an 'assembler' window.
hihi TT,
Well done.
Look at this extra work on the LCD.
EDIT:
Look thru these notes for the LCD.
When simulating keep the delays WAITMS [ wait millisecs] short so it runs faster.
hi erichi TT,
Next bit,
From the TOOLS select HARDWARE UART, load and run this program, its LCD and UART output...
EDIT:
On the menu OPTIONS
TICK, Save positions, Save always on top,,
On the AUTOSTART options, from the window, tick the boxes that you want at start up.
As an experiment click BASIC PROGRAM TRACKING from the OPTIONS,,, dont leave it on as it slows down the sim...
hi erichi TT,
Same program but you can send a string from the HARDWARE uart to the LCD.
Run the program and when its displays 'send a string', use the SEND STRING cmd in the hardware uart.
if the string is over 16 characters in length it will display or you can end a short string with a '.' full stop character at the end and it will display
i try to assemble it using PIC IDE which has a plug in / connectedhi,
Run TT3.bas then close the Basic compiler window, use TOOLS and open the Assembler window, copy and paste this TT3.asm file into the window.
Press F9 and it will assemble, the use the FILE on the menu bar, the LOAD FILE, double click the tt3.asm name and the file is ready to run.