background preloader

Programming an ATtiny w/ Arduino 1.0

Programming an ATtiny w/ Arduino 1.0
This tutorial shows you how to program an ATtiny45, ATtiny85, ATtiny44 or ATtiny84 microcontroller using the Arduino software. These are small, cheap ($2-3) microcontrollers that are convenient for running simple programs. The ATtiny45 and ATtiny85 have eight legs and are almost identical, except that the ATtiny85 has twice the memory of the ATtiny45 and can therefore hold more complex programs. The ATtiny44 and ATtiny84 have 14-legs and more inputs and outputs. Thanks to Mark Sproul for his work on making the Arduino core portable across processors. Materials and Tools For this tutorial, you’ll need: An in-system programmer (ISP), a piece of hardware used to load programs onto the ATtiny. For more information, see our list of materials and parts and our list of prototyping supplies . Download Installing ATtiny support in Arduino If you haven’t already, download the Arduino software , version 1.0.4 (1.0.3 and 1.0.1 should work too, but not 1.0.2). Connecting the ATtiny Programming the ATtiny

Small, Programmable, Wearable and Cheap - Enjoying the ATTiny85 - Tutorial by @fctry2 Ok, so let’s talk cheap and tiny: programmable computers needn’t be large precious things, they can be tiny things that we can leave behind, let go, abandon to the cruel world. I’m not advocating being overly irresponsible or wasteful, but I do think that the world and the things that you can make in it gets a lot more interesting if you don’t have to worry inordinately about protecting your project. An Arduino or Raspberry Pi, wonderful tools that they are, are not cheap, somewhat demanding of battery life, and as such we usually need to protect our controller and modify our project to fit their form factors. As a teacher, I can’t count the number of times I’ve seen an Arduino used to listen for a button press or wait for a door to open. Wouldn’t it would be nice to have something small, programmable, cheap, and power efficient that could do *some* of what an Arduino can do and had the same easy tools to use with it? Well there is: the ATTiny85! Boards, Pads, and Dust Step 4: Analog IO

Cheap Alternative for Hard to Find CDS Light Sensor CdS (Cadmium Sulfide) photo-resistors are commonly used for detecting light levels. Their resistance varies considerably depending on the intensity of light striking them. They are common, fairly cheap and easy to use. So what’s the problem? If you guessed photo-diode you are close, but even better is the humble LED. Photo-diodes and LEDs Both of these devices are essentially the same. The reason we need to use a micro-controller with LEDs is because their reverse current is so small that we need to use a special property of LEDs in order to make them do double duty as a light sensor. Using LEDs for Light Sensing Like many electronic components, LEDs have a small amount of parasitic capacitance associated with them. LED as a photo-sensor Hook up the LED in reverse, connecting the cathode to the micro’s pin, and the anode to ground as shown in the diagram on the left. Next, set the pin to input-low which allows the LED to discharge its capacitor. Putting It Into Practice Other Concerns

HOW TO GET WHAT YOU WANT Welcome to the KOBAKANT DIY Wearable Technology Documentation Workshops least likely scenario This workshop is part of a course at the Ernst Busch Hochschule in Berlin. It is only open to students in the departments of Spiel&&Objekt. Workshops soft sensors for soft bodies FURTHER_READING_WATCHING_LISTENING_ Elektronische Textilien als Material und Werkzeug_ Hannah Perner-Wilson, Irene Posch, 2020 “Welche Fasern leiten Strom? Workshops connecting bubbles This semester, we are sitting in a strange bubble at home. Sensors 6 really wearable sensors The textile sensors on our website are often not designed to be manipulated with your hands. Workshops soft interactive technologies This workshop is a part of a course at the Art Academy Weissensee Berlin. Workshops ETextile Adventures This workshop is part of a course at the Ernst Busch Hochschule in Berlin. Sensors Sole Sensing Rather simple way of making insoles with 3 pressure sensors located at different pressure points of the foot on the ground. Sensors

Simulator for Arduino Pro version licence $14.99 (support until Dec2014) Prev<< --- >>Next "This is a life saver and honestly an excellent software." "I've just bought your wonderfull product. "Thanks! Simulator for Arduino is the most full featured Arduino Simulator available at the present time (watch the latest video below). The benefits and features of the Arduino Simulator are: The ability to teach and demonstrate the inner workings of an Arduino sketch Test out a sketch without the hardware, or prior to purchasing hardware Debug a sketch Demonstrate a project to a potential customer Develop a complicated sketch faster than using the hardware Download the free version below with a short delay timer on loading a sketch, and when ready upgrade to the Pro Version. Steps through the program line by line. Limitations : Simulator for Arduino Datasheet Simulator for Arduino WebHelp The list price for Simulator for Arduino will be around $50 for v1.00. Download the Latest free version here (with simple email unlock):

