Show Posts
|
|
Pages: [1] 2 3 ... 12
|
|
2
|
Using Arduino / Networking, Protocols, and Devices / Re: GPRS SHIELD EMAIL attachment problem
|
on: March 11, 2013, 10:51:10 pm
|
I'm afraid your only option is to run the sketch with the Serial monitor open, capture the data, and replicate the session by connecting to your smtp server using a network terminal (port 25). This is the best way to learn whether your syntax is wrong or right. The code never checks the server's response, so there's no way to see which error messages, if any, are sent back by the server. The Serial.find() function call can be used to check whether expected positive result is received from the server. But, like spatula mentioned earlier, try replicating the session, so you know what to expect from the server.
|
|
|
|
|
4
|
Using Arduino / Networking, Protocols, and Devices / Re: GPS Modules
|
on: March 11, 2013, 05:58:54 am
|
Not all pins on the Leonardo support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
|
|
|
|
|
7
|
Using Arduino / Networking, Protocols, and Devices / Re: TC35 GSM module does not respond to "AT" command
|
on: March 10, 2013, 06:02:15 am
|
Although the the checking of available character is perform after 5 s, there could be possibility that the character comes in after 5 s although it's rather unlikely. In that case, you serial check will return zero. Why not doing something simpler like this: if (Serial.available() > 0) { gsmSerial.write(Serial.read()); }
if (gsmSerial.available() > 0) { Serial.write(gsmSerial.read()); }
Whatever you type on the PC should be relayed to the modem and vice versa. If this fails, it could be something simple like inadequate current of the power supply or a GND is not connected between the boards.
|
|
|
|
|
10
|
Using Arduino / Programming Questions / Re: PCF8563 Current Consumption
|
on: December 03, 2012, 09:45:02 am
|
Hi Mark, My intuition would be that something is leaving one of the I2C bus lines pulled low, which it shouldn't. I just did some measurement on the data and clock lines. As the pull-up are being powered by a digital pin (vperiPin) on the Arduino, the measurement looks weird to me: - With the setAlarm function enabled, both SDA & SCL are around 25 mV and also 25 mV on the other end of the pull-up resistor (on vperiPin which is already being set as low. This is when the current measured is higher (few mA).
- With the setAlarm function commented, both SDA & SCL are around 0.6 V and also 0.6V on the other end of the pull-up resistor (vperiPin is also set low in this case). This is when the current measured is low (uA range).
|
|
|
|
|
11
|
Using Arduino / Programming Questions / Re: PCF8563 Current Consumption
|
on: December 03, 2012, 08:59:07 am
|
Hi Mark, Yes, I'm putting the processor into sleep mode. It usually goes down to about 0.1 uA without the RTC. I'm using a 4K7 pull-up for both data and clock. It's weird because it only happens (higher consumption) when certain call function of the PCF8563 is being used like for example: rtc.setAlarm(minute, 99, 99, 99); digitalWrite(vperiPin, LOW); attachInterrupt(1, alarm, FALLING);
Then the MCU will be pushed to sleep soon after that. The vperiPin is used to power the I2C pull-up. So, I turn them off when not using them. When I used functions like formatDate or formatTime, the current stays low. If I were to comment out the setAlarm line, then the current goes low again. The current resulting from the attachInterrupt function is negligible.
|
|
|
|
|
12
|
Using Arduino / Programming Questions / PCF8563 Current Consumption
|
on: December 03, 2012, 07:39:05 am
|
Hi guys, I'm using the library posted in the playground for PCF8563 RTCAs I'm using this for a low power application, I notice that whenever I use any function provided by the library that only performs write without requesting any data bytes from the RTC, the current consumption (the ATMega328P itself) would go up pretty high 3-4 mA and it stays there. For example, setAlarm and clearAlarm functions. The only differences I notice with these 2 function compared to the rest like formatDate and formatTime is the write and request for data sequence. I think, there's something in the Wire and TWI library that is causing this although I'm not very sure. Any guys came across this problem before?
|
|
|
|
|
13
|
Community / Products and Services / Re: Arduino Micro Debut in the US
|
on: November 08, 2012, 12:41:10 am
|
FT230-XS SOIC package it's no smaller in size than the FT232R It's like a 16-pin with 20-pin body! Caught that mistake in prototype before sending for production batch. I'm not sure why you are not buying from E-14 Aussie? Free shipping but I guess out of stock at least until end of month.
|
|
|
|
|