Show Posts
Pages: 1 [2] 3 4 5
16  Using Arduino / Project Guidance / Re: About proximity sensors on: February 16, 2012, 09:08:06 am
It is like a pool game, I need to know when the ball falls inside the hole. I guess the balls will be of different colors made of acrylic, wood or metal.
17  Using Arduino / Project Guidance / Re: About proximity sensors on: February 16, 2012, 08:51:53 am
It has to detect when an object is close to the sensor. Different objects but same shape.
18  Using Arduino / Project Guidance / About proximity sensors on: February 16, 2012, 05:58:03 am
Hey guys,

I'm starting a new project which involves a proximity sensor that has to detect a range from 1cm to 5cm. Which could be the best option to go for?

19  Using Arduino / Interfacing w/ Software on the Computer / Re: Conflict between Proxy server and Apache on: February 03, 2012, 08:14:50 am
Finally I solved the problem. The reason was that tinkerproxy is running at port 5334 and localhost is running at port 80. So If I embed a Swf inside a html at localhost folder, the localhost is already using http port so flash cannot listen to port 5334 at the same time.  Well in fact it can, but the tinker proxy doesn't know where to send the data through. So I've put the project in a hardisk and I've put my php file in localhost folder and then I've just called the php with a global direction (http://localhost/arduino/savephp.php) and it worked! smiley

I just wanted to let it know if someone else has this problem.

20  Using Arduino / Interfacing w/ Software on the Computer / Conflict between Proxy server and Apache on: January 29, 2012, 03:39:51 pm
Is it possible that could exist any conflict between Tinkerproxy (a server that is a bridge between serial communication and XML socket for Adobe Flash) and Apache (Php,Mysql). Because if I run Tinkerproxy, apache doesn't work. And if I run Apache, tinker proxy doesn't work neither. Here you have what I want to do.
Thank you guys!
21  Community / Exhibition / Gallery / Re: Mind control with arduino on: January 24, 2012, 06:11:04 pm
The guys there explain, that the ball is moving randomly up and down. The rest is simple psychology. If you tell people they are able to control the ball with their brain, the might believe it. But as you can see in the video, the MindFlex is also working with a slightly wet towel.

Maybe that's true, I don't know. But what I know is that MindFlex HeadSet works perfectly. When you start to think a lot your LOW BETA brainwaves (13-17Hz) turns on. And when you get relaxed your LOW ALPHA brainwaves turns on.

Have you ever tried on of this headsets?

I think that you should need to close your mouth before it.

Or maybe you should believe that earth is gonna finish by the end of this year. ('cause a lot of videos online are saying this....)
22  Community / Exhibition / Gallery / Mind control with arduino on: January 11, 2012, 11:57:20 am

On Christmas 2010, I saw Mindflex™ advertised on TV. Mindflex is a table top game that consists on a headset that reads your brainwave activity. The objective of the game is to move a light foam ball around an obstacle course. When you concentrate, the ball rises on a cushion of air, and when you relax the ball descends.

The objective is to navigate the ball through a mind-bending obstacle course as quickly as you can.
Once we played around with it for a while we couldn’t resist thinking ways to hack it. We came up with many ideas crazy involving electric shocks, moving radio controlled toy cars, shifting lights, screen based apps…
After a lot of thinking we decided to create an art piece that illustrated the power and potential of the device and how mind can control matter (with the help of some electronics, of course).

The project consists on inflating a balloon with the power of the mind. Concentrate and the balloon inflates, relax and it deflates. The balloon is inflated with smoke so that when it pops you can see it vanish in to the air, to represent your thoughts disappearing in the air.

Project by Joan Planas and John Revel.
Hope that you like it!

23  Topics / Interactive Art / SPERMATRON: A sperm race game on: December 02, 2011, 02:57:18 am
Yesterday it was The WORLD AIDS DAY. For this project, me and John Revel ( decided to help NAT (National AIDS Trust) by raising money on the World Aids Day, with an interactive event in a big disco at Lincoln (United Kingdom) by getting people to compete on our Sperm Race Game.

The project consists on a 5 player game where players have to race each other shaking a specially made controller. Each player is represented by a 3D little sperm pod that has the colour of his controller. The harder you shake the controller, the faster the sperm pod moves. This controller was made of 2 push buttons and a weight between them.
The winner is the first one to reach the top of the screen. People will had to make a donation to play. It turned out really well; we had a lot of support from the Engine Shed (the disco), the University of Lincoln and from NAT.

The project was made with Arduino, Flash, Photoshop, Maya and After effects.

24  International / Español / Re: ¿Cual es la mejor web para comprar piezas? on: October 24, 2011, 06:56:55 am
Yo suelo comprar en ya que tienen muchisima gamma de productos de electronica pura como resistencias, transistores a muy buen precio, a parte de todo lo referido a arduino.
25  International / Talleres, Encuentros, ... / Curso de Arduino en la Universidad de Girona on: October 24, 2011, 05:58:03 am
Buenas a todos, os dejo este link porque creo que es interesante.

A partir del 7 de noviembre se va a dar un curso de ARDUINO en la escuela de realizacion audiovisual i multimedia (ERAM) desde zero, en Girona. El curso durará 24 horas.Esta abierto a todo el mundo. Se van a establecer las bases del diseño interactivo i de la computacion física aplicando Arduino. Creo que merece la pena echarle un vistazo.

Tengo el temario exacto que darà. Si quiereis lo puedo postear.
26  Using Arduino / Interfacing w/ Software on the Computer / Re: HELP with arduino flash and php :S on: October 03, 2011, 02:50:03 pm
Here you have the code. But this code works perfectly with flash. The problem is about host adress and ports.

int pinFum = 11;
int pinAlarma = 12;
int pinSirena = 13;
int pinUltraso = 9;
int pinPes = 8;
int pinLaser = 7;
int pinFoto = 0;
long valfoto;
unsigned long rebot = 0;
unsigned long valor = 0;
int valPes;
int t = 1000;
int tempsDeCanvi,tempsDeCarregaLaser,tempsTornada = 0;
int distancia,comensar,agafat,hasGuanyat,hasPerdut,final = 0;
int i;

void setup () {
  Serial.begin (19200);
  pinMode (pinAlarma,OUTPUT);
  pinMode (pinFum,OUTPUT);
  pinMode (pinSirena,OUTPUT);
  pinMode (pinPes,INPUT);

unsigned long ping(){
   //inicialitzem el sensor
 pinMode(pinUltraso, OUTPUT);
 digitalWrite(pinUltraso, LOW);
 digitalWrite(pinUltraso, HIGH);
 digitalWrite(pinUltraso, LOW);
 //Convertim el pin digital de Sortida en pin digital d'entrada.
 pinMode(pinUltraso, INPUT);
 //Llançem una pulsasio
 digitalWrite(pinUltraso, HIGH);
 // escoltem el rebot de la pulsacio
 rebot = pulseIn(pinUltraso, HIGH);
  //convertim el rebot en centimetres
 valor = (rebot / 58.138);
 return valor;
 void sirena () {
   for (i=0; i<5; i++) {
   digitalWrite (pinSirena,HIGH);
 void fum () {
  digitalWrite (pinFum,HIGH);
  digitalWrite (pinFum,LOW);
void loop () {
  //Quan has guanyat
  if (hasGuanyat == 1 && final == 0) {
    //Arduino Sends to serProxy '3'
    final = 1;
  } else if (hasPerdut ==1 && final == 0) {
      //Arduino Sends to serProxy '2'
    final = 1;
    digitalWrite (pinAlarma,HIGH);
  } else {
    valPes = digitalRead (pinPes);
    // Si ja sa començat el joc, s'arriba a l'estand i s'agafa l'objecte
     if (valPes ==0 && comensar == 1) {
      //Arduino Sends to serProxy '4'
      if (tempsDeCanvi>500) {
      tempsTornada = 0;
      hasPerdut = 1;
      } else {
      //ha agafat l'objecte
      agafat = 1;
      tempsDeCanvi ++;
    //Si l'objecte es al seu lloc
    if (valPes == 1) {
      distancia = ping();
    //Si detectem que l'usuari comensa a jugar per primer cop
      if (distancia < 50 && comensar == 0) {
        comensar = 1;
        tempsDeCarregaLaser = 0;
        digitalWrite (pinLaser,HIGH);
        //Arduino Sends to serProxy '1'
      if (comensar==1) {
        if (agafat==1) {
          tempsTornada ++;
        //marge de temps pq el laser doni tota la seva potencia
        if (tempsDeCarregaLaser > 100) {
          for (int i = 0;i<500;i++){
                valfoto +=  analogRead (pinFoto);
          valfoto = valfoto/500;
          //Si l'usuari toca el laser
          if (valfoto<100) {
              hasPerdut = 1;
        } else {
          tempsDeCarregaLaser ++;
      // Si s'ha arribat a la linia de meta i es te l'objecte a la ma
      if (distancia<50 && comensar == 1 && tempsTornada >50) {
          digitalWrite (pinLaser,LOW);
          hasGuanyat = 1;
      tempsDeCanvi = 0;

27  Using Arduino / Interfacing w/ Software on the Computer / HELP with arduino flash and php :S on: October 03, 2011, 01:15:00 pm

I'm gonna try to explain my problem 'cause is a bit complitated.

I made an application with Flash that connects to PHP and send some data to MYSQL. To connect to php I used Apache through the IPadress
Then I connected as well flash and Arduino trough serProxy with the IPadress  So, Arduino send some data to flash. Everything works fine, if is not all together at the same time. For example, I can read signals from arduino if the Apache is closed or I can send data to MYSQL if serProxy is closed. But not using both at the same time. Then I tried to upload the flash program into a web server to work without localhost and to leave free the ipAdress just for the serProxy.

When I open the aplication trough mozilla (because now is on the net), the Arduino connects for a second and then it disconnects automatically.

I don't know how to solve this. I guess that is a problem of hosts.

I hope that someone gonna have an idea.

Thank you

28  Using Arduino / General Electronics / Re: Decreasing the voltage in Arduino on: September 20, 2011, 04:11:46 am
Thank you for al your replies. I've never thought that it could be that difficult. The laser pointer is still working. I took a look in that website and as I am not very good in electronics, I changed the way I will power the laser.

I will keep on powering trough 2 AA batteries but I will turn on and off trough a relay controlled by arduino. In that way I make sure that the voltage and everything remains the same.

Once again thank you for all your replies.

This forum ROCKS!!!

29  Using Arduino / General Electronics / Decreasing the voltage in Arduino on: September 19, 2011, 02:03:12 pm

I have (I guess) I simple problem about electricity. I want to power a laser pointer through Arduino. This laser pointer works at 3V and 50mW. I am going to explain what I have done to solve the problem (but obviously is not working). Sorry if my english is not enough correct.

I put and OUTPUT pin on HIGH and the voltage is 4.9 V which is 5V. Then I thought that putting a resistance in front of the laser pointer make decrease the voltage until 3V. I counted the resistance in that way:

Voltage of decrease = Voltage of Arduino - Voltage of laser -> V = 5 -3 -> V= 2V

W = V * I -> 0,05 = 2* I -> I = 0,025 A
R = V/I -> R = 2/0,025 > R = 80 Ohms

So I put a 80 resistor in front, but it seems that the resisitor is not decreasing the voltage, and the laser pointer doesn't work.

Any suggestion?

Thank you smiley
30  Topics / Interactive Art / High Speed photography with Arduino on: March 17, 2011, 07:18:18 am
Hey community!

Wouldn’t it be great to freeze time at the exact moment to see a rain drop create splash? Every day little things like this surround us and most of the time we don’t even realize, most of the time because they happen at such a high speed we can’t see them.

We decided to rig up a sensor that would detect the exact moment when the drop created the splash. We pointed a laser light at a Light Dependent Resistor so that it would read its maximum value. As soon as the drop would cut the beam, the LDR would read a different value and that would trigger the picture. But the problem is, it happens at such a high speed, the camera’s shutter didn’t have time to operate. To fix that we did the experiment in a dark room, and set the camera in “bulb” mode, which means the shutter opens as long as the button is pressed. Then it was a case of rigging it up to the flashes and we had it.

The procedure was: lights off, camera on, FLASH!, camera off, lights on, WOW!

We did the same for the balloon by setting up a microphone that would pick up the peak when the balloon popped, triggering the picture.

We had a great time, made a real mess but definitely ended up with some really cool pictures!

Here I leave you the video of how we did it. I hope you'll enjoy it!

Pages: 1 [2] 3 4 5