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()

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 |

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

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)

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

Lampduino - an 8x8 RGB Floor Lamp : Programming the Colorduino The Colorduino comes with the Arduino bootloader pre-loaded, so it can be programmed via the Arduino IDE. It doesn't have a built-in USB to serial converter, however, so you must use either an external USB to serial cable, or an ICSP-compatible programmer. If you have an FTDI cable or similar, you can use that. To use an FTDI cable, connect it as follows: FTDI RX -> Colorduino TX FTDI TX -> Colorduino RX FTDI RTS -> Colorduino DTR FTDI GND -> Colorduino GND Another way is to use the embedded FTDI chip in an Arduino Duemilanove. Arduino RX -> Colorduino RX Arduino TX -> Colorduino TX Arduino Reset -> Colorduino DTR Arduino 5V -> Colorduino VDD Arduino GND -> Colorduino GND Then, you can connect your Arduino to your PC via USB, and select Arduino Duemilanove or Nano with ATmega328 from the Tools->Board menu of the Arduino IDE. Since I was developing a PC host app to communicate with the Colorduino, I found it more convenient to use my USBtinyISP. Pictured above is my development setup.

A Remotely Programable Relay Controller (Christmas Lights or Home Automation Controller) What was that? A Whats-a-Maja-Thimagig? Yep - One of those! This Instructable extends my Arduino Ethernet controller to control a set of up to 6 relays, but that's not the neat bit. This allows you to have a set of relays connected to the end of a piece of Ethernet cable that can be accessed from a web browser anywhere from your house. I needed a system to sequence a set of relays to control some Christmas lights around my house this Christmas, as well as to turn on and off a water fountain, so I thought that a simple controller for it would be an AtMega328 chip. This project is an autonomous controller, operating a set of 6 relays according to a pre-programmed pattern, over and over again. In my case, I wanted to control a fountain and some Christmas lights, so my pre-programmed pattern is as follows: Relay 1 - Front fairy lights Relay 2 - Fountain Blue Light Relay 3 - Fountain Green Light Relay 4 - Fountain Pump On startup, do the following forever until it is switched off:

Getting Online with Arduino: Round Up of Devices If you’re manipulating the physical environment through software, or the other way around, then you need a way to get your hardware online. Arduino (and its community and ecosystem of sensors and shields) makes it easy to experiment on the physical side of things, but it wasn’t designed with any networking interface built in. That’s why many in the community right now are building devices and add-ins that make it easy to get an Arduino (or Arduino-compatible board) connected easily. UDOO UDOO, currently on Kickstarter combines the best of two worlds — Arduino and Raspberry Pi — to create a powerful and flexible brain that can talk to the sensor world, run some mighty code local and connect to the internet via built-in Wifi. Spark Core The Spark Core (see Kickstarter page) is a tiny, Arduino-compatible board with a beefy microprocessor, integrated Wi-Fi and integrated cloud support. miniSWARM The miniSWARM is an Arduino-compatible board with built-in Xbee wireless.

AmbientMonitor In different blog posts, I’ve already explained how to receive data from Arduino using a .Net application or a server-side script. Today I’m going to show you how it’s possible, using JavaScript, to receive and show data using only a Web browser. Logical architecture The project has two main elements: Arduino, connected to an AM2302 sensor to get temperature and humidity valuesan HTML page, with some external resources (JavaScript and CSS files) opened in a browser the JavaScript code in the HTML page sends JSONP requests to Arduino, which responds with a JSON message that contains the values obtained from the sensor. Resources All the files for this project (HTML page, JavaScript libraries, Arduino sketch…) are available in my GitHub’s repository: JavaScript When you open the ambientMonitor.html page in your browser, the different JavaScript libraries are loaded and executed. Change the IP address in the url parameter with the one Arduino has in your network Arduino Conclusions