Show Posts
Pages: 1 2 [3]
31  Forum 2005-2010 (read only) / Interfacing / Re: Ethershield v1.1 not working on: April 28, 2010, 12:53:43 pm
Hi,

Just a thought, do you have your ethernet cable connected when you start the arduino or reset it? Also, is it a straight through cable not a cross-over cable? It should be straight unless your hub is able to be selectable.

Make sure the IP address you setup is one that is valid on your network, a 10.x.x.x address on your PC and a 192.168.x.x on the arduino wont work.

Also, make sure you are not mixing libraries up, delete the libraries/etherShield directory and extract a fresh copy from one of the zip files.

Then try the examples that comes with that zip file.

Also, when posting code, you may like to use the code tags on the post editor as it will help preserve the formatting and stopp special characters being changed.

Hope this helps

Cheers

Andy
 smiley
32  Forum 2005-2010 (read only) / Interfacing / Re: Ethershield v1.1 not working on: April 28, 2010, 05:29:23 am
Hi,

Could you post your sketch so we can have a look? I've used this successfully quite a few times and own up to being responsible for an updated library...

thanks

Andy.
33  Forum 2005-2010 (read only) / Interfacing / Re: Ethernet Shield with ENC28J60 on: December 17, 2009, 01:15:07 pm
You could have a search on this board for ENC28J60 as an alternative library has been developed for this shield. Plus it supports routing to the internet via an intermediate gateway. Its available from my blog at http://blog.thiseldo.co.uk/?p=329.

It includes examples for basic web server and client functions including posting to twitter and pachube. I have used it in a number of my own projects including 2 that have been running for months now monitoring environment conditions in my house, sending the results to pachube as well as regular twitter updates.

The latest project using this is for a simple web control of Home Easy sockets so I can turn lights on and off from anywhere I can connect to the internet.

The updated library has been used successfully be a number of people already. Its not perfect but hides a lot of the tcp/ip stuff unlike the original library.

Hope this helps

Andy

34  Forum 2005-2010 (read only) / Interfacing / Re: Foot Switch to Laptop: Should I Use an Arduino? on: December 09, 2009, 12:27:45 pm
Another option is to build a simple USB shield (USB socket, resistors and a couple of zener diodes) so that the Arduino can act as a simple Keyboard HID device with the foot keys sending regular keyboard codes. I've had one working for a while , based on one of the V-USB projects here: http://www.obdev.at/products/vusb/projects.html  and information here http://code.rancidbacon.com/ProjectLogArduinoUSB, which looks like its been updates quite a lot since I last looked here!

I had created a single key keyboard as a test. Its a little fiddly to do as the code didnt compile with latest Arduino ide. Looking at the updated page, I think I'll re-visit my usb shield to update and refresh it.

Hope this helps

Andy
35  Forum 2005-2010 (read only) / Interfacing / Re: Problems with Ethernet Shield (no IP) on: September 30, 2009, 12:19:29 pm
Hi Sergio,

I have used a version of the ENC28J60 ethernet shield for a while now. Got 4 of them in fact! I've created an updated library that should in theory work with your ethernet shield as it seems to have the same pins used (basically SPI and pin 2 for interrupt, which doesnt seem to be used in the library).

Have a look at this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1252250616/5 as this has similar question and links to my updated library.

I am currently using it via Arduino IDE 0017 to tweet and update pachube feeds from a pair of Arduino that are monitoring temp/humidity/light in my house. Plus another that acts as a clock using network time protocol.

Hope this helps

Andy
36  Forum 2005-2010 (read only) / Interfacing / Re: Arduino Ethernet and External Web Server on: September 09, 2009, 12:19:45 pm
Hi,

I've had a quick look at this adn I can only reproduce it if I edit the #define statements in ip_config.h. This was tried on version 0017 with the ethershield library installed in the sketchbook directory not the hardware/libraries directory.

To get it working use the following at the end of the ip_config.h file

