background preloader

Arduino Tutorial - Lesson 5

Arduino Tutorial - Lesson 5
We've done a lot so far, blinking lights, printing messages...all of that stuff is output: signals coming from the Arduino. The next step is to start playing with input, with the Arduino responding to outside events. In this lesson we will begin with the most basic kind of input, a push-button switch! You're probably familiar with switches, there's tons of them in your house. One kind of switch you use every day is a light switch. A light switch is a simple device with two positions, on and off. On the left, the switch is open and no current flows. (thanks wikipedia!) In this photo, you can see the internals of a light switch. Light switches are great but we need something smaller. These little switches are a 1/4" on each side, cost about 25 cents, and can plug directly into a breadboard. Normally, the two wires are disconnected (normally open) but when you press the little button on top, they are mechanically connected. Find 5 things around the house that have switches. Switch capability

http://www.ladyada.net/learn/arduino/lesson5.html

Related:  arduino stuff

Audio FX Mini Sound Board - WAV/OGG Trigger 16MB Flash ID: 2341 - $19.95 Would you like to add audio/sound effects to your next project, without an Arduino+Shield? Or maybe you don't even know how to use microcontrollers, you just want to make a sound play whenever you press a button. What about something that has to be very small and portable? Arduino Tutorial: An Introductory Guide Update! Don’t miss our famous article:Â Top 40 Arduino Projects of the Web. Previously we introduced you to the Arduino and it’s awe-inspiring incredibleness.

Health Ancient Beliefs About Ganoderma Numerous legends provide a rich and extensive account about Ganoderma lucidum. It was said that in the early days in China, Ganoderma is very rare and hard to obtain. People during the time of the emperors considered it as a treasure greater than any jewel because they believe it provides an incredible source of energy and youthfulness. Furthermore, it was also mentioned that: 1.

Arduino Tutorial - Lesson 4 - Serial communication and playing with data Ah, Arduino, I remember when you were just crawling around and blinking LEDs. Now you're ready to learn how to speak! In this lesson we'll learn how to use the Serial Library to communicate from the Arduino board back to the computer over the USB port. Then we'll learn how to manipulate numbers and data. For this lesson we won't be using the shield, so simply remove it (keeping the mood light LEDs on it you'd like). The shield doesn't contain any programs or data, it is just our way of connecing up the LEDs and resistors.

SEGGER J-Link EDU - JTAG/SWD Debugger ID: 1369 - $69.95 The SEGGER J-Link EDU is identical to the more expensive J-Link BASE model except for the terms of use. If you're going to use your debugger strictly for personal, non-commercial projects, such as publishing open source designs that you're not selling, then you should get this EDU version! It's the same but significantly cheaper. On the other hand if you're making money, or plan to make money off your project, go and pick up the SEGGER J-Link BASE - JTAG/SWD Debugger. Doing some serious development on any ARM-based platform, and tired of 'printf' plus an LED to debug? A proper JTAG/SWD HW debugger can make debugging more of a pleasure and less of a pain.

Cheap Arduino Wireless Communications I was looking for a way to handle wireless communications between two Arduino boards. Other options like Xbee or Bluetooth were going to cost $50 to over $100. Then I found a cheap RF transmitter and receiver at Sparkfun. Capsella bursa-pastoris Description[edit] rosette (a), pointed leaves, flowers (c–e), pods (i, k) Like a number of other plants in several plant families, its seeds contain a substance known as mucilage, a condition known as myxospermy.[8] The adaptive value of myxospermy is unknown,[8] although the fact that mucilage becomes sticky when wet has led some to propose that C. bursa-pastoris traps insects which then provide nutrients to the seedling, which would make it protocarnivorous.[9] Uses[edit]

Arduino Tutorial - Learn electronics and microcontrollers using Arduino! So, I get two or three emails a day, all basically asking the same thing: "Where can I learn about electronics?" In general, most of these people have seen some of my projects and want to be able to build similar things. Unfortunately, I have never been able to point them to a good site that really takes the reader through a solid introduction to microcontrollers and basic electronics. I designed this tutorial course to accompany the Arduino starter pack sold at the Adafruit webshop. The pack contains all the components you need (minus any tools) for the lessons Follow these lessons for happiness and prosperity.

Send and Receive MIDI with Arduino : Receive MIDI Messages with Arduino Most Arduino MIDI projects send MIDI messages out, but you can also use the Arduino to receive MIDI data. Here are some ideas: an Arduino synthesizer that uses MIDI messages to construct audio waveforms a device which uses MIDI to trigger mechanical events, like the ringing of different sized bells a MIDI to control voltage(CV) device- communication between MIDI and analog synthesizers Parts List: MIDI connector Digikey CP-2350-ND 220Ohm 1/4watt resistor Digikey CF14JT220RCT-ND 1N4148 diode Digikey1N4148-TAPCT-ND 10kOhm 1/4watt resistor Digikey CF14JT10K0CT-ND 470 Ohm 1/4watt resistor Digikey CF14JT470RCT-ND (I used 2x220 instead) 6N138 optocoupler Digikey 751-1263-5-ND The hardware setup is slightly more complicated for receiving MIDI than it is for sending. As you can see in the schematic above, you have to set up an optoisolator in between the MIDI jack and the Arduino.

Related: