Ground loop question? Answered

Hello , im making a little guitar amp with ROG tonemender as preamp and tda2003 power amp.This is my schematic , can you check it for me please!. Will it get ground loop problem ?? My English is bad so i can't understand clearly some documents about ground loop. i have 2 seperate board (a power amp based tda2003 and a ROG tonemender as preamp).They will use the same power supply .some thing like this picture and this is schematic Thanks!

Question by login721   |  last reply

Looping LCD Display

Okay, this might be a little confusing, so bear with me. I want to make a looping video of, say, Matrix code display on a small LCD screen, but I just want the little screen. Is there any way I could hook up a thumb drive or something to it to display that video in a loop?

Topic by manga-ka   |  last reply

Arduino stop the loop?

I have a problem with my code, i basically move a motor with the help of 3 relays, when a sensor does not detect the presence of an object part of a call, everything works perfectly, if it was after having called the function CHIAMATA() the arduino loop() stop unexplains, i certainly made a mistake, but i do not understand which. thanks for your help this is the code.... #include #include #include swRTC rtc; //create a new istance of the lib SoftwareSerial mySerial(3, 2); const int buttonPin = 19; const int sensorPin = 9; const int allarmPin =  13; int buttonState = 0; int sensorState = 0; int relay1 = 8; int relay2 = 7; int relay3 = 6; int var = 0; // initialize the stepper library on pins 8 through 11: void setup() {     rtc.stopRTC(); //stop the RTC     rtc.setTime(12,0,0); //set the time here     rtc.setDate(4,6,2012); //set the date here     rtc.startRTC(); //start the RTC   Serial.begin(19200); //choose the serial speed here   mySerial.begin(19200);   pinMode(allarmPin, OUTPUT); } void loop() { while(mySerial.available()!=0);{}delay(10);     Serial.print(rtc.getHours(), DEC);     Serial.print(":");     Serial.print(rtc.getMinutes(), DEC);     Serial.print(":");    Serial.print(rtc.getSeconds(), DEC);     Serial.println(" "); //stato riserva croccantini sensorState = digitalRead(sensorPin); if (sensorState == HIGH) {     // turn LED on:     digitalWrite(allarmPin, HIGH);     Serial.println("Croccantini esauriti");     Serial.println("Spia allarme ACCESA");     Serial.println("Tramoggia DISABILITATA");     Serial.println("Imposto la chiamata");     while(sensorState == HIGH) {CHIAMATA(); break;}   } else {     // turn LED off:     digitalWrite(allarmPin, LOW);     Serial.println("Croccantini OK");   } if (sensorState == LOW && rtc.getHours()== 12 && rtc.getMinutes()== 00 && rtc.getSeconds()== 5) {startmotor();}   //start manuale carico/scarico   // read the state of the pushbutton value:   buttonState = digitalRead(buttonPin);   // check if the pushbutton is pressed.   // if it is, the buttonState is HIGH:     if (buttonState == 1) {       Serial.print("Pulsante alimentazione manuale ATTIVO");                               // turn on:   // singlestartmotor();   }         } void startmotor(){ //numero di cicli di carico da eseguire (5) while(var < 5){ pinMode(relay1, OUTPUT);   pinMode(relay2, OUTPUT);     pinMode(relay3, OUTPUT); digitalWrite(relay3, LOW); //ABILITA TUTTO //AVANTI digitalWrite(relay1, LOW); digitalWrite(relay2, LOW); Serial.print("AVANTI"); delay(1000); // wait 2 seconds digitalWrite(relay3, HIGH);//STOP TUTTO digitalWrite(relay1, HIGH); digitalWrite(relay2, HIGH); delay(1000); //ATTESA PER INVERSIONE MARCIA //INDIETRO digitalWrite(relay3, LOW);//ABILITA TUTTO digitalWrite(relay1, HIGH); digitalWrite(relay2, HIGH); Serial.print("INDIETRO"); delay(1000); // wait 2 seconds   digitalWrite(relay3, HIGH);//STOP TUTTO   delay(5000); // wait 2 seconds   var++; }} void CHIAMATA() { mySerial.println("ATD329xxxxx135;");//dial the number, xxxx ix the phone number. delay(100); Serial.print("Chiamata in corso..."); return loop();}

Question by cris92   |  last reply

what's a network loop?

Question by 11tillr   |  last reply

Need help to built inductive loop for micro earpieces

Can anyone provide me instructions how to make inductive loop for small earpieces such as nokia one on;=YES?

Topic by zezancija   |  last reply

Xbox 360 headset loop?

