Posts tagged: Hardware

MirrorBot Video – Moving Projections Controller Interface

By TeK, January 5, 2011 17:58

YouTube Preview Image

Part #02 of the MirrorBot Demo Video


** Video Installation Audio Visual Special Event n8 @Tacheles 17.12.2010

** Details of the Controller device:

  • Programs and Live Mode LCD screen interface

Part #01 of the Video, Installation in MIKZ, Berlin 03.2010: /2011/01/03/mirrorbot-video-moving-projections-in-action

Technical details: lab.synoptx.net/mirrorbot

Share

Video: PONGuino – Arduino & S65 Shield – 2 Player MiniGame

By TeK, December 27, 2010 04:55
YouTube Preview Image

Here is a video about the PONGuino game for 2 players on a minicomputer with mobile-phone display and joysticks.
The box contains an Arduino 2009, a S65-LCD Shield and a gamepad from an old playstation 1. It runs autonomous on 9V battery.

The device is originally built for the “Mirrorbot” moving projection system [ lab.synoptx.net/mirrorbot ], but the pong-game-code from www.codetorment.com was perfect to test the LCD and – really – it’s fun to play!

The system is just fast enough to play a game, but you have to take care, how many pixels and how fast you draw. There is no double buffering and just a serial line between arduino and screen……

more info in this post from 02.2010

Sorry for the low quality photo-cam recording.
The LCD is not bad in reality: You don’t see the pixels and the scratches are only on a transparent folie..





Share

PONGuino – Arduino & S65 Shield – 2 Player MiniGame

By TeK, February 12, 2010 19:36
PONGuino game on the MirrorBot v3 Hardware

PONGuino game on the MirrorBot v3 Hardware

I wanted a playable game to show the possibilities of the Arduino plattform in  workshops. Since I already have a S65-Shield built in a box with two joysticks, I wanted to use that MirrorBot hardware for presentation.

The most funny code I could find for the S65 Shield was a Pong game by

www.codetorment.com

This mod uses one axis of two joysticks – or two potis connected to input pins to move the two bats of the two players up and down.

The AI and encoder codes were removed and replaced by a similar check:

PONGuino 2 players in action

PONGuino 2 players in action

If the joystick potis are moved up or down, they decrease or increase the y position value of the matching bat.

If you have a s65 shield and would like to run this code, you could connect two potis to input pins (e.g. 0,1) and try those. Thes bats ‘should’ move, if you move the pots out of the center position.

I included a veeery simple level system:

PONGuino someone got a point +

PONGuino someone got a point +

After each round a level int variable gets increased. This level var decreases a delay() (starting at 10 ms)  in the main loop  -that way, so the game gets faster, the more rounds you play ( 5 times).

:-)

….

PONGuino mini-game intro screen

PONGuino game intro screen

Continue reading 'PONGuino – Arduino & S65 Shield – 2 Player MiniGame'»

Share

Arduino Workshop in Berlin

By TeK, February 8, 2010 01:50
breadboard with Arduino backpack

prototyping breadboard with Arduino backpack

On 28.1.2010 we had our first workshop to introduce the Arduino Microcontroller plattform in Berlin, FHain.

The session took place in Sama32 cafe and there were ~10 nerds, who were interested in micro-controllers and electronics. We presented some hardware and sketches and introduced the connection from arduino inputs to processing sketches.

Thanx to Todbot for the possibility to use his excellent slides!

Who is interested to join the next workshop?

Workshop Info

Share

Shields up! Grafix & Color LCD Fun .: S65-Shield

By TeK, January 8, 2010 22:41
S65 Shield italian nosespray pappcarton prototype

S65 Shield italian nosespray pappcarton prototype

We ordered a S65 Arduino shield from Watterott.com.

Simply plug it on a Arduino and play with  a 176 x 132 pixels color display from a Siemens S65 handy, micro SD card slot and rotary encoder.

There is a library on the Watterott website, which contains some graphic functions to paint on the screen, just like in many other languages. This is enough to create small games, animations and GUIs  in full color.

The refresh rate is not soo high, but its fast enough to paint moving objects and interactive animations. The painted pixels stay as they are until something else is drawn over – they do not need to be refreshed.

Testing to paint circles + lines and text on the s65 shield

Testing to paint circles + lines and text

Instead, the screen must be completely cleared before redraw, which is veeeery slow or parts of the screen must be painted over with the background color.

After some experiments, I call the painting functions two times: 1. with the background-color – to overwrite exactly the previously painted lines with the background color, before re-painting moved objects. This approach works fast and the refresh is invisible.

Share

Joypads –> Arduino

By TeK, January 2, 2010 18:25

New Thumbstick

Do you have an old analog PS1 / 2 controller or a PC joypad? Or an used joystick with the old soundcard connector?

They work great as inputs for an Arduino! In fact, they are just two potentiometers, mounted on two axis.

When you open the case, you probably will find the potis mounted on a board, which includes all necessary connections. If you are lucky, you can use the existing cables on that board:

  • 2 outer pins of each poti are connected to + and – 5V
  • center pin changes voltage, depending on poti- resistance / position

Simply connect the power circuit to Arduino +/- voltage pins and the center pin to one analog input and analogRead() will read the values almost like a poti:

  • center position:  ~ 500
  • full down:  ~0
  • full up:  ~1023

