Interactive Mud Hut: ipod remotes - step by step devdot.wikispaces iPhone/iPod Touch Serial Port Tutorial By Collin Meyer (TheRain) 12-09-2007DISCLAIMER: Interfacing electronically to the Iphone has the potential to cause severe damage to your Iphone or cause your Iphone to become non-functional. By following this tutorial you take sole responsibility and understand the risks of what you are doing. Summary This tutorial will explain how to use the serial RX and TX lines on the Iphone as a standard UART serial port. Software on the Iphone can access the UART using the same libraries and functions as in any UNIX software. This tutorial was created to explain how to get past this issue. This tutorial will explain some of the basic parts and code needed to use the UART.ToolsJailbroken Iphone with BSD Subsystem installed (Search the web for jailbreak tutorials)Iphone development toolchain for Mac OSX, Linux, Windows (Cygwin) or other OS. WARNING! The Connected Device in this case is simulated by a Windows program written in C#.
StepperUnipolar Learning Examples | Foundations | Hacking | Links This page shows two examples on how to drive a unipolar stepper motor. These motors can be found in old floppy drives and are easy to control. The one we use has 6 connectors of which one is power (VCC) and the other four are used to drive the motor sending synchronous signals. The first example is the basic code to make the motor spin in one direction. The prototyping board has been populated with a 10K potentiomenter that we connect to an analog input, and a ULN2003A driver. Picture of a protoboard supporting the ULN2003A and a potentiometer Example 1: Simple example Example 2: Stepper Unipolar Advanced References In order to work out this example, we have been looking into quite a lot of documentation. - information about the motor we are using - here - basic explanation about steppers - here - good PDF with basic information - here
Controlling a Stepper Motor « cyancdesign [Chris Yanc] One day I tore apart a scanner I owned. I didn't have the power cord for it, so no loss. In fact it became a gain! I started researching, like most things I didn't get it at first. With some really basic Arduino knowledge I started there. Sparkfun is AWESOME too! It's nice, the EasyDriver powers the stepper motor so 12V doesn't have to find its way through the Arduino. This site help me a lot to understand what a stepper motor is, and how to get started. see Tom Igoe's notes on steppers. Or, here is the exact code I used. After that was running, I wanted more control. Some differences from the above code is that there is no longer a progression of speeds automatically. And here is the code for you to try out. I'd like to note that I am a hobbyist, and do not have any actual electrical engineering education other than my own messing around with this stuff.I would assume you'd be able to kinda tell by my stellar diagrams. Tags: arduino, stepper motor, Tutorial
iphone serial communication « Conversations with spaces Apple has not made it easy to let the iphone communicate with external devices. Basically, you need a jailbroken phone to do anything. This post covers the current state of serial communication on the iphone. A succesful example of making an application that uses the serialport on the iphone is xGPS, which let you connect to an external GPS. There are two sites that kept showing up when I looked at solutions for accessing the serial port. The other solution on devdot, dating back to 2007, is a serial communication application written in C, which is still the example that shows up in different forums. My main interest in getting serial communication working is that it would be very helpful for some of my mobile installations like the Wind-up birds, a network of mechanical woodpeckers, where a lot of the work is setting up a network between several xbee radio modems. Maybe sometime soon it will be possible to access the serialport on the iphone without jailbreaking it. mobile terminal wiki
DIY belt-driven IGUS camera slider like pocketdolly , but much smaller and lighter. I cut the slider down to 30" and drilled and tapped 1/4-20" holes for legs and the Arca Swiss style quick release plate . I used an extra long quick release plate and drilled 2 holes to keep the slider from twisting when mounted on the tripod. and some round knobs I found on eBay. to keep the slider from sliding around on a smooth surface. A 1/4" hole was drilled in the carriage for the Arca Swiss style ball head . 10-24 holes were drilled and tapped on each side of the carriage to hold small screws around which I was going to wrap the drive belt. The drivetrain is built around a Sherline 2.5" handwheel - this is the only handwheel I could find to fit a 1/4" shaft. Detailed Parts List: Slider:1 x DryLin W1040-A Linear Motion System Feet:2 x Dual Flash Bracket 4 x 1/4-20 ball knobs Tripod / Camera attachment:1 x Arca Swiss compatible quick release plate 1 x Arca Swiss compatible ball head
DIY Mechanical Crank Driven Camera Slider Sliders have caught on in popularity recently with the lightweight DSLR camera explosion. Some say that the effect is overused – perhaps it is, but in my mind adding some slight subtle camera movements to your shot adds a tremendous amount of production value. And when it comes to subtle movement, sliders deliver the most bang for the buck, both in terms of cost and ease of setup and use. I’m going to demonstrate how to add a crank mechanism to an existing slider such as the indieSlider which I’m using here. But like all things on this earth, everything good thing comes with a drawbacks. So I wanted to take the human element out of it – or at least change the way the slider is powered. The following diagram lays out how I mechanized my indiSlider – this technique can be reworked to apply to any slider you have. Here is a PDF version of the schematic Here is a list of specialty parts you’ll need: Tools you’ll need: Drilling the Screw holes in the carriage for the timing belt
IGUS Belt Driven Motorized Servo Slider After finishing my DIY belt-driven backpack-sized IGUS slider I discovered that no matter how carefully I turned the crank or pushed the carriage I could not get completely smooth motion across the full length of the slider. Since I had a few servo components lying around from a previously unfinished project I decided to replace the handwheel with a continuous rotation servo. The servo and the controller are from ServoCity.com. The fancy controller box is not necessary to the project - it is a way for me to add my own potentiometer to the ServoCity controller so as to have a larger knob. The power comes from an iGo USB battery pack. The servo mount was the only part that needed to be fabricated. Detailed Parts List:Servo Components:HiTec HCR-1425CR Continuous Rotation ServoDual Servo DriverShaft Coupler (1/4") Power:Igo Rechargeable Power Pack USB to 5.5mm / 2.1mm Power Cable Laser Cutting:Pololu.com
Monorail track Lightweight monorail track and dolly design The Mumford Monorail is an exceptionally efficient, compact, and light weight motorizedf track and dolly. We have refined a design that's ideally suited for remote locations where the gear has to be carried in. The Moco Time Machine can drive the carriage in equal increments between each exposure, or with ramped pan programs. Because the carriage is driven with a stepper motor, it moves a precise amount between each exposure. We have found that the standard bearing pads made for the aluminum rail have too much play for a perfect fit. We correct this by machining custom bearing pads out of Delrin that fit the monorail precisely. We have added a screw adjustment to each side of the carriage to take up any remaining horizontal play. Four more Nylon adjusters on the top of the carriage take out any vertical play. Six foot monorail with a ball head on the carriage Click here to see a short movie of the light weight monorail track and dolly in action.
DIY camera motion control Hows about moving your HF100 like a pro?DIY camera motion control from Martin Koch on Vimeo. The system consists of a ready-made IGUS DryLin W rail system and a small stepping motor which is controlled by an Arduino interface board. Once the controller program is loaded the system works stand alone. It can be powered by a battery and can be controlled by a simple power switch because the programmed task starts automatically each time the Arduino board is powered on. Slider 1000 mm long Igus DryLin WS 10-80 rail. The Igus order number for a complete system with 1 meter long rail and 150 mm sledge is WK-10-80-15-01, 1000 (the first number is the rail diameter in millimeters, second is the rail width followed by length of sledge, number of sledges and rail length). Official Igus procedure for aligning the carriage (needs to be done once). 1. Controller board Arduino Duemilanove (or Arduino Uno see update below) or Arduino Nano USB I/O controller board. I used the Arduino Nano. Software Ideas
Multiple Buttons on 1 analog pin Made some changes to the code and incorporated an LCD. Basically the code now moves the cursor around the LCD screen. Now with the LCD connected the code worked fine. Then when i turned on the back light it became such a drain on the power that the buttons didn't work. I also did testing using a battery pack of 4 AAA batteries and a 9V battery. Now the values for button 1 + button 5 and button 1 + button 6 overlap. /*AnalogButton_CombosVersion 0.1 Connection more then one button to a single analog pin. The Circuit: Most other analog buttons circuits call for the resistors to be lined up in series from ground. */#include <LiquidCrystal.h>LiquidCrystal lcd(7, 6, 5, 4, 3, 2); void setup(){ lcd.begin(16, 2); lcd.setCursor(x,y); lcd.write(255);} void loop(){ // If we have gone on to the next millisecond if (millis() !
Create Techno with a Laser Harp Ever wanted to make your own techno music, but are tired of the standard midi controller? Well, you could build a harp (of all instruments) out of lasers and then play it by breaking the beams of light. See how it’s done. The harp is connected to the software synthesizer, the TAOS sensor array sits on the floor in its own stand. The array above the harp is just made up of mirrors for added p’zazz. How it works: Basically an Arduino connects to a 12-bit DAC chip (TLV5618) using the SPI 3 wire interface. Buy your next laser from the HacknMod Store. High Speed Photography using the Arduino Using a laser and sensor to create an electronic trip wire, this high tech photographer used the Arduino programmer to capture high speed pictures of liquid droplets, creating this outstanding collection of photographs.� His photos can be seen below, and you can learn how to make your own with the full tutorial and project code.� Pick up some low priced lasers and other project supplies in our store.