Show Posts
Pages: [1] 2 3 ... 10
1  Using Arduino / Programming Questions / Re: arduino reset ethercard library on: May 16, 2014, 02:13:48 am
Paul may be a bit harsh, but he's basically right. Whatever your HW config, you should first try to use "standard" examples of sketches, as provided with the  libraries. It seems that some recent changes broke it, as indicated in the forum on jeelabs

Using an older version, I managed to get both DHCP and static IP examples working, and send data to Xively for example.
2  Using Arduino / Programming Questions / Re: Struggling compiling a project on: December 13, 2013, 04:30:00 am
I played with Ethercard a while ago. The library should be in your sketch directory, do not copy that in the Arduino program tree (c:/Program...).

So assuming a new Arduino 1.0.5 installation, you should have in "My documents" an "arduino" directory to put your sketches, and a libraries directory with a readme.txt pointing to

If you put your Ethercard library _only_ there, it should work.
3  Using Arduino / Networking, Protocols, and Devices / Re: Problem On webclient example with arduino and ENC28J60 ethernet on: October 07, 2013, 07:29:40 am
FWIW, I am a 28J60 owner/user, and I never found any library that is compatible with the Arduino "official" one. Both ENC28J60 librairies I know (Ethershield and Ethercard) are not even called "Ethernet.h", do not use "client" object, etc.

IF there is (finally) some library that emulates the standard API for the ENC28J60, I'd like to know. I extensively researched it for several months, and could never find any. So there is a priori no reason why the code _should_ work.
4  Using Arduino / Programming Questions / Re: Alternatives to Pachube/Cosm on: September 30, 2013, 01:50:23 am
Also looked at grovestreams as alternative to cosm/xively, that is doing so weird with their new "develop deploy products" blabla. And the API looks much richer than Pachube (what xively actually hosts) : concepts of users, organisations, components (with templates), folders and dashboards etc. Limited to 150/350 API calls an hour. Also supports SSL. The API-key is not a generated "plain text password", but a real symetric crypto key, so it is not compatible at all with existing usages. Apparently it also only supports JSON, no plain text nor XML.

So it looks very powerful, a superset of xively etc, but seems not obvious to use, as there are only 2 Java and one Python code example. Nothing for Arduino C++ etc.

5  Using Arduino / Project Guidance / Re: Spectrum Analyzer - new to hardware - on: May 03, 2013, 09:58:38 am
Caution, that the Arduino is not powerful at all. For some audio/FFT work, it will be very very slow. I'd rather consider a Due or a Teensy3 for that kind of job. Both can be used with the Arduino IDE. (Teensy3 requires the Teensyduino add on).
6  Using Arduino / Project Guidance / Re: monitor 12 vdc automotive battery used to start backup generator on: May 03, 2013, 09:54:25 am
Caution, these sensors are for cases where you have a lot of current. And you don't want to short-circuit or drain your battery here !

So you should have short duration "tests" every x minutes/hours, and then leave that battery alone.

You don't need opto isolators necessarily, that depends on your circuit, whether you are connected to mains or not, etc.

