arduino coding problem

Im working on a project of mine which needs an arduino to easily manipulate the PIR sensor and easily use its outputs via LED light. this is my current program. int ledPin = 13; int pinPir = 2; int val = 0; int led2Pin = 12; void setup() {   pinMode(ledPin, OUTPUT);   pinMode(pinPir, INPUT);   pinMode(led2Pin, OUTPUT);     Serial.begin(9600); } void calcLed(){   val = digitalRead(pinPir);   if (val == HIGH){     digitalWrite(ledPin, HIGH);     delay(5000);   }   else   {     digitalWrite(ledPin, LOW);   } } void loop(){   digitalWrite(led2Pin, HIGH);   calcLed();   delay(5000);   digitalWrite(led2Pin, LOW);   delay(2000); } im having a problem with how the sequence of the program works. when i test the project . its works fine. but while the program is running . it seems that it wont  recognize the input of the Pir sensor until the program is done? how can i intervene ? i want the program to go back to 1st step when the PIR sensor . detects motion. please help? thankyou :)

Posted by charmaineanne.bahia 3 years ago


Computer controlled timer

I am building an indoor hydroponics room to grow herbs and tomatoes year round. I would like to be able to control the lighting and the water pumps with my computer. Any ideas? Thanks!

Posted by InsaneLunatic 8 years ago


Inside a Controlled Vapor Oven

I just got a used controlled vapor oven from a restaurant auction.  It works, but the evaporator heating coil turns off too early.  So, I've opened the thing up to investigate (and possibly rewire or reprogram).  Modernist Cuisine has cross-sectional views of inside a cvap (click look inside on Amazon and search for "cvap"), but if you don't have a copy, here are my pictures of inside a cvap.   Right now, I'm cooking a full bone-in pork shoulder for 24 hours that I brined in a 5% salt solution for the previous 24 hours.  

Posted by ewilhelm 6 years ago


temperature controlled switch

I I'm working on a water spray kit for my intercooler on my car and i want the pump to turn on when the air outside is => 50 and the intercooler is like 15-75 > then the air i want both of the them to be adjustable. I i could make it activate when its like >50 the and it activate 30 above that the out side air or something like that could and one help me out the a schematic.

Posted by dragon2144 9 years ago


How hard is it to make a computer controlled switch?

Hey guys, I was planning an instructable but I would need to create a program to turn switches powersource switches on and off. The switches would be for regular power sockets so I wouldn't have to modify the stuff I plug in. I have no idea how to do it, is this an easy problem? Where would I get the parts needed? Thanks for any advice!

Posted by anythingologist 10 years ago


well my rc car broke and i was looking for something to do with it

So i have a motor, some battery holders, and possibly some remote control parts but i have no idea how to work them. any suggestions?

Posted by FreakyDeeky 10 years ago


Need help/ideas for a (seemingly) simple USB, time controlled locking mechanism

Hello. I need help. A lot. But seriously, I need to fabricate a way to activate a door lock, via USB (this would seemingly be the easiest way, since a computer keeps accurate time), only during a preprogrammed time period. For example, I would program the lock to activate at 11:00 pm and retract (I'm assuming deadbolt here) at 5:00 am. Would something like this be possible? Thanks in advance.

Posted by Trivium12 6 years ago


Computer controlled crossover?

Hey guys, I've been wanting to ask someone about this idea for a while now. You know how you can get programs like SRS Wow that's built into windows media player? There are also other assorted Equalizer programs (with sliders) or for effect, to change how your music is playing. If these programs can do this merely with cpu power, is there a way I could have a source from the mic/input plug on a soundcard in one of my spare towers, and say, re-route it to the speaker/output on the card, but say, have a subsonic filter in place between the input and the output of the card, using only software? I'm pretty Effin sure this has to be possible, and yes I can take into consideration that there could be some considerable cpu usage for realtime playback. My goal would be to say set in place a 20 or 30hz cutoff point and then run that to my subwoofer amp, or use two seperate towers, and run my other subwoofers I have sitting around, but they need a higher cutoff point as they are only 8-10inch woofers. Could anyone lend a hand?? I know this has to be possible somehow.

Posted by Punkguyta 9 years ago


Need help figuring out how to make LEDs come on when signal is sent to speaker

Hi everyone! I've finally decided to create something. But since i'm completely new at this i need some help I want to add some interior lights in my car, and i want them to be sound activated. Currently i have 4 cathodes connected to 2 sound modules wired into the cigarette lighter. The problems i have with that are if i change the volume on the stereo, i also have to adjust the sensitivity knob on both the sound modules and because one module is under the seat and one is behind the dashboard, they react completely differently. what i want to do is get rid of the cathodes and replace them with LEDs and i want to somehow get the set that will be under the dash to turn on when an audio signal is sent to the front speakers and the set that will be under the seats to turn on and off when a signal is sent to the amplifier for the subwoofer. The key thing on this project is that i don't want to have to adjust something every time i change the volume and i want it to actually match the music, not every noise that can be heard in my car. Also i'd possibly want to replace the switch that turns on and off the entire system with a 3 way switch to have one side turn on the sound activation and the other to have the lights steady on so basically i would need to know what i would have to buy and how to put it together... Unfortunately my experience with electronics is limited to assembling a kit from adafruit to charge my ipod with 2 AA batteries and making a stun gun out of a disposable camera so i'm hoping for a simple way to do this Any help, ideas, suggestions, anything like that would be greatly appreciated

Posted by sandlehat 8 years ago


Text Message Controlled Devices

For my school science fair, I am designing a circuit that will turn appliances on/off through their power cord by a text message. I am thinking of using the vibrating motor leads of an old phone to control it. Anyone who knows of a source on the Wide Wide World o' Web about such a circuit, or would like to help me design it (collaborate on an i'ble?), PM me or email me at westy158497@yahoo.com. Yes, I use the same name and password for everything!

Posted by timwest95 8 years ago


Remote controlled concrete trowel machine

Hello I do not know how to build this type of machine. I was hoping someone in this forum would be able to build one and share it with this community. I do not know if the machine is under a patent or not. If it is under a ptent perhaps certain aspects of it are not.The company that was building these was called Tibroc in USA. But they are no longer around. Anyway if someone can help me out and build one and share it so that I can build one that would be great.

Posted by dimatek 2 years ago


I need a computer controlled milling machine built for patent

I need a computer controlled milling machine that will be about 2'x2' frame and would be portable and able to be attached to a piece of metal sheet and capable of cutting plastic material. What I need it to do is duplicate a profile that a metal sheet has to plastic. To be able to attach this to a panel take a tracer that can copy the profile. I would like to ether partner up with someone or I would gladly pay for you to produce this machine. Please contact me at DMARR35@AOL.COM for more info

Posted by dmarr35 9 years ago


Arduino controlled CNC Coil Winder

Arduino controlled CNC Coil Winder Hello World. This open source project that I am working on. Is an Arduino controlled CNC Coil Winder machine. Since I have the need for precise coil winding, a CNC winder machine is the solution. Machines like the one I am trying to build cost around $4,000-$9,000. I am building a machine with the same quality for under $300. Is hard to believe but is possible. The problem: Get rid of CNC software. I think that Arduino can do the job here. I am able to make it work with an standard CNC solution, but the problem is that I don't want to interact with a computer at all, and I am pretty much sure that an Arduino application can do the job. My progress is on the 85%. I have the mechanical part ready to go. Is the Arduino part where I am stuck. So far, I can keep going on with CNC software, but that is not my goal. I'll probably work on the Arduino solution later, but I'll really appreciate help with an Arduino solution. This is an Open Source Share-Alike 3 project. Cheers!~ Edit: The picture bellow is from a commercial Coil Winder and the only purpose is to illustrate what kind of machine I am building. 

Posted by G00 8 years ago


Arduino controlled lawn mower

Hi I  wants to make arduino controlled lawn mower as my Mechanical Engineering final year project  while doing so I’m facing problems such as which dc motor will be suitable for wheels and cutting blades  and driving unit for these motors.,which sensors are necessary for complete automation as well as coding required while implementing all these components. It is difficult for me to finding formulae to calculate torque and power.I want to make it process automated so that bot automatically move in rectangular area and if in between it’s battery gets down it should automatically go to charging point and come back to place where it stopped cutting when battery was down. For this which coding as well as interruption required is also a doubt for me.For all these operation which battery will be useful? And its capacity Also it will be helpful if all the components required for this project will be available from any single platform. For all these it will be helpful for me if I get some Ideas from here and move ahead in my project Any other links or suggestions wil be also helpful.If kit for above mentioned specs are available please contact on my mail id sarvankarpratik33@gmail.com Thank u

Posted by pratiksarvankar 2 years ago


Musical Lights

Hey, I recently saw http://www.youtube.com/watch?v=Yd3hzYAJzOo&w; and i want to make that. I read the schematic at http://www.uploderx.net/dphrag/SCHEMATIC1___PAGE1444.jpg (that link doesn't work, use this one: http://www.buildlounge.com/wp-content/uploads/2011/10/xy88F.jpg  for it, but, I'm still quite confused. The parts that are the most problematic to me are the high, low, and mid pass filters. i  don't understand what they are, and how there made. If anyone could help me, thank you.

Posted by schumi23 6 years ago


Arduino

Hi guys, I simply want to use my arduino to controll a servo by using a ir remote. Ive got all the parts as a ir reciver and also the remote. Does anyone know a good tutorial based on the ir system and program?

Posted by Kamokaki 4 years ago


How to tell if your project is accepted

OK, one of my entries has been approved, I have posted three. The others say they are entered, but I have not received confirmation yet, and their pictures do not show up under "Entries" people are commenting on the items, however I can't see them in entries. ? How will I know when, and if I need to make changes, or resubmit the entry? Will they let me know if it does not meet the requirements? or what changes may need to be made? Thanks for any help. 

Posted by AoneD 6 years ago


coMBINING ARDUINO SKETCHES

Every thing is okay except line follow command ,,,when i say line follow it only goes forward but does not follow line my code is String voice; int LS=10; int RS=9; int LED=13; char getstr; int in1=3; int in2=4; int in3=5; int in4=6; int ENA=2; int ENB=7; long duration, distance; int trigPin=A0; int echoPin=A1; int buzzer=8; void forward() {   digitalWrite(ENA,HIGH);   digitalWrite(ENB,HIGH);   digitalWrite(in1,HIGH);   digitalWrite(in2,LOW);   digitalWrite(in3,LOW);   digitalWrite(in4,HIGH);   } void back() {   digitalWrite(ENA,HIGH);   digitalWrite(ENB,HIGH);   digitalWrite(in1,LOW);   digitalWrite(in2,HIGH);   digitalWrite(in3,HIGH);   digitalWrite(in4,LOW);   } void left() {   digitalWrite(ENA,HIGH);   digitalWrite(ENB,HIGH);   digitalWrite(in1,LOW);   digitalWrite(in2,HIGH);   digitalWrite(in3,LOW);   digitalWrite(in4,HIGH);   } void right() {   digitalWrite(ENA,HIGH);   digitalWrite(ENB,HIGH);   digitalWrite(in1,HIGH);   digitalWrite(in2,LOW);   digitalWrite(in3,HIGH);   digitalWrite(in4,LOW);   } void stop() {   digitalWrite(ENA,LOW);   digitalWrite(ENB,LOW);   } void on() {   digitalWrite(LED,HIGH); } void off() {   digitalWrite(LED,LOW); } void line(){ if(digitalRead(LS) && digitalRead(RS))     // Stop   { stop();   }     if(!(digitalRead(LS)) && digitalRead(RS))     // right   { right();   }     if(digitalRead(LS) && !(digitalRead(RS)))     // Turn left   { left();   }     if(!(digitalRead(LS)) && !(digitalRead(RS)))     // Forward   {     forward();   } } void setup() {   pinMode(LED, OUTPUT);   Serial.begin(9600); pinMode(LS, INPUT);   pinMode(RS, INPUT);   pinMode(in1,OUTPUT);   pinMode(in2,OUTPUT); pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT);   pinMode(in3,OUTPUT);   pinMode(in4,OUTPUT);   pinMode(ENA,OUTPUT);   pinMode(ENB,OUTPUT); pinMode(buzzer, OUTPUT); } void loop() {   while (Serial.available()){ //Check if there is an available byte to read      delay(10); //Delay added to make thing stable     char c = Serial.read(); //Conduct a serial read     if (c == '#') {break;} //Exit the loop when the # is detected after the word     voice += c; //Shorthand for voice = voice + c   }   if (voice.length() > 0){     if(voice == "*go ahead"){       forward();       }     else if(voice == "*go back"){       back();       }     else if(voice == "*turn right") {       right();     }     else if(voice == "*turn left") {       left();     }     else if(voice == "*light on") {       on();     }     else if(voice == "*light off") {       off();     }         else if(voice == "*stop") {       stop();     } else if(voice == "*line follow") { line();           }       voice=""; //Reset the variable after initiating   } }

Posted by BibekP4 9 months ago


Power outlet controlled by windows driver (not master/slave circuit)

HI, the idea is to control a power outlet when the OS is booting. And even more important, when the OS shuts down. the outlet should turn off before the PC goes in shutdown.A master/slave socket (which i have) only switches off when the PC goes into OFF modes which results in a big bang on my Active Speaker setup. (behringer B2031A with B2092A).So, in short. i need a circuit thats being controlled ON after a driver has been loaded during BOOT.and that cicuit needs to power down when the Driver is being offloaded during shutdown.AC being controlled by a solid state relayThank you for anyone who can helpbest regardsmarco

Posted by marcoNLD 3 months ago


Rapid fire controller for ps3

Rapid fire controller for ps3 ps3 modded controller ps3 modded controllers sexy lingerie  

Posted by cainmack76 8 years ago


Help building a touchscreen controller to control 12vlt relays in a custom car.

I am new here and am looking for a little help on building a touchscreen controller that will control 12vlt relays that will open and close actuators and controll the air ride system. THank in advance.

Posted by onair4871 11 years ago


capacitor control

I was just wondering if anyone knows any methods of controlling the energy discharge from a capacitor..

Posted by nuncoop 10 years ago


Speed controlled industrial fan

Hi all, For an installation I need a speed controlled fan that I can control via a microcontroller. Is there any industrial fan that you know that allow to be controlled with eletrical signals rather than the usual manual control? thanks a lot!

Posted by amicoleo 2 years ago


atmega based robot controller kit

Help make low cost robot controllers a reality http://www.marcogrilli.com/thenerdling/atmega-based-robot-controller/

Posted by The nerdling 5 years ago


Regarding motor controller selection.

I need a motor controller for 24V, 20A Actuator. The motor controllers receive 16V from battery and also had to boost the voltage to meet actuator specifications. Can anyone help me finding a motor controller of such sort?

Posted by GamanM 1 year ago


Motor Controller

Dear Sir, Can you help me in developing a 24/36 mosfet controller for tricycle? Regards P​

Posted by hgsan 4 years ago


PID controller to control temperature

I need to control the temp. using PID controller @ an accuracy of the +-0.5 degree Celsius. What will be the procedure step by step, to do the task. Please note that Range is 35 to 40 degree Celsius & ACCURACY is of prime importance. Please reply fast. Waiting for your positive & valuable response. Thanks &Regards-; Sanga

Posted by sanga20591 3 years ago


Arduino control via android

The arduino board needs to be controlled from My android mobile..!! is there a solution for controlling the arduino from the android mobile through any means like USB,Bluetooth or Internet...!!??

Posted by rraja2 5 years ago


KNEX Robotic Controller

Howdy, What do KNEX builders use to control robotic projects.I am asking about the physical controller...do most fans use one of the hobbyist controllers (BASIC STAMP, Cricket, Arduino, etc) or do fans hack the RCX/NXT? Does anyone use the old KNEX controller "Leornardo" ? Thanks, Richard

Posted by ftking_83702 8 years ago


Gamecube Controller for Wii

With the Wii U coming out without any nintendo gamecube controller ports, I was wondering if it were possible to still somehow mod a gamecube controller so that it could work on a Wii U.  Since classic controllers that plug into a Wii Remote will work on a Wii U, i was curious to know whether it is possible for a gamecube controller to be modded so that it is recognized as a Classic controller.  Somehow connecting a gamecube controller to a Wii remote, since a classic controller and a gamecube controller have pretty much the same buttons.  If this is possible how would it be done?

Posted by ChaosPaladin 7 years ago


Remote Control Car Controlled By Computer

I'm doing a project where I am rewiring a remote control car remote to work using a computer interface. I've found a few tutorials on how to do it, but they all deal with a "button" controller, where the motion is controlled by pressing buttons rather than using a "pistol grip" controller, or one with a wheel to control turning and a trigger to control acceleration and deceleration. Has anyone tried this, or does any one know if I would be able to use the tutorial linked below with this controller. I highly doubt it would work, but I would like a better opinion.http://jbprojects.net/projects/rc/

Posted by Claytonian 8 years ago


Vision Controlled Interface Controller

Is it possible to make a 360 controller and create a vision controlled (right) c-stick that I can use to aim at something simply by looking at it on the screen? Is this similar to what paralytics use to communicate? Is there any way that I could use that technolgy to OWN my cousin at Halo?

Posted by MattGyver92 9 years ago


Altoids or NES controllers?

As you probably know NES controllers and Altoid tins are popular cases for many mods. Which do you prefer?

Posted by NetReaper 10 years ago


Question about Remote Control Challenge?

For the remote control challenge, I have an idea for an Instructable to build a type of universal remote controlled by a program running on your computer. I'm not going to give too many details about the project right now, but my question is does the Instructable have to be for a remote controlled device, or can it be for a type of remote control itself? Thanks!

Posted by generalgeek314 6 years ago


finding and salvageing micro controllers

Hello i was thinking about getting in to micro controller programing and i was wondering if it was possible to salvage (and use) micro controllers from old electronics. If so where should I look for them, and how do I identify to micro controllers I find.

Posted by clasic_traveller_diehard 9 years ago


Where are the slideshow controls?

Slideshows used to have "pause" and "play" controls under the large image. They seem to have disappeared. Or are they just hiding under the advertising on the right of the page?

Posted by Kiteman 9 years ago


Charge controller CM3024z

Hi,  im a student, i just  wanna ask if i can use the charge controller CM3024Z to a Magneto (alternator) and coupled with a solar panel 50watts? does the solar charge controller are for solar panel only? thanks godbless

Posted by romeob 3 years ago


Best Environment control for Girder 3.2

There is project PC Remote Control If you made it let's try to do best controls for our remotes. And share your *.GML files here

Posted by Zujus 11 years ago


How To Control the Speed of a BIG DC Motor

How would one control the speed of a BIG DC motor used as an engine for a go kart?

Posted by OzoneLab 6 years ago


Winamp wireless remote controll

Ive made a winamp remote controll of a wireless keyboard.it was quite easy.take out the printcard and hotwire the chip :)Controll your music and video from your couch. Ive made mine on my living room table. Here`s a short clip of it in actionWinamp remote controll

Posted by Lynlimer 11 years ago


Remote Control Builds and RC hydraulics

Doe anyone have experience of remote control builds and Rc hydraulics from ENGLAND, not USA or Germany. John

Posted by Michaelgoode 8 years ago


Mind control

I don't know why, but the picture for the robot contest looks like instructables robot mind controlling the rabbit or what ever the creature it is. It makes me think it is a mind control contest when I first saw that picture.

Posted by Plasmana 10 years ago


need help selecting a controller

I have 3 nema 23 stepper motors. unfortunately I cant find instructions in English for the controller. and the controller is incomplete when shipped. the controller that came with it is a tb6560-t3-v5. never used, but cant find instructions nor anyone who can explain it to me. I need a new controller with good instructions for 23hs22-2804s. any suggestions or anyone who can explain that?

Posted by wolfbain5 3 years ago


Control Tower at the Center of a Rainbow

Check out this picture taken by seedlingproject of the Squid Labs/Instructables Control Tower at the center of a rainbow.I wonder what's at either end!

Posted by ewilhelm 10 years ago


software to build/layout control panels

I was wondering is there any free software,that helps layout to build my own control panel. i want to layout instruments on panel etc.

Posted by lobito 10 years ago


Remote controll help

Hello. Could someone please help me? I would like to build a remote controll ship, but I do not know how to solve the problem of remote controll. My plan is to controll 2 electric motors, each 4.8 volts dc, separately forward and backward from 6volt batteries via radio controll. Could someone please send me drawings for the sender and the receiver circuits so that I could remote controll the 2 electric motors? I would be really thankfull for any help.

Posted by Vaszilij 6 years ago


broken lcd controller lcd works great

I have a 20" lcd tv with a broken controller in it  is there any lcd controller kit that would work good with a 20"  lcd screen mybad  its a 26"  Maxent MX-26X3 thanks 

Posted by vicz 8 years ago


Weller WLC100 control knob

What is the 1 2 3 4 5 mean? is the wattage, that cant be, its too low. how does the control knowb determine temperature?

Posted by um0123 9 years ago


Kaoss Pad Guitar Midi Controler Kit with 5.7 in diagonal touchscreen

Kaoss pad Guitar Midi Controller  Kit

Posted by bassman76jazz 7 years ago


Remote Control

Hello people! I was wondering if anyone knows how to hook up a computer to a remote control from a bluray, so I can do stuff with the commands from the remote.

Posted by Game Maker 4 years ago