Show Posts
Pages: 1 ... 21 22 [23] 24 25 26
331  Using Arduino / Programming Questions / Re: Any one know openWRT on: March 23, 2011, 03:50:20 am
Why don't you buy an Ethernet Shield or Wifi Shield and send your data over the network to your computer. Lot's of sketches out there to show you how to.
332  Using Arduino / Project Guidance / Re: Sound recognition. on: March 23, 2011, 03:08:03 am
My guess is, you'll need a full blown computer to have the calculation power. But hey, I have been stunned before with projects I've seen.
333  Using Arduino / Project Guidance / Re: Not sure where to start or what board to get on: March 23, 2011, 03:06:02 am
Just buy a starters kit, you'll find plenty stores in:

http://arduino.cc/en/Main/Buy

And certainly buy the Arduino Cookbook (as mentioned before). You'll have more then enough to start with.

If you want to do web-based stuff, buy an Ethernet Shield
if you want to measure, buy sensors
if want to make stuff move, look into motors ans arduino driven robots
if want to lighten things up, buy leds
and so on ...
334  Using Arduino / Project Guidance / Re: Set/Change IP Address Web Form - Ethernet Shield on: March 23, 2011, 02:58:59 am
@robtillaart

I know  smiley But it really helps to write down this kinds of things. Otherwise I get lost in my own coding  smiley-confuse
335  Using Arduino / Project Guidance / Re: A Must Have: Arduino Cookbook on: March 22, 2011, 06:41:25 am
I bought the book yesterday on Amazon.com and downloaded it on the iPad Kindle app. ($22.53). Already I found what I needed. Great book indeed and yes, I too would like downloadable sketches.  smiley-lol
336  Using Arduino / Project Guidance / Re: Set/Change IP Address Web Form - Ethernet Shield on: March 22, 2011, 06:34:29 am
Ok, got your code, reading it right now.  smiley-eek

Did you change Ethernet.cpp to get this working? And what exactly did you change?

The first thing I'll be doing is to try remaking you sketch, so I understand everything happening. Then I'll put all your HTML in Flash memory, so we have more SRAM. Also I want to have a separate SETUP page, which won't be to hard, because I bought the Arduino Cookbook (amazone kindle for ipad). It has a sketch that just does that.

This way you can have the SETUP page at http://IP-address/setup and your normal webpage at http://IP-address.

If you don't mind, I'll be posting this in my own Topic and If I make progress I'll post it here too.

So this is the idea I would use (this is not a sketch):

READ EEPROM "TYPE"
   IF "type" = "" (empty)
      THEN USE PRESET (IP=192.168.1.2, MASK=255.255.255.0,GW=192.168.1.2,MAC=DE:AD:BE:EF:FE:ED)
   ELSE
      IF "type" = "STATIC"
         IF "IP" = "" (empty)
            USE PRESET AND SET TO USE AND PUBLISH
         ELSE READ EEPROM "IP" AND SET TO USE AND PUBLISH

         IF "MASK" =""  (empty)
            THEN USE PRESET AND SET TO USE AND PUBLISH
         ELSE READ EEPROM "MASK" AND SET TO USE AND PUBLISH

         IF "GW" = "" (empty)
            THEN USE PRESET AND SET TO USE AND PUBLISH
         ELSE READ EEPROM "GW" AND SET TO USE AND PUBLISH

         IF "MAC" = ""(empty)
            THEN USE PRESET AND SET TO USE AND PUBLISH
         ELSE READ EEPROM "MAC" AND SET TO USE AND PUBLISH

      ELSE USE DHCP AND SET TO USE AND PUBLISH (on the setuppage)

START WEBPAGE
   IF URL= IP
      GOTO WEBPAGE (made by user, and what if user wants multiple pages?)
   ELSE
      IF URL = IP/setup (like in http://192.168.1.2/setup)
         GOTO SETUPPAGE
      ELSE SHOW ERROR PAGE

SETUPPAGE
   USE TYPE, IP, MASK, GW, MAC AND PUBLISH
   SHOW FILLOUT FORM FOR TYPE, IP, MASK, GW, MAC AND PUBLISH
   SHOW SUBMIT BUTTON

WEBPAGE
   USE TYPE, IP, MASK, GW, MAC
   SHOW WEBPAGE (made by user)

SUBMIT BUTTON
   WRITE TYPE, IP, MASK, GW, MAC AND PUBLISH TO EEPROM
   RESET ARDUINO
337  Using Arduino / Project Guidance / Re: Set/Change IP Address Web Form - Ethernet Shield on: March 21, 2011, 08:13:28 am
Hi, I'm very interested in the complete code of this sketch. As you can see in my own post, I'm working on this too:
http://arduino.cc/forum/index.php/topic,55044.0.html

Now maybe we can merge both our sketch. You'll get credit for the code and I'll get credit for the layout  smiley-grin
The only thing I'm struggling with, is the forms and the way to submit them.
338  Using Arduino / Project Guidance / Re: Configuring Arduino ethernet shield IP (not MAC) via web browser on: March 21, 2011, 08:06:17 am
It seems like I'm not the only one trying to do this. I've also been reading the post above. I''l try to merge your findings and the ones in the topic posted above.

This is my post on my progress: http://arduino.cc/forum/index.php/topic,55044.0.html
339  Community / Exhibition / Gallery / Re: Big font and big number on 16X2 LCD Alarm clock example on: March 21, 2011, 02:51:33 am
uehm, I don't see the URL, you probable made a mistake.
340  Community / Exhibition / Gallery / Re: GBCartRead: Arduino based Gameboy Cart Reader on: March 20, 2011, 03:45:45 pm
Cool project.
341  Community / Exhibition / Gallery / Re: An embedded web page with image on: March 20, 2011, 02:57:02 pm
Yes, true, but I'm thinking on something different. Actualy all of my projects so far have been for learning on the parts I'll need for my real project: measuring the level of our diesel tanks. It will have an LCD screen showing the level in percentage, but also a webpage showing the 2 tanks with an image and the actual percentage shown in the picture. So that will look like your battery.  smiley-grin
342  Community / Exhibition / Gallery / An embedded web page with image (not using SD) on: March 20, 2011, 12:25:12 pm
While working on another project (http://arduino.cc/forum/index.php/topic,55044.0.html, I've been looking for a way to get an image and HTML code into the Arduino sketch (NOT on a SD-card) with the minimal use of SRAM and I pulled it off.

You can read about this project on my website: http://www.jo3ri.be/arduino/arduino-projects/an-integrated-webpage-with-image and the blog I wrote about it: http://www.jo3ri.be/arduino/blogduino/usinglesssramonthearduino

This is the result:



The original GIF image with 32 colours is about 7884 bytes, but we are using a buffer of only 250 bytes. The image has been divided in 8 smaller images of approximately 1K. Those smaller images are being put next to each other when the client request the page. Now each image has been put in an array of 8 (again). The buffer has to be as big as the longest prog_char + 1, but I have put about 10 bytes more in the buffer (250 bytes).

Now If you're smart, you can even reduce Flash memory, when you have a picture with repeating parts in it.

I hope this is helpful for al those people using a webpage for there Adduino projects with buttons and other small images.

The sketch is on my project page, but I have attached here too.
343  Community / Exhibition / Gallery / Re: Big font and big number on 16X2 LCD Alarm clock example on: March 20, 2011, 06:27:24 am
Hi, very cool. This kind of things make an 16x2 LCD more useful (in my opinion)

So the links as you asked for:

the very first pixel animation: http://arduino.cc/forum/index.php/topic,54195.0.html
the next topic with more pixelart: http://arduino.cc/forum/index.php/topic,54411.0.html

344  Using Arduino / Programming Questions / Re: Large LCD characters on: March 17, 2011, 04:41:46 pm
Hè ke7vng, when your done, are you willing to post your sketch in the exhibition part of the forum? I would love to try your sketch.
345  Community / Exhibition / Gallery / Re: Ethernet Shield setup page on: March 15, 2011, 12:03:52 pm
This time I managed to get SRAM down to 493 by feeding the HTML from flash memory piece by piece to SRAM. This has it's consequences, Flash got over 8000 bytes. Next step is using EEPROM for config.

Pages: 1 ... 21 22 [23] 24 25 26