PIC Programming with Logicator

Slides:



Advertisements
Similar presentations
How to utilize your iTunes for use with your SwiMP3 Please be aware that all the SwiMP3 line of players do not have licensing to any of the songs that.
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Clicking on the link for the.tns file gives you will get the following screen: Select Save File and click OK.
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Fx draw 3 A New Hope © 2008 Efofex Software Getting Started… Open a word document Open a word document On the top menu go to Insert and then Object (you.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Copyright © 2005 Rockwell Automation, Inc. All rights reserved. 1 Micro Logix 1100 RSLogix 500 LAB#2 Timing, Counting & Comparing.
Overview Lesson 1. Objectives Step-by-Step: Start Excel 1.Click the Start menu, and then click All Programs. 2.On the list of programs, click Microsoft.
An Introduction to the Interface
Loading Excel Double click the Excel icon on the desktop (if you have this) OR Click on Start All Programs Microsoft Office Microsoft Office Excel 2003.
How to use the VHDL and schematic design entry tools.
This demo shows how to create a simple multiple choice exercise using drop down menu boxes with the forms tool within MSWord.
1 Student Hands On Training I (2007) Timing Circuit & Camera Integration Timing Circuit & Camera Integration.
PROGRAMMABLE INTERFACE CONTROLLERS Understanding what PIC’s are. How to use PIC logicator Knowing what you can do with PIC circuits.
NI Multisim and Ultiboard
Creating FrontPage Tasks The task view allows you to add information about what you want to accomplish when creating your Web site.
Algorithm & Flowchart.
 What is it?  Skype is software which allows you to call other computer users who also have Skype installed for audio and/or video chats, for free.
PICS / Microcontrollers
Welcome to the Computer!
EDITING AND FORMATTING A DOCUMENT Presented by: Dr. Ennis-Cole.
Introduction to FPGA Design Illustrating the FPGA design process using Quartus II design software and the Cyclone II FPGA Starter Board. Physics 536 –
Bug Session One. Session description In this session, pupils are introduced to a programming sequence which will make a light pattern on their Bug. Objectives.
EMBEDDING a file into an Activboard Flip Chart. Go to your ACTIVEBOARD dashboard and click on New Flip Chart.
Advanced Digital Circuits ECET 146 Week 3 Professor Iskandar Hack ET 221B,
SMART Response Initial Set-up: Windows PC Teacher and Class Set-up Creating a Quiz, Test, or Survey Delivering an Assessment Reports Additional Question.
1 iSee Player Tutorial Using the Forest Biomass Accumulation Model as an Example ( Tutorial Developed by: (
Creating an Astable Circuit This will guide you through constructing an astable circuit.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
Do you have control? Mr. Caudy Systems and Computer Control.
Open the Goodyear Homepage Click on Teacher Tools.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Flowcharting A Quality Improvement Tool. Quality = Inspection Statistical methods assisted in prevention of defects – The need for inspection declined.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
Design Studies 20 ‘Show Off’ Project How to make a computer monitor In Google Sketchup By: Liam Jack.
Creating a Power Point Presentation Open Microsoft Power Point Create a new presentation using a blank presentation. Choose an Auto Layout Select the sample.
Why use it? o Makes your life easier constructing interactive web games and puzzles. o Quick and painless o Excellent learning tool, fun and interactive.
1 Micro Economix 1500 RSLogix 500 LAB#3 Sequencing and Subroutines.
PRACTICAL ELECTRONICS MASTERCLASS (Mr Bell) (COMPUTERS REQUIRED FOR 1 ST & 2 nd PERIOD) 1.
Hyperstudio: A Beginner’s Tutorial By Judy Swaim.
Pictures, Pictures, Pictures!. Load your pictures:  Open your and save each picture to your computer. I suggest saving to the My Documents or My.
2D Design – A Guide! SECTION 1.
Using MIT Scratch for Programming and Control Exercise 1 Creating movement Year 11 DTG 2012.
Subtractive Manufacturing Exercise #1 Step #2 Key Fob Project Using Velocity CNC Software for the CNC Milling Machine Note: In order to use this set of.
Creating Games with PowerPoint: The SECRET: Sequence – the order of the slides Connection – how the slides link together.
If you don’t have Google Earth downloaded already, you can go to to get it.
Using Windows Movie Maker To use this presentation you must: 1.Have your pictures saved to your computer or removable media (memory stick, CD ROM). 2.Have.
An introduction to PIC’s for KS3 and KS4. Mr Rooks Hetton School.
This is what we want to produce Import sketch dimensions Label angles Set the scale Add linear dimensions.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
In preparation for this training please read the articles ‘Using Fixture Templates’ and ‘Allotting Seeding Numbers to Sides’. If you do not have these.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Data Flow Diagrams Start Do you want to continue? Yes End No Test on
Digital Literacy Introduction to Computers Unit 1, Lesson 1.
Fundamentals of Windows Mouse n 4 Basic Operations: –Pointing –Clicking –Double Clicking –Dragging.
Making a 24hr Timer.
The first change to your project files that is needed is to change the device to the correct FPGA. This is done by going to the Assignments tab on the.
The Electronic Die Using the PICAXE 08
Introduction to Arduino Microcontrollers
Using the INSERT TAB in MS Word 2007
ADDING COMMENTS TO AN EXCEL WORKSHEET.
Crumble PowerPoint 3.
Series Circuits Lesson 8.
Lecture 7: Basic Arena Simulations
Cell Simulation.
Drawing OSA charts. Once Synops have been downloaded and ingested.
PRO-DESKTOP TUTORIAL 2. Use Shift+w to have the workplane facing you.
Downloading to the NXT requires the correct hardware setup
Introduction to Programming
Presentation transcript:

PIC Programming with Logicator

Exercise one: Traffic lights

Traffic lights sequence: Red Red + Green Amber Amber

First open:

Choose simulate on the top menu: Open simulation > PICAXE kits > AXE 130 simple PIC:

Options > select PIC type:

Beginning a Logicator Flow Chart: On the right hand side of your screen you will see the Command List. Start by clicking and dragging out the following command cells: 4 output commands 4 wait commands

Position the command cells as shown and connect them together using the line tool from the top command menu. Or simple use the normal cursor, hold control and use the keyboard arrows to draw the lines. ctrl

The first step in the traffic light sequence is Red. To show this you must set the first output to turn on the correct pin for the Red LED. To set an output double click on the output command cell to show the setup menu. As the Red LED is attached to pin zero you would setup your first output cell as shown. How do you think you would setup output two?

As well as the output commands you must also set wait commands to allow a pause which the light can be seen. Again double click on the cell and to setup the output. Set the time to 2 and click ok. Set all four wait command cells in the same way.

Once the program flowchart is completed you can then down load the program to the simulated chip. Again select the program PIC command (jack plug) on the tool bar at the top of the screen. Now watch the simulation of the programme you created!

Results: A traffic light sequence that is on a continuous loop Problems: The current flowchart uses a simple open loop system, meaning there is no feedback or user input. \

Exercise two: Adding a switch In order to include the switch as part of your circuit you must add a decision command cell . First delete the first wait command, then click and drag in the new cell and position it as shown. Now Connect up the switch as shown . Check the Yes and No are the right way round!

Setting up a Decision Cell: First double click on the cell then set the input pattern so that pin 3 must be on for a Yes answer by placing a 1 in the box beside it as shown.

Once the program flowchart is completed you can then down load the program to the simulated chip. Again select the program PIC command (jack plug) on the tool bar at the top of the screen. Now watch the simulation of the programme you created!

New Document: Once you are sure that your programme is working you may now close the traffic light simulation and start a new document. Do not save your work X

Exercise two: The Electronic Dice:

Dice Patterns:

Choose simulate on the top menu: Open simulation > PICAXE kits > AXE 105 DICE:

Options > select PIC type:

Pattern one to six: Use outputs and wait commands to make a sequence showing the number one to six on the electronic dice simulation.

The first output command is to show the number one. To show the number one on the dice which LED do you need? Set as shown:

Now Complete the rest yourself:

Once the program flowchart is completed you can then down load the program to the chip and check the results. The first thing to do is ensure the download cable and battery snap are connected. Then select the program PIC command (jack plug) on the tool bar at the top of the screen.

Random number program: By adding decision command cells you can get a “random” effect like a real dice:

Again once the program flowchart is completed you can then down load the program to the chip and check the results. The first thing to do is ensure the download cable and battery snap are connected. Then select the program PIC command (jack plug) on the tool bar at the top of the screen.

Random number program two: By adding decision command cells you can get a “random” effect like a real dice:

End Results