Embedded Fundamentals

What is the difference between an Arduino and a Raspberry...

Both are popular for projects, but they are different kinds of devices. An Arduino is a board built around a microcontroller. A Raspberry Pi is a single-board computer that runs an operating system such as Linux.

Main differences: 1) Arduino runs one program directly on the microcontroller, which is good for reading sensors and controlling motors with simple timing and low power use. 2) Raspberry Pi can run many programs, connect to screens, networks and storage, and handle tasks such as image processing or a web server. 3) The two can work together, for example with a Raspberry Pi handling the network and an Arduino handling the hardware.

Choose based on the project, not on which board is more popular. If you need a simple, reliable control task, a microcontroller is often enough.

What project would you build first, and which board would you pick?

What is the difference between a microcontroller and a mi...

A microprocessor is a processing chip, the central unit of a computer, and it needs external parts such as memory and input and output chips. A microcontroller combines a processor, memory and input and output peripherals on a single chip.

Key differences: 1) Integration: a microcontroller is a complete small system on one chip. A microprocessor system needs separate components. 2) Use: microcontrollers are common in appliances, toys and sensors. Microprocessors are used where more power and flexibility are needed, as in computers and phones. 3) Cost and power: microcontrollers are often cheaper and use less power.

The line is not always sharp, because modern chips mix features. The terms are best seen as a description of how complete the chip is.

Which would you use for a simple temperature sensor?

What is an embedded system?

An embedded system is a computer built into a larger device to do a specific job. It usually has a processor, memory and input and output connections, and it runs a program that is stored inside the device.

Examples and features: 1) A washing machine controller reads sensors and controls the motor and water valves. 2) A car has many embedded systems, for example for the engine and for the brakes. 3) A digital thermometer, a TV remote and a smart watch also contain them. 4) They often must be small, use little power and respond within a set time.

Unlike a general-purpose computer, an embedded system is not used to run any program the user chooses. Its software is designed for one task or one set of tasks.

Which embedded system do you use every day?

Category