Show Posts
Pages: [1] 2 3 ... 14
1  Using Arduino / Motors, Mechanics, and Power / Re: Servo problem (power supply?) on: July 30, 2013, 05:06:09 pm
Hi spyro,

Did you connect the grounds?

You should try the servo exams on this site first... At least we'll know the code is OK.

Also, if that doesn't work, try connecting the servo to its own 3v-6v battery (and connect the grounds). Sometimes there isn't enough current for both, although usually the symptom is that the Arduino reboots.

Pat.
2  Using Arduino / Sensors / Re: Sensor for cigar and cigarretes on: July 17, 2013, 06:12:21 am
Here's another Arduino forum link: forum.arduino.cc/index.php?topic=113448.0
3  Using Arduino / Sensors / Re: Sensor for cigar and cigarretes on: July 16, 2013, 07:55:27 pm
Hi rookieven,

Those look like carbon monoxide detectors. I'm not sure if they'll be sensitive enough to detect cigarettes.

Did you look for smoke sensors?  Check this out: playground.arduino.cc/Main/MQGasSensors

Pat.
4  Using Arduino / Project Guidance / Re: Lcd thermostat arduino project. I need help! on: July 16, 2013, 07:45:03 pm
Hi Dylon,

 (swtch1,1)
    {settemp + 1;}

Isn't doing what you think.  Look up how to read a switch in the Arduino examples.  You're probably closer than you think.

Also, press <CTRL>T to format your code to make it readable.

Pat.
5  Community / Exhibition / Gallery / Re: Automatic Street Lightning on: July 15, 2013, 03:31:38 pm
Dr Watson,

That's a nice little project. Do you have plans to package it and put it in a project box?

Pat.
6  Using Arduino / Project Guidance / Re: Reverse engineering - legal issues on: July 10, 2013, 02:22:35 pm
Quote
Opening something, making photos from inside and publishing them with description what is what is not yet against the law, right?

I wouldn't be so sure about that.  You're treading in legal waters here and every case is different.
7  Using Arduino / Project Guidance / Re: Combining programs and Lcd display on: July 08, 2013, 09:01:08 am
Hi jsleh,

I'm really having a difficult time following the logic in your code snippet without explanatory comments and good indentation.

Please add some comments and then press <CTRL>T to fix the indentation.

You may wish to start a new sketch. Merging two together makes things confusing...

Out of curiosity, what happens if you do this (remove the voids):

Quote
void setup()
{
  setupmain();
  setup1();
  setup2();
}

void loop()
{
  loopmain();
  loop1();
  loop2();
}
8  Using Arduino / Motors, Mechanics, and Power / Re: DC motor effecting all pin voltages on: July 07, 2013, 09:45:28 pm
Quote
Right now i'm powering the arduino through the usb port

I recall having similar problems when powering my circuit from the USB.  Try plugging in your wall wart.  It cleaned up a lot my problems.

But also heed the advice re the capacitors thou.

Pat.
9  Using Arduino / Sensors / Re: Measure high pressure in compressor on: July 07, 2013, 09:29:55 pm
Let us know what you end up doing then!  I'm interested too.
10  Using Arduino / Project Guidance / Re: Switch on LED using C# code on: July 07, 2013, 09:28:10 pm
Quote
Maybe C# isn't the best way to go

My bad.  I didn't see the # in there...  You're correct.  Now if the op wants to learn to program the Arduino in the typical manner (i.e., C or C++), then my original comment stands.
11  Using Arduino / Programming Questions / Re: Motor PWM using buttons on: July 07, 2013, 09:22:58 pm
Hi connor1868,

I suggest that you add a delay statement at the bottom of the loop to allow the print statement to output.  Start with 500 (1/2 second) and see what happens. Assuming that the wiring is correct, you are giving your program a bad case of output constipation.  You can reduce this significantly when you get this working and remove the printouts.

Also, add the debug statements that nid96ita recommends.  (You should increase your delay to 1 or 2 seconds in this case.)

Then let us know what happens!

Pat.
12  Using Arduino / Sensors / Re: Measure high pressure in compressor on: July 07, 2013, 09:12:14 pm
Hi tgriotto,

I'm not familiar with that type of sensor, but to simply answer your question, the Arduino is designed to accept input voltages less than (or equal to) 5 volts, DC.

If the sensor can generate more than that, you would need to reduce the input voltage with something, such as a voltage divider.

Can you share any additional details?

Pat.
13  Using Arduino / Project Guidance / Re: Switch on LED using C# code on: July 07, 2013, 08:47:33 pm
Hi jeyaraji,

I've got two recommendations:

  • Review the tutorials on this site.  They are all well written.  A side benefit is that if you have a problem with one, the folks on this site are also very familiar with them and can help.
  • Buy a good book.  I recommend The Arduino Cookbook.

Enjoy it!

Pat.
14  Community / Bar Sport / Re: Arduino books? on: July 07, 2013, 08:35:57 pm
Hi Blackmon,

Without a doubt I recommend the Arduino Cookbook.  It's very well written and covers a lot of ground, using various circuits that are all well described.

Pat.
15  Topics / Product Design / Re: Schematic Help on: July 06, 2013, 01:09:10 pm
Hi kirash4,

What type do SSR are you using? The only ones I'm familiar with control AC, not DC.

Pat.
Pages: [1] 2 3 ... 14