Difference between revisions of "CSC231 Homework 7"

From dftwiki3
Jump to: navigation, search
(Arduino Project Schematics)
Line 5: Line 5:
 
I would like you to generate a diagram showing all the hardware parts you will be using for your project, and how they are connected to each other.  This diagram should clearly show the Arduino board as a box with lines going in and out of it, with arrows indicating whether they are inputs or outputs, and the pin numbers.  Resistors, switches and so on should be clearly indicated, with their values and part numbers if you have them.
 
I would like you to generate a diagram showing all the hardware parts you will be using for your project, and how they are connected to each other.  This diagram should clearly show the Arduino board as a box with lines going in and out of it, with arrows indicating whether they are inputs or outputs, and the pin numbers.  Resistors, switches and so on should be clearly indicated, with their values and part numbers if you have them.
  
Below are several examples, some fancier than others:
+
Below are several examples, some fancier than others.  I have added comments on the right to highlight what is good and what is missing.  Use them to find a way to show your diagram.  You will have questions and I do not expect you to know electronics, so do stop by my office or make an appointment to review your diagram.  Once I am satisfied that your diagram is safe for the Arduino, you will have the go ahead (as soon as you get the parts) to wire it up and start concentrating on the programming side of the project.
  
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"

Revision as of 09:03, 30 October 2008

(c) --DT 13:42, 30 October 2008 (UTC)

Arduino Project Schematics

I would like you to generate a diagram showing all the hardware parts you will be using for your project, and how they are connected to each other. This diagram should clearly show the Arduino board as a box with lines going in and out of it, with arrows indicating whether they are inputs or outputs, and the pin numbers. Resistors, switches and so on should be clearly indicated, with their values and part numbers if you have them.

Below are several examples, some fancier than others. I have added comments on the right to highlight what is good and what is missing. Use them to find a way to show your diagram. You will have questions and I do not expect you to know electronics, so do stop by my office or make an appointment to review your diagram. Once I am satisfied that your diagram is safe for the Arduino, you will have the go ahead (as soon as you get the parts) to wire it up and start concentrating on the programming side of the project.

Diagram Comments

CSC231 Arduino diagram1.jpg

Very fancy

CSC231 Arduino diagram2.jpg

Very simple. It doesn't have to be fancy, but I would recommend using MSWord or some drawing package to get something that is computer generated, and a bit more pleasing. The lower block should be labeled so that we have pin numbers, and its name and part number.

CSC231 Arduino diagram3.jpg

Neat. But the resistors should have values, the switches should be labeled (SW1, SW2, SW3), and the LED should be labeled as well (LED1). I would add arrows on the lines arriving at d13, d7, d5 and d3 to indicate which of them are outputs and which are inputs.

CSC231 Arduino diagram4.png

When diagrams are drawn by hand nicely, we have an effective diagram. Here the person didn't show the arduino, but showed the value of teh resistors. I would label the resistors (R1, R2, etc.). Note that each pin is identified as an input or output.

CSC231 Arduino diagram5.jpg

Nice diagram showing also a state diagram. You can do the right-most diagram at some point, when you are programming. It's not needed now. Note that the Arduino is represented simply. Input/Output information is missing. Resistors should have labels and values. Note how simple the connection to the computer is shown, effectively and simply.

CSC231 Arduino diagram6.jpg

Another interesting diagram. Here the user uses boxes for everything, which is fine. But some important details are missing (resistors, etc.).