For example if you power your arduino  board from the battery, no need to isolate it from its own power supply !
7  Topics / Interactive Art / Re: Theremin as a Capacitive Sensing Device on: May 02, 2013, 07:53:27 am
Would it be possible to use four hex inverters instead of four NAND gates?   smiley-roll
Yes. Actually the fourth one is redundant, so you could even have two sensors with one hex inverter chip. Of course, the counter/interrupt stuff becomes more complex then...
8  Topics / Home Automation and Networked Objects / Re: uploading sensor data to cosm using enc28j60 on: March 29, 2013, 08:44:09 am
Never had problems with dns, this is very likely due to some specific limitations/behaviour of your gateway. Note that there are also well-known problems with DHCP, that were apparently solved a few months ago (you need to refresh the DHCP lease every x hours). I still use the old version, so my Cosm feed will hang about every 6 weeks... (It's actually running the same sketch since October last year IIRC...)

Documentation on ENC28J60 is far from perfect, I tried to upgrade it some months ago but found no other playmate... A shame as this piece of HW is cheaper than the "official" and works nice. I'd like to get my device support both web server and web client at the same time, but that seems very very difficult, mainly because the example sketches simplify things by assuming there will never be more than one TCP connection at the time, and because Arduino RAM is so small it's a challenge to store Ethernet packets.
9  Development / Other Software Development / Re: swRTC on: March 29, 2013, 08:23:53 am
Hi Leo,

I really love swRTC. I recently added a getDeltaT method (and issued a pull request on github).
Reason is that I integrated swRTC with panstamp SWAP stack from Daniel Berenguer, and I need to be able to read that and report it over RF network. I didn't test it yet though.

I also added an overloaded setDeltaT method using a int instead of float because float is supposed to be quite inefficient. But the weird thing is that when I substitute it to your routine, I get about 300 bytes MORE with my sketch. Very strange. Anybody have an idea on why and what did I do wrong ?

I also noted that the maximum deviation supported is 1% (840.0 second a day). Is there something specific that defineds that as a hard limit ? Because it pretty much looks like my device (using the internal 8MHz clock) derives more than that, my latest calculation would say around 1512 seconds too much a day (or 1.75%). Can this limitation be relaxed to 2-3% without any side effect ?
10  Topics / Home Automation and Networked Objects / Re: Home automation project on: March 13, 2013, 05:05:13 am
Circuit breakers are _safety_ devices. Arduino relay systems are _hobby_ devices.

Please don't even think of making any mix of this is an electrical fuse boxe of a house. The day that your arduino burns and your insurance company doesn't pay you a dime, you'll regret to have chosen the wrong hobby !
11  Using Arduino / Networking, Protocols, and Devices / Re: Update on DASH7 on: January 11, 2013, 08:03:50 am
@haarts, if the meshing feature is what you need, and you target home automation, you can take a look at panstamps as well. Very similar to JeeNode, but with better radios (CC1100), and a set of "holder" boards that can even install in a DIN-rail fusebox. Very responsive support. All open source.

I have no other relationship with panstamp except being a "happy user", but I think it deserves a bigger community. Take a look. The SWAP stack is great, even if its all-HEX approach isn't the most user-readable one... If you can make a side-by-side comparison with DASH7, I'm interested.
12  Development / Other Software Development / Re: Try FreeRTOS - compare with ChibiOS/RT on: December 18, 2012, 06:17:54 am
Anyone other able to compare FreeRTOS ChibiOS and maybe other contenders for Arduino's better (easiest) RTOS ?
13  Using Arduino / Interfacing w/ Software on the Computer / Re: how to upload contiki to arduino on: December 10, 2012, 03:14:56 am
Maybe this is a FAQ, but I see no reference to Arduino on contiki website (rather ATmega128 in Micaz platform ?) On github, the files seem to be 3-4 years old...

Could you provide a small description of the Contiki requirements and features ? It seems it's targeted at WSNs (wireless sensor nodes) but that's still very confusing.
14  Using Arduino / Networking, Protocols, and Devices / Re: Multihop communications using Arduino on: December 05, 2012, 03:44:31 am
Wow!  I like Panstamp.  Does anyone know how much they cost?
About 20USD for the stamp. There is a link to the e-shop on the site. Fairly simple, and shipping is fast.
Plenty of "carrier boards" as well, I used battery and relay ones, not really cheap, but work great.
15  Using Arduino / Networking, Protocols, and Devices / Re: Multihop communications using Arduino on: December 04, 2012, 10:48:58 am
The panstamps from Daniel do that off the box when you enable the repeater function.

I have some, and I can say I'm both happy of the modules and the support. However, I personnally didn't have/take time yet to test the repeater feature.
Pages: [1] 2 3 ... 10