Classes not working properly

When you pass classes on browser on iPad (not in App) and return to site on regular computer - classes progress show not properly. I have go in every lesson in site on regular computer to update info of progress.

Topic by Andy_I   |  last reply

My dremel tool is spraking inside and the regulator thingy doesnt work...? Answered

1. My dremel makes a weird noise when i turn it on, and when i look inside through the venting holes i see sparks coming from the motor/magnet. It wasnt like this before and it runs slower now than before. 2. The roller thingy to regulate the speed (1,2,3,4,5,6 or max) only works on "max", if i turn it down the thing just stops working, but when i turn it up to max again it starts (at max speed of course) this isnt a very important acctually since i use max all the time, but its kinda annoying cuz it some times shuts off. My dremel is a CoTech model and only about 2-3 weeks old btw.

Question by ThaNorwegianDude   |  last reply

How to properly sharpen a stick??

For use in pungee pit, booby traps ETC.

Question by my man   |  last reply

Stats Page Not Loading Properly

The site is now loading at a reasonable speed on IE8 but my stats page insn't loading properly.  It looks like it starts to load then gets interrupted.  The graph dosen't appear and the check box section is larger than it should be and incomplete.

Topic by diyoutdoorsman   |  last reply

How to properly defrost meat?

After taking it out of the freezer, is it ok to put it straight into the pan, or should i let it sit or run water over it first?

Question by judith_ou   |  last reply

Indent and link not working properly

I am using Internet explorer and while working on my intructable I could not use the indent or the link buttons in either the old or new uploader. Thanks for all your hard work! sunshine

Topic by sunshiine   |  last reply

Links not forming properly in comments

Exactly what is says in the title. I have twice recently left a comment with a link attached to text, only for the link not to work*. The text goes orange, but nothing happens when you click on it. The comments I left were here and here. Links as text, just in case: (*Was that a sentence? I think it was a sentence, but it doesn't feel like a sentence...)

Topic by Kiteman   |  last reply

Image Comments Are Not Sized Properly

I've been having trouble with image comments not showing up the right size in my instructable, How to Build a Spark Gap Tesla Coil (link). In step 2, this is especially visible as some of the image comment boxes appear to be larger than the images they are posted on! The comments are supposed to be the size of the image, not smaller or larger. I've tried resizing them to the correct dimensions, but it doesn't work. Is it just my browser, or is something else going on? What can I do to fix this? Thanks! Xellers

Topic by Xellers   |  last reply

Arduino not communicating with CR95HF properly

I'm building an NFC reader/writer with Arduino Uno, Arduino click board and RFid click on ( ). The click on board has a microcontroller called CR95HF ( ).  In order to make this work, i have to communicate through SPI. But I got the feeling it's not properly done.  I keep sending data in the way I believe is right (because all found examples do it this way and the datasheet says so),  yet I keep getting either 0 or 255 (when I move or touch the board).  Mostly I've tried to send and receive the ECHO, but nothing seems to work.  I'm starting to run out of ideas. If anyone please would like to help, it would be greatly appreciated.  (my code is included in the attachment). PS: this is an example that uses the same microcontroller on a different version of the RFid click board. 

Topic by EvelineV   |  last reply

Recent answers not updating properly

Not sure if it is bug but IMHO it qualifies: When I update the forum section I see that the number of replies changed if they did. But in the Recent Answers setion nothing happens. Even after several hours I don't see the number of replies changing, despite quite often already showing a few when checking a question. Apart from that the number count in both the forum sections and the ansers sections seems to be confusing to me. In some case replies to a reply are counted in other case not. The numbers don't really matter but knowing if someone left a reply to somthing would be nice. But with neither the counter nor the position in the list changing it is next to impossible to find out. On a side note as I already asked many times: Can we ever expect to see an option to sort replies by the time and date they were made? Might be just me but scrolling through a big topic after getting an email that someone replies often results in nothing at all. I see replies from several years ago on the top then some that are a few months old followed by newer or older ones. There is no order of any kind that I can see! So please, if any of the great code monkey reads this: Can you explain the logic behind the missing order? Can you explain why exactly it seems to impossible to sort replies in a way that makes reading and understanding what was replied possible? Can we expect to see a fix or selection buttons for the order in the new year?

Topic by Downunder35m   |  last reply

How Do I Use Shielded Wire Correctly?

Hi I am trying to wire an electric guitar up and I really want to use shielded wire. I already bought like 3 feet of it and I have no idea how to use it? Can someone help me out please! Thanks!

Topic by jackillac92   |  last reply

my windows 95 computer isnt reading discs properly?

It plays for about a second and the freezes for about 10 seconds and just keeps doing it.

Question by coolpizzadude   |  last reply

Why's my iron not heating properly?

I have a 25w soldering iron(made in India) which i bought online 3 months back. 2 months it worked fine but now it is not heating the solder properly and making very bad connections. Can anyone suggest me a solution? 

Question by Ankan Nayak   |  last reply

Any tips on winding a toroid properly? Answered

Every time I try to wind a toroid for a circuit, it never works or it is very temperamental and does not cooperate with me. Any advice on how to wind a better toroid?                                                                                                                                                                                                                                                         Thanks! 

Question by transistorguy   |  last reply

Why's my amp not working properly? Answered

I have recently built a stereo tda2030a amp. When I plug the power,input and outputs and switch it on, it makes a cracking noise and the left channel doesn't give any sound. I am not able to troubleshoot the actual cause. The schematic:  

Question by Ankan Nayak   |  last reply

Potentiometer and motor isn't working properly

Hello, I'm fairly new to electronics and i am currently working on project involving an adjustable motor. basically the circuit is just a nine volt battery going through a potentiometer and into a 6-9 volt motor. however the motor only spins when the potentiometer is turned to max. the potentiometer is a 10k.

Topic by kanp1   |  last reply

Preview thumbnail image not displaying properly

The preview thumbnail image of my new Instructable is all distorted and it isn't possible to make out what the image shows. Also, I can't find a way of changing the thumbnail image once it is published. It's chosen the first, yellow image, not the second clear image. Any help appreciated! Thanks, theRedBryophyte

Topic by theredbryophyte   |  last reply

[Answered] Balance Control Not Working Properly?

Okay, I bought an older karaoke system, which I am using as a speaker for my iPod and an amp for my guitar.  As you have probably deducted from that, it has RCA stereo auxiliary inputs and 2 mic inputs.  I plug my iPod into the RCA aux in jacks, and it is sending out a stereo signal.  The cable I use is a special cable originally intended for an audio/video cable for my camera.  It's wiring scheme allows me to use it as a 3.5 mm (1/8 in) male audio plug to the two stereo, RCA male plugs.  I press play on my iPod, and of course music comes out.  The "amp" has a balance pot on it (pot meaning knob).  When the balance pot is centered, the left channel is full volume, but the right channel is weak.  To get the full right channel, I have to turn the pot all the way right, which of course blocks the left channel out.  There is a "sweet spot" around the 4 o clock position that evens out the channels, but they aren't as strong.

Question by KaydenST   |  last reply

how do you properly maintain an aeg?

How do you properly maintain an aeg?

Question by coolpizzadude   |  last reply

how do you properly use crutches?

Question by    |  last reply

how to properly mount a swivel arm lamp?

I picked up these swivel arm lamps on craigslist, I do not know how to mount them properly, it seems like they are missing pieces, but i am not sure. if someone has one of these or knows how to install them i would appreciate it thanks

Question by embochner   |  last reply

How do u properly cut a mango? Answered

I'm hungry and i don't know how i should cut it and i can't look it up on any other website cuz they're all blocked  

Question by andieXcandie   |  last reply

how to cut properly using a hand saw?

Well i tried using a hand saw to cut a piece of plywood, but instead of getting it cut at 90 degrees to the edge it just cut in an angle, how do i control this ??

Question by kevin22   |  last reply


Hi i am working on a project were i have a power source, a resistor, then an using a resistor and limiting the power to the LED will that make the life of my battery longer? any help would be greatly appreciated, thnx :-)

