lab6 - Physics 335 – Analog Output with a PIC 1...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Physics 335 – Analog Output with a PIC May 10, 2010 1 Introduction Last week we introduced you to the PIC microprocessor. This week, you’ll get a little more practice programming. In addition, you’ll have to design your own circuit. This one will be simple, but your own. We’ll use the AD558 8 bit Digital to Analog converters, which you are already familiar with from the A/D lab, in addition to our PIC Processor. So hopefully it won’t be over taxing for you. In order to complete the first couple sections, you’ll need to write some code that includes conditional branching. The following are simple variations on what you know already, but hopefully will give you a little more programming practice in preparation for the coming test. The focus is on conditional branching and allowing you to make some slightly more complicated programs than the simple ones you wrote last week. 2 First things first Get the Datasheet for the AD558 from the course website. Using this information, and your knowlege of the PIC microprocessor, draw a circuit diagram that will allow you to hook the 8 bit D/A converter up to the microprocessor so that you can get data from the microprocessor in some form and turn it into an analog voltage output. Carefully diagram the entire circuit. You should be certain you include all connections for each of the chips in question. It is ok in some cases to leave certain pins unconnected or tied to a voltage rail, but they should still be noted on the diagram and included, with or without relative connections. If more than one wire is to be hooked together, you should indicate it with a solid dot where they join to indicate a junction....
View Full Document

Page1 / 3

lab6 - Physics 335 – Analog Output with a PIC 1...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online