background preloader

Arduino hacks

Arduino hacks
Related:  ProjectsHack

Internet Radio player using a NSLU2 nas-device Inspired by MightyOhm's ( wifi radio, I started my project using a nslu2 "slug" as the basis for an internet radio a few weeks ago. I wanted to build a tuning device so I could listen to radio without using any pc, monitor or keyboard. - Tuning as well as setting the volume should be done the old fashioned way by turning a knob.- Seeing the station name on a display would be nice, but not a must- Device should have a built in amp with a speaker (sound quality not important at the beginning)This is how the "Slug Radio" looks at the moment: OS installation========= I installed SlugOS 5.3 beta on a 4 GB stick (excellent description on how to do that in ... ugOSSystem)Installed a Delock USB 7.1 sound adapter (12,- Euros)Made soundcard work: MPD and MPC (mpc is from an "optware feed". mpc play nn #!

ShiftOut Learning Examples | Foundations | Hacking | Links Started by Carlyn Maw and Tom Igoe Nov, 06 Shifting Out & the 595 chip At sometime or another you may run out of pins on your Arduino board and need to extend it with shift registers. How this all works is through something called "synchronous serial communication," i.e. you can pulse one pin up and down thereby communicating a data byte to the register bit by bit. The "serial output" part of this component comes from its extra pin which can pass the serial information received from the microcontroller out again unchanged. "3 states" refers to the fact that you can set the output pins as either high, low or "high impedance." Here is a table explaining the pin-outs adapted from the Phillip's datasheet. Example 1: One Shift Register The first step is to extend your Arduino with one shift register. The Circuit 1. Make the following connections: GND (pin 8) to ground, Vcc (pin 16) to 5V OE (pin 13) to ground MR (pin 10) to 5V 2. 3. Circuit Diagram

Constantan Un article de Wikipédia, l'encyclopédie libre. Le constantan est un alliage métallique constitué de cuivre et de nickel. Sa masse volumique est de 8,91 Sa résistivité est quasiment indépendante de la température. Cette caractéristique n'existe que pour une proportion très précise des deux métaux (55 % cuivre, 45 % nickel), raison pour laquelle le constantan lui-même ne fut découvert qu'au XXe siècle alors que cuivre et nickel sont des métaux communs. Joint à un autre métal (fer, cuivre) ou alliage (chromel), il est utilisé dans certains thermocouples comme capteur de température.

Drive a webpage in real-time using Arduino, SensorMonkey and Processing.js Remote visualization of real-time sensor data. This tutorial describes in detail how to use the free SensorMonkey service to push real-time sensor data from an Arduino to a webpage for visualization using Processing.js. No server-side coding or Ethernet shield is required. After configuring the Arduino to sample sensor values, I use SensorMonkey to publish the data live over the Internet in real-time (Disclosure: I co-founded the company developing SensorMonkey). UPDATE 26-06-2012: Non-Windows Users As an alternative to Bloom for non-Windows users, I have uploaded a Processing sketch, named SensorMonkeySerialNet, to our GitHub account.

The World Famous Index of Arduino & Freeduino Knowledge 3D Laser Scanner 3D Laser Scanner Though my NXT 3D probe scanner was quite successful, it suffered from a big drawback: it was slooooow! I then discovered DAVID-3D laserscanner. This software gem allow to reconstruct 3D shapes with a line laser and a webcam! Even though you can sweep the laser line on the scanned object by hand, you'll get better scan quality with a very regular and low speed sweep. Video Link to YouTube video Programs LDraw gallery Here are a few LDraw parts that I created with the help of laser scanner. From object to LDraw Here is a very quick overview of the long and winding road going from physical LEGO parts to its LDraw model. Choose the part to model. If you have the full version of DAVID, you may use its ShapeFusion tool to reconstruct the object If you have only the free version of DAVID, ShapeFusion doesn't allow you to save the reconstructed result. One problem with scanned parts is that the edges are not as sharp as they should be, because

Wise time with Arduino Arduino to Twitter over USB - There are many reasons to want a project with the ability to provide status feedback. One useful method for providing feedback is by posting updates to Twitter. This enables one (or many people) to monitor a system from anywhere. It is even possible to, then, receive SMS updates to your phone. A simple Google search shows that there is plenty of documentation available for using an Arduino with an ethernet shield. For this tutorial, I will be using the Python programming language to help my device post to Twitter. Functional Overview The basic software flow of this project (sans configuration) is shown in Figure1. Figure1: Functional Flow Diagram Observe that the Arduino prints status updates to the serial port. Twitter APIBefore your project can integrate with Twitter, you must register your application and get an API key. Consumer KeyConsumer SecretAccess TokenAccess Token Secret This information will be used in the Python code, later. Serial.println("This is your status message");

Power Functions : le nouveau système électrique LEGO Présentation des éléments Power Functions La famille Power Functions est composée d’un boîtier de piles, d’une télécommande, d’un récepteur, de moteurs et d’un nouveau système de prises électriques et de fils. Faisons ensemble le tour de ces éléments. Le boîtier de piles fournit l’alimentation électrique au système. Un indicateur lumineux vert indique l’état de marche. Les moteurs ont une grande réduction interne, tournant doucement et délivrant une grande puissance. Le petit moteur possède des tenons mais également des fixations Technic comme illustré sur l’image ci-dessous. Le moteur XL est seulement "studless" (pas de tenon) et son diamètre de 5 tenons. La télécommande et le récepteur fonctionnent ensemble : la télécommande envoie des signaux infrarouge au récepteur. Le récepteur possède deux sorties, codées en rouge et bleu, correspondant aux deux boutons de la télécommande. Tout comme les moteurs, le récepteur est alimenté par un câble attaché. Volume de l’enveloppe du moteur.