Show Posts
Pages: 1 ... 78 79 [80] 81 82 ... 93
1186  Using Arduino / Project Guidance / Re: program an atmega328 with a mega on: November 25, 2011, 09:29:16 am
http://arduino.cc/en/Tutorial/ArduinoToBreadboard
1187  Using Arduino / Programming Questions / Re: Hibernating XBee resets the Arduino on wake-up on: November 25, 2011, 09:19:06 am
I am also curious about this. 
Is it possible to wake the XBee without resetting Uno?
Your link says the 120 ohm resistor is not possible for Uno...
1188  Using Arduino / Installation & Troubleshooting / Re: arduino pro mini 3.3v cant upload on: November 25, 2011, 08:59:30 am
Do you have an Arduino board to use instead?
1189  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 25, 2011, 08:57:44 am
No shorts.
I can see 3 problems according to this tutorial:
http://arduino.cc/en/Tutorial/ArduinoToBreadboard

It says NOT the Uno, at the top, in bold.
It says to select a different controller in the Board menu.
I have 4 extra caps in my circuit.
Which one of these is a problem?
1190  Using Arduino / Project Guidance / Re: program an atmega328 with a mega on: November 24, 2011, 10:43:11 pm
You mean load a sketch?  TX,RX,RST,5V,G
I'm trying to do something similar but it's not working.
1191  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 24, 2011, 02:18:55 pm
Didn't you do this process with the same PCB?
How is my setup different?
I've tried 2 different methods, different pins, different hardware.
So it can't be just 1 bad solder joint.
The only thing they have in common is our PCB.
Maybe I have a soldering defect.
How do I troubleshoot?
Keep in mind the Optiloader process was a success.
Maybe I have made a stupid mistake, I'm new to Arduino.
Something so obvious to everyone they forgot to tell me?
That's why I need your questions!  No question is stupid or insulting.
Did you remember to plug in the USB cable?  smiley-wink

When I press reset with my old DIP 328 the lights do a sequence.
Shouldn't I expect a similar response even without a Sketch in the new chip?
This does not require a good solder connection to RX.
Does it prove the problem is with TX or Reset? 
(I tested power and GND)
Certainly we can eliminate anything related to the PC as suspect.

Let's assume I made a soldering mistake.
Which connections would fit the symptoms?
Works with Optiloader but not IDE loading sketches.
Seems there are only 3 possibilities?

The correct caps are marked 4x 104
2x 22
Res Brown Black Orange.
Getting desperate...

Thanks everyone for your time and effort so far,
especially Crossroads!
Steve
1192  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 24, 2011, 09:49:03 am
Just tried again like this:
1193  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 24, 2011, 09:30:11 am
Why is there a "1" next to "D0" on PCB printed in white?
Looks almost like "D01" except 1 is upside down.
There is also a "1" next to D5.

Also tried:
D10 to Mini-uino Reset,
D11 to D11,
D12 to D12,
D13 to D13,
+5 to +5,
Gnd to Gnd
using Sparkfun USB Xbee dongle.
Same error.
1194  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 24, 2011, 09:23:00 am
1) There were no error messages when I ran the Sketch.  Every line looked good and it said success or something.  I wish I had saved the text.

2) Will post pictures.  There are 5 wires and 9 components soldered to the PCB.  I have not yet done anything different on the PC.  Just tried to upload a sketch like I always do.  Removed the DIP chip on Uno.

3) I used the Xtal that Robert provided A160LOX.  He's been great at helping me BTW!

I tried reversing the TX/RX pins anyway.  Although we thought carefully about which is correct.
"D1" to "TX"
"D0" to "RX"

What about using DTR instead on Mini like was mentioned on the other thread above mine?
1195  Using Arduino / Installation & Troubleshooting / Re: arduino pro mini 3.3v cant upload on: November 24, 2011, 09:10:41 am
@madworm - To the DTR pin on mini? 

That's different from the RST pin.
Which one is correct?
Anyone?
1196  Using Arduino / Installation & Troubleshooting / Re: arduino pro mini 3.3v cant upload on: November 23, 2011, 06:14:30 pm
I'm having a similar problem my post is adjacent to yours.  Looks like maybe your TX/RX is backwards?  Should we use DTR or RST on my mini?  Reset on the Uno header is connected to RST on the chip?  So shouldn't it be connected to RST on mini?  Just looked, I don't see a RST pin on my DIP 328P.
1197  Using Arduino / Installation & Troubleshooting / Re: New Mini-uino on: November 23, 2011, 06:05:18 pm
Great question!  There is no entry for this board.  I was told to use the same choice as the existing chip in the Uno, which is now removed.  What is the baud rate for Tools/Board/Arduino Uno?  What is the right baud for Mini-uino Optiboot?  I used this Sketch to load it following the instructions.  I did not modify the sketch.
https://github.com/WestfW/OptiLoader
1198  Using Arduino / Installation & Troubleshooting / New Mini-uino on: November 23, 2011, 04:19:19 pm
I've been working with Robert trying to get this running, he's been very helpful, but I'm still stuck.
http://www.crossroadsfencing.com/Mini-uino-DTR-ICSP-GND.jpg
Optiloader was loaded successfully.

I connected
GND,+5,RST,TX,RX to
GND,+5,RST,TX,RX on my Uno.
Removed the 328 chip.
Still it will not load sketches.

L light does not come on (UNO).
The TX LED does not come on.
The RX LED flashes a few times 1 second apart.

Please can you tell me what steps to follow to troubleshoot?
If you ask me questions it would be very helpful.
I'm not sure what more information I need to include.
I get the same error as if nothing were connected (chip removed).
1199  Using Arduino / Programming Questions / Re: What am I doing wrong? Silly mistake? on: November 23, 2011, 02:05:50 pm
It's funny how the problem is right in front of your eyes, but you can't see it...
Now it works wonderfully at controlling the TV!
When you press a key.
1200  Using Arduino / Programming Questions / What am I doing wrong? Silly mistake? on: November 23, 2011, 01:44:40 pm
I know pin 3 output is working...
This works as expected measuring with LED or voltmeter:

Code:
void setup() {
pinMode(3,OUTPUT);
digitalWrite(3,HIGH);
delay(2000);
digitalWrite(3,LOW);
delay(2000);
digitalWrite(3,HIGH);
delay(2000);
digitalWrite(3,LOW);
delay(2000);
}
void loop() {}

I have modified this demo a bit, 3 -> 333, and moving the delay
I did this as a test to see if I can measure the output on pin 3 with LED or voltmeter
Nothing.  It's stuck at 0V.
Am I losing my mind?
Please help!

Code:
/*
 * IRremote: IRsendDemo - demonstrates sending IR codes with IRsend
 * An IR LED must be connected to Arduino PWM pin 3.
 * Version 0.1 July, 2009
 * Copyright 2009 Ken Shirriff
 * http://arcfn.com
 */
#include <IRremote.h>
IRsend irsend;
void setup()
{
}
void loop() {
  if (Serial.read() != -1) {
    for (int i = 0; i < 333; i++) {
      irsend.sendRC5(0x01, 12);
      //delay(100);
    }
  }
delay(5000);
}

Edit:
I figured it out as soon as I posted it.
Go ahead laugh at me!
Pages: 1 ... 78 79 [80] 81 82 ... 93