background preloader

RC Hobby Controllers and Arduino

RC Hobby Controllers and Arduino
RC Hobby Controllers and Arduino Skill Level: Intermediate by Nick Poole | May 22, 2012 | 51 comments Remote Control Arduino Robots, cars, robotcars, and all sorts of prank devices require some degree of remote control. Most of the time, it's tempting to implement this yourself using XBee or some other wireless technology. Well, welcome back to the good old days. RC transmitter/receiver combos range from the simple and inexpensive to the seriously tricked-out, but the nice thing about them is that they all stick to a standard which makes them largely interchangeable. That Sounds Great but I've Never Touched an RC Transmitter... It's no big deal, I'll walk you through it. Since most RC models can be generalized as a fancy box of servos, that's exactly what the receiver is set up to control. Let's Hook it Up! Alright, that's the spirit! Notice that the RC receiver is upside-down, I flipped it to make it easier to trace my wires. Now let's upload a sketch and see what's coming in on those pins.

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

Taller de Arduino En este proyecto vamos a utlilizar una secuencia de leds y los iremos prendiendo y apagando uno después del otro. Primero en un sentido y luego en el sentido inverso. El circuito es muy similar al que hemos utilizado en los proyectos anteriores con leds, como en el de dos leds intermitentes, pero ahora lo haremos con más pares de leds y resistencias. Puedes poner todos los leds que quieras o todos los que te quepan en el protoboard ¿Cual sería la limitante? - al inicio Componentes arduino protoboard 7 leds 7 resistencias de 220 oms (rojo, rojo, café) Circuito Éste es otra vez prácticamente el mismo circuito que el de un led intermitente, en éste caso colocaremos un número mayor de leds con sus respectivas resistencias, conectados cada uno a un pin del Arduino. Aqui es importante que los conectemos a pines consecutivos del Arduino, en la descripción del sketch, veremos la razón de ésto. Diagrama Código El ciclo for tiene tres parametros o partes. Variantes Cambia la duración del delay().

en Español - Wiki Comunitaria Fotografía de alta resolución de una placa arduino Δ (Retoque de la fotografía de Nicholas Zambetti) Esta es la Wiki comunitaria de Arduino en Español. Si estas trabajando con cualquier proyecto en Español y quieres documentar tu trabajo, si estas creando un grupo de acción comunitaria en tu vecindario, o si necesitas voluntarios para escribir y compartir un manual, este es tu espacio. Arduino Barcamps y Virtualcamps Documentación de todas las Arduino Barcamps celebradas y de las que se van a celebrar. Arduinomaníacos / Censo Comunidad Arduino Habla Hispana Ayúdanos a dar una definición de 'arduinomaníaco' y cénsate si te identificas como tal. Exposición de Proyectos de Usuarios Galería de proyectos con arduino hechos por usuarios. Libros y Manuales Procesos de Traduccion

Libro básico de Arduino: electrónica y programación Conocer el funcionamiento de las cosas es algo que el hombre se ha planteado desde el inicio de los tiempos; hoy en día nos enfrentamos a una realidad donde abundan la automatización, la domótica, la interacción de las personas con las máquinas, la electrónica, la mecánica y la programación. Casi cualquier proceso que nos podamos imaginar tiene un porcentaje de dependencia de estas máquinas, por ejemplo: Tu despertador sonó a las 6am para que vinieras a la escuela o fueras al trabajo, esa máquina, reloj, trabajó durante toda la noche para al final avisarte que era hora de despertar. El propósito de este libro es abordar el concepto de computación física que es la capacidad de interacción y comunicación de una máquina con los humanos, usando sensores y actuadores. Las decisiones de esto las va a tomar un microcontrolador que se encuentra ubicado en la placa Arduino. La tarjeta Arduino es el corazón del presente libro.

