background preloader

Cheap Accelerometer with the Wii Nunchuck

Cheap Accelerometer with the Wii Nunchuck
As you’re probably well aware, the wiimote and nunchuck have a vast array of sensors built into them. Instead of buying pre-assembled breakout board for $35, or attempting to solder a tiny surface mount accelerometer, learn to exploit the features of the Wii Nunchuck and have a fully assembled accelerometer, joystick, and pushbuttons for just $12.50 shipped (on ebay). Why use the nunchuck insead of the actual WiiMote? Wiimotes can be about $40 and have a lot of extra features you wont need at the moment. 1. The Nunchuck communicates through 6 bits of data. 2. If you don’t already have it, download the Arduino software (free). 3. By using the serial monitor of your Arudino software (or other serial monitoring software), you’ll see the above output. 4. Watching numbers steam in (step 3 image) is fine and dandy, but sometimes you just need something more to create a truly new perspective. Related:  Arduino projects

Analog VU meter and Clock using Arduino -Use Arduino for Projects This project brings back the old time Analog VU Meter, with the added functionality of a neat looking clock! When you turn off your music the meters automatically swing into to clock mode. Behind it all is the popular and easy to use Arduino. This is my submission for the Make-to-Learn Youth Contest: What did you make? How did you make it? Where did you make it? What did you learn? Step 2: Meter lights This step is completely optional, but I decided to put some lighting inside my meters. First, I took the covers off the meters and drilled two small holes for the LEDs. It is better to use diffused LEDs for this application, but I did not have any diffused white LEDs around. Don’t forget resistors! Step 3: Assembly The assembly is pretty straight forward. Note: If you only want to use it as a clock, you do not need the audio cable or the potentiometer. Wiring goes as follows: - USB red wire (5v) to VCC - USB black wire to GND - Potentiometer to Analog 0 (follow potentiometer wiring) Materials

General Electronics-Tech There are many different forms of digital communication protocols and they differ based on application. I2C and SPI protocol are commonly recognized as ‘small protocol’ relative to such Ethernet, USB, SATA, PCI-E protocol bus and etc that their transmission rate is up to hundreds or thousands Mbits/s. However, we couldn’t forget the purpose of these kinds of protocols bus. ‘Big protocol’ is employed as communication between systems, ‘small protocols’ is used as communication between IC within systems. There is no evidence that ‘small protocols’ is replaced necessarily by these ‘big protocols’. Existence and flexibility of SPI and I2C reflect the idea of ‘Enough is enough’. I2C (pronounced I-squared-C) created by Philips Semiconductors(now NXP) and commonly written as “I2C” stands for Inter Integrated Circuit and allows communication of data between micro-controller and peripheral unit over two wires. Wire library is used to communicate with I2C devices. Arduino Master Program void loop()

Atelier pratique : Capter et mesurer une intensité sonore | Œuvre | Imaginaire | Numérique L’Atelier, FabLab en devenir a vu le jour il y a tout juste un mois… L’heure est à un premier point d’étape après un lancement tout en douceur. La fréquence de ces billets n’est pas encore déterminée même si il est probable qu’il s’agisse d’une feuille de route mensuelle. Concernant le format, la première partie sera consacrée à un résumé des activités qui ont eu lieu durant le mois, la seconde partie, plus technique, détaillera la procédure à effectuer en vue d’accomplir une tâche spécifique avec le matériel mis à disposition. Activités Mardi 22 janvier 2013 Séance consacrée aux concepts fondamentaux de la programmation illustrés grâce à l’utilisation de la plateforme Arduino et quelques LEDs. Mardi 29 janvier 2013 Présentation de 3 projets : Light Painting interactif. En vue de réaliser ces projets, certains composants électroniques basiques tels que les photo-résistances, potentiomètres, interrupteurs, capteurs piezo ont été présentés aux étudiants. Mardi 5 février 2013 void loop() {

Version 2.0 Arduino Controlled Car Tracking System based on SMS -Use Arduino for Projects This system is upgraded version of previous project… You will be able to track your car after you build this system, you will call the device then it will send you an sms which includes LAT, LON and Google Map link for just one touch to see where it is. Before you start to build them, you should connect the Wavecom to PC to adjust Serial Com. Baud Rate to 9600 then make it save this configuration via AT commands. Step 1: Preparing the Wavecom For fastening the modules Secondly, disassemble the wavecom GSM module and drill many holes for screws, our modules hold on these screws.. Step 2: Preparing the Datacable Let’s make a datacable between Wavecom and RS232 module, you use just 3 pinouts, it’s enough for communication.. Step 3: Connecting the other parts Now let’s connect the RS232 and GPS module to our Arduino, Step 4: Finishing the Tracker Device Now .. upload program on arduino.. Major Components in Project Firstly required materials : arduino car tracker

Mon clug elec View Edit Attributes History Attach Print Search ACCUEIL | ARDUINO > S'INSTALLER > DEBUTER > APPROFONDIR | PROCESSING | MECATRONIQUE | MATERIEL | OUTILS | TESTS | Plus...|Python > Shell > ATELIERS Python + Qt > PyQt apps > PyQt+Arduino | Mes Robots | RepRap | Mes lib'Arduino | Mes shields Arduino | Mes distros | Les Mini-PC | ATELIERS ARDUINO| VIDEOS | COMPRENDRE | REFERENCES | CODER | TECHNIQUE | GNU/LINUX | LIENS | Rien à voir |

Geo Data Logger: Arduino+GPS+SD+Accelerometer to log, time-stamp, and geo-tag sensor data UPDATES Oct 17, 2013: I have published a guide on using your Android phone to accomplish a similar task by leveraging your Android device's built in GPS and sensors. Feb 6, 2013: Featured on GeoAwesomeness Nov 24, 2012: Featured on Hackaday Nov 21, 2012: Featured by John Boxall @ Freetronics Nov 20, 2012: Featured on Dangerous Prototypes INTRODUCTION I thought it would be educational to build a prototype that I can take on the road to log, geo-tag, and time-stamp sensor data to be analyzed later with mapping and/or data analysis applications. This prototype is a generic sensor logging/geo-tagging gadget which means the accelerometer can be replaced with any other sensor(s) to log and map anything anywhere. As a matter or fact my next adventure with this logger is to replace the accelerometer with a pollution sensor to visualize levels of air quality around town.

Arduino Wireless Programming with XBee Series 1 or 2 -Use Arduino for Projects Hi. This Instructable will guide you through the process of wirelessly programming your Arduino using two XBees. I just finished designing a wireless EEG system with the XBee modules, so I’ve become quite fluent in their programming and have just now been able to accomplish this. Being able to wirlessly program your Arduino can come in immensly handy. Its my first Instructable so any feedback would be much appreciated! In order for you to accomplish this you will need to: 1) Have two XBees. For example, I used: 1) Two series 2 modules. 2) A USB explorer for connecting to my laptop, and a explorer regulated for connecting to my circuit. 3) A ATMEGA328p-pu microcontroller that was soldered onto a shield. Step 2: Circuit And Code

