background preloader

Arduino Tutorial - Learn electronics and microcontrollers using Arduino!

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. Follow these lessons for happiness and prosperity. Lesson 0 Pre-flight check...Is your Arduino and computer ready? Here are some recommended tools: If you need to get any soldering done, you may also want.... All of the content in the Arduino Tutorial is CC 2.5 Share-Alike Attrib. Love it? To some extent, the structure of the material borrows from: The impressively good "What's a microcontroller?" "Spooky Arduino" - Todbot's excellent (if fast-paced!)

Gloss: a Pygame OpenGL wrapper Gloss is a high-performance graphics wrapper around Pygame that lets you take advantage of OpenGL without having to delve into the murky depths of 3D programming. Gloss lets you build 2D games where you can rotate, scale and recolor sprites on the fly, and also includes a selection of helpful mathematics functions to make the life of games coders easier. Gloss is licensed under LGPLv3, and comes with full documentation, a tutorial and several code examples to help get you started, so if you're looking to make a game quickly and easily give it a try! OpenGL is much harder than Pygame. Why should I use this? Gloss uses OpenGL, but hides it all. What does Gloss include? The functionality most people will want to use in Gloss includes: Download the tarball and run some of the examples to see what Gloss can do. Doesn't Pyglet do all this already? Pyglet is a very cool and very mature OpenGL library for Python, but it serves quite a different purpose to Gloss. Is Gloss hard to learn?

Arduino Tutorial - Lesson 3 - Breadboards and LEDs You've started modifying sketches, and played a bit with the onboard LED (or if you have an NG, an LED you added). The next step is to start adding onto the hardware component of the Arduino. We will do this by adding a solderless breadboard to our setup, connecting up new parts with wire. Solderless breadboards are an important tool in your quest for electronics mastery. They allow you to make quick circuits, test out ideas before making a more permanent Printed Circuit Board. Basically, a chunk of plastic with a bunch of holes. In the images above you can see how there are two kinds of metal strips. In this lesson, we will show pictures of both the tiny breadboard on a protoshield and also using a 'standard' breadboard without a shield. Warning! Distressing as it may sound, solderless breadboards can be very flakey, especially as they age. To use the breadboard, you'll need jumper wires. Heres how to do it with just diagonal cutters...Cut the wire first, using wire cutters Look again!

Arduino tuto | reprapide.fr Dans ce tutoriel on se propose d’allumer successivement deux LED par l’action d’un bouton-poussoir, chaque appui allumant l’une et éteignant l’autre. L’une des diodes est rouge et l’autre, verte, est allumée au lancement du programme. L’environnement de dévelop­pement (IDE) est préalablement installé sous Linux, Mac OS X ou Windows. Un bouton, deux diodes et trois résistances Voici le montage : la plaque d’essais est alimentée par la carte elle-même (5V et masse),les cathodes des diodes sont reliées à la masse par l’intermédiare de deux résistances de 560 Ω, leurs anodes sont reliées aux pins 2 et 3 de la carte. Dessin réalisé avec Fritzing Code source Télécharger ce code [ Explication du code ] [ Replier ] • Lignes 1 à 3 : on initialise trois variables entières (mot-clé int) dont les valeurs représentent un pin du microcontrôleur : int ledRouge = 2;la LED rouge est branchée sur le pin 2,int ledVerte = 3;la LED verte sur le pin 3,int boutonPoussoir = 8;le bouton-poussoir sur le pin 8.

Welcome to the 419 Eater TITLE: Busted! SCAMMER NAME: Ony Obo SCAMMER LOCATION: Lagos, Nigeria SCAMBAITER: Shiver Metimbers For a slight change, we have a scammer trying to ply his trade via a different routine. This time it's a repentant dying man, wanting to distribute his millions to charity. We've had carvings and artwork from scammers on quite a few occasions now, and I think it's time to move on to other ways to cause misery for these thieves, so for my final attempt at getting artwork out of a scammer I'll try for something a little different. It all starts way back near the end of July 2006... From: Ony Obo To: Brian Anthony Date: July 23rd 2006 Subject: HELP ME TO SPREAD GOODNESS Hello my friend, Hope this day finds you well? I have not particularly lived my life so well, as I never really cared for anyone (not even myself) but my business. Now that God is about to call me, I have willed and given most of my property and assets to my immediate and extended family members as well as a few close friends. OK.

Make Yahoo! Web Service REST calls with Python Python provides a number of modules for performing HTTP requests. This HOWTO describes how to perform GET and POST requests using the urllib and urllib2 modules from the Python standard library. Simple GET requests The simplest way of retrieving data from a URL uses the urllib.urlopen function: import urllib url = ' u = urllib.urlopen(url) # u is a file-like object data = u.read() This can be condensed in to a single line: data = urllib.urlopen(url).read() This is fine for quickly retrieving some data, but does not give you the ability to easily distinguish between normal page retrievals and 404 or 500 errors. import urllib2 try: data = urllib2.urlopen(url).read() except urllib2.HTTPError, e: print "HTTP error: %d" % e.code except urllib2.URLError, e: print "Network error: %s" % e.reason.args[1] An HTTPError is thrown if the server returns a status code other than 200 (OK) or an HTTP redirect. Simple POST requests Some APIs require you to make POST requests.

PoBot - Robotic Sophia Antipolis - Débuter avec une carte Arduino La famille Arduino est apparue en 2006 sous forme d’une carte programmable avec un port série. Puis de nouvelles versions sont apparues, toujours aussi simples, avec différents formats : petites, grandes, plus puissantes, plus économiques, avec USB, avec Ethernet, compatible Androïd, etc... On peut les utiliser pour récupérer les informations de capteurs, pour contrôler des moteurs, pour communiquer avec un ordinateur, avec un téléphone portable, pour envoyer et lire des messages sur Internet, pour éteindre des appareils électriques, pour piloter un robot mobile, pour servir de cerveau à un humanoïde, ou tout simplement pour apprendre l’électronique, et encore bien d’autres usages. Retrouvez grâce au lexique tous nos articles traitant de la carte Arduino. Arduino, c’est une grande famille et une solution reconnue avec des publications dédiées. Différents modèles, une même passion Présentation Voici ses caractéristiques principales pour le modèle le plus courant : hardware software Premiers pas

Text of Steve Jobs' Commencement address (2005) Stanford Report, June 14, 2005 This is a prepared text of the Commencement address delivered by Steve Jobs, CEO of Apple Computer and of Pixar Animation Studios, on June 12, 2005. Video of the Commencement address. I am honored to be with you today at your commencement from one of the finest universities in the world. The first story is about connecting the dots. I dropped out of Reed College after the first 6 months, but then stayed around as a drop-in for another 18 months or so before I really quit. It started before I was born. And 17 years later I did go to college. It wasn't all romantic. Reed College at that time offered perhaps the best calligraphy instruction in the country. None of this had even a hope of any practical application in my life. Again, you can't connect the dots looking forward; you can only connect them looking backward. My second story is about love and loss. I was lucky — I found what I loved to do early in life. I really didn't know what to do for a few months.

Python: interfacing with an arduino | Stealthcopter.com So what is an arduino? An arduino is an open source open hardware programmable controller with several inputs and outputs. The image below shows an Ardunio Dicemella. Ardunio Dicemella Annotated Photo It (Arduino Dicemella) has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. They are very useful for people who know how to program but have little experience with hardware interaction. Programming the arduino This post will not contain in-depth detail on how to program the arduino, instead focussing briefly on setting up serial (over serial or usb cable) communications in order to talk to a python script. Code example Arduino LED switch circuit off Arduino LED switch circuit on Now we add a few lines to enable the writing of information from our arduino over the serial connection. Serial write example Serial read example Interaction with python import serial

Ashram Etymology[edit] The word ashram also spelled ashrama comes from the Sanskrit root srama which means giving the meaning of making an effort, towards liberation (moksha), which is the central aim of life in Hinduism. [4] Overview[edit] An ashram would traditionally, but not necessarily in contemporary times, be located far from human habitation, in forests or mountainous regions, amidst refreshing natural surroundings conducive to spiritual instruction and meditation. The residents of an ashram regularly performed spiritual and physical exercises, such as the various forms of Yoga. Other sacrifices and penances, such as Yajnas were also performed. Ashrams have been a powerful symbol throughout Hindu history and theology. History[edit] In recent history, one of earliest extant ashram, Kailash Ashram was established by Dhanraj Giri in 1880 at Rishikesh, this was followed by Sivananda Ashram of Swami Sivananda established in 1936. Schools in Maharashtra[edit] Christian ashrams[edit]

Python Exception Handling Techniques - Doug Hellmann Error reporting and processing through exceptions is one of Python’s key features. Care must be taken when handling exceptions to ensure proper application cleanup while maintaining useful error reporting. Error reporting and processing through exceptions is one of Python’s key features. Unlike C, where the common way to report errors is through function return values that then have to be checked on every invocation, in Python a programmer can raise an exception at any point in a program. When the exception is raised, program execution is interrupted as the interpreter searches back up the stack to find a context with an exception handler. This search algorithm allows error handling to be organized cleanly in a central or high-level place within the program structure. Throwing and Catching The statements used to deal with exceptions are raise and except. The arguments needed by the exception class vary, but usually include a message string to explain the problem encountered. See also

Related: