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!
|
|
|
|
|
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! 
|
|
|
|
|
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!  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?
|
|
|
|
|
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
|
|
|
|
|