This preview has intentionally blurred sections. Sign up to view the full version.View Full 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
- Spring '11
- Physics, Square wave, TA, 8 bit, 5 Volt