Monday, March 9, 2020
Dice Report Essays - Electronic Design, Breadboard, Free Essays
Dice Report Essays - Electronic Design, Breadboard, Free Essays Dice Report -741680763270My initial idea on how the program must work would be simply using DIR,OUT, and IF commands. For example, I imagined that if the button was pressed at a certain second, a certain number of lights would turn on. This program would have to then include a set timer which would loop back after hitting a certain number of seconds, supposedly 6 because the dice only has 6 numbers. This idea is a bit similar to the use of a random command, but would take much longer to code. Fig 1. Initial Dice flowchart. This was my initial dice flowchart without any animations. -629532-67158300Fig 2. Final Dice flowchart. This is my final dice flowchart which include the animations. -49276038290500-688769364972500Fig 3. Dice Layout. This diagram shows where each LED would be placed and what pins will be used. Fig 4. Entire Circuit. This photograph shows the entire circuit including the LEDs, resistors, breadboard, wiring, and BoeBot base. Fig 5. Close up on BoeBot pins. Pins 0-6 were used and the button on pin 13. Unfortunately there are two wires that were not needed and were not taken off when this photograph was taken. Red wires attached to pin 12 and last Vss pin should not be there. 0000Fig.6. Close up on actual dice. This photograph shows the layout of each LED, resistor and wiring. I have done this almost identically to the layout I had drawn before. The red wire located at the bottom of the breadboard grounds the entire breadboard. Without this wire, the dice did not work before.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.