Skip to content

evonlanthen/yacm2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

================================================================================

                yacm2 - yet another coffee maker - second edition

This project implements the logic of a coffee maker. The code is written in C
for CARME or Orchid hardware.

Authors:
	- Toni Baumann (bauma12@bfh.ch)
	- Ronny Stauffer (staur3@bfh.ch)
	- Elmar Vonlanthen (vonle1@bfh.ch)

================================================================================

Requirements for build:
- User has sudo rights
- Rootfs of CARME board is mounted on /carme/rootfs
- KDIR is /carme/kernel/linux-2.6.35.9-adeos-ipipe-1.18-01-CARME/

Build and installation for CARME board:
	$ make
	$ cd rtModelDisplay/
	$ make
	$ cd ../latencyTester/
	$ make 

Running yacm2 on CARME board:
	- Load modules and execute binaries:
	  # cd /root
	  # insmod ./grinder.ko
	  # insmod ./hmi.ko
	  # insmod ./display.ko
	  # ./yacm-rt-model-display		
	  # ./yacm
	- Prepare sensors:
	  # echo 0 > dev/coffeePowderDispenser
	- Power on coffee machine by using switch S7
	- Select coffee product 1 with button T0
	- Signal grinding end with:
	  # echo 1 > dev/coffeePowderDispenser

Stopping yacm and yacm-rt-model-display:
	Press CTRL+C

Documentation of latency tests:
	doc/latency_measures_realtime.pdf
	

About

Yet another coffee maker - second edition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages