Tags:
tag this topic
create new tag
view all tags
---+ Exercise List Here is a list of exercises to be solved during the course on emdedded systems. First we play on the Linux system installed on the PC, then we write a few simple C programs and their associated Makefiles before exploring the Raspberry Pi and its tools. Finally we have a look at libraries that allow us to easily interface external hardware. A bread board is used to set up small electronic circuits with sensors and actuators that allow us to acquire data like * temperature, humidity air pressure in digital or analogue form * read any kind of electric signal through analogue to digital conversion * time * motor speed and angular position * read switch positions * EEPROMS or control * LEDs * motors * displays etc. To my knowledge 2 libraries giving access to the GPIO pins and the I2C and SPI busses: <a href="http://wiringpi.com/" title="wiringpi">wiringpi</a> and <a href="http://abyz.co.uk/rpi/pigpio/" title="pigpio">pigpio</a>. I had a look at both libraries and find pigpio more complete. This library comes in 2 versions: Either you can directly access the hardware through pigpio calls, in which case you must be the root user, or you can (as root user) start the pigpiod daemon and the communicate with it (as normal user) through a socket interface. Since sockets can run over the network you can also run your program on your PC and use the daemon on the Raspberry Pi only to access the hardware. Here is the list of exercises: * LinuxSystem * ProgrammingExercise * CompilationTools * [[Files, Pipes, Sockets]] * RaspberryPi * LedDisplay * [[Switches]] * [[Stepping Motor]] * DigitalTemperature * TemperatureHumidity * LightMeasurement * TemperatureAndAirPressure * The [[LCD Display]] * [[Digital to Analogue Conversion]] * [[Analogue to Digital Conversion]] * RealTimeClock * [[I2C EEProm]] * [[Heart Beat Sensor]] ... and we have a few tests to find out how well the professor is teaching the material: * [[test 1]] * [[solutions to test 1]] * [[test 2]] * [[solutions to test 2]] * [[quiz]] including solution <b>Disclaimer:</b><br />To some of the exercises: (LedDisplay, [[LCD Display]]) solutions in Python are also given. Programming in Python was *not* part of the course but could be one direction for further development ! Please take these programs with a good grain of salt and look at them very critically. I am by no means an experienced Python programmer (wrote my first Python programs only after the end of the course as en exercise for myself) and the programs have been hacked up in a very short time and are not thoroughly tested. They might somehow work though. ---++ Examination sessions: The examination session for the %BLUE% *physics class* %ENDCOLOR% in foreseen for %BLUE% *Monday 27. Nov. at 16:00* %ENDCOLOR% Here are the exercises for the physics class: ExamPhys The examination session of the %BLUE% *computer science class* %ENDCOLOR% is foreseen for *%BLUE%Monday 4. Dec. 13:00%ENDCOLOR%* The exercises for the computer science class are described at [[I2C EEProm]] -- %USERSIG{UliRaich - 2017-01-03}% ---++ Comments %COMMENT%
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r16
<
r15
<
r14
<
r13
<
r12
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r16 - 2017-11-30
-
uli
Home
Site map
AFNOG web
Embedded_Systems web
IoT_Course_English web
IoT_Course_French web
Main web
Sandbox web
TWiki web
Embedded_Systems Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback