Colloquium by Asmus Koefoed – Niels Bohr Institute - University of Copenhagen

Forward this page to a friend Resize Print kalender-ikon Bookmark and Share

Niels Bohr Institute > Calendar > 2011 > Colloquium by Asmus Ko...

Colloquium by Asmus Koefoed

Our New Mars Chamber, and How to Log its Data... CHEAPLY!

Place: July 20 - 13:15 Auditorium 9 "Gallery" near building D at HCØ
Supervisor: Morten Bo Madsen

Asmus training at the new Mars Chamber during power outage after laboratory flooding

By means of a colloquium Asmus Koefoed will present a new Mars environmental chamber at University of Copenhagen. The chamber has been built for producing and studying nano-scopic changes in pure mineral surfaces under near-Martian environmental conditions.

After an introduction to extremely low budget vacuum-chamber building and a brief history of the project, the talk will move on to the main focus of the presentation: On how to use the cheap ($25) open source hardware interface, "Arduino", to log data of the environmental conditions inside the chamber, and how to run a live plot of the data-set on a website.

An Arduino

This talk is meant for the money-stricken physicists interested in interacting with, controlling and collecting data from the physical world. (or what they didn't teach you in "Dat F - Programming for Physicists")

Subjects include: Arduino-wiring, analogue to digital converters, I2C digital protocol and Numerical Python.

A few bits of technical bacground for the colloquium by Asmus Koefoed 

Arduino is an open-source single-board microcontroller.

The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board I/O support. The software consists of a standard programming language compiler and the boot loader that runs on the board.

Arduino hardware is programmed using a Wiring-based language (syntax + libraries), similar to C++ with some simplifications and modifications, and a Processing-based IDE.

The Arduino IDE comes with a C/C++ library called "Wiring" (from the project of the same name), which makes many common input/output operations much easier. Arduino programs are written in C/C++, although users only need define two functions to make a runnable program:

  • setup() - a function run once at the start of a
    program that can initialize settings
     
  • loop() - a function called repeatedly until the
    board powers off 

MicrocontrollerATmega328
Operating Voltage5V
Input Voltage (recommended)7-12V
Input Voltage (limits)6-20V
Digital I/O Pins14 (of which 6 provide PWM output)
Analog Input Pins6
DC Current per I/O Pin40 mA DC
Current for 3.3V Pin50 mA
Flash Memory32 KB (ATmega328)
Clock Speed16 MHz

Talk will be given in English