Show Posts
Pages: 1 [2] 3
16  Forum 2005-2010 (read only) / Interfacing / Re: Best way to send data from GSM to website? on: January 17, 2011, 09:22:16 pm
I'm in Toronto, Ontario, Canada
17  Forum 2005-2010 (read only) / Interfacing / Best way to send data from GSM to website? on: January 17, 2011, 06:27:09 pm
I was thinking the best way to send data to a website may just be to make a modem connection (gsm) to my server and hook up a 56k modem and transfer the data over @ 9600 bps.  

I can't see a reason for using SMS (0.10 cents a message) or even obtaining an IP and using the wireless GSM for data transfer.  

I think it would be cheaper to make a GSM -> land-line modem connection using talk time.

I'm talking about sending about 1k per connection, 4 times an hour.

Does that make sense?
18  Forum 2005-2010 (read only) / Interfacing / Re: EEPROM - 24c08, need some guidance on: January 19, 2011, 05:43:58 pm
Here is my sketch:

Code:
#include <Wire.h>

int data = 41;
byte high = 0x00, low = 0x01;

void setup()
{
  
  Wire.begin();
  Serial.begin(9600);

  Wire.beginTransmission(0x50);
  Wire.send(high);
  Wire.send(low);
  Wire.send(byte(41));
  Wire.endTransmission();
  delay(10);
  
  data = 0;
  
  Wire.beginTransmission(0x50);
  Wire.send(high);
  Wire.send(low);
  Wire.endTransmission();
  Wire.requestFrom(0x50, 1);
  delay(10);
  
  Serial.print(int(Wire.receive()));
  
}

void loop()
{

}

My wiring is:

Pins: 1,2,3,4 = Ground
Pin: 5 -> SDA (pull up 4k7)
Pin: 6 -> SCL (pull up 4k7)
Pin: 7 -> (tried not wiring, and tried to ground)
Pin: 8 -> VCC

My output is:

0

Should be 65 (or not 0)

Any ideas?
19  Forum 2005-2010 (read only) / Interfacing / Re: EEPROM - 24c08, need some guidance on: January 19, 2011, 01:09:37 pm
Ok, I have only 3" of wiring.  I don't have any resistors at all on the board, I am assuming this is why I am having issues.
20  Forum 2005-2010 (read only) / Interfacing / Re: EEPROM - 24c08, need some guidance on: January 19, 2011, 01:01:02 pm
haha, ok.  This is all new to me!  Do you think not having the 4.7k resistors would prevent me from using the device completely?
21  Forum 2005-2010 (read only) / Interfacing / Re: EEPROM - 24c08, need some guidance on: January 19, 2011, 12:45:27 pm
Ok, I am missing the 4k7 pull ups.  What are they?  Normal 1/4 volt 4.7k ohm resistors?
22  Forum 2005-2010 (read only) / Interfacing / Re: EEPROM - 24c08, need some guidance on: January 19, 2011, 10:37:19 am
Thanks, would the fixed I2C address be 0x50?
23  Forum 2005-2010 (read only) / Interfacing / EEPROM - 24c08, need some guidance on: January 19, 2011, 09:59:14 am
So I have some 24C08 EEPROM's sitting around, and wanted to try and integrate them in for some counter storage.

The datasheet can be found here: http://www.datasheetarchive.com/24C08-datasheet.html

I was looking at the playground, at the source for the 24C256, and found a lot of differences (obviously).  


Here are the chip differences...

Code/Function
NC = Not connected
A0–A2 = Address Inputs
SDA = Serial Data I/O
SCL = Serial Clock Input
WP = Write Protect
PRE = Write Protect Enable
E = Chip Enable Input
MODE = Multibyte/Page Write Mode (C version)
WC = Write Control (W version)
VCC = Supply Voltage
VSS = Ground

The pin layouts on the 24c256 are:
(1) A0
(2) A1
(3) A2
(4) VSS
(5) SDA
(6) SCL
(7) WP
(smiley-cool VCC

the pin layouts on my 24c08's are:
(1) PRE
(2) NC
(3) E
(4) VSS
(5) SDA
(6) SCL
(7) MODE
(smiley-cool VCC

I think once I get the wiring setup, I can take the rest on my self - will probably take the code here: (http://www.arduino.cc/playground/Code/I2CEEPROM24C1024) and modify it to work.

Can someone help me out with the wiring?  And perhaps an insite of what I will need to do with the code addressing?

Update:

So it seems the base wiring is going to be the same... SDA/SCL/VSS/VCC - however, not sure about the rest.
24  Forum 2005-2010 (read only) / Interfacing / Whats the difference between ... PU25-ND and PU25? on: January 19, 2011, 10:58:55 am
Trying to order a 24C512 chip for storing data.  

Whats the difference between:

1) AT24C512B-PU25-ND

and

2) AT24C512B-PU25

I am sure this matters to me, so I thought I should ask first. :-?
25  Forum 2005-2010 (read only) / Interfacing / Re: Permanent Storage?  (till it's flashed) on: January 17, 2011, 06:23:19 pm
Well, I suppose if I write to it once per hour, that's like 10 years, so I suppose its not so bad.  Something else would probably break or wear out before that would be gone.

(100,000 / 24 / 365 = ~10.5 years)
26  Forum 2005-2010 (read only) / Interfacing / Re: Permanent Storage?  (till it's flashed) on: January 17, 2011, 06:06:10 pm
Seems a little less destructive if I use an external though right! smiley-wink

Why is it limited?  Does the magnet (or however it stored) wear out, or is there some non-reset-able timer?
27  Forum 2005-2010 (read only) / Interfacing / Re: Permanent Storage?  (till it's flashed) on: January 17, 2011, 05:52:38 pm
I might get the 24LC256, it seems to be easy enough to interface too, and very cheap also.
28  Forum 2005-2010 (read only) / Interfacing / Re: Permanent Storage?  (till it's flashed) on: January 17, 2011, 05:41:23 pm
Thanks, I just looked up the numbers:

Write/Erase Cycles: 10,000 Flash/100,000 EEPROM

So, looks like I only have about 10,000 writes?
29  Forum 2005-2010 (read only) / Interfacing / Permanent Storage?  (till it's flashed) on: January 17, 2011, 05:13:40 pm
Is there any way to store variables that will persist even after a full power cycle?

I am wanting to store a counter, and keep it - even if the power cycles.
30  Forum 2005-2010 (read only) / Interfacing / GSM Modem... just a modem? on: January 17, 2011, 04:55:31 pm
Are the GSM modems like the old modems (BBS modems, etc).  Can they connect to say a standard USR Robotics modem?
Pages: 1 [2] 3