Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Portugues / Sensor de "Deslizamento de mão" on: April 08, 2010, 06:55:33 pm
Pessoal,

Sou novo por aqui e estou terminando minhas primeiras brincadeiras com o Arduino.



Eu preciso construir um caixa horizontal onde um usuário passara a mão por dentro dela  e onde ele para por mais de 1 segundo uma determinada variável será selecionada.

Essa peça  é  em madeira vazada com borda de 2cm com 80cm de comprimento por 12cm de altura 10cm de profundidade.

Essa variável será então enviada via web para um CMS que irá lê-la e causar um efeito numa tela de LCD alguns segundos após o usuário ter interagido com essa peça :-?

No desenho, fica mais fácil de vê-la (posso mandar por e-mail para quem se interessar)

Gostaria de validar algumas das minhas escolhas com o pessoal mais experiente em Arduino :-?

No teto dela tenho 8 LED que a iluminam num efeito de 'acqua'. Acredito que consigo simular isso em tons de azul com a sketch que ensina a fazer o efeito de fogo com um LED RGB. Esse efeito é permanente e serve para chamar a atenção das pessoas e encoraja-las a passar a mão pela fenda iluminada de 10cm.

Escolhi um sensor "PING Ultrasonic" que na verdade fica instalado numa das pontas da caixa ( imaginando uma peça horizontal) junto a placa de Arduino. Assim quanto mais próximo do sensor estiver a mão do usuário ele me retorna uma var=A e quanto mais longe uma var=Z.

Minha idéia é que a mão do usuário cause o atraso no retorno do som para o sensor e aí o Arduino consiga saber a distância linear entre a mão e o sensor.

No Arduino ele tem uma plaquinha que o coloca na Web provevelmente WiFi. Assim ele exporta o valor dessa variável para um Django server que registra ela num campo X no banco de dados.

Um outro webservice lê essa variável e se encarrega de causar o efeito nessa tela de LCD.

Claro que mais pra frente eu vou ter muito mais dúvidas nessa programação toda, mas o que me tira o sono agora é de fato saber:

1. O sensor PING Ultrasom é sensível a mão de uma pessoa, ou o retorno   atrasado precisa de uma barreira mais sólida para ser percebido?

2. Qual a melhor forma de ligar esses 8 LEDs do teto se forma a criar um melhor efeito " acqua" dentro da caixa? Corro o risco deles queimarem minha plaquinha do Arduino?

3. A programação do Arduino para fazê-lo logar no Django é muito complexa ou é algo razoável de se pensar?

Valeu pessoal...hora da janta!
2  Forum 2005-2010 (read only) / Troubleshooting / Re: Ping Ultrasonic Sensor Sensitivity on: April 13, 2010, 05:07:29 pm
I'm sure it is smart to test an application like this
But It's kind of hard to say that density is not an issue at all...

I'll work on and try to tab some data about this...

I'm still very open to new comments
3  Forum 2005-2010 (read only) / Troubleshooting / Ping Ultrasonic Sensor Sensitivity on: April 08, 2010, 07:01:07 pm

A hand of an adult shoveled in a 3 in (high) 4in (deep) slot, where you find a PING Ultrasonic sensor in one end, is enough barrier to cause a delay on the return and so a new value for a distance?

How solid a barrier should be to be perceived by such sensor?
4  Forum 2005-2010 (read only) / Troubleshooting / Publishing a variable from a sensor to a website on: April 08, 2010, 07:04:08 pm
I have to publish a variable into a website powered by Django CMS software.

This CMS is being used as a middleware where a XML is exported into another application cascading the final effect into a display

Where can I find a good tutorial on this? :-?
I'm a lousy programmer... unfortunately... I'll make it one day!

Any hint on this is really appreciated! smiley-wink
5  Forum 2005-2010 (read only) / Interfacing / Re: Mini USB Keyboard for Arduino on: April 22, 2010, 10:09:30 am
Sorry if I wasn't clear enough at first!  smiley-sad

The scenario is this... I have this silly Flash running in my Mac. When I press 1 something happens in the Flash animation, and so it does when i press 2,3 and 4... for different animations comes alive.

I want to build nice buttons so I got a Arduino 168 to manage this. I have he art o the buttons finished, it's not a regular keyboard, it is a special keyboard based on Arduino.

