Mid course test Functions in C Here is a little program calling an external function. It has 3 files: the main function called callMySin.c: the function...
Measuring temperature and humidity Goal: The DHT11 is a low lost humidity and temperature sensor using its own serial protocol for data transfer. While for 1 wire...
Exercise 12: The BMP180 temperature and barometric pressure sensor Goal: The BMP180 is an I2C chip allowing to measure temperature to a precision of 0.1 ...
Installing an Ubuntu System on an external USB drive and making it bootable As a first step when preparing a development environment for the Raspberry Pi one must...
Switches There is quite a variety of different types if switches starting from a simple push button to reed switches which are sensitive to magnetic field, mercury...
Stepping Motor Exercises Goal: A stepping motor is a device which is often used when a precise amount of movement is required: an exact angle of a an exact position...
Setting up a Custom Splash Screen for the Boot Menu I found the file 800px Cape Coast Castle Balcony 02 Sept 2012.jpg on the Internet and I converted it into a png...
Specialized Switches There are more types of switches reacting on different external stimulations. The shock modules There are two different modules reacting on mechanical...
Solutions to the exercises This is the page to which the solutions will be uploaded. These will mainly consist of gzipped tar files which you can download and unpack...
Solutions to test 2 The sine function Here is the source code of the 3 functions of mysin. https://iotworkshop.africa/pub/Embedded Systems/SolutionsToTest2/mysin...
Controlling the Arduino LED via Bluetooth First I connected up the HC 06 with the Arduino. The obvious way to do this is to use the Rx and Tx pins on the Arduino and...
Setting up the Raspberry Pis We will have 2 series of Raspberry Pis to set up: The ones for the student exercises The ones for the Open Day For the Open...
Compilation tools: Editor, Compiler, Linker, Debugger, Make Exercise 1: check the student exercises Go through all the student exercises and check they work as expected...
Session 2: Basic C programming PC systems: Check if new updates have arrived and if yes install them on all machines apt update apt upgrade Install gnuplot...
Setting Up Twiki Server 1 Install apache2 and php5sudo apt get install apache2 php5 1 open a browser and type localhost to check if apache is really installed...
A serial protocol to control the movement of the robot. Setting up the HC 05 as a master Before being able to send any message from the Arduino Nano, acting as the...
Sensors with serial interface There are 2 sensors with analogue to digital conversion already implemented with the chip: the DS18B20 digital thermometer from...
Sensor Kit The sensor kit contains 37 different types of sensors and actuators. For most of these one can find example applications in either the wiringpi of the pigpio...
Interfacing Scilab to the Raspberry Pi or the Arduino Introduction Scilab is a system for open source program for numerical mathematics quite similar to Matlab even...
Rotary Encoder The rotary encoder can be considered as 2 switches which periodically open and close as you turn the encoder shaft. It can be used e.g. to change the...
The Robot The robot consists of a 3 wheel chassis where 2 wheels are driven by DC motors. It is controlled by an Arduino Uno and contains an ultrasonic distance...
Report of Ultrasonic Distance Measurement Project The Arduino is a small intelligent integrated circuit board with its brain (processor) as the ATMEGA microcontroller...
Arduino Project Report on Servo Motor This report covers all that has been done from the beginning. An Arduino is an open source electronics prototyping platform based...
The Realtime Clock Goal: The real time clock and eeprom module uses the real time clock chip which can be programmed using its I2C bus interface. The pigpio library...
The Raspberry Pi Introduction The Raspberry Pi is a small computer powerful enough to run a full blown operating system like Linux. The 3rd version of this machine...
Exercises 4: The Raspberry Pi Goal: The Raspberry Pi in contrast to the PC uses and ARM processor and peripherals are not included in the system but are connected...
Mid Semester Quiz Embedded Systems course General remarks: In the following quiz more than one answer may be correct or all of the answers may be wrong. Linux commands...
A cookbook recipe to make the Bluetooth protocol work Introduction Since you seem to have problems with point 1 3 of the development process (think and design)...
Exercises 2: C Programming Goal: We will program most of our sensor readout programs in the C programming language and programming a few simple C programs will help...
Analogue to Digital and Digital to Analogue Conversion The PCF8591 is a 4 channel analogue to digital (ADC) and 1 channel digital to analogue converter (DAC). ADC...
Integrating the Hantek 6022BE Oscilloscope into the OpenHantek Application Some information on the scope and work already done can be found at Hantek 6022BE Scope...
The MCP4725 Digital to Analogue converter Often we need analogue signal levels or synthetically produced (program controlled) signals to drive external devices. The...
Linux Basics What to do after installing Ubuntu Ubuntu has become a very suitable Operating System for building embedded systems. But immediately after installing...
Measuring Light Intensity with a Photo Resistor and a Capacitor Goal: A photo resistor is a device whose resistivity decreases with increasing intensity of light...
Exercises 5: First Exercise on Hardware: LEDs Goal: Now that we know how to program the Raspberry Pi we will start to setup our first electronic circuits, albeit...
Lecture Slides This page contains all the lecture slides: For more information please contact: uli.raich #64;gmail.com Lecture 1: Introduction Lecture 2: The...
Stepping Motors Lecture 9 Uli Raich UCC semester 2017/2018 The 27BJY 48 stepper motor and its ULN 2803 driver module A lecture on youtube There is an excellent...
Accessing the Real World Lecture 7 Uli Raich UCC semester 2017/2018 Access libraries As we have already seen, the Raspberry Pi flat cable connector and the cobbler...
Files, Pipes, Sockets Programming File I/O, creating new processes and intercommunicate between processes through pipes and network programming using sockets is probably...
Development Tools: Editor, Compiler, Linker, Debugger, Make Uli Raich First Semester 2017/2018 The development cycle The first and most important part in the development...
A bit of C programming Lecture 3 Uli Raich First Semester 2017/2018 Programming Languages To make a language a programming language it needs to implement: Assignments...
The Linux Operating System Lecture 2 Uli Raich First Semester 2017/2018 Starting the Linux System This is how the screen may loop like after some programs have been...