Question by ShOoP dUh WoOp   |  last reply

My ps2 controller stopped functioning properly? Answered

The controller works like new for about an hour and then the left anilog stick starts sticking to the left but still releases fine. (update now It is sticking all the time)

Question by coolpizzadude   |  last reply

A Physics problem I can't explain properly Answered

If a stick with dm/dl =const is hanging on three nonstretchable pieces of string (l1=l2=l3 and l is the distance between them) you can't find the tensions, because the problem is unsolvable if all the strings don't stretch. It is kind of obvious, because if a string happens to be 0,00000000001 mm longer than the others the tension will be zero. But how to prove this normally?  Sorry, I almost never use English for Physics conversation, so I don't know any proper words...

Question by gruffalo child   |  last reply

solar circuit not working properly? any ideas?

I am building a solar powered charger for when I go on holiday, I know there are already some instructables on this but and can't seem to find anything to do with my problem. I use the solar panels to charge Ni-MH batteries  and when I test them in a simple circuit i.e. solar panels connected straight to the batteries, they charge but in my circuit below the battery connections on the casing heat up and the casing smokes. Obviously this is a problem but I don't know what is causing it. My schematic is below. Stu

Question by stuart576   |  last reply

How to properly attach a mirror to a plasterboard wall?

Hello! I'm in a bit of a mess as I do things around the house much less often than I actually should so I thought home of the DIY will be the right place to ask for this. I've purchased a large mirror for my room and realized that I don't have any wall plugs that would be long enough to reach the load-bearing wall and I've never used wall plugs for the plasterboard wall in front of it. To be honest I have no idea which ones to buy. How much weight the plasterboard wall ones handle. And is it even a good idea to them or should I just get longer ones which will reach the load-bearing wall? Thank you for your time, Matt.

Topic by friiks   |  last reply

My laptop is not connecting to my internet properly

I have a Toshiba laptop and for some reason lately it has not been connecting to my internet as well as it normally does. I only have like 2 bars of signal and it does not go any higher than that, my brother and my game consoles are fine so it is not my internet router. I have tried everything I know and nothing seems to work, I get disconnected from playing games every 10-20 minutes. If you have any suggestions please let me know. Thank you

Question by Shaynamaria   |  last reply

Palm Vx not connecting with computer and not charging properly?

Hi, I have a Palm Vx, and I wanted to put it good use, so I got it out from my cupboard and... I can't get it to work. It only turns on when it's charging, when I take it off the charger, 5 seconds later, it dies. Also, when I try to sync it with the computer, it comes up with the message: The connection between your handheld device and your computer cannot be established. I am plugging it in by 9 pin serial port on Windows XP, I don't think the serial port is active, because when I go; Setup \ local. There is no com port that can be selected! Please help!!! NM

Question by NatNoBrains 

Can't properly flash Attiny85, please help.

I have working proto of a bathroom exhaust fan controlled by methane sensor via arduino uno. I now wish to transfer this sketch to an ATtiny85 (cause i had extras). I have programmed ATtiny before, and can successfully get 'blink' going on this specific MCU. However I cannot get my sensor sketch to work properly... Perhaps I am asking too much of this little guy? I am including my code and video in hopes that someone can steer me in the right direction.  /*   AT85      Arduino    Circuit   0 (PB5)   A0             pin 3 of 50k pot   2 (PB7)   ~9             led or relay     Trim Pot        1              GND   2              GND   3              Arduino (attiny) & Sensor B1     Sensor   A1             +5VDC   H1             GND   GND            GND   B1             Trim Pot 3   */   const int numReadings = 10;    // average sensor reading used from 10 samples int ledPin = 1;                  // replaced ac/dc relay with led to debug int readings[numReadings];      // the readings from the analog input int index = 0;                  // the index of the current reading int total = 0;                  // the running total int average = 0;                // the average int inputPin = 0;    //reading from sensor unsigned long start_time; unsigned long current_time; unsigned long elapsed_time; void setup() {   // sets digital pin 1 to output   pinMode(ledPin, OUTPUT);     // sets analog 0 to input   pinMode(inputPin, INPUT);   // initialize all the readings to 0:   for (int thisReading = 0; thisReading < numReadings; thisReading++)     readings[thisReading] = 0;          } void loop() {         // 10 sample average used to prevent false positive from a bounce and/or spike         // subtract the last reading:   total= total - readings[index];           // read from the sensor:    readings[index] = analogRead(inputPin);   // add the reading to the total:   total= total + readings[index];         // advance to the next position in the array:    index = index + 1;                      // if we're at the end of the array...   if (index >= numReadings)                  // ...wrap around to the beginning:     index = 0;                             // calculate the average:   average = total / numReadings;           // send it to the computer as ASCII digits          delay(1000); // delay in between reads for stability                    int threshold = 300;                  // sets the threshold value   if(average > threshold){  // determines if the level of methane breaks threshold         start_time = millis();      // starts exhaust fan on 5 min timer     digitalWrite(ledPin, HIGH);      do  {       current_time = millis();      // defines the 5 minute timer       elapsed_time = current_time - start_time;     }     while(elapsed_time < 300000); // 5 min. countdown   }     if(average < threshold){      // sensor is checked against threshold       digitalWrite(ledPin, LOW);  // fan turns off if sensor value below threshold     }                             // or stays on until it is below threshold     } thanks in advance!

