Show Posts
Pages: [1] 2 3 ... 5
1  Using Arduino / Programming Questions / Re: Need help in Timers on: October 26, 2013, 07:41:29 am
Quote
Could you describe the wiring of this external pulse counter?

5V
GND
Output :- 47 pin of ADK board

2  Using Arduino / Programming Questions / Re: Need help in Timers on: October 26, 2013, 07:27:41 am
Thanks for your suggestions....  smiley

I tried new config bits but still i did not find any result.....
Code:
void setup()
{
  Serial.begin(9600);
 TIFR5 = 0x00;
TIMSK5 = 0x00;
TCCR5A = 0x00;
TCCR5B = 0x06;
TCNT5 = 0x0000;
}

void loop()
{
  Serial.println(TCNT5);
  delay(40);
  TCNT5 = 0;
  delay(40);
}


Any thing you want to add so please tell me
3  Using Arduino / Programming Questions / Re: Need help in Timers on: October 26, 2013, 02:18:45 am
My Bed....... for this

Code:
void setup()
{
  Serial.begin(115200);
  TIMSK5 = 0x10;
  TCCR5A = 0x00;
  TCCR5B = 0x46;
  TCNT5  = 0x00;
}

void loop()
{
  Serial.println(TCNT5);
}
4  Using Arduino / Programming Questions / Need help in Timers on: October 26, 2013, 12:31:55 am
Hello Guys,
                     Right now i am using arduino mega adk, i am using it's timer5 as a external pulse counter. but when i connect with pulse sensor it's gives me random values i dont know why, any idea why it's not working for me

Code
Quote
  TIMSK5 = 0x10;
  TCCR5A = 0x00;
  TCCR5B = 0x46;
  TCNT5  = 0x00;
5  Development / Suggestions for the Arduino Project / How to Stop Analog Pin to float on: October 07, 2013, 06:39:44 am
Hello All,
             i am working on project in which i have to measure pressure. Pressure sensor is given analog signal which i have to read by analog pin. if i am not connect pressure sensor to analog pin then respective analog pin given me floating vales which is random.

so how could i know is sensor is connected or not. is any logic of method which tell us pin is floating.

Thanks in Advance
Any kind of comment would be appreciated
6  Using Arduino / Programming Questions / Opcode for Reset Atmega2650 on: May 09, 2013, 07:44:23 am
Hi All,
        i want make soft reset without watchdog.
i tried some ways but i did not get success.
1. use opcode
2. illegal instruction set

 also i want to which is more easy and what is disadvantage. if any other way so tell me it.

Thanks in advance
 
7  Using Arduino / Microcontrollers / Re: Arduino IDE for Android on: April 12, 2013, 07:17:03 am
could you tell me which version of arduino IDE you are following??
8  Using Arduino / Microcontrollers / Re: Arduino IDE for Android on: April 12, 2013, 07:05:44 am
hey it's nice...but when i changed the board and select ADK board after that compile blink led code it's getting hanged but if do the same process with uno board so it's working fine

Both case i did not connect any board with android device.
9  Using Arduino / Project Guidance / Current use by GSM Shield on: March 18, 2013, 06:49:56 am
Hi all,
        i am searching low power GSM/GPRS module. i find arduino GSM Shield i want to know how much current consume by this module at transmitting time. could anyone know so please tell me
if any other module which is easy to use so you can also tell me

http://arduino.cc/en/Main.ArduinoGSMShield

Thanks in advance
10  Using Arduino / Programming Questions / how to change crystal frequency for MCU on: December 04, 2012, 07:58:12 am
Hi Guys,
           there is any provision so i can change crystal frequency via Arduino IDE??
in my case
i have mega ADK in that board crystal was damaged and i am not good in soldering

if i change fuse bit of Atmega2560 use internal crystal so there is no need of external crystal in this case my ADK board working fine ?? even USB
for this method would i change crystal frequency by IDE if yes so how could i do this??

Any other suggestion??

Thanks in Advance       
11  Using Arduino / Project Guidance / Re: Help in buring bootloader in ADK on: November 23, 2012, 11:49:51 pm
yes i did...with arduino 1.0.0 & 1.0.1 also 1.0.2 with all these version i tried but same result i got.....

Apart this i using side header witch provided MCU side(2560)........is it wrong??

when i check this is the same data line which used
Quote
MISO
 MOSI
 SCK
 RST
 GND
 VCC
 
12  Using Arduino / Project Guidance / Help in buring bootloader in ADK on: November 23, 2012, 01:02:26 am
Hi all,
        i am trying to burn bootloader into mega ADK for that i am using this tutorial http://arduino.cc/en/Tutorial/ArduinoISP
This is the error code i found.......
anyone tell me why this happened my controller is not working or i am doing some thing wrong.

Thanks in advance
Code:
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "E:\arduino-0023\hardware/tools/avr/etc/avrdude.conf"

         Using Port            : \\.\COM17
         Using Programmer      : stk500v2
         Overriding Baud Rate  : 115200
avrdude: ser_open(): setting dtr
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Send: . [1b] . [02] . [00] . [01] . [0e] . [01] . [17]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:

avrdude: stk500v2_getsync(): can't communicate with device: resp=0x01
         AVR Part              : ATMEGA2560
         Chip Erase delay      : 9000 us
         PAGEL                 : PD7
         BS2                   : PA0
         RESET disposition     : dedicated
         RETRY pulse           : SCK
         serial program mode   : yes
         parallel program mode : yes
         Timeout               : 200
         StabDelay             : 100
         CmdexeDelay           : 25
         SyncLoops             : 32
         ByteDelay             : 0
         PollIndex             : 3
         PollValue             : 0x53
         Memory Detail         :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    10     8    0 no       4096    8      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65    10   256    0 yes    262144  256   1024  4500  4500 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500 Version 2.x firmware
         Programmer Model: Unknown
avrdude: Send: . [1b] . [1e] . [00] . [02] . [0e] . [03] . [90] . [9a]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x90
avrdude: stk500v2_getparm(): failed to get parameter 0x90
avrdude: Send: . [1b] . [1f] . [00] . [02] . [0e] . [03] . [91] . [9a]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x91
avrdude: stk500v2_getparm(): failed to get parameter 0x91
avrdude: Send: . [1b]   [20] . [00] . [02] . [0e] . [03] . [92] . [a6]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x92
avrdude: stk500v2_getparm(): failed to get parameter 0x92
         Hardware Version: 0
         Firmware Version: 118.182
avrdude: Send: . [1b] ! [21] . [00] . [02] . [0e] . [03] . [94] . [a1]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x94
avrdude: stk500v2_getparm(): failed to get parameter 0x94
         Vtarget         : 0.0 V
avrdude: Send: . [1b] " [22] . [00] . [02] . [0e] . [03] . [98] . [ae]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x98
avrdude: stk500v2_getparm(): failed to get parameter 0x98
         SCK period      : 36.9 us

avrdude: Send: . [1b] # [23] . [00] . [0c] . [0e] . [10] . [c8] d [64] . [19]   [20] . [00] S [53] . [03] . [ac] S [53] " [22] . [00] 2 [32]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0xc8
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: . [1b] $ [24] . [00] . [03] . [0e] . [11] . [01] . [01] # [23]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: stk500v2_command(): unknown status 0x01
avrdude: stk500v2_disable(): failed to leave programming mode

avrdude done.  Thank you.
13  Using Arduino / Project Guidance / Re: making custom ADK on: November 21, 2012, 08:46:34 am
Hi Guys,
           i am posting my new problem in this thread because this problem related from this thread.
so what i did i tell you...
first solder Power circuitry then 16U2 circuitry then it's working fine(When i plug my board via USB with PC so it detect as port and also detect by arduino IDE)

then solder ATmega2560 circuitry now i tried first upload Arduino ISP sketch which given in example then nothing is happened not a single error comes but when i disconnect usb then it's give error tell "no board is available"

now i don't know what is going there even i double check my connection and whole circuitry nothing missing.......

So any of one know what is going there and any kind of suggestion then it makes a big difference

Thanks in advance
14  Using Arduino / Project Guidance / making custom ADK on: November 09, 2012, 08:18:44 am
Hi all,
        Right now i am trying make custom board for my project.
so my first challenge is how to program 16U2 controller for that i tried AVR ISP programmer with AVR studio for burning hex file in 16U2.

How could i check this 16U2 is working fine or not. in my opinion(I am not sure) if i connected ADK board to USB then serial monitor must be open. but in my case USB says that USB is not recognized so anyone has any idea what is going on any kind of post would be appreciated

may be this is happens because i dont know what is the FUSE bit setting any kind of suggestions 
in my circuit only 16U2 and circuit power circuit only solder

Thanks in advance
15  Using Arduino / Programming Questions / error in usb lib 1st bad code for proto: 5 getProto: on: October 30, 2012, 04:36:35 am
Hi all,
        when i am trying to connect android device to ADK board then i get this
ADK demo start
ADK Init
Got 1st bad code for proto: 5

getProto:

i m using usb library this usb library
https://github.com/felis/USB_Host_Shield_2.0
and this is my device
http://www.gsmarena.com/samsung_galaxy_y_s5360-4117.php
any of us know what is going on this so please tell me
any kind of help will be appreciated

Pages: [1] 2 3 ... 5