Introduction to the Raspberry Pi
The Raspberry Pi is a tiny bare-bones computer motherboard. You can easily make it into a Linux PC by connecting your own keyboard, mouse, and display. More ...
Operating System Memory Page Sharing
In a paged environment sharing of memory among processes provides numerous benefits including sharing non-self-modifying reentrant code and interprocess communication. More ...
Operating System Processes
An Operating System Process is a program in execution. It includes the value in the program counter and in the processors registers. A process also includes a stack, data section, and a heap. More ...
Difference between Stack, Heap, and Queue
Stack, heap, and queue are ways that elements are stored in memory. Stack elements are added to the top of the stack, and removed from the top of the stack. The mnemonic LIFO is used to describe a stack (Last-In-First-Out). With a queue, the first one in is the first one out. The mnemonic FIFO is used to describe a queue. A heap is an area of memory where elements can be stored and removed in any order. More ...
The Microcontroller's Asynchronous Serial Interface
An Asynchronous Serial Interface sends data one bit at a time, as apposed to a parallel interface which send one byte or one word at a time, and asynchronous means it sends them when its ready, without reference to a clock signal. More ...
Microcontroller Internal EEPROM (Electrically Erasable Programmable Read Only Memory) Memory
In some situations it is required that some program parameters such as configuration settings be keept after the system is powered off. This is made possible by including a EEPROM internally to the microcontroller. More ...
Computer Video Display
If you view a computer as an input-processing-output machine, you can use a keyboard or removable storage device as the input, a program as the processing, but what can you use to retrieve the output? One way to acquire the output, be it text or graphics, is with a video display. More ...
Operating System Memory Protection in a Paged Environment
Memory protection in a paged environment is accomplished by protection bits associated with each frame. For example read-write, read-only or execute-only bit, and valid-invalid bit. Normally, these bits are kept in the page table. More ...
Processor Affinity in Symmetric Multiprocessing
Processor Affinity refers to a process's tendency to continue running on the processor on which it is currently running. When a process executes on a CPU, that process's cache is populated with its most recently accessed data, if a process is moved to a different CPU, that second processor's cache must be populated with that data. More ...
Digital to Analog Convertion with a Microcontroller
Digital to analog conversion (DAC) is the process by which a digital signal (expressed as a string of 1s and 0s) are converted to an analog signal (a continuously varying voltage). More ...
Inductors in DC Circuits
An inductor is constructed with a coil of wire. When connected to a voltage source, an inductor resists a change in current flow as it stores energy in its magnetic field, and it can return that energy to the circuit if desired. More ...
CPU Process Scheduling
CPU scheduling is the basis of multiprogrammed operating systems. By switching the CPU among processes, the operating system can make the computer more productive. More ...