Question by earthtown   |  last reply

(SOLVED) 555 LED flasher slows...

I am attempting to recreate Duck210's guitar LED mod. However, I am having problems with the circuit. As I have said, it gradually slows to an ultimate stop. Any ideas? Please help! Thanks in advance,     ~H4ZZ

Topic by __DELETED__   |  last reply

Help! How do I use Sculpey Properly? Answered

I am new to the modeling clay art form. I have been tasked with creating something. I bought sculpey to use, but dont know how. Can anyone tell me how to use it properly?

Question by TheDreamer   |  last reply

Can't access Instructables - page isn't redirecting properly

Hello. Today I tried accessing the following link But I get the following message: The page isn't redirecting properly                                                         Firefox has detected that the server is redirecting the request for this address in a way that will never complete.                           This problem can sometimes be caused by disabling or refusing to accept     cookies. Can you people access that page?

Topic by CheckDavid   |  last reply

What should the internal temp of properly baked bread be?

Is there an optimal internal temperature that bread should have to be neither underbaked nor overbaked? I saw a bread recipe recently which called for the use of a precision thermometer to take the bread's temp, but I haven't seen any other recipe suggesting this. 

Question by Mileman2010   |  last reply

How do you properly sharpen a kitchen knife? Answered

It sounds silly, but I have all the sharpeners one could buy, steels, ceramic, diamond... but no matter how I rub, pull or grind, my kitchen knifes can hardly cut through the skin of a tomato.

Question by dk-info   |  last reply

McWire CNC controller wont function properly. Suggestions?

I built a McWire CNC controller and it won't function properly. I measured 19 volts at the A//B terminals when I sent a signal to the circuit via KCAM but I measured a constant 1.5 volts at B-/A- regardless of whether or not I sent a signal to it. I am pretty sure that I wired up the circuit correctly. The motor will "stiffen up" when I jog it with KCAM but it won't rotate. Any help would be appreciated because I am at my wits end with this thing. Thanks in advance!

Question by abadon   |  last reply

Anyone know how to properly rewire a traffic signal? Answered

I recently obtained a traffic signal, and I'm interested in getting it to work via a standard US outlet. I want to also be able to turn on each light separately. There are 3 hot wires(1 for each light) and 1 neutral wire. I have very basic wiring skills, but I'm concerned about sharing(splitting) the neutral wire into three switches. Any thoughts or ideas on how to properly wire this? Thanks in advance. Just for your knowledge the lights are each rated at 116 w up to 130 volts.

Question by Caesarblue   |  last reply

Videos not interfacing properly when adding Instructable to collection

   OS: Windows 7, Dell desktop, Internet Explorer and Chrome (all most recent versions as of 1/27/16), I was looking at: Build a Lightsaber   by MrTinkerer (with attached image.  Note that this happens for any video in any Instructable I view).  To reproduce, simply click the add to collection button and scroll past the video.  The video also cuts into the header when scrolling normally. 

