Stage PEIP: Difference between revisions
Jump to navigation
Jump to search
(→PS2) |
|||
| Line 35: | Line 35: | ||
==PS2== |
==Machine à écrire PS2== |
||
Matériel |
Matériel |
||
* Clavier PS2 |
* Clavier PS2 |
||
Revision as of 07:49, 12 May 2011
Boite à idées pour le stage PEIP
Projets Processing + Arduino
Préliminaires
- installez l'environnement de développement Processing
- installez l'environnement de développement Arduino
- branchez la carte Arduino Uno en installant éventuellement le pilote
Jeu de la vie (conway) interactif
Nunchuk Manette pour deplacement entre cellule A => tue B => crée
Projets Arduino seul
- PingPong Clock, PingPong Game Score Display, ...
- How to build a ping-pong ball display http://hackaday.com/2011/01/31/how-to-build-a-ping-pong-ball-display/
- http://www.dealextreme.com/p/14000mcd-10packs-white-5mm-led-1105
==
Nunchuck + servomoteur
Exemple de code : File:NunchuckServo.pde.txt
Mailbox
- iMailbox (Didier Donsez)
Machine à écrire PS2
Matériel
- Clavier PS2
- Graphic LCD 84x48 - Nokia 5110 ?
- Twitter depuis Arduino ?
Lien
- http://www.arduino.cc/playground/ComponentLib/Ps2mouse
- http://www.practicalarduino.com/projects/ps2-keyboard-or-mouse
- http://www.arduino.cc/playground/Main/PS2KeyboardExt2
- http://blog.blprnt.com/blog/blprnt/quick-tutorial-twitter-processing
Commande
LOGIN username:password TWIT Top mon stage PEIP
Nokia
LCD EL 1602A
#include <LiquidCrystal.h> // include the library code:
LiquidCrystal lcd(5, 4, 3, 2, 1, 0); // initialize the library with the numbers of the interface pins
void setup() {
pinMode(7, OUTPUT);
digitalWrite(7, HIGH); // set the LED on
lcd.begin(16, 2); // set up the LCD's number of rows and columns:
}
void loop() {
lcd.setCursor(0, 0);
// Regla ("1......8......16")
lcd.print("Saludos a todos ");// Print a message to the LCD.
lcd.setCursor(0, 1);
lcd.print("del Newbie: Heke");// Print a message to the LCD.
}