Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Project Ideas, Slide 1 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Embedded Systems and Software
Final Project
Project Ideas, Slide 2 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Project
• Two students per team
• Need to clear the project with instructor/T.A, in a two-step process – Run the idea by the instructor for a reality check: is the project too easy, too
hard, expensive, etc.
– Provide a summary that will go on the class website. See last year’s website for format.
– I need this by next Thursday, i.e., April 4. Time-critical
• Last week of class – Poster Session
– Graded by external judges
• Rest of Lecture: Present some ideas – Team can pitch their own ideas
– Several teams can do same project
• Students supply their own components, but in some cases the instructor has “goodies” and will share
• Rules – Must use at least one peripheral or subsystem that not used in course
– Same scope of larger labs. For example, Lab 5
– Need to submit electronic version of final poster
– Extra credit if you make a YouTube video
Project Ideas, Slide 3 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Can Use Other MCU
Project Ideas, Slide 4 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Can Use Other MCU
Project Ideas, Slide 5 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Can Use Other MCU
eZ430-F2013
Development Tool
$22
Project Ideas, Slide 6 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Can Use Other MCU
Project Ideas, Slide 7 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Can Use Other MCU
$11
Project Ideas, Slide 8 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Passive Infrared Motion Sensing
Zilog’s ZMOTIONTM Detection Module is a complete and fully functional
motion detection solution ideal for lighting control and other occupancy
and proximity detection applications. It is a board level module that
combines the unique features of Zilog’s Z8FS040 Motion Detection
Microcontroller with a Pyroelectric Sensor and a low profile Fresnel lens
$6
Project Ideas, Slide 9 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Passive Infrared Motion Sensing
Project Ideas, Slide 10 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Complete TV Remote Control
• Starting with the ideas of an earlier lab in this course,
built a complete TV remote control using an ATtiny45V
controller.
• The TV remote will be battery-operated and constructed
on a perfboard. It should have a range of 10 feet indoors.
• Resources
– There are many commercially-available IR transmitter modules
available that one could/should use. A properly-selected module
will address the 10-feet range issue.
– http://www.popsci.com/zapper
Project Ideas, Slide 11 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Programmable Noise Generator
• Build a microcontroller-based digital noise generator.
The output of the device will be a pseudo-random stream
of 0s and 1s generated using the Linear Feedback Shift
Registers (LFSR) technique. The device will have a free-
running mode of operation where the random bits are
generated continuously.
• The device will also have a triggered mode where an n-bit
sequence is shifted out upon receipt of a trigger pulse. In
the 3rd mode, the device will shift out bit of the sequence
bit-wise in response to an external clock.
• Resources – http://en.wikipedia.org/wiki/Linear_feedback_shift_register
Project Ideas, Slide 12 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Electronic Candle
• Build a device that uses an LED or LEDs controlled by a
ATtiny45V to simulate the flickering of a candle. The
device is battery-operated and housed in a candle holder.
The application is restaurants that want candles on their
tables but without the potential hazards of real candles.
The hardware for this project is very simple.
• Challenges
– How to realistically simulate a flickering candle and low-power
operation. A short observational study of candle flicker may be
required.
• Resources
– A complete project that implements these are ideas are here
www.instructables.com/id/Flickering_LED_Candle. This
functionality and packaging are the minimum requirements for
this project.
– See www.lamplust.com for examples
Project Ideas, Slide 13 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Shipping Tilt Meter
• Interface a microcontroller to a tilt to a tilt sensor and a
real-time clock (RTC). When the tilt sensor indicates a
tilt, interrogate the RCT and log the tilt event in EEPROM.
The device has an RS232 interface that allows users to
connect to a terminal emulator on a PC.
• Through this interface users can set the clock, download
and clear the data in EEPROM. The device is low power
and small so that user can attach it to packages.
• An application for the device is in the shipping industry
where some items must be shipped the right side up, and
tilting can damage contents. The device described here
can log if/when a container was titled.
Project Ideas, Slide 14 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Digital Filter
• Build a digital filter using an ATtiny45V microcontroller.
The filter samples in input signal using the ATTiny45’s
internal A/D converter and then filters the signal using an
IIR filter. The filtered signal is output to a D/A converter.
• Resources
– There are many resources available for designing digital filters,
including Matlab
Project Ideas, Slide 15 Embedded Systems and Software, 55:036. The University of Iowa, 2013
X-Band Heartbeat Monitor I
• Build a device that uses a commercially-available X-band microwave motion detector module to monitor a human’s heartbeat. It may be necessary to use some simple amplifier/level shifter (using op-amps) to interface the device to a microcontroller.
• The microcontroller will measure the Doppler shift caused by the heart’s beating. The microcontroller has a serial (RS232) interface that allows connection to a PC. The microcontroller will stream the data a PC over the serial link. The PC will capture the software using terminal-emulation software. Simple Matlab code will display the data offline.
• Resources
– The instructor will supply the microwave module
– Online Information: www.parallax.com
– One can easily configure and use terminal emulation software such as SecureCRT (available on the lab computers) to capture the data that the microcontroller streams
Project Ideas, Slide 16 Embedded Systems and Software, 55:036. The University of Iowa, 2013
X-Band Heartbeat Monitor I
X-band Module from Parallax
Project Ideas, Slide 17 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Line Frequency Meter I
• Build a device that will measure and the mains line
frequency. The device will have a transformer that plugs
into a 110 V outlet. Simple electronics will convert the
6.3 V secondary voltage to a nominally 60-Hz square
wave with amplitude 0–5 V.
• A microcontroller makes highly-accurate measurements
of the frequency, which it displays on an LCD. The
microcontroller also has a serial (RS232) interface that
allows connection to a PC.
• The microcontroller will stream the measured line
frequency to the PC over the serial link.
Project Ideas, Slide 18 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Line Frequency Meter II
• The microcontroller will asynchronously accept a few
configuration commands over the serial link:
Command Meaning
I XXXX Set the report interval to XXXX where XXXX represent 100 ms. Thus the command
I 10 means “Report a value every 1,000 ms”
Project Ideas, Slide 19 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Power Line 3rd Harmonic Meter with LCD Display I
• Build a device that will measure and display amplitude of fundamental and the 3rd harmonic of the mains line frequency, along with the total harmonic distortion (THD) on an LCD.
• The device will have a transformer that one plugs into a 110 V outlet. Simple electronics (op-amp based) will shift 6.3 V secondary voltage to a nominally 60-Hz sine wave with amplitude 0–5 V. The microcontroller will sample, using its built-in A/D converter, the sine wave and embedded software will perform the required calculations.
• The software performs DFT calculation finding the amplitude of the fundamental frequency and the 3rd harmonic. The distortion is computed by the ratio of the amplitude of the 3rd harmonic to the fundamental frequency.
Project Ideas, Slide 20 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Power Line 3rd Harmonic Meter with LCD Display II
• Resources
– Example of distortion meter built around a PIC microcontroller
www.kmitl.ac.th/~kswichit/PICTHD/picthd.htm
Project Ideas, Slide 21 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Ultrasonic Rangefinder
• Build an ultrasonic rangefinder that displays the distance
on an LCD or seven segment display
• Since the speed of sound is a function of temperature,
measure the temperature and compensate as needed
• Allow user to select English or metric units
• Resources
– www.best-microcontroller-projects.com/pic-sonar.html
Project Ideas, Slide 22 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Closed Loop Control
• Implement a closed-loop control system using a microcontroller, using simple PID control
• Resources – Article that goes in some detail on how to use a microcontroller
for PID control: www.embedded.com/columns/technicalinsights/175801127?_requestid=551136
• Challenges – What to control? For example, if you want to perform PID control
of temperature (say water), you need to turn on/off heaters, sense temperature etc.
– If you want to control motor speed, you need a motor and drive electronics, and sensors that can sense the rotational speed.
– The simplest may be to control some electrical variable. For example, make a constant voltage supply
– That said, the instructor has some resources available
Project Ideas, Slide 23 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Use an RTOS
• Use the FreeRTOS mini real time kernel
• Resources
– http://www.freertos.org/
This has preconfigured projects
– AVRFreaks
Check out the discussion groups
Project Ideas, Slide 24 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Write Your Own Task Switcher
• Write your own task switcher for the ATmega88PA and demonstrate simple multitasking
• Resources – www.avrfreaks.net/modules/FreaksArticles/files/14/Multitasking%
20on%20an%20AVR.pdf
– www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=77242&start=0
• Challenges – You will have to use assembly language or mix assembly
language with C
– There are several examples of task switchers on the web, and you will have to show that you did not simply copy those.
Project Ideas, Slide 25 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Computerized Etch-A-Sketch
Project Ideas, Slide 26 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Computerized Etch-A-Sketch
• Use a microcontroller and two motors to control an Etch-
A-Sketch
• Provide a serial interface through which one can
download text
• Resources
– This is a fairly popular project and there are several projects
documented on the web as well as on YouTube
– The instructor may be able to provide the motors
• Challenges
– Since this is a popular project, you must convince the instructor
that the work presented is really your own
– Don’t underestimate the challenges mechanically modifying an
Etch-A-Sketch
Project Ideas, Slide 27 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Capture and Display RC5 Codes
http://avr-mcu.dxp.pl/rc5+remote+control+infrared+assembly.html
http://www.youtube.com/watch?v=GfFJeMSFsPo&feature=player_embedded#at=11
Project Ideas, Slide 28 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Heart Rate Display on T-Shirt
http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2010/vij2/LE
Dshirt/LEDshirt/index.html
Project Ideas, Slide 29 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Optical Eye Tracking
http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2010/yh428_aoo34/eyet
racking/index.html
Project Ideas, Slide 30 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Low Cost Turbidity Meter
http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/s2005/jsa25_jy
h25/TurbidityMeter.htm
Project Ideas, Slide 31 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Coin-Based Water System
Coin Acceptor Electrical Valve
Water Bottle
Project Ideas, Slide 32 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Smart Fire Alarm
There is evidence that children will sleep through the standard beep that smoke detectors
emit, but that they will wake up when their parents call on them
Make a smoke detector where one can record a (parent’s) warning that will be played back
when the detector senses smoke.
Atmel’s AVR335 Application Note: http://www.atmel.com/Images/doc1456.pdf
Resources
YouTube http://www.youtube.com/watch?v=5kyPPnBURBc
Project Ideas, Slide 33 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Resources
• Use of a peripheral device with 1-wire interface – www.maxim-ic.com/
• Other sources of intelligent peripheral chips: – Texas Instruments
www.ti.com
– National Semiconductor
www.national.com
• Parallax – http://www.parallax.com/
– BASIC Stamp
– Propeller (multiprocessor)
– Sensors
– Polulo Robotics (http://www.pololu.com/)
Motors, controllers, gears, + more
Project Ideas, Slide 34 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Resources
• IR Communications/Object Detection
– e.g., using and IR LED and PNA4602M Detector
• RF Communications
– e.g., using TWS-434A/RWS-434A RF Modules
• Control of Relays
– e.g., using ULN2803 peripheral driver
• Accelerometers
• RC servo motors (PWM control)
• Sparkfun Electronics
• LucidScience: http://www.lucidscience.com/default.aspx
• Cornell Pages
– http://people.ece.cornell.edu/land/courses/ece4760/FinalProjects/
Project Ideas, Slide 35 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Magazines
• Circuit Cellar – http://circuitcellar.com/
• Elector Magazine – www.elektor.com/magazines/2012/march.2084115.lynkx
• Nuts & Volts – www.nutsvolts.com
Project Ideas, Slide 36 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Sensors/Peripherals
Fingerprint Sensor
http://adafruit.com/products/751
Coin Acceptor
http://adafruit.com/products/786
Camera
See Sparkfun
RIFID
See Sparkfun
MP3 Engine
See Sparkfun
Project Ideas, Slide 37 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Stuff to Avoid
Project Ideas, Slide 38 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Stuff to Avoid
Project Ideas, Slide 39 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Next Steps
• Talk with TA/instructor about project
• Submit write-up by April 4
• Will loose points if you are late with write-up
• Once we sign off on project
– Order parts ASAP
– Start working
• Poster session last week of class
– At least 3 external graders
• Demonstrate project to T.A.
• Provide final report
• Extra Credit for YouTube video
Project Ideas, Slide 40 Embedded Systems and Software, 55:036. The University of Iowa, 2013
Joe Six Pack & Coco Lane
Pharmacy Answering Machine
The project involves using a SpeakJet speech synthesis IC to create an
answering machine for a pharmacy. The machine will begin with a welcome
message about the pharmacy, and will then describe options to the users. The
user may choose from the list of options by pressing a button on the keypad,
and upon doing so, can hear the store hours, check if a prescription has been
filled, or enter a prescription to the business. The SpeakJet will be used to
synthesize voice, and the keypad will be used to get input from the user.
Name, title, one paragraph.
Send this to me via e-mail as plain text (no fancy formatting, not as an
attachment, Word, PDF etc.)
Format of Write-Up for Website