Show Posts
Pages: [1] 2 3 ... 5
1  General Category / General Discussion / FPGA with Micro-controller on: July 02, 2014, 08:15:33 am
Hello All,

I am very new for FPGA. I want to use of FPGA with controller. I saw some project for that. My favorite is Micromouse or maze solving robot.

First all i want to know, May be these are sill question for that let go  smiley
1. What is the advantages of using FPGA?
2. how to use in project(i am asking about FPGA )  As. OP-Amp we can use as comparator, subtractor etc like this.

Any kind of suggestion would be appreciated.   
2  Using Arduino / Programming Questions / Re: Help in Read string [SMS string] on: June 18, 2014, 12:05:59 am
@Pauls :- Thanks for reply, I am using MEGA Serial0 which i am using to connect with hyper-terminal(to PC).

Serial1 is connected with GSM modem (Sim900).

What i am trying :- when i send "S" on serial0 via hyper-terminal then, serial1 has to read the sms which i alredy store in sim.
what is going there :- when i send read the serial1 then it we ll skip the values.

@dannable :- Arduino MEGA, SIM 900 as modem
3  Using Arduino / Programming Questions / Help in Read string [SMS string] on: June 17, 2014, 08:05:55 am
Hello Everyone,

I am trying to read sms, but when i send the command(AT+CMGR=1) from hyper terminal that time
Quote
+CMGR: "REC READ","+918128660422","","14/06/17,16:36:43+22"

Test sms

But When i tried by the function i only get
Quote
+CMGR: "REC READ","+918128660422","","14/06/17,16:36:43+22"

I don't know why my function skip all values.......

Code:
char buffer[128];
byte buffer2[128];
uint16_t count=0;     
void setup()
{
  pinMode(13,OUTPUT);
  Serial.begin(9600);               
  Serial1.begin(9600);             
  delay(500);
  Sim900_Inti();
}
 
void loop()
{
  if (Serial.available())
  {
    switch(Serial.read())
    {
      case 's' :
      Cmd_Read_Act();
      break;
    }
    Serial.write(buffer2,count);
    /*Serial.write(buffer2,128);
    Serial.write(buffer2,128);
    Serial.write(buffer2,128);*/
    //clearBufferArray();
    count = 0;         
  }
}
void clearBufferArray()
{
  for (int i=0; i<128;i++)
    { buffer[i]=0;}
}
void Sim900_Inti()
{
  Serial1.println("ATE0");
  delay(500);
  Serial1.println("AT+CMGF=1");
  delay(500);
  Serial1.println("AT+CNMI=2,1");
  delay(500);
  Serial.print("GSM Init");
}
void Cmd_Read_Act()
{
  Serial1.println("AT+CMGR=1");
  /*Serial1.print(char(34));
  Serial1.print("ALL");
  Serial1.println(char(34));*/
  if (Serial1.available()> 0)
  {
    while(Serial1.available()>0)
    {
      buffer[count]=Serial1.read();
      buffer2[count] = buffer[count];
      char temp = buffer2[count];
     
      count = count+1;
      if (temp == 'K')
      {
        Serial.println("0K Recived");
        break;
      }
     }
  }
}

Anyone has idea then tell me why this is happening
Thanks in advance 
4  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

5  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
6  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);
}
7  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;
8  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
9  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
 
10  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??
11  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.
12  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
13  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       
14  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
 
15  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.
Pages: [1] 2 3 ... 5