Shield de practicas | Ardumanía En esta página encontrarás una serie de ejercicios y explicaciones para utilizar con el Shield se Prácticas, siguiéndolos llegarás a ser todo un programador de Arduinos sin el engorro de utilizar una protoboard, componentes pinchados en ella y cablecitos. Este Shield fue pensado desde un primer momento para esta finalidad y para trabajar con el programa Ardulab desarrollado por Complubot. Tu primer contacto debería ser a través de Ardulab para comprender como funciona el shiel y cuales son las diferencias entre las entradas y salidas digitales, las analógicas e incluso algunas utilidades de Arduino a través de los juegos que Ardulab incorpora. Si quieres entrar en el mundo de la programación de una forma sencilla, sin complicaciones y divertida este es tu lugar. Instalando el Arduino IDE Arduino y Ardulab (1) Comenzando Arduino y Ardulab (2) Entradas y salidas digitales Arduino y ardulab (3) Entradas y salidas analógicas Estructura de un programa. El primer programa con Arduino. Condiciones.

Alternative Arduino Interfaces - learn.sparkfun.com Favorited Favorite 2 ArduBlock is a programming environment designed to make “physical computing with Arduino as easy as drag-and-drop.” Instead of writing code, worrying about syntax, and (mis)placing semicolons, ArduBlock allows you to visually program with an snapped-together list of code blocks. ArduBlock builds on the simplicity of Arduino, and creates a perfect beginner gateway to physical computing. Installing ArduBlock ArduBlock is something of an “add-on” to Arduino, so it requires that you have the Arduino IDE installed. Installing ArduBlock can be a little tricky – there’s no installer, just a Java file that needs to be stored in a very specific location. Download and Install Arduino (if you haven’t already) – Ardublock is an extension of the default Arduino IDE, so you’ll need to have Arduino installed on your computer to run it. ArduBlock works hand-in-hand with the Arduino IDE – it relies on the IDE being open in the background, so don’t close the Arduino window!

Arduino PIR Motion Sensor This Instructable is about how to create an Arduino PIR motion sensor for your room or office, using parts available from your local Radio Shack! Whether you're looking for a cool and easy-to-build security sensor, or an awesome first project to dive into the world of Arduino, Microcontrollers, and electronics, this project is for you. (This project really is easy. Take it from me, I'm 12, and I've only had my Arduino for a week and a half.) If you guys really like my project, please vote for it in the home technology contest!

Building a Simple Arduino Robot Step #1: Making the Chassis Place the battery pack face down and orient it so that its cable is facing you.Take two pieces of double sided tape and adhere them on the long sides of each servo. Ensure servo alignment at the bottom. Peel the backing off the tape and firmly press the servos onto the battery pack. Note: Make sure to apply the servos on the end where the wire is coming out, oriented so that the shafts are towards the end of the battery pack. Note: Ensure that the servos are pressed firmly together and that they are centered on the battery pack. Step #2: Breadboard & Arduino Attach the breadboard to the top of the battery pack. Step #4: Wiring the Servos Cut two 3-pin segments off of the long break away header. Step #6: Connecting the Power (pt. 1) The servos shouldn't be powered through the 5V pin on the Arduino because they can draw more current then the Arduino can provide. Step #8: Adding a Kill Switch Step #9: Programming your Robot Check out the code for this robot and my

Installing an Arduino Library What's a Library? Arduino libraries take a complex task and boil it down to simple to use functions. Arduino users have written lots of exciting add-ons for Arduino. For example, capacitive sensing takes difficult timing and pulsing of digital pins. We can write the code from scratch, or we can stand on the shoulders of great people who are smarter than we are. Capacitive touch sensing is a very popular interface. *sOut &= ~sBit; // set Send Pin Register low *rReg &= ~rBit; // set receivePin to input *rOut &= ~rBit; // set receivePin Register low to make sure pullups are off *rReg |= rBit; // set pin to OUTPUT - pin is now LOW AND OUTPUT *rReg &= ~rBit; // set pin to INPUT *sOut |= sBit; // set send Pin High interrupts(); // enable interrupts while ( ! All that code can be replaced with a much easier to use and understand statement such as: senseReading = myCapPad.capacitiveSensor(30); There are thousands of libraries out there! Suggested Reading Installing a Library - Windows Success! Wait.

