Skip to content

11. Input Devices

Welcome to week number 11, input devices.

GROUP ASSIGNMENT: - Probe an input device(s)’s analog levels and digital signals. - Document your work on the group work page and reflect on your individual page what you learned.

INDIVIDUAL ASSIGNMENT: - Measure something: add a sensor to a microcontroller board that you have designed and read it.

Assignment Checklist.

item Activity Status
task 1 Linked to the group assignment page. IN PROGRESS
task 2 Documented what you learned from interfacing an input device(s) to your microcontroller and optionally, how the physical property relates to the measured results. IN PROGRESS
task 3 Documented your design and fabrication process or linked to the board you made in a previous assignment. IN PROGRESS
task 4 Explained the programming process(es) you used. IN PROGRESS
task 5 Explained any problems you encountered and how you fixed them. IN PROGRESS
task 6 Included original design files and source code. IN PROGRESS
task 7 Included a ‘hero shot’ of your board. IN PROGRESS
## GROUP ASSIGNMENT
## MEASURING EQUIPMENT AND INSTRUMENTS.
For the effective way of taking measurements, we use measuring instruments, now for the INPUT DEVICES week, we will use the already known OSCILLOSCOPY.

OSCILLOSCOPY.

Electronic measuring instrument for displaying electrical signals at a given time. These signals are expressed in graphs in which an electron beam passes through a coordinate axis on a screen.

We will make the connection on channel 1, for collecting samples, and configuring the type of signal that we will take for reading.

We will perform the initial test of measuring the input voltage to the board.

Code Example

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Learnign

The correct selection of parameters for the verification of the signals within must be taken into account.

Last update: July 13, 2024