// functions to decode cgi-form data:
#define FROMDECODE_websrv_help

// function to encode a URL (mostly needed for a web client)
#define URLENCODE_websrv_help


The client example is actually operating as both a client and server so needs both bits enabling.

If the above doesnt fix it then let me know.  :-[

Thanks

Andy
37  Forum 2005-2010 (read only) / Interfacing / Re: Arduino Ethernet and External Web Server on: September 07, 2009, 12:20:03 pm
From your first post I would guess you're not using the offical arduino shield but one based on the ENC28J60 chip. I have a number of these and use them successfully to communicate with servers on the internet by specifying the IP address of your ADSL/Cable router.

Have a look at http://blog.thiseldo.co.uk/?p=329 to sy my updated library for this shield. Example code includes a simple twitter client.

Hope this helps  smiley-wink

Cheers

Andy
38  Forum 2005-2010 (read only) / Interfacing / Re: HTTPS interfacing on: June 05, 2009, 04:15:57 pm
OK, had a quick google and test, found a script at http://www.abdulqabiz.com/blog/archives/2007/05/31/php-proxy-script-for-cross-domain-requests/ that you stick on your not https server, you give it a url parameter that includes https and it returns the results. The URL parameter must be encoded so that the parameters are passed to their ultimate destination.

As an example, I've stuck the script onto one of my sites running PHP and told it to return the paypal-business page hat uses https - http://blog.thiseldo.co.uk/proxy.php?url=https%3A//www.paypal-business.co.uk/

Its not going to return full pages and images, just the text or html output from the request you submitted, which is probably what you are looking for.

Hope this helps

Andy
39  Forum 2005-2010 (read only) / Interfacing / Re: HTTPS interfacing on: June 05, 2009, 12:36:11 pm
I think trying to add HTTPS support into the arduino is not going to be possible due to te size and complexity of the SSL libraries. What you could do is make the requests to the regular server and use a PHP script to proxy the request to the HTTPS server.

Hope this helps

AndyL
40  Forum 2005-2010 (read only) / Exhibition / Re: FORTH environment for Arduino on: January 20, 2011, 08:03:56 am
Nice one, I've previously had Amforth on an arduino but that needed to overwrite the bootloader etc.

I spent a couple of years using forth to write code for instrumentation used in the water industry for monitoring all the chemicals/compounds in the water as it was being treated. These were 6502 based embedded systems. Also used it for some PID control systems based on PCs too.

Still have a soft spot for it so will have to give this a try.  smiley-wink

Cheers

Andy
41  Forum 2005-2010 (read only) / Exhibition / Ethernet clock on: June 25, 2009, 04:49:22 pm
ok, first exhibition project here, go easy on me!

I've built a NTP based ethernet clock using used the ethernet shield from nuelectronics, based on the Microchip ENC28J60 chip with updated library that I put together, plus 4x20 character lcd display. Using the big font code from another post in this forum enables me to select whether I want a full date/time display, 2 row clock or 4 row clock. The big font displays include the blinking dots between the hours and minutes.

It is configurable via a simple web page enabling the IP, gateway and time server addresses to be set. This config information is then stored in the eeprom for when its powered off.

Details, code and pictures are at http://tinyurl.com/le57l2

There are still some improvements to be done such as cleaning up the code as its quite messy then implement the eeprom reset and possibly an alarm option.

Now this is at version 1.0 I can move onto something else for a while.

Thanks to those whose code or code fragments I've used in this project. Much appreciated guys smiley-wink

Cheers

Andy
42  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Starter kit on: June 17, 2009, 12:07:15 pm
if you are Uk based then see what others have in the starter kits, probably a solderless breadboard, jumper wires, a few resistors, LEDs. Try maplin.co.uk as they do small kits of resistors, LEDs and the breadboards. They may even have a shop close to where you live. Is what I did. Now seem to have a collection of boards.

Hope this helps

Andy
Pages: 1 2 [3]