Alternative Arduino Interfaces Overviewing the Options Arduino is awesome! It’s our go-to electronics education platform, and it’s our top choice for rapid prototyping, but it isn’t for everyone. The Arduino alternatives covered in this tutorial range from simple, introductory graphical programming to web-based Arduino interfaces for your web browser. ArduBlock – A Visual Programming Arduino Extension ArduBlock is a graphical programming add-on to the default Arduino IDE. ArduBlock is a perfect interface if you’re just getting into programming, electronics, or Arduino. Minibloq – Visual Programming Standalone Software In the same vein as ArduBlock, Minibloq is a graphical programming environment where groups of blocks are stacked on top of each other to create your program. One of Minibloq’s most powerful features is its real-time code generation – as you drag blocks into your program, the equivalent code is generated concurrently. Check out the Minibloq section of this tutorial for an introduction to the interface.

Robotics Projects Robot hand, made for less than 10 bucks (excluding servos and controller :-) 6 legged robot, wireless remote controlled Ethan in the kids robot lab Start of the large 6 leg robot, see autocad drawings for details. Probably use linear actuators (screw drives) to move joints, though I'm looking into small hydraulic actuators Screw drives with stepper motors attached. WiFi garden cart, will allow me to drive around the farm in Canada over the internet. autocad image of the 6 leg robot Close up of the leg, joints will be pillow blocks with 3/4" stainless rod Side view of leg Base of a new robot under construction How to build your own Quadcopter AutoPilot / Flight Controller Back to my home page Fig 1: 3DR Quadcopter Contents This article will walk you through building your own controller whilst teaching you the details of how it works. Fig 2: ArduPilot hardware The first shortcut is your choice of hardware. The ArduPilot project is sponsored by 3D Robotics - this means that they build the hardware and sell it for a small profit, and then feed some of this profit back to the community. In this article, I am going to assume you have the ArduPilot hardware which is essentially an Arduino with attached sensors. Fig 3: Propellor Configuration I'm also going to assume you have some experience with the arduino - or atleast with C/C++. The HAL library is made up from several components: WHAT TO DOWNLOAD: You'll need to download the ArduPilot version of the Arduino IDE. Fig 4: ArduPilot Arduino IDE Setup Back to top RC Radios have several outputs, one for each channel/stick/switch/knob. Fig 5: Radio Signals It is used as: In setup(), let's enable the outputs: In setup():

How to Use IR LED and Photodiode with Arduino | Robotix In this post I am going to show you how to use and program IR LED and Photodiode pair with Arduino to detect obstacles in a short range. Before going to do the project let us have a brief look at the IR LED and Photodiode. Photodiode is a light sensitive semi-conductor diode which converts the light energy into voltage or current based on the mode of operation. In general Photodiodes are operated in reverse bias condition. IR LED and Photodiode Project: In this project I am going to show you How to use the IR LED and Photodiode pair to detect the obstacle in-fornt of it. Materials required: 1) Arduino 2) IR LED 3) Piezo buzzer 4) some Wires. Circuit diagram: How circuit works: In the above circuit the Photodiode is operated in Reverse bias condition i.e., the long leg of photodiode goes to ground and the short leg is connected to 5 Volts supply through 3 K ohms resistor. Program : int pd=2; //Photodiode to digital pin 2 How program works: Related posts :

Test your sensors for line following robots - Site for electronics hobbyists and engineers There are two ways of making a line sensing/following robot, using a light dependent resistor(LDR) or Infrared(IR) LED. The fundamental logic behind a line sensing robot is that, a dark object reflects less light than a bright object, or we can also say, a dark object absorbs more light than a bright object. So, in a line following robot, we basically build a sensor that can detect the difference between a dark and a bright object, or say, a black line and a white surface. Before you fix the sensors onto your robot, you need to see if the sensors are really reflecting less light on black line and more light on white surface. Assemble your components in the following ways: a. Resistors connected to LDR: 1k Resistors connected to White LEDs: 220Ohm. You can get the source code for testing your sensors at the end of this post. For this circuit arrangement, remember that the LDRs should be slightly above the LEDs so that they get right level of reflection. b. How to connect a photo diode? Tips:

Related: