Show Posts
Pages: 1 2 [3] 4 5
31  Community / Exhibition / Gallery / Nice Max5 + Arduino project... finished :) on: June 24, 2011, 04:22:34 am
Design the Media & I have been targeted & approached about a big Max5 installation project for a permanent exhibition

For newbies, I used the Max5 framework provided & edited by those gurus at Cycling 74
Big up to them!

The Museum is: Musée de la Buzine - Maison des cinématographies de la Méditerranée

It involves:
  • 24 systems with OS Windows 7 64bits + 1 server with Windows 2008 server.
  • 1 Gigabit Ethernet Network
  • 7 touchscreen
  • 10 video-projectors
  • 20 rfid readers
  • 7 arduino boards with 8 buttons + 8 ultrasonic sensors
  • 2 multichannel (>4) sound system

I designed the whole system, integrating visuals from a graphic designer, videos from footage makers, sounds from sound designers.

I had to create several tricky systems like:

  • a dynamic subtitler for video (using basic .srt files for easy maintenance & change by the customer)
  • a scheduler (using UDP datagrams to shutdown the whole exhibition at particular hours all along the years & using Wake On Lan UDP datagrams to wake up all in the morning too)
  • a database integration (it provides a system to make Max5 patches knowing what is the language of the visitor’s RFID Card)
  • full network connections to remote control all patches with UDP datagrams (put the installation stand by mode to save energy, etc)
  • specific Arduino firmwares (input reading + output writing)
  • This Museum has been inaugurated by the french Ministry of Culture, 2 days ago.


All infos can be found here
32  Using Arduino / Networking, Protocols, and Devices / Sending continuous data flow Bluetooth or Xbee or ? on: May 25, 2011, 02:11:06 pm
Hi,
I'm working on a prototype.
an arduino would use an accelerometer to track XYZ orientations and would send continuously those triplets to the computer.

I'd like to figure out which hardware you would use for this need.

I want to add I'd use a battery to power supply the arduino (a nano probably)
So maybe, one or the other wireless hardware would save power compared to the other.

My way would be:
nano + BT module + accelerometer XYZ + power supply battery

Any advice about the wireless part ?

Best,
33  Using Arduino / Project Guidance / Re: Supplying a Nano on: May 25, 2011, 09:54:18 am
I'll use it with a bluetooth module (argh, I guess it sucks power)

It must be on for 4 or 5 h maxi (2h would be great!)
34  Using Arduino / Project Guidance / Supplying a Nano on: May 25, 2011, 09:47:09 am
hi there,
hope you're all fine.

I'd like to know the best practices about supplying a Nano to make it autonomous.
I thought about to use a small battery (or more than one) but I'm hesitating because I'd like to provide to the users a system that works with more findable batteries.

any ideas? practices? experiences ?

best,
35  Using Arduino / Project Guidance / Arduino + Memory Card + gps + wifi on: May 19, 2011, 03:03:50 pm
hello,
working on a little demo about arduino and its features, I'd like to use an Arduino with these peripherals:
- wifi module
- memory card slot
- gps module

I found a lot of shield, but what would be your advice ?
I know there is an ethernet shield that provides a microSD slot too.

Does it exist a wifi module with the same memory card slot?

Best regards,
36  International / Français / Re: Construisons un hackerspace à Marseille ! on: May 16, 2011, 12:49:10 pm
semageek,
contacte moi par email
je prévois une réu de cadrage assez rapidement (juin, pas possible avant)
37  Using Arduino / Motors, Mechanics, and Power / Re: I need to mesure a door position & to control the door lock (too) on: May 04, 2011, 04:27:20 am
the main problems were:
- the single quote
- the circuit to supply the door lock

thanks a lot, all works fine now smiley

I'd probably explain all the project here or there, feel free to keep in touch on http://designthemedia.com

38  Using Arduino / Motors, Mechanics, and Power / I need to mesure a door position & to control the door lock (too) on: May 03, 2011, 10:47:17 am
hello,

I need to know if the door is open or not.
Easy with a button.

But at the same time, I need to control the door lock system.
It requires 12v and it only need a little current.
I only need to send 12v for 200ms, and the door lock opens itself.
This part work manually but I need to control it from an arduino via Max5

A guy told me to use a relay to supply the door lock with my
I thought I could use "only" a transistor BD135-like.

So here are my questions:
- I read http://itp.nyu.edu/physcomp/Tutorials/HighCurrentLoads & other schemas, but I cannot find the right wiring for me.
could someone make it for me ?
- Do I really need a relay? or does this transistor could be enough?
- I would like to send a particular bytes ("o" for open..) from Max5 patch to Arduino and I'd like the arduino to compare the bytes received to a value constantly.
here is my sketch:
Code:
  // send data only when you receive data:
if (Serial.available() > 0) {
digitalWrite(doorlockPin, HIGH) ;
delay(1000);
digitalWrite(doorlockPin, LOW) ;
                        Serial.flush();
}
        else digitalWrite(doorlockPin, LOW) ;

The Serial.flush() is here because without it, the Serial.available is everytime >0 after the first byte sent.

I did that because Serial.read() results in a pointer and I cannot compare it...
Could someone help me with that ?


I'm finishing this last system for the museum I'm working with.
It would be so sweet to have some answers.

best,
39  International / Français / Construisons un hackerspace à Marseille ! on: May 01, 2011, 11:32:00 am
https://www.facebook.com/pages/Contruisons-un-hackerspace-%C3%A0-Marseille/154680547932798 est la page qui va servir de point de rencontre virtuel.

http://designthemedia.com/blog/2011/05/01/hackerspace-diy-in-marseille-france/ est le post qui explique un peu le pourquoi du comment local en anglais (l'idée est que les collaborateurs extérieurs puissent aussi comprendre cela)


rejoignez nous si vous êtes du coin, ou pas smiley
40  Using Arduino / Programming Questions / Re: state change detection of multiple buttons on the same board on: March 21, 2011, 02:55:11 pm
yes for the pull resistor
ok for the 0 & 1

I forgot about that :-(

I'll use them from the 3rd (number 2) to 8th

thanks a lot !!
41  Using Arduino / Programming Questions / Re: state change detection of multiple buttons on the same board on: March 21, 2011, 02:48:50 pm
made a mistake in my post
correcting that

I meant: strange flip flop on the 2nd pin, which is the pin number 1 , indeed...

In this prototype, I use digital pin 0 & 1.

sorry
42  Using Arduino / Programming Questions / state change detection of multiple buttons on the same board on: March 21, 2011, 02:37:16 pm
hello,
I need to read a bunch of buttons.

I inspired my code from http://arduino.cc/en/Tutorial/ButtonStateChange
But I altered it to use an array.
Code:
/*
 Sensor reader firmware
 it reads sensorNumber sensors all plugged from the DIN 0 to n-1
  */

const int ledPin =  13;      // the number of the LED pin
const int sensorNumber = 2; // <<< change it

int sensorState[sensorNumber];
int sensorDetectionCounter[sensorNumber];
int sensorLastState[sensorNumber];


void setup() {
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT);    

  for (int n=0 ; n < sensorNumber ; n++)
  {
    pinMode(n , INPUT);
    sensorState[n] = 0;
    sensorDetectionCounter[n] = 0;
    sensorLastState[n] = 0;
  }  
}

void loop(){

  for (int n=0 ; n < sensorNumber ; n++)
  {
    
    sensorState[n] = digitalRead(n);

    if (sensorState[n] != sensorLastState[n]) {

      if (sensorState[n] == HIGH) {
        sensorDetectionCounter[n]++;
        Serial.println("on");
        Serial.print("number of button pushes:  ");
        Serial.println(sensorDetectionCounter[n], DEC);
      }
      else {
        Serial.println("off");
      }
    }
    sensorLastState[n] = sensorState[n];

    if (sensorDetectionCounter[n] % 4 == 0) {
      digitalWrite(ledPin, HIGH);
    }
    else {
      digitalWrite(ledPin, LOW);
    }

  }
}

it doesn't seem to work fine (the digital pin 1 seems to flip flop everytime high & low)

do you think I made a logic mistake?
I'd need to know if my error comes from the code or another (weird) thing.

regards,
43  Using Arduino / General Electronics / Re: best & strongest way to connect arduino for a permanent exhibition on: March 16, 2011, 08:36:53 am
Quote
1) What exactly are you measuring?
I only want to detect a person who cut the ray.
if (distance< D) then trigger something.


Quote
2) How fast is it moving?
It can be fast indeed
but only a walking person, not running.


Quote
3) How often do you need to update the distance measurement?
saying.. every 200ms (considering 2) )


Quote
4) What exactly are the analog and digital sensors you are selecting from
I linked the sharp one in the previous post.

44  Using Arduino / General Electronics / Re: best & strongest way to connect arduino for a permanent exhibition on: March 15, 2011, 07:03:45 pm
hello and thanks a lot
finally, I have the choice to buy analog or digital distance sensor.
I don't know what would be the most safe...
45  Using Arduino / General Electronics / Re: best & strongest way to connect arduino for a permanent exhibition on: March 15, 2011, 07:41:56 am
KE7GKP,
here is the datasheet of my sensor.

About wires, I don't know, it one of my questions smiley
About distance, it could be around 5m maximum.

Pages: 1 2 [3] 4 5