Show Posts
Pages: 1 2 3 [4] 5 6 ... 8
46  Using Arduino / Project Guidance / Sparkfun USB Host Shied on: June 04, 2012, 02:22:39 am
Hi,

I have been using the sparkfun shield succesfully for all the qaulity checks provided by the codes by Oleg. Now i am trying a new thing. Instead of using the Vin to supply power to the USB board, I am using a digital pin to supply the voltage. Therefore, I plug in the Vin of the Sparkfun board in to the digital pin of the board.

The sparkfun board in powered on but the USB host does not communicate properly and returns an invalid value. What may be the problem here ? Should i use a resistor to provide voltage to the USB host ? Can any one please help. I am trying to use the digital pin to cut off the power to the USB host as and when required.

BR,
Vik
47  Using Arduino / General Electronics / Re: Measuring Current in Sleep and Active Mode on: June 01, 2012, 07:16:18 am
I guess I got the maths wrong. With 220 Ohm resistor and a voltage of 1.98V the current comes out to 8.5 mAmp which is way less than the current provided by the link by Gammon.

Where am I going Wrong  ?
48  Using Arduino / General Electronics / Measuring Current in Sleep and Active Mode on: June 01, 2012, 05:13:22 am
Hi,

I have gone through the below mentioned work

http://www.gammon.com.au/forum/?id=11497

Rite now I am myself in the process of calculating the current being consumed by a Arduino UNO. I am using a 9V Alkaline battery and a resistor in series with the Arduino UNO. I am supplying voltage to the VIN  and the ground. When I am using the simple sketch ( Just a setup and loop function with no commands), I get a voltage of around 1.86 volts on the 220 ohm resistor. By this, I calculate the current to be 85 mAmp. When I am using the sleep function of power down mode, there is reduction of around 6 mAmp.

This is not in conjunction with the power savings and current ratings shown in the link. Where am i going wrong. I am using a FLUKE 123 Scope meter to measure the voltage.

BR,
Vik
49  Using Arduino / Programming Questions / How to replace Byte in serial command on: May 25, 2012, 03:53:09 am
Hi,

I have this code line in one of the example codes for the GPRS shield.

Code:

GPRS_Serial.print(0x1A,BYTE);

[\code]

This byte word is no longer supported by Arduino 1.0. Can I use just the below mentioned code for the same functionality.

[code]

GPRS_Serial.print(0x1A);

[\code]
[/code]
50  Using Arduino / Project Guidance / Project USB Host Connection on: May 22, 2012, 09:57:23 am
I have been trying to use the disconnect functionality of USB host shield mentioned in the below mentioned article

http://www.circuitsathome.com/camera-control/simulating-cable-disconnect-on-usb-host-shield-2-0/comment-page-1#comment-12089

I am trying to figure out the exact connections of the mosfet but I am confused about the exact connection points.

I have been trying to understand the connections. What I have got out from the picture is that drain is soldered to one of the 3.3V pad and source is connected to one of the 5V pad. Is it correct ? I am getting confused when it is mentioned that drain is connected to VBUS. Is drain connected to VBUS or 3V pad. Is this setting letting 3.3V operate the platform or not ?
51  Using Arduino / Project Guidance / Re: Problems with GPRS Shield from SeedStudio on: May 22, 2012, 09:15:52 am
I have the jumpers connected to the software serial. I have checked by connecting to hardware serial and checking the SMS code and it is working fine. I am doing the process all over again to check whether I am going wrong anywhere. I am setting the baud rate 19200, parity bit none , flow control none, stop bit 1 and data bits 1 but I get garbage yyyyyy.

