Show Posts
Pages: [1] 2 3
1  Community / Exhibition / Gallery / Re: Another BBQ Thermometer - WiFi Enabled with Push Notifications on: April 10, 2014, 12:21:36 pm
Wow, very cool.  What project box did you use?
2  Community / Exhibition / Gallery / Re: Another BBQ Thermometer - WiFi Enabled with Push Notifications on: April 08, 2014, 11:05:29 am
can you post some photos?
3  Community / Exhibition / Gallery / Re: Arduino MP3 Player on: September 13, 2013, 11:51:55 am
You should post a video showing it in action.
4  Using Arduino / Audio / Re: problem with tone and softwareserial for GPS on: May 07, 2013, 08:20:45 pm
As a followup, it looks like the problem was with the SoftwareSerial library.  I changed over to the AltSoftSerial library (http://www.pjrc.com/teensy/td_libs_AltSoftSerial.html) and the problem with the tone no longer happens.
5  Topics / Product Design / Re: Xronos Clock - Arduino Powered Talking Alarm clock on: May 06, 2013, 04:01:31 pm
That is super cool.  Great job.

Did you have the case laser cut?
6  Using Arduino / General Electronics / Re: Need a simple audio amplifier on: May 05, 2013, 09:16:38 pm
I use LM386N8's...

I tried downloading your PDF but it doesn't open. Have another link for it?
7  Using Arduino / General Electronics / Re: Need a simple audio amplifier on: May 05, 2013, 04:05:03 pm
It's simple because it only has to amplify square waves of a fixed amplitude

I made the amp that you drew up. Works ok and puts out more audio than before.  I'll order some parts this week for a more powerful amp.
8  Using Arduino / Audio / problem with tone and softwareserial for GPS on: May 05, 2013, 03:42:05 pm
I'm having a problem using tone and the softwareserial library (which I'm using to connect to a GPS).  It took me a while to figure out the problem.  The sound generated by tone was being corrupted (cutting in and out).  I figured this out when I disabled softwareserial in my program, like this  sws.end();  I'm assuming the GPS was sending data at the same time the tone was trying to be played.

Is there an alternative software serial library that doesn't effect tone?

Or, does the current softwareserial library work with tone only on certain pins?  I'm currently using pins 8 & 7 for softwareserial and pin 5 for tone.
9  Using Arduino / General Electronics / Need a simple audio amplifier on: May 03, 2013, 09:29:29 pm
So far I've already played around with the pitches.h library and hooked up a small 8ohm 0.1w speaker directly to the arduino (using a 150ohm resistor too)  So far that has worked fine with my program.

