Dangerous Prototypes

Other projects => Past projects => Web platform => Topic started by: ian on September 21, 2011, 10:12:24 am

Title: Web platform instead of Arduino + ethernet shield?
Post by: ian on September 21, 2011, 10:12:24 am
Quote
Interested in your tiny web server. I was about to use an Arduino Ethernet, then realized I needed SDCard support, real-time clock, etc. All of which is not included. The project is starting to become many board thick if I do it this way. Does yours contain a real time clock and libraries to access the SD slot?

Yes, technically the web platform can do all these things, but there are no simple libraries like there are with Arduino. If you are not a proficient C programmer it will be fairly difficult. It is probably not the best beginner hardware.
Title: Re: Web platform instead of Arduino + ethernet shield?
Post by: octal on September 21, 2011, 11:12:16 am
[quote author="ian"]If you are not a proficient C programmer it will be fairly difficult. It is probably not the best beginner hardware.[/quote]

I would say: Hardware is 100% OK .... but Microchip USB/TCP libraries are not the best beginner software ;)
Title: Re: Web platform instead of Arduino + ethernet shield?
Post by: sqkybeaver on September 21, 2011, 02:45:57 pm
[quote author="octal"]I would say: Hardware is 100% OK .... but Microchip USB/TCP libraries are not the best beginner software ;)[/quote]

even if you are a proficient programmer, microchip libraries are tough to get the hang of. i have given up on them and am waiting for the open source equivalent.
Title: Re: Web platform instead of Arduino + ethernet shield?
Post by: dpropicweb on September 23, 2011, 12:41:20 am
I think it really depends on whether you're a software person or a hardware person. I'm in the former camp and don't find the Microchip TCP/IP library too difficult. Anything of any complexity is "fairly" difficult.

I'm not some wizard software engineer, just a lawyer who has been programming for a living for the last 17 years having started by writing 6502 machine code on a Commodore Vic-20 in the early 80s before PCs arrived on the scene at which time I taught myself C (much simpler then :-) so I could write DOS utilities for FidoNet Bulletin Board Systems.
Title: Re: Web platform instead of Arduino + ethernet shield?
Post by: octal on September 23, 2011, 08:31:45 am
@dpropicweb
Microchip TCP/IP is not difficult for a good developper, but for a beginner it is! If you want simply to compile the lib and examples on a hardware using one of the MCUs for witch Microchip offers sample code, it's easy. If you want to adapat it from scratch for an exotic Microchip MCU and once you start to enable advanced features things can become complicated. Try implementing and USB HOST (HOST not device) on an MCU using TCP/IP lib and you can understand what I'm talking about ;)

Regards
Title: Re: Web platform instead of Arduino + ethernet shield?
Post by: dpropicweb on September 23, 2011, 08:42:42 am
No thanks, I avoid USB for a reason ;-)

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00982070752session_write_close ( )...(null):0
20.01012202344ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01012203120Database_MySQL->query( ).../DatabaseHandler.php:119
40.05492341856Database_MySQL->error( ).../Db-mysql.class.php:273