52  Using Arduino / Project Guidance / Re: Problems with GPRS Shield from SeedStudio on: May 22, 2012, 08:47:09 am
Yes I have checked it with Putty and the Arduino one as well but I am still getting garbage values
53  Using Arduino / Project Guidance / Re: Problems with GPRS Shield from SeedStudio on: May 22, 2012, 08:35:49 am
I have tried to check the GPRS shield with the first code which is used for giving AT commands to the shield but it gives garbage values on the serial interface display and when i type and enter the AT command, there is no responce. The yellow light is blinking as per given after every three seconds but AT commands seem not to be working. Has anyone faced a similar problem

Code:
//Serial Relay - Arduino will patch a
//serial link between the computer and the GPRS Shield
//at 19200 bps 8-N-1
//Computer is connected to Hardware UART
//GPRS Shield is connected to the Software UART
 
#include <SoftwareSerial.h>
 
SoftwareSerial mySerial(7, 8);
 
void setup()
{
  mySerial.begin(19200);               // the GPRS baud rate   
  Serial.begin(19200);                 // the GPRS baud rate   
}
 
void loop()
{
  if (mySerial.available())
    Serial.write(mySerial.read());
  if (Serial.available())
    mySerial.write(Serial.read()); 
 [\Code]
54  Using Arduino / Project Guidance / Re: Problems with GPRS Shield from SeedStudio on: May 22, 2012, 02:55:57 am
Has any one worked with this shield ?
55  Using Arduino / Project Guidance / Problems with GPRS Shield from SeedStudio on: May 21, 2012, 11:02:49 am
Hi,

Has anyone used the GPRS shield from Seedstudio. I am having problems even in the first steps mentioned on the wiki website.

BR,
Vik
56  Using Arduino / Programming Questions / Re: Passing AT commands to the PL2303 GPRS library on: May 18, 2012, 05:39:23 am
Well I have used the below mentioned functions to convert the string to uint8. These lines have been provided by Oleg in his ADK example

const char* recv = "Received: ";
rcode = adk.SndData( strlen( recv ), (uint8_t *)recv );

And this actually is working for me smiley

Case Closed !

57  Using Arduino / Programming Questions / Re: Passing AT commands to the PL2303 GPRS library on: May 18, 2012, 01:53:14 am

Code:

uint8_t data= Serial.read();

[\code]

I want to pass string value of "AT" to the variable data which i was otherwise passing it from the serial input.
58  Using Arduino / Programming Questions / Passing AT commands to the PL2303 GPRS library on: May 18, 2012, 01:44:51 am
Hi,

I have been using the PL2303 GPRS library for sending commands to the modem and receiving the replies via serial input and output. Now I want to send commands by just passing the AT commands in the code to the function and get the reply on the serial output. The code from the library is given below

Code:
uint8_t rcode;
       
       /* reading the keyboard */
       if(Serial.available()) {
         uint8_t data= Serial.read();
       
         /* sending to the phone */
         rcode = Pl.SndData(1, &data);



In the command line uint8_t data= Serial.read(); I want to skip the serial read and pass the string value such as AT ot AT+CREG to the Pl.SndData function. Any idea how I can do that by using uint8_t because when i try char it gives me error because all the pointers and variables in the library have been defined as uint8_t

BR,
Vik
59  Using Arduino / Programming Questions / PPP Implementation on Arduino on: May 11, 2012, 04:26:27 am
Hi,

I have been using the GPRS BenQ modem to send messages and other stuff. I plan to connect to the internet and I need to implement the PPP protocol on an Arduino.

Is there any PPP implementation available for Arduino UNO or ATMEGA328 or any other variant. Another random question was in my mind about combining the USB modem and ehternet shield in some way to connect to the internet. Would it be possible ?

BR,
Vik
60  Using Arduino / Programming Questions / Re: GPRS connection via AT Commands on: May 08, 2012, 08:10:23 am
Hi,

Thank you so much for your detailed response. Now the problem has become much more clearer to me and I guess first I would try to get it done through the GSM shield.

Meanwhile, though I am not totally good at coding, do u have an idea how much big an effort it would be to develop a PPP implementation for Arduino

BR,
Vik
Pages: 1 2 3 [4] 5 6 ... 8