But my goal for part of my project is to hook up a larger more powerful speaker (I have a 4" 8ohm 10w or a 2" 8ohm 3w speaker that I'd prefer to use) and get loud audio (simple tones really).  So, I need some kind of amplifier.   

I've started to search around the forum and on google but I just get more confused as I look at amp circuits.  I tried making the audio amplifier from the Aduino Basic Connections guide http://arduino.cc/forum/index.php/topic,154549.0.html

Although I didn't have a BC337 on hand.  I used a P2N2222 instead.  (I also have some BC328, BC549, and BC550 lying around)  I did get some audio out of the speaker, but it isn't what I'd call loud.

I also tried making this: (found it searching google)

but that was even worse, as I didn't get any audio from the speaker.

Poking around I do see CrossRoad's circuit using IRF3707Z MOSFET http://arduino.cc/forum/index.php/topic,157647.msg1184322.html#msg1184322, but I'd have to order one (would prefer to use components I already have if possible).

I also see this post http://arduino.cc/forum/index.php/topic,114094.msg858503.html#msg858503

but there is no guidance on what values are needed for the resistors and capacitors.  I would try making it, but what components do I use? (I have a fairly good assortment of resistors/capacitors and the 4 transistor types I mentioned)  I'll also be powering my project from a 12v battery, so would prefer to use that as the voltage level for the speaker (but could just as easily step it down, since I have a 12v-5v switching voltage regulator)

Looking for help  smiley-lol
10  Using Arduino / Displays / Re: 20x4 LCD acting odd on: May 02, 2013, 08:38:53 pm
Yup, it was a simple mistake;  too many spaces.  Got it fixed now. Thanks!
11  Using Arduino / Displays / Re: 20x4 LCD acting odd on: May 01, 2013, 07:29:12 pm
I'll test the change tonight and get back with you. (at work now). At first glance it looks like it was a simple mistake on my part that I overlooked.

As to why I don't clear the screen, it's a long story.  I have other things going on with my program loop that are time critical and don't want to clear it. I also don't need to clear everything, just what changes (which is why I've included white space).  If I do use lcd.clear();  then it takes too long. I think around 70 or 80ms.

Thanks for all the help.
12  Using Arduino / Displays / 20x4 LCD acting odd on: April 30, 2013, 09:53:07 pm
I'm having trouble with my program and a serial 20x4 LCD.  (This is the exact one: http://www.nkcelectronics.com/20x4-Serial-LCD-Module-Blue-with-White-backlight_p_346.html)  I'm using their library also.

For some reason it cuts off the first 3 characters on the second line and only in a particular section of my code. No where else in my code does it act like this, so I wouldn't think the LCD is defective in any way.

Code:
void displayRootMenu() {
  //Root Menu
  if (changed(PreviousMenuItem,CurrentMenuItem)){
    selected = PreviousMenuItem;
    lcd.clear();
    lcd.setCursor(1, 1);
    lcd.print(F("---- Root Menu ----"));
    if (PreviousMenuItem == 100){
      //only display if we are displaying for the first time
      lcd.setCursor(2, 1);
      lcd.print(F("Rotate knob to"));
      lcd.setCursor(3, 1);
      lcd.print(F("access menu items"));
      selected = 0;
    }
    lcd.setCursor(4, 1);
    lcd.print(F("--------------------"));
    PreviousMenuItem = CurrentMenuItem;
  }
    selected -= readEncoder();
    if (selected<1) selected=6;
    if (selected>6) selected=1;
    if (moved || subMenuReturn) {
      subMenuReturn = false; //reset
      lcd.setCursor(2,1);
      switch(selected) {
        case 1:
          lcd.print(" 1: Time Format     ");
          lcd.setCursor(3,1);
          lcd.print("    ");
          lcd.write(B00101000);
          lcd.print(timeFormat);
          lcd.print("-hr");
          lcd.write(B00101001);
          lcd.print("            ");
          break;
        case 2:
          lcd.print(" 2: Time Zone Offset");
          lcd.setCursor(3,1);
          lcd.print("    ");
          lcd.write(B00101000);
          lcd.print(timeZone);
          lcd.write(B00101001);
          lcd.print("          ");
          break;
        case 3:
          lcd.print(" 3: LCD Backlight   ");
          lcd.setCursor(3,1);
          lcd.print("    ");
          lcd.write(B00101000);
          lcd.print(lcdBacklightBrightness);
          lcd.write(B00101001);
          lcd.print("            ");
          break;
        case 4:
          lcd.print(" 4: Use GPS Time    ");
          lcd.setCursor(3,1);
          lcd.print("    ");
          lcd.write(B00101000);
          if (useGPSTime){
            lcd.print("On ");
          }else{
            lcd.print("Off");
          }
          lcd.write(B00101001);
          lcd.print("          ");
          break;
        case 5:
          lcd.print(" 5: View GPS Data   ");
          lcd.setCursor(3,1);
          lcd.print("    ");
          lcd.write(B00101000);
          lcd.print("UTC Time,Sat.");
          lcd.write(B00101001);
          break;
        case 6:
          lcd.print(" 6: Exit Settings   ");
          lcd.setCursor(3,1);
          lcd.print("                   ");
          break;
      }
    }
    if (buttonRuniquePress == true){
      CurrentMenuItem = selected;
      buttonRuniquePress = false; //reset
    }
}

The LCD flickers for the first 3 characters or so (really almost too fast to notice). 

Now, here is what is odd. I tested out adding in a delay right after I print the second line.  Like this:

Code:
      switch(selected) {
        case 1:
          lcd.print(" 1: Time Format     ");
          delay(1000);
          lcd.setCursor(3,1);

And the first 3 characters show up on the LCD for 1 second, then disappear.

Also, If I comment out this:
Code:
//lcd.print(timeFormat);
then it displays just fine.  my variable timeFormat is an int.
 smiley-sad

Here is a video showing what it is doing (when I added in the delay(1000)smiley-wink
13  Using Arduino / Project Guidance / Re: 6 digit 7 Segment display - TPIC6B595 schematic component? on: March 26, 2013, 03:13:30 pm
I've been considering getting your board.  Then I was thinking, if I'm going to make boards for the 7 segment LED displays, would it be ok to put the 595 on those boards.  That way I'm only running 3 wires instead of 8.  Just wondering what the pros/cons are, besides the obvious of 3 wires vs. 8 wires  (plus pos. & neg.)

I'm playing around with Eagle right now (learning that software) so thoughts like this are bouncing around in my head.
14  Using Arduino / Project Guidance / Re: 6 digit 7 Segment display - TPIC6B595 schematic component? on: March 26, 2013, 10:08:54 am
I'm starting to layout some components for my displays.  Are there any pros or cons for placing the 595's?  Should I group all of them together on a board and then run 8 LED drain wires to each of my 7 segment displays?  Or, place 1 595 at each 7 segment display and run 3 wires (MOSI, SS, SCLK) from the arduino to each display?
15  Using Arduino / Project Guidance / Re: 6 digit 7 Segment display - TPIC6B595 schematic component? on: March 23, 2013, 09:04:22 pm
As an update, I bought a few different kinds of LEDs to see which ones I like best.  I got some of the Cree 5-mm Red 3000mcd - 12000mcd high luminous intensity LEDs.  Holy crap those things are bright.  I could barely look at them outdoors, much less indoors running at 20mA. I think I still see spots. smiley-eek-blue
Pages: [1] 2 3