D2M
Search
K

Week 05

Computer Engineering, Sensors, Digital Input Output, Analog Input Output

1. Industry Trend

손정의 ARM

Uber Autonomous Car

Hyundai Mobis M.billy

Continental

Denso, Aisin

ZF : ProAI

Bosch + Daimler

Roborace

5G

Edge Computing

Google Edge TPU

NM500

Mobileye

Nvidia > ZF, Bosch

Audi + Nvidia

Velodyne Lidar

Samsung > Harman

LG > ZKW

Tesla

Open Motors

Machine Learning

2. Micro Controller

"The most commonly preferred language used to develop the drivers and OS / Kernel is Embedded C with XML . "

3. Sensors

Sensors convert various forms of physical energy into electrical energy, allowing microcontrollers to read changes in the physical world.

4. Digital Input , Digital Output

Read and Write : 0 or 1

void setup() {
// declare pin 2 to be an input:
pinMode(2, INPUT);
declare pin 3 to be an output:
pinMode(3, OUTPUT);
}
void loop() {
// read pin 2:
if (digitalRead(2) == 1) {
// if pin 2 is HIGH, set pin 3 HIGH:
digitalWrite(3, HIGH);
} else {
// if pin 2 is LOW, set pin 3 LOW:
digitalWrite(3, LOW);
}

Digital Input

Digital Ouptput

Led ON/OFF

5. Analog Input, Analog Output

Read and Write : 0.0048 - 1024 points

Analog Input (0 - 5V)

Analog Output

You can dim an LED with the same circuit as you used for digital output. Just use analogWrite() on the pin to which the LED is connected.
Last modified 5yr ago