The potis are often not so accurat, but you can easily implement some tolerance in software,

if the values are too much shaking

Code:

int potPinX = 1;
int potPinY = 2;

int valueX = 0;
int valueY = 0;

void setup() {
  Serial.begin(9600);          //  setup serial
}

void loop() {

  valueX = analogRead(potPinX);
  valueY = analogRead(potPinY);
  Serial.println(valueX);
  Serial.println(valueY);
}

.. and you have the X /Y axis values stored in variables.
+ output to serial console via USB for debugging.

Share

MirrorBot Hardware Interface — Version 2

By TeK, November 25, 2008 05:52
MirrorBot v2 + hardware control knobs

MirrorBot v2 + hardware control knobs

This version is enhanced by real hardware inputs:

2 potentiometer knobs control speed (movement interval) and current program.

Additionally Program 0 adds a special manual mode to control the servo positions directly with the knobs.

Now the system is really useful as Live instrument, because you can inter-act directly with the music and change the posistions or programs matching to breaks and changes  in the music.

An old PS/2 keyboard cable was used to connect the mirror “stations” to the controller box.

Arduino in a box + knobs + external power for servos

Arduino in a box + knobs + external power for servos

The cable length can be increased by plugging more PS/2 cables between – they are/were common for KVM monitor/keyboard switches.

Now the mirrors and beamers can be placed far away from the “remote” controller box, which can also run autonomously without computer connection and just an external powerplug.

For live visuals, we still use the software interface to display the current values like angles, speed and program settings,

but the knobs as a real hardware interface ‘feel’ much better than keyboard presses on a netbook :-)

MirrotBot V2 - Speed + Prog Knobs

MirrotBot V2 - Speed + Prog Knobs

Share

MirrorBot Moving Projections System

By TeK, June 8, 2008 05:23

Mirror Bots .: moving visuals projections – standalone & Linux GUI controller

This is a robotic system to move VJmix projections all over the walls.

Video: MirrotBot in Action Köpi, Berlin 11.2008YouTube Preview Image

Beamer projection reflection on mirror

Beamer projection reflection on mirror

Mirrors are mounted on servo motors to rotate them in front of dia projectors or beamers. This way, the projections are moved across the walls and the ceiling of the room.

A microcontroller system, connected to a netbook, is used to control the mirror-servo-unit movements.

“Hotspots” are defined to project on the best spots on the walls of the location and create an impressive light show of moving rays and projections on all walls and screens.

1.prototype live action with diaprojector & beamer

1.prototype live action with diaprojector & beamer

This system can be installed in rooms of any size.

It is required to use projection glass or there are double projections and very unsharpened results. The beamers must be powerful to show bright images also on the must distant walls. In big rooms, the projections are really big, so the 2 video mixes can work together as moving textures or moving characters.

The proof-of-concept system was first used by Headsquatter Live Visuals in Berlin @MIKZ – Suchtfaktor – 27.09.2008 with great success and continuously enhanced and tested live.

Hardware

We use a common, programmable input/output hardware controller to trigger motors: Arduino Dicemilia.

1.prototype live action - only left dia visible

1.prototype live action -- only left dia is mirrored

Two Mirrors are mounted on  servos to move them in front of two video beamers. This first version can move 2 projections with 2 mirrors on one horizontal axis between 40° and 130° – ca.  It  creates distorted projections depending on the current angle, but works very well with various kinds of video mixes. High contrast images and vectorial animations work specially good. By positioning two projections besides each other there appear many interesting possibilities.

Combined with fog machines the rays become visible and the moving beams look like a laser show with real videos.

The servo-mirror movements are synchronized to the beat of the music and many programs can be selected, to move the projections in various patterns.

VJ Live Mix Box: Wiimote - VJ mixer - Arduino Servo Control - Mirror (+ eeePC :) ) - Linux Netbook

VJ Live Mix Box: Wiimote - VJ mixer - Arduino Servo Control - Mirror (+ eeePC :) ) - Linux Netbook

Software

This MirrorBot is controlled by a linux netbook over serial console via USB cable. The prototype is remote-controlled  by a simple software command line. Various keyboard key presses change program, speed, play/pause mode of the attached servo control box. This works quite good during live visuals mixes, with a mini terminal window in front of a TVtime preview screen of the video mixer.

Pictures by Rue23 in MIKZ 27.09.2008 – Suchtfaktor Party ::


more Pix @ 10247.net Logo

Multi projections

Multi projections

Multi projections

Multi projections

Multi projections

Multi projections

Share

Debian and Tabstarter on the OLPC X0

By TeK, April 19, 2008 17:32

YouTube Preview Image
wow, the X0 OLPC looks really nice: a ruggedized mini-notebook.

the sugar desktop looks also very interesting, but at first glance it is too different from typical western computers interfaces to be intuitive for a european.
the home desktop screen is very inspiring, but we wonder: why is it all gray?
does that safe energy? ;-)

it does not offer many programs and those which are installed take long to start.
they are mostly educational software and no games, except a memory.

we have a lot of ideas for this machine.. our tabstarter is already running on a Debian System.

there is a debian project that works on OLPC support and they released an installer.
its relativly easy to get X up and running, but it is slooow.
our tabstarter interface in Python GTK is working and we are testing out some programs now..

Share
WordPress Open Source Blog System
SynOptX Lab Theme