Topic by DebuffedHero 

How to use lasercut t-slots properly in a design?

I am in the process of designing a laser cut 3D Printer with some of my friends. I have never used a laser cutter before. We are trying to use t-slots that are similar to those used on the old makerbots. Does anyone have a suggestion of the lengths of the slots and the frequency (spacing between joints)? Thanks!

Question by thekendall   |  last reply

How do I properly power my electromagnet?

I just purchased an electromagnet from Amazon for a small prop for an upcoming play I am directing. Now my problem is... I do not have a clue as to how to supply the power to it. It needs to be able to run steady for roughly 3 hours.  What size batteries would I need -the smaller the better in terms of size since the prop itself is not that large,  ut will do whatever is necessary to function properly. Here is the only information the electromagnet had attached to it: 'Feature: Electric lifting magnet Powerful and compact Smooth and flat surface Low consumption and reliable Applications: assembly line, sorting machine, mechanical arm, experimental facility, etc Specification:Material: Metal Input Voltage: 12V DC Lifting Force :20N Overall Size : 15 x 15 mm /0.6 x 0.6 inch(Dia. *T) Thread DIA : 3mm Lead Length : 24cm/9. 5 inch" Any help would be greatly appreciated. Thank you in advanced!

Question by DeanB77   |  last reply

Johnny Walker Game caller wont work properly

Guys(and gals) i need help once again. While I was looking in my friends garage i saw a Johnny Walker game caller and these things are expensive so i asked him about it and he said it didnt work. So ofcourse i offered to try and fix it, and he said if i can that i can use it anytime. (and if you have a good memory, you will remember the post i made about how to make one of these game callers) Well, its power supply is 12 volts DC, 2 6v batteries ran in a series. and they are rechargeable by the way. when i plug the recharging plug(you dont remove the batteries to recharge, there is a port right under the place for the cassette) and hit the power button the red LED(that signals power) is at full strength for about half a second then fades to a wimpy red color. at the same time the LED is at its full power there is a noise coming over the speaker and the noise dies once the LED dims. Any suggestions?

Topic by ledzep567   |  last reply

List of solutions to IE not displaying web pages properly? Answered

I've been doing a bit of web design recently. My site looks great in firefox but in internet explorer the unordered lists for the menu are double spaced making it look a bit naff. After a bit of googling I couldn't find anything on it but wondered if any iblers had come across a list of common problems with html and css that makes internet explorer display it differently? (Pictures: firefox on left, IE on right)

Question by Jayefuu   |  last reply

How to properly setup an undefined numbers of piezos for drumming ?

Hello everybody ! I'm currently into a really cool project which gives me quite hard times. To begin, I'm a big noob in electronics, but I'm decent in programming. So i'm able to understand, learn or correct myself easily when it's about code, but I'm really in the dark for everything concerning electronics despite the fact that I read so much about it recently... My projet ------------ My goal is to make my own MIDI drum kit. Not a new idea, but the difference is that I want to use lot of pads. I bought some WII, XBOX and PS drum kits that I disassembled to get just de pads. Then I bought an Arduino Uno, not a mega because I'm a beginner and I can totally start with a small amount of pads, also I wanted the perfect solution in terms of compatibility etc. STEP ONE : 1 pad -------------------- So, I first made a prototype with 1 pad, which was very easy to do, since there is billion of officials and unofficials tutorials about how to connect a piezo to the Arduino. So basically, on my breadboard its like that (except im on A0 not A2) : So I connected my pad to the Arduino with a 1 Mohm resistor in parallel and I made a program which function very very well. You can read it the : The only challenge here was to set proper threshold and delay so the signal is clean when I hit the pad with a drumstick, to integrate the MIDI library and finally to find a software that makes the informations i send available in any of my favourites music softwares (Ableton Live, Maschine, ...), this software is Hairless Serial to MIDI, btw. STEP TWO : X pads --------------------------- It's when I'm getting troubles. At first I believed that all I needed to do was to reproduce the same schematic but "duplicate it" x times. So I tried with 4 pads. I used the same strategy on my breadboard : each pad is connected in parallel with a 1 M ohm resistor, but all are connected to ground. You can see it there : The code, take the old one, but just loop on the 4 pins : So here are the 2 issues : - The pad on the left is OK, like with my 1st program, the second one is still ok, the third one I have to hit a bit hard, the fourth one I have to hit VERY hard. - When I hit a pad, it seems it send electricity in others pins, I say that because when i connect the Arduino to a music software, hiting a pad = having multiples notes at the same time. For the hitting force issue, I'vre tried to play with resistances, puting higher or lower values and I got totally lost with that : nothing seemed to be better. About that "leaking" issue, I thought it could be useful to put some diodes, as i heard diodes are usefull when you want to make the current going in one way only, but when i watch some others schematics, i see no diodes and only 1 Mohms resistors everywhere, so I really don't know what is wrong and what to do. Here is the MIDI xylophone someone made and posted on instructables : I have no idea why this is working and why there is ground directly linked to these analog pins, and many other things i cannot understand. Any help would be really appreciated ! :)

Question by AnthonyJ7   |  last reply

This arduino code does not work as expected, any help? there seems to be an issue with the digitalWrite function. Answered

Recently, I wanted to make a laboratory grade linear semi-precision power supply using an Arduino, LCD, some comparators, and MOSFETs. Idealistically, I want measurements to be 3 significant figures of precision (0.1% accuracy @ 30V), voltages as high as 30V, and max current of 10A. The power supply is most likely going to be just a single regulated output, maybe if I feel lucky I will make 2 regulated outputs once I get the darn Arduino code to work. The Arduino's job is to simply set and read the output voltage, and is not part of the control loop. That is what the comparators are for. (I learned the hard way that using the Arduino within the control loop just results in parasitic oscillations because the Arduino is a clocked device and can only self correct at timed intervals.) Anyway, below is the code. I made explanations of all portions of it as clear as possible, and I also give the wiring used for the LCD, 4 buttons, and analog inputs used to set and read the voltage and current. However, the issue arises when I upload the code, the setVI button does not work unless I press both it and the RS button at same time. I made the many of the integers display in the serial output to diagnosing easier hopefully. I can see the setVI integer and my dudd integer only goes HIGH when  either it and the RS buttons are pressed simultaneously, or when the RS butten is held down for a long enough time. However, as far as I am aware, nowhere in the code do I manipulate that code so setVI goes HIGH dependant on other buttons, so I am bewildered by this parasitic phenomenon. Is my Arduino MEGA broken? I had a similar problem in the past, where I had multiple analogRead statements It strangely seemed to factor in the outputs of other input pins. Anyway, here is the code. Maybe someone could upload it and tell me if it functions properly on their arduino? That would help me determine if it is indeed a software issue. (p.s. I use an Arduino ripoff called the Funduino, but it is not broken in any way, I don't think?) Any and all help would be greatly appreciated, thank you in advance, -Max-. p.s. To make the code below legible, please copy/paste it in an IDE or in notepad and convert it into a monospaced font, it will make it very easy to follow. //---------------------------------------------------------------------------------------------------------------// /* Arduino Software for lab power supply. Wireing guide:        **Wiring for 16x2 LCD:**       * LCD RS pin to digital pin 12       * LCD Enable pin to digital pin 11       * LCD D4 pin to digital pin 5       * LCD D5 pin to digital pin 4       * LCD D6 pin to digital pin 3       * LCD D7 pin to digital pin 2       * LCD R/W pin to ground       * 10K resistor:       * ends to +5V and ground       * wiper to LCD VO pin (pin 3)    **Wiring for buttons:**       * RS       button to pin 6  (as a digital input) -- Switches from reading read current/voltage values to setting those values, and Vice Versa.       * VIselect button to pin 7 (as a digital input) -- Switches to the 'set' mode and flips from setting the voltage to setting the current.       * UP       button to pin 8  (as a digital input) -- Increments the voltage or current up when in the 'set' mode.       * DOWN     button to pin 9  (as a digital input) -- Increments the voltage or current up when in the 'set' mode.    **Analog inputs/outputs:**       *A0   -- Measures a potential of a resistor divider that can output a voltage of 0-5V based on the 0-30V output this PSW capable of.       *A1   -- Measures the current flow through a resistor to measure current. (Some reason there seems to be a pulldown resistor on this pin, so the voltage does not float.)       *Vout -- This will be later implemented if I get a DAC, for the increased resolution. (1024 is just not enough in my opinion. At least 12 bits)       *Aout -- This will be later implemented if I get a DAC, for the increased resolution. (1024 is just not enough in my opinion. At least 12 bits) */ int UP    = 0;      // These are the 2 buttons used to incrementally int DOWN  = 0;      // step up or down the voltage on the output int RS = 0;         // These 2 buttons tell the LCD to either read out the voltage on the analog pins. (I plan to change this so it reads from a 14 bit ADC and writes int setVI = 0;      // the voltage output through a 14 (or 16 bit) bit ADC. I need 3 significant digits, or at least 0.1% accuracy. int dudd = 0;       // this dudd (dummy variable) is just here to prove that digitaslreading pin 7 works very weird! Any help on this? int preRS = 1;      // Anything with a "Pre" before it is simply what said integer/variable on the last loop. I use these to prevent a parasitic int presetVI = 1;   // oscillation of states that they control, so when a button is pressed, it will not jump between 2 states every cycle. int preUP    = 0; int preDOWN  = 0; float Aset = 0.00;  // I need these to be "floated" so I can set the exact value of these to 3 significant digits. float Vset = 0.00;  // Aset and Vset define what the output voltage *should* be, and are defined with the UP/DOWN buttons. int VIselection = 1;// this variable will invert when Aset button is pressed. Similar to the IVselect, this number will also invert int READorSET = 1;  // Bset button is pressed. This allows the mode to be changed from SET mode or the READ output mode, thus allowing                     // one to compare the output voltage and current to the set value, as well as set the output voltage and current. #include LiquidCrystal lcd(12, 11, 5, 4, 3, 2);// initialize the library with the numbers of the interface pins void setup() { //-------------------------// I tried making diagnosting this thing easier by making all the important data availible in the serial monitor.   lcd.begin(16, 2);   Serial.begin(9600);   Serial.print("INPUTS         RS:           READorSET:       setVI & dudd:        VIselection:");   Serial.println(""); } void loop() {   float V = (30.00*analogRead(A0))/1024.00;   //These are what I use to read the voltage output of my power supply. I will have a voltage divider on the output,   float A = (15.000*analogRead(A1))/1024.000; //to limit the voltage range from 0-30V to 0-5V. Same concept goes for the current measurement.   int dudd  = digitalRead(7);//   RS    = digitalRead(6);//RS stands for "Read/set"   setVI = digitalRead(7);//VI is stands for "Current/Voltage set"   UP    = digitalRead(8);//UP is simply a button used to set voltage & current   DOWN  = digitalRead(9);//DOWN is simply a button used to set voltage & current     if(presetVI == LOW && setVI == HIGH){VIselection = -VIselection;}   if(preRS    == LOW && RS    == HIGH){READorSET   =   -READorSET;}     Serial.print("\t        ");  // prints an inital space.     Serial.print(RS);            // prints the RS reading. It should be '1' when pin 7 is HIGH.     Serial.print("\t        ");     Serial.print(READorSET);     // prints the READorSET reading. This should only change when the RS button is pressed.     Serial.print("\t        ");     Serial.print(setVI);         // prints the setVI reading. It should be '1' when pin 7 is HIGH.     Serial.print("\t");     Serial.print(dudd);         // prints the setVI reading. It should be '1' when pin 7 is HIGH.     Serial.print("\t        ");     Serial.println(VIselection); // prints the VIselection reading. This should only change when the setVI button is pressed.         //if(presetVI == LOW && setVI == HIGH && READorSET == 1) {READorSET = -READorSET; VIselect = -VIselect;}      // This line of code just makes so that when I need to go from the voltage read screen to      // the set mode, I can just press the VIselect button. It just makes things more intuitive, but could be      // causeing the error, so I nulled it. I also nulled it out another portion that will keep the voltage or      // current setting the same when using the VI buttton to select the set mode. (otherwise it has to be      // double pressed to return to, say, the current setting, if that is where you left off.)   if(UP == HIGH && DOWN == LOW && VIselection == -1){if(Aset <= 10.00) {Aset += 0.05;}}   if(DOWN == HIGH && UP == LOW && VIselection == -1){if(Aset >= 0.10) {Aset -= 0.05;}}     if(UP == HIGH && DOWN == LOW && VIselection == 1) {if(Vset <= 30.00) {Vset += 0.05;}}   if(DOWN == HIGH && UP == LOW && VIselection == 1) {if(Vset >= 0.05) {Vset -= 0.05;}}     if (RS == HIGH){digitalWrite(13, 1);}   if (RS == LOW){digitalWrite(13, 0);} //============================================================================================================//   if (READorSET == 1){      //this is the defualt screen, and shows the output voltage and current.     lcd.clear();              lcd.setCursor(0, 0);     lcd.print("VOLTAGE:");     lcd.setCursor(0, 1);     lcd.print("CURRENT:");     lcd.setCursor(10, 0);     lcd.print(V);     lcd.setCursor(15, 0);     lcd.print("V");     lcd.setCursor(10, 1);     lcd.print(A);     lcd.setCursor(15, 1);     lcd.print("A");   }   if (READorSET == -1){   // This is the portion of the code allowing me to set the current and voltage     lcd.clear();          // using the up/down buttons.       if (VIselection == -1){         lcd.setCursor(0, 0);         lcd.print("  SET CURRENT:");         lcd.setCursor(5, 1);         lcd.print(Aset);         lcd.print("A ");       }       if(VIselection == 1){         lcd.setCursor(0, 0);         lcd.print("  SET VOLTAGE:");         lcd.setCursor(5, 1);         lcd.print(Vset);         lcd.print("V ");       }   } //============================================================================================================//   presetVI = setVI; // At the end of each loop, the current variable settings that were used are set equal   preRS = RS;       // to the 'pre' versions of the code. This allows me to basically measure the when                     // the button is initially pressed, and/or released. Using this method with the delay()                     // function, however, is a bit buggy, but I did have it working well enough before. If you                     // tap the button too quickly. You almost have to hold it for a split second. If you                     // know a better, simpler way of doing this, please tell me, thank you.                       delay(80);        // The delay helps stabilize the reading on the LCD, but if it is too large, than the                     // refresh rate suffers, and the buttons respond slower. However, setting too low will                     // cause the reading on the display to change so rapidly, it is illegible. }

Question by -max-   |  last reply

Flickr interface not properly escaping special characters in photo descriptions

I've been putzing with the Flickr importer thing in the upload images page. I have a few images with descriptions that have standard doublequotes ("), and it appears they are not being properly escaped when pasted into the javascript for the page, and causing all sorts of havoc.

Topic by matthewbeckler   |  last reply

My psp(2000) right speaker isnt working properly Answered

It rustles when i play music theres no dust in there anybody know how i can fix it ?

Question by la-main   |  last reply

my soldering iron isnt working properly! PLZ HELP ?

I have just brought a brand new soldering iron. I just plugged it in and kept it aside for a minute (so that it becomes hot ). after a minute or so Inoticed my iron's color gradually became darker (from silver to black). Its a brand new product and now it is not getting hot faster.please help

Question by ashish_scientific   |  last reply

How to (properly) glue a SMD leds to (slightly flexible) plastic?

Hi people or robots, For a project of mine I need to glue SMD leds to a transparant piece of plastic. the LEDs need to be glued face down on the plastic so the soldering contacts are facing up. I've already tried super glue (CA glue) but this didn't hold, the LEDs would pop of when the plastic was flexed a bit. What would you (the awesome instructables community) recommend? I've ordered some two part clear epoxy to give that a try, would that work?

Question by theexternaldisk   |  last reply