Show Posts
Pages: 1 ... 182 183 [184] 185 186 ... 414
2746  Using Arduino / Networking, Protocols, and Devices / Re: Schematic Needed seeed ethernet v1.1 on: May 22, 2013, 12:51:41 pm
If you jumper all the ICSP pins, that connects 5v, gnd, reset and the 3 SPI data lines. Those traces appear to be on your shield also. I see them. How convenient! One 6-pin jumper cable.
http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf

edit: That and D10 jumpered. That is the slave select line for the ethernet shields. Applies to Uno, Mega, and Leonardo.
2747  Using Arduino / Networking, Protocols, and Devices / Re: Schematic Needed seeed ethernet v1.1 on: May 22, 2013, 10:09:56 am
Quote
I may just try jumpering to the isp but i'd rather look at the schematic first.
That is always a good idea, but some can be deduced by the setup. If the shield works when connected, and doesn't when jumpered, then it is not jumpered correctly.

Quote
I note that it has an ISP female header that plugs into the arduino male and i'm wondering if that is where it is getting its spi signals.
Jumper the six ISP pins to the ICSP pins on the Arduino. I can see the traces on the ISP connector to the pads labelled MISO, MOSI, and SCK. That is how the newer shields that use SPI connect to the SPI data lines. Then it will work on a Mega too.

edit: Maybe it is my eyes, but I bet if you look closely at the pads labelled MISO, MOSI, and SCK, that there is a small thin jumper trace between the center pad and the right pad of the three, but not from the left pad to the center pad. To me, that would indicate that this shield is using the ICSP pins for the SPI, and D11-D13 are not used.
2748  Using Arduino / Programming Questions / Re: Using Ethernet.begin on: May 19, 2013, 05:32:22 am
Instead of using Ethernet.begin(mac) more than once, I have found Ethernet.maintain() will renew an expired lease.
http://arduino.cc/en/Reference/EthernetMaintain
2749  Using Arduino / Networking, Protocols, and Devices / Re: UNO+WiFi: Can't connect to one server (my ISP). Can you? on: May 18, 2013, 05:36:08 pm
Your ISP is not refusing standard port 80 requests. I am connecting and downloading your ISP's home page (really large page) on my ethernet shield. I'm using a modified version of this code:
http://playground.arduino.cc/Code/WebClient
The sketch in the playground uses an ip address for the server, but i changed that to a character array.
Code:
char server[] = "www.iinet.com";
Then you need to change this to accept a character array as the server.
Code:
byte getPage(char* ipBuf,int thisPort, char *page)
2750  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 12:43:33 pm
brown - black - red - - red would be 1Kohm, 2% tolerance. That should be about 3.5ma current considering the voltage drop across the LED. That is pretty close, considering you are activating it for such a short time and a very low duty cycle.
2751  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 09:56:22 am
Are you sure that is not red - red - black - gold ?
That would be 22 ohms 5% tolerance. And that would be way over the max current allowed for that device.
2752  Using Arduino / Interfacing w/ Software on the Computer / Re: wrong mac address received from arduino on: May 18, 2013, 09:36:13 am
Quote
X1:Y2:Z:Z4:U5:O3

these arn't the real letters, but the point is that the 3rd byte keeps giving my just a one letter and nothing else, and this is not a valid mac address.
Actually, it is, just missing a zero. How does this look?
X1:Y2:0Z:Z4:U5:O3
Maybe you need to use sprintf() to format your mac address. Something like this:
Code:
sprintf(myBuffer,"%02X:%02X:%02X:%02X:%02X:%02X",mac[0],mac[1],mac[2],mac[3],mac[4],mac[5]);
Serial.println(myBuffer);
That way it will include any leading zeros.

edit: My bad. It should have been %02X, not %02u.
2753  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 09:10:54 am
Oops... red red brown. 220 ohm
Careful. You can burn out the LED. The datasheet says 3ma is about all it can take reliably, and that will be around 15ma.

edit: The maximum rating is 50ma on the input, so you should be ok.
2754  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 06:35:13 am
Are you sure that was 200kohm?
red - black - yellow
2755  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 12:47:49 am
Measure the voltage across the relay input pins while the resistor has power (5v). According to the datasheet, it should have about 1.25v across those pins.
2756  Using Arduino / Project Guidance / Re: Problem with optoisolator and Arduino as a flash trigger on: May 18, 2013, 12:28:03 am
sirbow2 beat me to it. The 10K resistor may be too much resistance to turn on the LED in the relay. I would try a 2.2K resistor as a test. That should be about 2ma or so. It needs 1.8ma to turn on fully according to the datasheet.
2757  Using Arduino / Programming Questions / Re: |= please help! on: May 17, 2013, 11:35:51 pm
http://arduino.cc/en/Reference/BitwiseCompoundOr
2758  Community / Bar Sport / Re: lies!!!!! i think! on: May 17, 2013, 10:53:36 pm
It is there, but it is a trick question. The whole image is a LED symbol, made up of the opposite diodes, like "connect the dots".

edit: Login to see the answer.  smiley
2759  Using Arduino / Interfacing w/ Software on the Computer / Re: Need A Computer Program That Sends Mail With Arduino Trigger. on: May 17, 2013, 02:16:51 pm
@basilsw: Neither of those links do a bit of good for an Arduino, except for basic theory.

I am lucky. I have my own SMTP server that my ISP seems to love (takes the load off their server). If this becomes a problem, many recommend SMTP2GO for that kind of stuff.
2760  Using Arduino / Interfacing w/ Software on the Computer / Re: Need A Computer Program That Sends Mail With Arduino Trigger. on: May 17, 2013, 12:51:56 pm
Why do you need a Windows program? If it works, the Arduino will work. I send email to my gmail account with my ethernet shield.
http://playground.arduino.cc/Code/Email
The email sending block is normally by ip address ranges. If one fails in that ip range, probably all ips in that subnet range will fail to send email.
Pages: 1 ... 182 183 [184] 185 186 ... 414