Show Posts
Pages: [1] 2 3
1  Using Arduino / Installation & Troubleshooting / Re: Software error protoboard arduino on: April 12, 2014, 03:31:09 am
Okay- I solved the problem- due to my newbie soldering, two of the pins were shorted (cold solder joint, so multimeter did not detect shorts all the time) on the ICSP header. This led to the following symptoms!

If anyone faces this problem again, please check your joints under a microscope/magnifying lens
2  Using Arduino / Installation & Troubleshooting / Re: Software error protoboard arduino on: February 01, 2014, 01:14:55 am

I uploaded some pictures, sorry for the delay. Yes, i have already connected the XTAL + 22pf caps!
Thanks for the help!

edit: please click on the images for full size!
3  Using Arduino / Installation & Troubleshooting / [FIXED] Software error protoboard arduino on: January 31, 2014, 02:18:30 pm
Hello everyone!
I recently made an arduino on a protoboard by following the arduino on a breadbaord instructions. Since i dis not have a FTDI cable on hand, i decided to add an ICSP cable and program the 'duino usind a USBASP i had. THe drivers for that were already installed.When i tried uploading the sketch, (upload using programmer) i got the error :
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.
An LED is attached to pin 19 of the atmega 168 (SCK pin). The led glow faintly at all times. I wired the header using this diagram and have already doubled checked continuity. Can you all help me?

4  Using Arduino / Installation & Troubleshooting / Re: Extremely urgent -Arduino UNO r2 not detected..... on: October 22, 2012, 01:50:19 am
Would this work?
or even this one:
5  Using Arduino / Installation & Troubleshooting / Re: Extremely urgent -Arduino UNO r2 not detected..... on: October 20, 2012, 04:21:02 am
The first and the second arduino were broken in seperate projects looong time ago.
Anyway, i had connected the arduino to a l293 motor driver - standard wiring nothing special.
Never even once was 'magic smoke' released from any of the components.
The whole robot still works as intended but i am unable to program it.
I think that the megau8 is at fault here....
The TX light faintly glows.
Also, i tried putting the arduino into DFU mode after it stopped working but i was unable to find how  to set the UNO r2 into DFU mode. I tried shorting the first two wires of the ISCP connector as shown here:

but the arduino is still not detected at all.
6  Using Arduino / Installation & Troubleshooting / Re: Extremely urgent -Arduino UNO r2 not detected..... on: October 14, 2012, 07:00:09 am
Thanks for taking the time to reply but your reply was not very helpfull :/
7  Using Arduino / Installation & Troubleshooting / Extremely urgent -Arduino UNO r2 not detected..... on: October 13, 2012, 12:00:30 pm
I was using my arduino UNO (official) r2 for a robotics project. After a night of hard work, i continued my work in the morning but the arduino would  not get detected. I had used the same usb cable last night.

I would really appreciate the help as this is my 3rd arduino and being a student in a poor country (india) this is the last arduino i can afford to break smiley-sad

 Here are the symptoms:
1) The Arduino is completely NOT detected. I have tried this on 2 laptops, both mac and win7. When the arduino is plugged in, the laptop does not detect ANYTHING!
EDIT: On the last night that this UNO was working i randomly got this message a couple of times : avrdude: stk500_getsync(): not in sync
but the issue usually resolved it self by plugging/replugging/reset button.
2) I have tried it with 2 USB cables. The USB cable which was working before has also stopped working
3) None of the uC's i.e 'MEGAU8 and 'MEGA328P get warm
4) Since the arduino is not detected at all, the loopback test cannot be performed
5) The previous sketch runs fine
6) When i connect the arduino to power (usb or external) the on board LED 13 blinks (i think it blinks 3 times though not sure)

Help is much appreciated as i have many competitons coming up :/
8  Using Arduino / General Electronics / DTMF MT8870 with arduino for robot on: October 10, 2012, 12:36:12 am
I have attached my arduino to a MT8870 like in the following diagram:

Problem is that only one column of keys seems to work. This column changes from phone to phone- I have tested this with 2 phones.
I have not installed any pull up/pull down resistors and nor is there any buffering b/w the outputs of the MT8870 and arduino, i.e. they are connected directly. Any plausible reason why this is not working?
9  Using Arduino / Programming Questions / Getting error in code for ir sensor on: August 25, 2011, 09:35:02 am
I wanted to control a led from my Sony remote using an arduino with a TSOP1738 Ir sensor. I tried many codes but the only one that worked reliably for me was this one :
// --------------------------------------
// SIRCS (Sony IR Control System) Monitor
// Jon McPhalen
// 30 NOV 2007
// --------------------------------------

int irPin = 7;

void setup()
  pinMode(13, OUTPUT);     
  pinMode(irPin, INPUT);
  Serial.println("SIRCS Monitor\n");

void loop()
  int key;

  key = getSircs();
  Serial.println(key, BIN);

int getSircs() {
  int duration;
  int irCode;
  int mask;

  // wait for start bit
  do {
    duration = pulseIn(irPin, LOW);
  } while (duration < 2160 || duration > 2640);

  // get 12-bit SIRCS code
  irCode = 0;   // clear ir code
  mask = 1;     // set mask to bit 0
  for (int idx = 0; idx < 12; idx++) { // get all 12 bits
    duration = pulseIn(irPin, LOW);     // measure the bit pulse
    if (duration >= 1080)   // 1 bit?
irCode |= mask; // yes, update ir code
    mask <<= 1; // shift mask to next bit
  return irCode;

This code gave an output on the serial monitor depending one the button pressed.
I wanted it to toggle an LED on and off so i added the following code at the end, in between "return irCode;"
 and "}"
 { if (key == 10010010) {
    digitalWrite(13, HIGH);}
  if (key == 10010011) {
    digitalWrite(13, LOW);}
Problem is that my code doesn't compile- i get the following error-
"sketch_aug25a:50: error: expected unqualified-id before '{' token"

Could anyone help me out here?
10  Using Arduino / Project Guidance / Re: Stuck on a project on: May 24, 2011, 10:47:12 pm
What if the arduino counts the time taken for a given amount of turns, every 80 turns, which would fit the EEPROM of the arduino, give or take a few.
11  Using Arduino / Project Guidance / Re: Stuck on a project on: May 24, 2011, 12:19:01 am
Oh, ok. Would the 24C64 EEPROM be fine (I2C EEPROM, 64 kB)?
There is no need for a real time clock though, right?
12  Using Arduino / Project Guidance / Re: Stuck on a project on: May 23, 2011, 01:36:31 am
Bump, can anyone help?
i still dont know if i need an external EEPROM or not
13  Using Arduino / Project Guidance / Re: Stuck on a project on: May 22, 2011, 01:28:18 am
It will probably take place 10,000 times. I do not need the real time clock, i need the time between each rotation. What would be the way for the least amount of external parts?
I do not need to pre process anything, just the raw data.
14  Using Arduino / Installation & Troubleshooting / Re: I am afraid i have done irreversible damage.... on: May 20, 2011, 03:03:12 am
Yeah i just swapped out th ATMEGA and its working fine! ThanksQ
15  Using Arduino / Project Guidance / Re: MOSFET help on: May 20, 2011, 03:01:19 am
I am also creating a similar project but would a IRF540 work instead?
Would i need a resistor between the arduino's digital pin and the transistor?
Pages: [1] 2 3