One thing I am working on is looping the headset speaker back into the mic. This way it plays everything you hear back to the game. You may wonder why in the hell anyone would want to do that? well, this is for those Really annoying people or kids with really annoying voices(squeakers) When they start being annoying or making sounds, I can plug the modded headset in, so they can hear just how dumb they sound. I took apart my headset and there are 4 wires, 1 blue, 1 red wire, 1 white wire, and a bare wire. the red and blue wire go to the speaker, and the bare wire and white wire go to the mic I've googled more about it and it seems the white wire is a ground so does that mean I just solder the blue, red, and bare wire together and I'm done? thnx for any help you can give. (P.S. Yes the Picture is correct, the bare wire looks red, but is really brass, and the black wire is really red, with a plastic enamel.)

Topic by Jordo   |  last reply

ARDUINO UNO nested loops

Hi there. i'm using arduino uno and i found that the code below does not work. Seems like "if" do not work inside "if" statements. how do i solve this problem dear community. if(ButtonStateAUTO==HIGH) { while(1) { Serial.println("auto"); delay(1); if(ButtonStateON1==HIGH) //while(1) { Serial.println("autoON1"); delay(1);} } } else if(ButtonStateMAN==HIGH) { //lcd.clear(); while(1) { Serial.println("man"); delay(1); if(ButtonStateON2==HIGH) Serial.println("manuALon2"); delay(1); } }

Topic by lovetronic   |  last reply

HD 2 reboot loop?

My New HD2 recently ran out of batteries, and when I went home to recharge it, it just booted up normally and vibrated, then turned off. It doesnt even charge! It just gets stuck like this in a an infinite loop, and I dont know what to do! please help!

Question by Soopah Steve   |  last reply

running a loop in arduino program

I want to run a loop only upon taking the user input i.e whenver user gives input, the loop must run N times where N is the user input. Can i do so? please suggest with the code.

Question by VinodhT   |  last reply

How to create a loop under a switch (arduino)? Answered

I need help in creating a loop under a switch command in arduino IDE, I'm new to programming.  void loop() {   if (Serial.available() > 0) {      incomingByte =;   } switch (incomingByte){    case '1':    digitalWrite(led1, LOW);    digitalWrite(led2, HIGH); delay(300);    digitalWrite(led1, LOW);    digital Write(led2, HIGH); break;     case'2':    digitalWrite(led1, LOW);    digitalWrite(led2, LOW); break; } I need the LEDs to blink alternatively (now it just blinks once), and stop when '2' is entered. I also tried   case '1':    for(int i = 0; i < 5; i++) {    digitalWrite(led1, HIGH);    digitalWrite(led2, LOW);    delay(200);    digitalWrite(led1, LOW);    digitalWrite(led2, HIGH);    delay(200); } break; case'2':    digitalWrite(led1, LOW);    digitalWrite(led2, LOW); break; But the circuit does not stop at '2'. Thanks

Question by ThisIsSteve   |  last reply

how to count 2 consecutive counting loops with arduino while limiting each count? Answered

This is part of a larger project but i'm stuck on the code for the loop. to make the situation simpler lat's say: i'm trying to count the number of button pushes and light 2 different LEDs. let's say green LED for x times, after that the red LED y times and go on repetitively. in the void loop i would like to set the amount of pushes because they are variables set within the loop function and reading different inputs.

Question by neofral   |  last reply

Arduino programming loop help?

I am making a tic tac toe game. I have two sets of 9 leds. one set for player one and another for player 2. I have 4 pushbuttons 2 for each player. when i push 1 of the buttons i want the first led to light up then when i press it again the second led would light up ant the first would stop then if i would press the second button then it would keep the second led on and then i could choose another led while the first led i chose is still on. this is my code so far but ineed help on my loop any help is appreciated also in my code pbcp1 means pushbutton cursor player 1 and pbsp1 means pushbutton select player1. if it ends in 2 instead of one then it is just for player 2. Thanks in advance. Code: int pbcp1 = 13; int pbsp1 = 12; int pbcp2 = 11; int pbsp2 = 10; int greenled1 = 22; int greenled2 = 24; int greenled3 = 26; int greenled4 = 28; int greenled5 = 30; int greenled6 = 32; int greenled7 = 34; int greenled8 = 36; int greenled9 = 38; int redled1 = 23; int redled2 = 25; int redled3 = 27; int redled4 = 29; int redled5 = 31; int redled6 = 33; int redled7 = 35; int redled8 = 37; int redled9 = 39; void setup() {                  pinMode(greenled1, OUTPUT);   pinMode(greenled2, OUTPUT);   pinMode(greenled3, OUTPUT);   pinMode(greenled4, OUTPUT);    pinMode(greenled5, OUTPUT);   pinMode(greenled6, OUTPUT);    pinMode(greenled7, OUTPUT);   pinMode(greenled8, OUTPUT);   pinMode(greenled9, OUTPUT);   pinMode(redled1, OUTPUT);   pinMode(redled2, OUTPUT);   pinMode(redled3, OUTPUT);   pinMode(redled4, OUTPUT);    pinMode(redled5, OUTPUT);   pinMode(redled6, OUTPUT);   pinMode(redled7, OUTPUT);   pinMode(redled8, OUTPUT);   pinMode(redled9, OUTPUT);   pinMode(pbcp1, INPUT);   pinMode(pbsp1, INPUT);   pinMode(pbsp2, INPUT);   pinMode(pbcp2, INPUT);  } void loop() { }

Question by sarju7   |  last reply

Sequential Loops for Pin Activation?

Hi, I am starting with Arduino and I am in need of some help. I am trying to sequentially activate 5 pins. I need each pin to be active for 20 seconds in a PWM manner. During their active period I want an arduino sensor to read out the signals emmited by each pin effector. So far I have no problems with the PWM or sensing module code. However I am not able to find how to correctly sequentially activate the pins. I used millis(), etc, but so far I was able to only activate / read the signals from the first pin effector. The sketch doesn´t proceed to the 2nd --- pins. I really very much appreciate your help....Here goes the code so far... const int greenPin = 11; const int redPin = 10; const int irPin = 5; const int bluePin = 6; const int yellowPin = 9; const int outputLDR = 12; const int ldrSensor = A0; int brightness = 0; int increment = 1; int readingoutputLDR = 0; void setup() {   pinMode(greenPin, OUTPUT);   pinMode(redPin, OUTPUT);   pinMode(irPin, OUTPUT);   pinMode(bluePin, OUTPUT);   pinMode(yellowPin, OUTPUT);   Serial.begin(9600);     setup_parallax(); } void loop() { digitalWrite(outputLDR, HIGH); readingoutputLDR = analogRead(ldrSensor); while (millis()<5000)                 {                                       if(brightness > 255)                    {                     increment = -1; // count down after reaching 255                    }                    else if(brightness < 1)                    {                    increment = 1; // count up after dropping back down to 0                    }                    brightness = brightness + increment;                                                        analogWrite(greenPin, brightness); digitalWrite(redPin, LOW); digitalWrite(irPin, LOW); digitalWrite(bluePin, LOW); digitalWrite(yellowPin, LOW);                    Serial.print("Reading Green"); parallax_output();                                     } delay(1); while (millis()<5000)                 {                                       if(brightness > 255)                    {                     increment = -1; // count down after reaching 255                    }                    else if(brightness < 1)                    {                    increment = 1; // count up after dropping back down to 0                    }                    brightness = brightness + increment;                    delay(1);                    digitalWrite(greenPin, LOW); analogWrite(redPin, brightness); digitalWrite(irPin, LOW); digitalWrite(bluePin, LOW); digitalWrite(yellowPin, LOW);                   Serial.print("Reading Red"); parallax_output();                                  }   while (millis()<5000)                 {                                       if(brightness > 255)                    {                     increment = -1; // count down after reaching 255                    }                    else if(brightness < 1)                    {                    increment = 1; // count up after dropping back down to 0                    }                    brightness = brightness + increment;                    delay(1);                    digitalWrite(greenPin, LOW); digitalWrite(redPin, LOW); analogWrite(irPin, brightness); digitalWrite(bluePin, LOW); digitalWrite(yellowPin, LOW);                     Serial.print("Reading IR"); parallax_output();                                  } while (millis()<5000)                 {                                       if(brightness > 255)                    {                     increment = -1; // count down after reaching 255                    }                    else if(brightness < 1)                    {                    increment = 1; // count up after dropping back down to 0                    }                    brightness = brightness + increment;                    delay(1);                    digitalWrite(greenPin, LOW); digitalWrite(redPin, LOW); digitalWrite(irPin, LOW); analogWrite(bluePin, brightness); digitalWrite(yellowPin, LOW);                    Serial.print("Reading Blue"); parallax_output();                                  } while (millis()<5000)                 {                                       if(brightness > 255)                    {                     increment = -1; // count down after reaching 255                    }                    else if(brightness < 1)                    {                    increment = 1; // count up after dropping back down to 0                    }                    brightness = brightness + increment;                    delay(1);                    digitalWrite(greenPin, LOW); digitalWrite(redPin, LOW); digitalWrite(irPin, LOW); digitalWrite(bluePin, LOW); analogWrite(yellowPin, brightness);                   Serial.print("Reading Yellow"); parallax_output();                                  } } void parallax_output() {                    Serial.print("DATA,DATE,TIME,");                                                                Serial.println(readingoutputLDR);                    } void setup_parallax() {     Serial.println("CLEARDATA");     Serial.println("LABEL,Date,Time,Green Response, Red Response, IR Response, Blue Response, Yellow Response"); }

Question by aureta   |  last reply

PICAXE Code? Answered

I am not able to understand why is FOR loop used for the irout command can someone please tell me. Another ques can I use the serout pin for the IRout command Heres the Code: for b1 = 1 to 10    irout B.1,1,5    pause 45 next b1

Question by Bot1398   |  last reply

What is that called??

What is that called? What is that thing called-there's a looped wire between two planks of wood and we have to bring another wire with a ring in it to the other end.You know what i mean??please help.i want to make it for my physics project.?

Question by Birdielicious   |  last reply

Is there a way to hold the command line ?

Dears, using Wscript is there a way to perform a Wscript.Echo command and do not skip to the next line? My idea is to perform a display, hold the command line and perform another display over the previous one (in the same line) giving the idea of a blinking message. I tried using the CLS command in a loop but this command is executed just once at the end of the loop. Any response will be greatly appreciated. Regards, Alberto Alencar / Brazil - South America region.

Question by alencaap   |  last reply

Need a little help with Arduino code Answered

Hello, I'm in need of a little help with my Arduino code. I'm still an amateur with Arduino so I'm still learning. I know there is some function that makes the loop only happen for a certain amount of times,  but I forgot what it was. If someone knows what I'm talking about, thanks a lot for your assistance.

Question by Orange robot   |  last reply

Need to loop a VBA - Macros Code in Excel 2010?

Hello everyone I need to apply a loop to the following code such that the constant (50) in ActiveCell.FormulaR1C1 = "=IF(C[-7]=50,C[-8],"""")" is replaced by a variable that has the values depending on column M as shown in the picture. Furthermore I also want my code to progress downwards and fill all the empty places, depending on the adjacent row value in column n. Do I need to switch over to absolute reference? The code is as under: Sub Percentile() ' ' Percentile Macro ' '     ActiveCell.FormulaR1C1 = "Rough Work"     Range("L2").Select     ActiveCell.FormulaR1C1 = "=IF(C[-7]=50,C[-8],"""")"     Range("L2").Select     Selection.AutoFill Destination:=Range("L2:L124252")     Range("L2:L124252").Select     Columns("L:L").Select     Selection.Copy     Columns("AG:AG").Select     Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _         :=False, Transpose:=False     Columns("Q:Q").Select     Application.CutCopyMode = False     Selection.ClearContents     Range("Q1").Select     ActiveCell.FormulaR1C1 = "Percentile 10%"     Range("Q2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[16],0.1)"     Columns("R:U").Select     Selection.ClearContents     Range("R1").Select     ActiveCell.FormulaR1C1 = "Percentile 25%"     Range("S1").Select     ActiveCell.FormulaR1C1 = "Percentile 50%"     Range("T1").Select     ActiveCell.FormulaR1C1 = "Percentile 75%"     Range("U1").Select     ActiveCell.FormulaR1C1 = "Percentile 90%"     Range("Q2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[16],0.1)"     Range("R2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[15],0.25)"     Range("S2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[14],0.5)"     Range("T2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[13],0.75)"     Range("U2").Select     ActiveCell.FormulaR1C1 = "=PERCENTILE(C[12],0.9)"     Range("U3").Select End Sub You could find the Main Excel sheet here:

Question by raishikoh 

Is it possible to loop power to make it run in a continuos loop? I know this isn't really useful, i was just wondering.

Lets say you had two power source and one device needing the power. Would you be able to have a switch and switch between the 2 power sources? My second question is, What if you had 1 Power Source and a switch. The switch is connected to the power source and a wire, and the output is the same wire connected, making a loop. Would power run in a continuos loop ? Or would you need a capacitor bank?

Question by gabe94   |  last reply

Help needed with Wire Loop Game

Hello, I wish to make the Wire Loop Game for a childrens' fun-n-fair. But I wish to add a simple SCR/circuit so that the buzzer sounds continuously instead of momentarily, once the loop touches the other wire. Can someone please show me or direct me to a website with a simple SCR, which is easily available (in India since I'm from there) circuit that can do the job? Any help greatly appreciated! Thanks, Deboo

Topic by deboogeek 

can a drive belt from a printer be shortened? Answered

I am trying to find a small belt capable of turning gears in my home built rc car, but all of the belts i can use are too long, does anyone know if there is a way that i can make the belt shorter so it wont be too long? i need it to still be in a loop. i only have one right now, so if someone could tell me a way of getting this to work that would be great.  so can someone help? and if it is possible, when explaining how to reconnect it, pictures could help a lot in explaining this

Question by zack247   |  last reply

broken beam switch for audio loop?

I  want to have a set up that play a message or sound every  time a light beam is broken.  how should i do this?

Question by instructarnie   |  last reply

Matlab-Arduino Multi Servos "for" loop ?

Hi! I am new  to arduino. I am struggling with basic problem i guess. I need to rotate 2 servo slowly with for loop in Matlab. To rotate one servo from 90 to 120, I am using this code in Matlab: for i=90:120 fwrite(arduino, i); pause(0.03); end I found zoomkat sample multi servo code but it requires string command   like: fprintf(arduino,"%c", "700a,"); And of course ( for i=90:120 fprintf(arduino,"%c", "ia,"); pause(0.03); end ) Not working. I thought that first number of i may represent servo number. For example;  fwrite(arduino, 1100) -> Servo number 1 to 100 degree fwrite(arduino, 2050) -> Servo number 2 to 50 degree Arduino Code: #include Servo servo1, servo2;  void setup() {   Serial.begin(9600);   servo1.attach(6);    servo2.attach(7);  } void loop() {   if( Serial.available() )     {         int x =;         int servoNum=x/1000;         int w=x-(servoNum*1000);         if (servoNum==1){           servo1.write(w);}         if (servoNum==2){           servo2.write(w);}      }      } And when i try fwrite command in matlab  arduino = serial('COM3','BaudRate',9600); fopen(arduino); pause(0.5) for i=60:90 a=2000+i; fwrite(arduino, a);  %Servo number 2  from 60 to 90  pause(0.02) end But this one also not working... How can i do that? Please help..

Question by mr61   |  last reply

how to avoid ground loop when use one powersupply for multi guitar pedal? Answered

Hello . I going to buid a guitar pedal witch have 2 boards in a box and use a power supply to power both of them.But i dont know how to wire them to avoid groound loop problem.Normal i will do like the picture below .Do i need to cut any wire to avoid the noise ?? Thanks for advance! sorry for may bad English!

Question by login721   |  last reply

sound effects modules

Hello!! I am planning several Halloween props that will benefit bigly from sound effects. For instance...I'm working on a mantel version of the demonic grandfather clock in Disney's Haunted Mansion. It would be awesome to have the sound of the ominous ticking, backed with a chime, that the "real" clock has. This could be an audio loop of just a few seconds. Some of the other parts of my scheme would be enhanced with short loops of sound effects or mood music...a minute or two at most. I don't have a background in electronics, but I can follow directions. Any advice on constructing a few, small sound effects modules? Thanks!!

Topic by Purple Chez   |  last reply

need help with using one power supply to power multi guitar pedal? Answered

Hello . i have two DIY guitar pedal , they work normal in a chain and each of them use they own power supply( 9v AC-DC adapter).Now i want to use one power supply to power both of them.So , i wire them like the picture bellow, and i get the 60hz noise. Can you please tell me how to get rid of that noise. Thanks in advance ! sorry for my bad English.

Question by login721   |  last reply

What would it take to make a power loop, that couldn't necessarily power anything, but could loop? Answered

 Like if you had a power source connected to 2 wire's and then you connected those 2 wires to a switch and then back to the original wire's. And then you'd switch the power from the original power source, to itself. What would it take to make a power loop that wouldn't power anything essentially, but would still run in a loop?

Question by gabe94   |  last reply

Help needed for making the WIre Loop Game Answered

Hello, I wish to make the Wire Loop Game for a childrens' fun-n-fair. But I wish to add a simple SCR/circuit so that the buzzer sounds continuously instead of momentarily, once the loop touches the other wire. Can someone please show me or direct me to a website with a simple SCR circuit, which is easily available (in India since I'm from there) that can do the job? If a readily available transistor can do this job, that would be good too. Any help greatly appreciated! Thanks, Deboo

Question by deboogeek   |  last reply

help solve my black screen of death and sound loop?

I need to know how to fix this, I get this black screen where my monitor goes into standby and the sound loops in certain games like UT3 but doesn't happen in games like L4D, my specs are Q6600, nvidia 9600 gso (768mb) and 3gig ram with vista premium so i can play the games do you know of any reasons why the screen and sound do what they do? and how do i fix it

Question by mayney93   |  last reply

How to measure open loop H(s)? Answered

When designing constant current linear dummy loads, and when I was (attempting) to design a really nice linear power supply with op amps and pass transistors, I consistently run into the devil of the circuits that incorporate feedback. INSTABILITY! Especially if I use fast op amps, or MOSFETs, etc. My understanding as to why this happens is because I still have some positive gain at the point at the frequencies where signal the total loop has that dreaded -180 degree phase (gain margin) and then where the gain is unity and phase is at -180, again allowing that frequency component to be successively amplified (or never attenuated) as that wave whirls around the loop. However, with op amp circuits, how am I supposed to get an accurate open loop measurement, when the DC gain is so stupidly high the input to an op amp is essentially a comparator? This article suggests whacking in a 20 ohm resistor and injecting a signal into it, and measuring the voltage on either side of it (?) How is this supposed to work? Is there a better method in something like LTspice?

Question by -max-   |  last reply

How can I make something play an mp3 in a loop?

I want to make something that can play an mp3 file from maybe an SD or MicroSD card. It needs to be small, and I would like to be able to hard wire it to a speaker. I'm making a music box, and I want it to fit in. I do not want to use Arduino and I want it to be as simple as possible. It only needs to play the file in a loop.

Question by metalshiflet   |  last reply

My computer locks up with an audio loop, help! Answered

I recently upgraded my hardware (I put in two 8600 GT's in SLI, and an E6850, both used), and shortly after, my games began to lock up. Whatever was on the screen would stay there, and the last second of audio would loop. The only way to get out of it was a hard reset. Then I noticed when I unplugged my other two hard drives, games wouldn't freeze up anymore. So I replaced my 400 watt PSU with a 550 watt, with 50 amps on the 12 volt rails. Everything seemed to clear up, until today, when I was browsing Newegg and listening to Audioslave (not very resource intensive), and it locked up with the same symptoms for no apparent reason. I'm getting worried now, as I shelled out 75 bucks for a decent PSU and the same stuff is happening. My CPU idles in the upper 30's to lower 40's, and peaks at 60 C in games. I know it's a bit toasty, but it shouldn't be hot enough to cause this sort of problem, right? So if anyone has any ideas about what's going on, any help is appreciated.

Question by RelaxedSoup   |  last reply

Music Making Software? Answered

Hey everybody. Just a few questions about music making softwares. First off, if you make a song from (the software's) loops and pre-determined notes, can you still copyright that song? Or do u owe the company money, or can u not copyright it at all? Also does anyone know a really good software I can buy thats relatively cheap? I don't want to spend $400, but I'm willing to go up to $100 or a bit more. Lastly, does anyone have any good guides for getting into this type of music making? Thanks in advance, I really appreciate the help!!!!! :)

Question by Adum24   |  last reply

Countdown timer doesn't exit and the loop never repeats?

We want to run the stepper motor by 180 degrees and want to repeat it after long delay (say 2 hours or so) with a countdown timer displayed in LCD attached to Arduino. Every thing happening successfully except the loop doesn't start after the countdown ends. #include #include const int stepsPerRevolution = 200;  // change this to fit the number of steps per revolution // for your motor // initialize the stepper library on pins 8 through 11: Stepper myStepper(stepsPerRevolution, 8, 9, 10, 11); // initialize the library with the numbers of the interface pins LiquidCrystal lcd(7, 6, 5, 4, 3, 2); int hours = 0; // start hours int minutes = 0; //start min int seconds = 10; //start seconds int stepCount = 0;         // number of steps the motor has taken void setup() {   // initialize the serial port:   Serial.begin(9600);   pinMode(13, OUTPUT);   // set up the LCD's number of columns and rows:   lcd.begin(16, 2);   // Print a message to the LCD. } void loop() {   // set the cursor to column 0, line 0   // (note: line 0 is the first row, since counting begins with 0):   lcd.setCursor(0, 0);   lcd.print("DRUM ROTAING");   for (int i = 0; i <= 100; i++) {     // step one step:     myStepper.step(1);     Serial.print("steps:");     Serial.println(stepCount);     stepCount++;     delay(125);   }   lcd.clear();   lcd.setCursor(0, 0);   lcd.begin(16, 2);   lcd.print("Count Down Timer ");   delay(150);   while (hours > 0 || minutes > 0 || seconds >= 0) {     lcd.setCursor(4, 2);     (hours < 10) ? lcd.print("0") : NULL;     lcd.print(hours);     lcd.print(":");     (minutes < 10) ? lcd.print("0") : NULL;     lcd.print(minutes);     lcd.print(":");     (seconds < 10) ? lcd.print("0") : NULL;     lcd.print(seconds);     lcd.display();     stepDown();     delay(1000);   } } void stepDown() {   if (seconds > 0) {     seconds -= 1;   } else {     if (minutes > 0) {       seconds = 59;       minutes -= 1;     } else {       if (hours > 0) {         seconds = 59;         minutes = 59;         hours -= 1;       } else {               }     }   } } We used break, return 0, continue, etc. but somehow didn't work. Kindly tell how to exit so that program repeats itself. Thanks.

Question by meetshivam   |  last reply

Make A ShortWave Loop or Reel Antenna for portable radio? Answered

I purchased the coby cx-cb12 portable radio that has 12 bands including sw 1-9, and I purchased a Kaide Portable that has sw 1-7 when I purchased the coby radio a guy suggested that I also buy a pocket reel antenna to get better reception but when I search for one it comes up as this;=1361888769&sr;=8-1&keywords;=pocket+reel+antenna the thing is my portable radios don't have an external antenna jack or well there is no place for one and I don't know how I would hook it up. I saw on here people had made shortwave antenna's but I need one more suited to a portable radio, and was wondering if there was a way to make one that would work with a portable radio or if there is some other type of antenna that I could purchase. Thank you.

Question by Graydant   |  last reply

Compressing home made biogas

Hi I'm working on a project where we are using an anaerobic digester along with a series of gas scrubbers that yields biogas containing roughly 80% methane (ch4) and 20% oxygen. I know that this proportion of methane is well above the upper explosive limit of methane (about 15% methane by volume) but the presence of that much oxygen makes me nervous.  Am I going to have trouble compressing this gas mixture without blowing a new hole in my head? I am planning on compressing the purified biogas to about 20psi at between 60-80 degrees farenheight and in a respectably blast proof gas container.  please help! (Trying to help our planet!)

Question by Jdouenias   |  last reply

HP, Lenovo, ... Laptop Bios update boot loop fix

I had to install Windows on an older HP laptop today.And being the nice guy I also updated the Bios to the latest available.Now these Windows tools for this job are great fun, start it, press a few buttons and all is updated.Well, until you realise the thing ends in a constant bootloop going back to the bios update part created on the recovery/backup partition.Going the official way by asking the support is pretty much useless as my searches only came up with copy and paste answers but no solution.Some people got desperate enough to order a new bios chip, program it and solder it in :(But the fix is sooo easy and obvious that it might take a little kick to realise it ;)I assume you downloaded the right tool and bios update.For HP and Lenovo it all comes in one pack anyway.I also assume the tool stated that all went fine and the backup and update were done correctly.Now the boot loop that you experience is actually on purpose ;)You are required to enter the bios - for my HP it is the ESC key, then F10.Here you load the defaults, then adjust what you need - like the boot order.Once you set the boot order to the internal HDD or the OS boot manager you are good to again.I hope that will help the desperate people that got nowhere by trying the support for their laptop ;)

Topic by Downunder35m 

How to I make an AM Antenna?

I was recently given a "Tuner" set up ( one of those boxes that you plug TV, DVD, speakers, CD, and VCR, into and has a built in FM /AM tuners)The Tuner has ports in the back to plug in wires for FM antenna and AM Antenna. ( 2 wire accepting ports per band ) How do I make antennas to plug in to the back of a radio tuner with just wires? Do I need to put in other components? What other components might I need, where do I find them, and how EXACTLY do I incorporate them?I tried to follow the Instructable I ran the two wires into the back of the Tuner instead of a "polyvaricon" (plastic insulated variable tuning capacitor) because the Instructable, as it is written, does not provide for plugging the Antenna into anything.I Used a 12ft length of CAT5 ethernet cable to create 8 loops of insulated wire as described in the Instructable but still can not get very good signal on local AM Stations that are less than 20 Miles away.

Question by coretj   |  last reply

Really basic Resistance / Amperage question:

Before I begin: yes, I should know this already, but I'm really sleep deprived right now, and therefore slightly muzzy on my electronics knowledge... My circuit has two loops running in parallel off one, limited, 18v power supply: [*] Loop 1 requires the majority of the supply's power to run [*] Loop 2 is simply a 7805 voltage regulator supplying 5v to an analog input on an Arduino, so needs almost no current running through it. [*] when Loop 1 and Loop 2 are both active, Loop 1 does not get enough power. if I place a resistor in Loop 2, in series with the 7805, will it increase the amperage to Loop 1? I think the answer is yes, but, once again, I'm MASSIVELY sleep deprived. any help is appreciated.

Topic by gschoppe   |  last reply

Will this schematic work/ Is it right?

I know the wiring for the loops themselves are correct but I am wondering if I did the master bypass and LEDs correctly. This is a 5 channel/ loop switcher for guitar or audio effects loops, The master bypass is supposed to negate the other loops even if they are on. Thanks for the help! P.S. the squares with the 9 dots are all 3pdt switches 

Question by beardedknome   |  last reply

How can I build a small Video Looping device, which I can upload/delete files from?

I want build a device which I can basically either insert a memory card or upload video files on and it then loops these files to a video output. I'm not really sure how to start. Anyone got any ideas? I basically want to have an old TV I own just loop video all day and I rather not buy a DVD player to do it.

Question by mirrrrroring 

Does anybody know what kind of fabric is used to line camera bags that have reposition-able partitions?

This fabric is basically the "loop" side of hook and loop tape. But what I am looking for is a FABRIC that you can use to line a bag or box and then place partitions (with the "hook side'' of hook & loop tape attached to the partitions) ANYWHERE in that bag/box to divide it. I don't really want to use the loop tape and sew/glue it all over my project. I know this kind of thing is out there, because I have a camera bag that is lined with this stuff. I just don't know what it is called or where to get it. Any help is appreciated! BTW - I live in the Chicago area

Question by Kimitino   |  last reply

Building a flasher circuit with a single led to flash Once, then Twice, then Three times, and then loop it? Answered

I've built some simple flasher circuits in high school, but what I need now requires a bit more than a simple flasher. I want to avoid using a micro controller or arduino. I hope there is a simple way to just loop a simple flasher circuit through multiple stages of capacitors or something, but that's why I've come here. :) This is what I need: A flasher circuit with a single LED, flashing in 3 sets before looping. It will flash ONCE (Beep). And then TWICE in quick succession (BeepBeep). And then THREE times in quick succession (BeepBeepBeep). There needs to be a delay between each set of flashes. After the 3 sets of flashes, it will loop and do it again and again. I would love lots of help on this! Thanks so much.

Question by AdysonW   |  last reply

Windows 10 in auto repair loop and user accounts disappeared from windows directory ?

I have a Lenovo 100s netbook with Windows 10. I was prompted to use Real-image to clean up and restore the Registry. When the computer rebooted it went to the auto rep[air and diagnostics process and then into the reinstall/recover options. The computer does not have a DVD reader and no boot option to allow for booting from a DVD or USB recovery medium. I have tried to restore the Registry using the C:/ prompt and scripting, but I can only obtain the Windows Directory. The User Directory is not listed. Can anyone help please?

Question by don1949   |  last reply

How can I use a button to control a loop within a specific time limit?

Hello everyone,in my code below I have a button that initiates several actions. Initially it is set to LOW and when the button is HIGH several actions occur. I would like to add a time limit of 3 seconds so if the button stays LOW after that a different set of actions will occur. I tried using the if/else functions. Any suggestions will be appreciated!Thanks!Thomas. #include Servo s2; int BUTTON = 2; int COUNT = 1; int buzzerPin = 8; int counter;void setup() { Serial.begin(9600); pinMode(10, INPUT); pinMode(13, OUTPUT); pinMode(12, OUTPUT); s2.attach(5); } void loop() { unsigned long start_time; unsigned long stop_time; s2.write(6); if (Serial.available() > 0) { char data =; // reading the data received from the bluetooth module switch (data) { { case '1': start_time = millis(); Serial.println(" "); Serial.println(" Go...Go.. "); for (counter = 0; counter < 3; ++counter) { switch (COUNT); int servo = random(5); while (digitalRead(BUTTON) == LOW) { digitalWrite(13, HIGH); digitalWrite(12, LOW); s2.write(90); delay(10); } if (digitalRead(BUTTON) == HIGH) { Serial.write ("*S"); tone(buzzerPin, 600); delay(50); noTone(buzzerPin); digitalWrite(13, LOW); digitalWrite(12, HIGH); s2.write(6); delay(600); COUNT ++; Serial.print("You hit "); Serial.println(COUNT); } } } Serial.println(" "); Serial.println(" Finished: "); Serial.println("Your result is: "); Serial.print(COUNT); Serial.print(" Target in "); stop_time = millis(); Serial.print(stop_time - start_time); Serial.println(" Time"); Serial.println(" "); if (COUNT > 0) { COUNT = 0; } } } }

Question by tomstell1111   |  last reply

How do I create one array or variable after another in a loop in javascript?

I am currently designing a calculator ( and I need to create a new array every time an operator (+, - *, /, ^, etc) is pressed. I want the naming to be: var array1[]; var array2[]; var array3[]; var array4[]... etc; and more will be created as I add up the values inside. 

Question by -max-   |  last reply

How do I use an animated gif or looping video for my instructable's cover image?

I'd love it if I could use an animated gif for the cover image of my instructable... I can indeed upload an animated gif but it does not retain the animation.

Question by TeamJaeger   |  last reply

can anybody tell me why my return command in void loop isnt working?

Int keyscan() {     const int keys[12]={     1,2,3,4,5,6,7,8,9,10,11,12                  };       int r=0;   int c=0;   int keypress=99;   int ColState = 0;    //variable to store column state, 0 = low } const int led2pin = 10; const int led3pin = 9; const int led4pin = 8; const int buzzer = 12; const int LidSw =  13; const int ROW0 = 7; const int ROW1 = 6; const int ROW2 = 5; const int ROW3 = 4; const int COL0 = 3; const int COL1 = 2; const int COL2 = 1;   int keypress=99;    int r=0;   int c=0;   int ColState = 0; void setup() {   pinMode(ROW0, OUTPUT);   pinMode(ROW1, OUTPUT);   pinMode(ROW2, OUTPUT);   pinMode(ROW3, OUTPUT);   pinMode(COL0, INPUT); pinMode(COL1, INPUT);   pinMode(COL2, INPUT);   }   void loop()   {while(keypress=99)   {               for(r=0; r<4; r++)                          //loop for 4 rows     {       digitalWrite(ROW0, HIGH);       for(c=0;c<3;c++)                          //loop for 3 columns       {         ColState =  digitalRead(COL0);         if(ColState==1)         {           digitalWrite(ROW0, LOW);  //reset row           tone(buzzer, 450, 500);           ColState = 0;                //reset ColState variable           keypress = ROW0+COL0;    //identify key pressed           delay(500);                  //debounce         return keypress;         }       }       digitalWrite(ROW0, LOW);     }   } }

Topic by endara   |  last reply


Hello i would like to know if you guys could help with a code to make a servo reacts to an ultrasonic sensor. The way it would work is that when an object gets close to the sensor for example 2 inches, then the servo goes from 0 degrees to 135 degrees, then wait 5 seconds and go back to original position ( 0 degrees). i was thinking of using loop. something like . loop if  sensor is close to 2 inch then servo goes from 0 to 135 degrees then delay 5 seconds and go back from 135 to 0 degrees else do nothing end if end loop

Topic by tech20151   |  last reply