Mostrar mensagens com a etiqueta Arduino. Mostrar todas as mensagens
Mostrar mensagens com a etiqueta Arduino. Mostrar todas as mensagens

quarta-feira, 19 de novembro de 2008

arduino tutorial

confeccione arduino serial

confeccione arduino serial
tutorial

LilyPad Arduino


welcome to LilyPad Arduino!


The LilyPad Arduino is a set of sewable electronic components that let you build your own soft, interactive fashion. To get started, snag a LilyPad deluxe kit, which has all of the available LilyPad sensor and actuator boards. Or, get only the pieces that you want, probably at least a LilyPad mainboard, FTDI board, power supply, and a spool of conductive thread.

Work through the tutorials here to learn how to build all sorts of soft interactive stuff...perhaps fortune telling shirts, jackets that sing when you're squeezed or turn signal equipped cycling wear? Enjoy!

Note: for a more general introduction to electronics, programming, and the regular (non-LilyPad) Arduino, see ladyada's excellent tutorials.

segunda-feira, 10 de novembro de 2008

tutorial - flash e o microcontrolador "Arduino"

sketchCode

tutorial - flash e o microcontrolador "Arduino" |


Introdução



Este breve tutorial tem como objectivo demonstrar como podemos criar interacções entre o software "adobe Flash" e o micro-controlador "Arduino".

Para tal efeito criei um "movie clip" com alguns botões que permitem ligar/desligar um LED conectado à placa.


São necessários 4 requisitos técnicos:


1 - Prévia programação do micro-controlador "Arduino". Este, per si, enviará informações via USB através de uma porta de série.

Destaco os seguintes recursos: Standart FIRMATA 334; Stephen Wilson.



2 - Servidor "Serial Socket". Este servidor colecta a informação da porta de série e envia através da rede. Geralmente o SSS (serial socket server) é utilizado para comunicação em qualquer software (flash, processing, etc.).
recomendo este Serial Server "serproxy". (É necessário configurar alguns parâmetros. Lêr atentamente o ficheiro "readme"). É muito robusto, rápido e permite o envio e recepção de informação.


3 - Biblioteca Flash Socket. Código em ActionScript para conexão e interpretação de informações vindas através da rede socket. Este tutorial serve-se da biblioteca as3Glue .
Outros exemplos de bibliotecas:
"arduino.as Actionscript class v1";
"SS6 Serial Server".


4 - O movie em Flash da sua autoria capaz de criar interacções bidireccionais entre o micro-controlador e o software.


Materiais necessários:


1 - LED




"Arduino"




Montagem:





Instruções:

1 - Conectar o micro-controlador à porta de USB do computador. De seguida, fazer o upload do código Standart Firmata para o micro Arduino.

2 - Montar o LED no pino 13. Ter em atenção que a extremidade mais comprida do LED deve ser ligada ao pino 13 e a outra ao ground (GND) da placa.

3 - Abrir o ficheiro serproxy.cfg e ajustar as configurações de acordo com a sua máquina.

ex:
comm_baud = 57600
net_port4 = 5334
Poderá obter estas informações em "hardware settings" do windows.

4 - Abrir a aplicação serproxy.exe. Ficará assim disponível enviar e receber informações entre o Arduino e o CPU.

5 - Abrir o adobe Flash e configurar Actionscript 3.0 Settings por forma a reconhecer o caminho da biblioteca as3glue.

ex: "edit/preferences/ Actionscript 3.0 settings" - Introduzir o caminho onde está situada a respectiva biblioteca "as3Glue"


6 - Abrir o ficheiro "adobeFlash_arduino_LED.fla, crtl+Enter para compilar o ficheiro...


7 - Pode agora interagir com o LED :).


Recursos deste tutorial [+]






Vídeo / demonstração:




Arduino - Lojas, Foruns e Outras páginas

Olimex Europe

Gtronica Main

Blogs about: Arduino

Blogs about: Arduino

Arduino Forum Portugues

YaBB - Yet another Bulletin Board

Laboratório - Arduino

Self Sufficient Arduino Board

introSelf Sufficient Arduino Board

This is a self sufficient Arduino board, which is powered by harnessing solar power and using a 9V rechargeable battery. It is perfect for anyone who is interested in doing Arduino projects that do not require a computer or any power supply. You can take this to the most remote places for any project.

What you will need:
9V Rechargeable battery
Solar cells (About 11V)
1N4001 diode
100uf 10V capacitor
Arduino board
9V battery connector
Power connector (to connect to the Arduino board)


circuitDiagram.jpg

step 1Setting up the Arduino board

This is probably the simplest step (please use the schematic as reference for wiring before doing anything else).

Change the jumper of the Arduino board to "EXT"

arduino2.jpg

step 2Understanding the components

This step would require you to have a basic understanding of the components and their polarities. This is probably the toughest bit of the setup. For easier understanding, I have used red wires for positive and black wires for negative.

capacitor.jpg

step 3Getting the power connector ready

Solder the positive and negative wires to the power connector as shown in the picture. The power connectors come in different diameters, so do choose the correct size to fit the Arduino board.

connecter2.jpg

step 4Wiring up the circuit

This shows the circuit I have soldered. I have made it bigger for easier understanding. It can actually be made much much smaller (half the size or even smaller).
You can download a more detailed document on this from my website at:
http://www.p2man.com/arduino/self_sufficient_arduino.pdf

You're done! Now you can break away from power points and even have Arduino projects out in natural environments without a problem.

final_circuit2.jpg

Arduino user projects

:: Exhibition :: - The place to share and show off projects!

Arduino user projects LIST:

Arduino - Páginas de Entusiastas

:: People / Groups and Sites :: (this is nowhere near done)

The Arduino team (in alphabetical order)

The Extended team (in random order)

Arduino users around the globe Persons (in alphabetical order):

Organisations (in alphabetical order):

Workshop Attendees

Rob Faludi - Arduino Projects

Electrónica

Donde Vem

Downloads

Murros no Estômago

Tecnologia IG Brasil

Baixaki - Downloads

Technow