SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
August 22, 2011
about 10 months ago
Nice, but in the next revision, please put a smd switch to select the 3v3 or 5v operation voltage, no more solder!
I always hack the FTDI basic that way. I use the SMD switch. https://www.sparkfun.com/products/597
News - What to do when you screw…
about 11 months ago
Giving support from Chile!
I’ve have the tiny AVR programer. When the full recovery tutorial becomes ready, I can help local users to install their bootloader. Maybe whe can make “local” task forces to help.
News - Enginursday: Monitor Twit…
about 2 years ago
Of course, you must choice wathever languaje fit better in your proyect. But it’s always good to have options.
In my case, I use C for a fast embeded project, but i will use C++ for a more robust project. In a PC enviroment, I preffer C# / VB.NET.
In the web world, I preffer ruby, but most of my previous proyects were PHP based.
In the arduino.cc/yun forum, many of the topic are php / sqlite related. There a lot of PHP fans out there…
The arduino yün also support python on the linux side. You can also install php on it.
News - New Product Friday: The p…
about 2 years ago
In the part 2 of the Shieldstravaganza, Robert talk about the ethernet shields. The first one (at 0:55) is the Sparfun PoEthernet shield. (DEV-10864). The second one (at 5:20) is the oficial Arduno Shield with de PoE Module. (DEV-11230).
The Sparksfun shield uses pasive “unoficial” PoE, inyecting power over the 7,8 (+) and the 4,5 (-) pins. You still need a PoE inyector and a power source to put the power in the ethernet cable.
The Arduino shield uses the “standart” IEEE 802.3af. This way, uses a PoE source (mainly ethernet switch) to put the power in the cable. This schema modulates the data using the same cables used to the PoE. In gigabit ethernet, all 4 pairs are used, and still is posible to use “official” PoE.
Those two ways to build a PoE circuit are compleatly diferent, and not compatible.
News - Engineering Roundtable - …
about 2 years ago
I’ve been developing sketches for the arduino Ethernet shield for some time. I must you can improve the code putting the html to the program memory, not just as string, because the RAM requirements are much greater. In my projects I prefer to store the HTML in the SD card of the Ethernet shield. (I know, the wifly shield does not have one)
Other point is about security. I think is important to put some way to only allow to enter to your system only the authorized people. Have you ever use a port scanner? It’s easy.
In your code, the comments on line 200, says that you put some code to put a reload button and it breaks everything. How long is the actual HTML output? You always must think about TCP fragmentation, were a TCP packet must be 1500 bytes or less, including headers. If the whole HTML does not fit on a single packet, it will split in two or more packets. That’s called fragmentation. In your code, you must keep an eye in this problem, because the (at least in the Ethernet shield) communication IC does not handle the fragmentation by itself. It just send the packets one after another, without the packet number.
The packet number is needed by the client to put all the received packets in order, (TCP/Ip does not guarantees the ideal packet route, so the packets can travel using different routes, taking different times and finally arriving in different order) and then passing the data to the browser.
I strongly recommend to use a TCP/IP sniffer to see the actual traffic going from the server (the arduino + Wifly) to the browser in order to debug.
You can reduce the fragmentation programing with AJAX, in order to feed only xml/json files to the browser from the arduino, and hosting the app itself (HTML, .js, css, img) in other web server.
No public wish lists :(
Forgot your password?
No account? Register one!