So, my question regards to get me an idea of a sketch that will put my 4 buttons on the breadboard to work just as if they were number 1,2,3 and 4 on a regular keyboard, thru the very same USB A-B connection I use to power up my Ardy board!
6  Forum 2005-2010 (read only) / Interfacing / Mini USB Keyboard for Arduino on: April 19, 2010, 04:25:43 pm
Hello guys,

I've built a silly program in Action Script (Flash) where I launch 4 different actions by striking 1,2,3 or 4 keys on my keyboard...

I would like to map this commands off my Arduino and breadboard buttons

I'm a weak electrician and I have no idea how to wire this up nor how to start a good sketch for my Arduino...but I'm improving... and working hard!

I went through a few posts encouraging me to use PS/2 adapter, but in fact I would like my buttons to be recognized as buttons...just as if it was a little keyboard with 4 keys only. But the talk wasn't really in my level of expertise

I guess I need a library to import into my sketch and ideally the very same USB cable I use to send serial data my Mac I would make it behave as if I was striking the numbers..the Action script will do the rest.

Any good hint


7  Forum 2005-2010 (read only) / Interfacing / Re: Arduino as PS/2 Keyboard on: April 19, 2010, 03:33:27 pm
Hello friend,

How far did you go with that?
I have a very simple app on my desktop that I would like to trigger off 4 buttons on my Arduino... Actions are already mapped to keys like 1,2,3 and 4...

Still I have not idea not even on how to build the circuit! Any hint?
8  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 30, 2010, 05:31:47 pm
Hello guys!

I'm not too sure what went on but after a few updates (not up to the 10.04 Lts)
FIAT LUX

My USB ports started blinking! I've got everything running now! ;D ;D ;D
9  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 28, 2010, 02:06:56 pm
Hey that was something on the path of fixing it

I did with -c parameter and had a bunch of things clearing
Then I plugged and with a another dmesg I had the following:

[16271.592581] usb 2-1: new full speed USB device using ohci_hcd and address 3
[16271.650108] hub 2-0:1.0: unable to enumerate USB device on port 1


then I unplug and had:

[16271.592581] usb 2-1: new full speed USB device using ohci_hcd and address 3
[16271.650108] hub 2-0:1.0: unable to enumerate USB device on port 1


Still tried the IDE but the Serial Port was still disabled

I have installed the Windows version of the .exe thru Wine, and even though I got a poor look of IDE's GUI it found the port of my board on COM 1! :-X



10  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 28, 2010, 10:20:40 am
No! I don't build my own kernel
I downloaded the ISO image from the Ubuntu 9.1 version avalible on the site.
The only extra is that this time I went for the 64 bits!
11  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 27, 2010, 06:03:07 pm
Yeah!
The arduino lights up fine.
I can push the sketch from my Mac ( at the office) into my Arduino, but when I try to do the same on my notebook Ubuntu 9.1 the Arduino runs fine...but I cannot upload a different sketch to it

The Tools>Serial Port is disabled in the IDE smiley-wink
12  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 27, 2010, 05:25:12 pm
Still... even when it's plugged... nothing under /dev/
The only usb references under /dev/  are:

usbmon0, usbmon1 and usbmon2 :-[

I have tty from 0 thru 60 and ttyS0, ttyS1, ttyS2 and ttyS3 (and all other ports that are not really related to this issue)

I have tried all my USB ports physical ports, but no sucess...
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 27, 2010, 04:42:11 pm
Hello Ray,

I have a HP DV 9000 notebook and I'm was comfotable with the "apt-get install" Arduino and all the libraries

Under /dev/ there are many tty, but when I "ls" I see many tty's port but no ttyUSB! It seems my Ubuntu Serial Ports are stuffed somehow...

Any extra hint?

14  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 23, 2010, 02:52:36 pm
I've installed the Arduido IDE thru the apt-get comand
Everything went fine..I can open up sketches, but the Serial Ports port cannot be selected...Sad!

I've rebooted it a few times... no success...:-(
15  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: arduino tools-serial menu item disabled on: April 23, 2010, 12:50:15 pm
Hey Veronica,

How did you work this out?
I'm using Ubuntu 9.1 but on my IDE Serial Port is disabled!!! :-(
Could you work this out?
Pages: [1]