Teensy USB Development Board The Teensy is a complete USB-based microcontroller development system, in a very small footprint, capable of implementing many types of projects. All programming is done via the USB port. No special programmer is needed, only a standard "Mini-B" USB cable and a PC or Macintosh with a USB port. Update: Discussion / Support Forum Teensy 3.1 changes from Teensy 3.0 Teensy Loader Application Software Development Tools WinAVR C compiler. Teensyduino, add-on for Arduino IDE. Simplified USB Examples or Dean Camera's LUFA library. Breadboard Usage The Teensy is available with header pins, for direct no-soldering-required use on a breadboard, which can also be run from the +5 volt from the USB cable. The 128x64 Graphics LCD can be used with Teensy 2.0 and Teensy++ 2.0 and Teensyduino using this GLCD library.

Processing + EPOC via OSC | hyperRitual Related articles: AffectCircles How would you like to create interactive art that responds to your thoughts, moods, and facial expressions? Thanks to Mind Your OSCs and oscP5, interpreting the Emotiv EPOC‘s data within a Processing sketch (and by extension, Arduino) could not be easier, even with the consumer (i.e. most affordable) version of the EPOC. Here is how it works. To begin, you need an Emotiv EPOC and the Mind Your OSCs application which you can download for free from the Emotiv store. In the right-hand side of the Mind Your OSCs window, you can see the IP address and port number for data going out of Mind Your OSCs (connection info for data coming into Mind Your OSCs from the EPOC device or an emulator, etc., is displayed on the left-hand side of the window): In Processing’s setup() method, you set up a connection to the same port showing in Mind Your OSCs: Each OSC message sent from Mind Your OSCs has three parts:

blender, burster, arduino, processing, 3d scanning, programming Arduino to Blender(010; 28.07.2009; arduino, blender) Arduino to Blender 1.0 from MyInventions on Vimeo. Required: Blender 2.49a ( Python 2.6.2 ( pywin32-214 (pywin32-214.win32-py2.6.exe; pySerial 2.4 (pyserial-2.4.win32.exe ; Pythona 2.6.2 is required for Blender 2.49a. Reciving informations from serial port in Blender. 01.import serial 03.serialport = serial.Serial('COM4', 9600) 05.for i in range(1, 20): 06. x = serialport.read(size=1) 07. y = ord(x) 08. print "y=", y 10.else: 11. serialport.close() Put it in Blender Text Editor. Download: SerialTest.blendEdit Blender object with script. Translate and rotate object with serial port: 02.import Blender 04.serialport = serial.Serial('COM4', 9600) 05.ob = Blender.Object.Get ('Cube') 06.Blender.Window.WaitCursor(1) 08.for i in range(1, 100): 10. y = 0.01*ord(x) 15. 18. 1.

Back to basics: Using 1 shift register At it's core the 74HC595 shift register is simply a way to turn on 8 signals at one time. To do this only 5 wires need to be run from the Arduino board. So you save 3 pins, "so what, I have plenty of pins" you ask? A couple of entries ago, I dove into an overly aggressive project, attempting to wire 4 shift registers to control both the anode and cathode wires of my, now infamous, 8x8 RGB LED matrix. I full-heartedly dove right in wiring this together, borrowing some code that I found on-line, I compiled my masterpiece, watched as the transmit/receive LEDs lit up on my Arduino board as the code was transferred and watched, in horror, as absolutely nothing happened. [insert expletive here] I felt I understood the wiring but, admittedly, didn't understand the code at all. That's why I find myself here, now. I ripped my project apart and decided to start at the beginning with using shift registers. Whew! Clear now? Now, I added my other components. Now we wire the LEDs. I hope!

Arduino sans Arduino J'ai eu récemment l'occasion d'assister aux Ateliers Arduino du pays de Lorient présentés par Xavier Hinault ( Le public y était étonnamment varié – et allait du retraité dynamique à la fillette de moins de 10 ans! Munis d'un ordinateur portable, d'une carte Arduino et d'un kit de composant, chacun était enthousiaste à l'idée de faire clignoter une LED ou buzzer un buzzeur. Bien entendu, tout le monde n'arrive pas avec la même facilité à mettre en œuvre les manipulations proposées, mais tous les participants arrivent à faire quelque-chose et le plaisir est au rendez-vous! Les clés du succès? En observant la manière de faire des autres participants, je me dis que le succès de l'Arduino est la conséquence de plusieurs choix judicieux: C'est justement ce dernier point qui m'intéresse ici. Ceci dit, pour un vrai petit développement embarqué, de l'Arduino, seul le micro-contrôleur nous intéresse. La cible La cible que je vais utiliser ici est un ATmega328P. Piège:

PROJECTS Microcontrollers as Material We’ve developed a set of tools and techniques that make it easy to use microcontrollers as an art or craft material, embedding them directly into drawings or other artifacts. We use the ATtiny45 from Atmel, a small and cheap (~$1) microcontroller that can be glued directly to paper or other objects. We then construct circuits [...] Codeable Objects Codeable Objects is a library for Processing that enables novice coders, designers and artists to rapidly design, customize and construct an artifact using geometric computation using geometric computation and digital fabrication The programming methods provided by the library allow the user to program a variety of structures and designs with simple code and geometry. DIY Cellphone An exploration into the possibilities for individual construction and customization of the most ubiquitous of electronic devices, the cellphone. Pu Gong Ying Tu (Dandelion Painting) Computational Textiles Curriculum LilyTiny Animated Vines

Related: