Circuit Report - TinkerCad. Arduino PDF

Title Circuit Report - TinkerCad. Arduino
Course Elements Of Engineering Design
Institution Borough of Manhattan Community College
Pages 3
File Size 122.2 KB
File Type PDF
Total Downloads 84
Total Views 152

Summary

TinkerCad.

Arduino...


Description

Elements of Engineering Design ESC 111-164 Spring 2019

Displaying a CUNYFirst ID using a seven segment display and a pushbutton This report aims to explain the changes made to a circuit, which it did not work efficiently. In the next page are listed the modifications applied to the circuit that is currently working as expected. But, first it is worth emphasizing that the components used to create the circuit were not modified (a microcontroller (Arduino UNO R3), a small breadboard, a seven-segment display, a resistor and a pushbutton), in the same way, all the connections stayed the same: A---13, B---12, C---11, D---10, E---9, F---8, G---7.

Modifications:  Use of “While” instead of “if”. This control flow statement was introduced in the following way.

While was repeated 8 times to evaluate that same number of conditions (these are the numbers that contains the ID).  After if condition it was read the variable “button”.

 Finally, different delays were added to the final of each while statement.

Results The circuit did not work as expected, it has some problems with the numbers displayed. It just displays the first number and the third one. Multiple changes were made to the code but the problem persists....


Similar Free PDFs