it-architect.wikispaces Background More and more computing devices like smart phones are adding GPS capabilities as their base function. Even Latest Desktop browsers are adding Location Aware facilities as part of their core functionalities and websites are trying to leverage it to enhance the end user experience. But Location Aware services on a desktop/laptop environment, may not be accurate enough as they extract location information from nearby wireless access points and your computer's IP address. However, accurate location detection will be the key to several interesting and useful applications like this. Till the time computer manufacturers decide to offer embedded GPS chip in mainstream computers, you can use following approach to augment your computer with accurate Location Service. What you need Hardware and Logistics A Desktop/laptopArduino Microcontroller. Software This step will help you installing TinyGPS and NewSoftSerial library module in Arduino IDE. Setup Component Interaction When GPS is offline

main_fr - xplduino - an ethernet home automation controller based on arduino and xpl protocol Le projet xPLDuino se décompose en 3 parties: xPLDuino Core xPLDuino Manager xPLDuino Master xPLDuino Core xPLDuino Core est le coeur du projet. xPLDuino Manager Le manager est un logiciel multiplateforme destinée à aider à la configuration applicative des xplduinos Exemple d'architecture des modules xPLDuino un xPLDuino Master (scénarios évolués) un PC éxécutant xPLDuino Manager (configuration du système) un serveur domotique libre Domogik et son IHM web Domoweb l'appli Domodroïd (IHM mobile Domogik sous androïd)

Sublime Text: The text editor you'll fall in love with Arduino Examples Free - Android lietotnes pakalpojumā Google Play A lot of Arduino examples with code,diagrams and images for arduino beginners and programmers. Take a look at it and master it.Contains Examples from Basics, Digital, Analog, CommunicationControl Structures,Sensors,Core Functions, Digital, Display, Strings,USB (Leonardo, Micro, and Due specific examples),Keyboard,Mouse. A lot of Arduino examples with code,diagrams and images for arduino beginners and programmers. Take a look at it and master it. Contains Examples from Basics, Digital, Analog, CommunicationControl Structures,Sensors,Core Functions, Digital, Display, Strings,USB (Leonardo, Micro, and Due specific examples),Keyboard,Mouse. ----------------------------------------Analog In, Out SerialAnalog InputAnalogInOutSerialAnalogWriteMegaCalibrationFadingSmoothing ASCII TableDimmerGraphMIDIMultiSerialMegaPhysicalPixelRead ASCII StringSerial Call Response ASCIISerial Call ResponseSerial input (Switch (case) Statement)SerialEventVirtual Color Mixer Analog Input PinsDigital PinsMemoryPWM

INA219 Current Sensor Breakout The INA219B breakout board will solve all your power-monitoring problems. Instead of struggling with two multimeters, you can use this breakout to measure both the high side voltage and DC current draw over I2C with 1% precision. Most current-measuring devices such as our current panel meter are only good for low side measuring. That means that unless you want to get a battery involved, you have to stick the measurement resistor between the target ground and true ground. Since the voltage drop across the resistor is proportional to the current draw, this means that the ground reference will change with varying current. The INA219B chip is much smarter - it can handle high side current measuring, up to +26VDC, even though it is powered with 3 or 5V.

Can you move over? The 74HC595 8 bit shift register OK, so say you have this crazy cool idea where you need to control a ton of LEDs (I know, I know… LEDs). You looked at the multiplexer article, and that was great, but this idea is so cool, you need individual control of each LED, and turning them on one at a time just won’t do. Well again, we are here to help, and now it’s time to introduce you to the Shift Register. Not just any shift register, the super cheap, incredibly awesome 74HC595 8-bit Shift Register! What does a Shift Register do? Basically a shift register will, in the end, let you expand on the digital outputs you have on your mictrocontroller. But the way it works is a little confusing to think of at first, and these are helpful enough that it is really worth understanding what the heck is going on under the hood. You can imagine a shift register as a row of chairs. Now, every 10 seconds or so, someone rings a bell, and everyone has to get up and move one chair to the right. How does this let me control LEDs again? Code

Related: