Show Posts
Pages: 1 [2] 3 4 5
16  Products / Arduino Due / Re: Easytranfer between Due and Mega on: February 27, 2014, 05:11:28 pm
I tried again but without success, the DUE won't receive anything.
Could you give me the stucture of a working sketch ?

I use this but it doesn't work

Code:
struct SEND_DATA_STRUCTURE{
  //put your variable definitions here for the data you want to receive
  //THIS MUST BE EXACTLY THE SAME ON THE OTHER ARDUINO
  float temp1;
  float temp2;
};
17  Products / Arduino Due / Re: Easytranfer between Due and Mega on: February 21, 2014, 06:31:37 am
I gave up the idea to use a DUE but now reading this i will give another try.
Thanks !
18  Products / Arduino Yún / Re: No access to web portal interface on: February 14, 2014, 06:51:23 am
can you ping the adresses ?
it is not because they appear on screen that you can ping them, ping them to be sure they were given by your router
19  Products / Arduino Yún / Re: Is it possible to setup Yun in a fixed IP's network? on: February 14, 2014, 06:48:16 am
You will need to get an IP address and gateway from you network administrator to set up your Yun.
I have a yun running on my home  network and it has a fixed IP address,  but that does not mean it will work on your school network, depends on the settings made by the network administrator

at the office, only registered PC's can connect to the network, a PC that is not registered cannot connect
20  Products / Arduino Yún / Re: No access to web portal interface on: February 13, 2014, 03:24:04 am
What IP address do you see for WLAN of the yun in the advanced configuration panel ?
can you ping this address ?
21  Products / Arduino Yún / Re: No access to web portal interface on: February 12, 2014, 03:26:47 am
Can you say exactly what you do during config, that will be the key to solve your problem.
Now we are blind.
22  Products / Arduino Yún / Re: Yun & port forwarding (problem is solved) on: February 11, 2014, 06:38:19 am
I stopped the firewall  but that did not make any difference.
I got help from a "network specialist" and he found out that for some reason the routing table was not complete
with the commando below the routing table was completed
route add default gw 10.0.1.1 eth1

 

http://xx.xx.xx.xx:8899/sd/yunwebserver/index.html

now I can access the YUN  from anywhere,  I tested with and without firewall, does not make any difference.
I will factory reset my yun tonight and check if the routing table is incomplete by default, maybe this is something that should be explained in a tutorial.

UPDATE: the real problem is that I did not enter the gateway address when setting up the Yun with a static IP address. Entering the gateway address automatically updates the routing  tables.

23  Products / Arduino Yún / Re: Yun & port forwarding on: February 10, 2014, 07:18:54 am
I"ll try to change the firewall but I must admit I don't know very well where to start, a screendump with the correct settings would be appreciated.

Hans
24  Products / Arduino Yún / Re: Can't access my yun anymore on: February 05, 2014, 04:48:58 pm
pressing the WLAN reset button for 30 seconds will force a factory reset
25  Products / Arduino Yún / Re: Yun & port forwarding on: February 04, 2014, 04:59:17 pm
Sorry but I don't understand what the Yun internal firewall has to do with port forwarding.
If it works with the local address, it should work when my router forwards the WAN address to the LAN address.
But I could be wrong, I'm not a pro in this, and that 's why I ask for help.
I must admit that I don't understand what to to with the code you propose.

What I do is in my router is forward incoming traffic on port 8889 to 10.0.1.88: 80
I do the same for other arduinos on my lan  e.g. 8888 is forwarded to 10.0.1.155:80 and I have web access to this arduino
26  Products / Arduino Yún / Yun & port forwarding (problem solved) on: February 04, 2014, 11:34:11 am
Hi,
I have 3 MEGA's running on my LAN that I can access over the internet with port forwarding.
I now have a Yun running with both WIFI and WAN configured as 10.0.1.88 and 10.0.1.89, I can access both via my LAN but the port forwarding does not work.
I have no sketch running on the yun, but I would expect to see the yun web control panel over the internet when forwarding to 10.0.1.88.
Is there anything special on a Yun that I  am not aware about ?
Any help would be appreciated
Hans
27  Products / Arduino Due / Re: Easytranfer between Due and Mega on: December 29, 2013, 06:14:55 pm
Are there any alternatives to make a DUE and MEGA talk to each other via RS485 ?
28  Products / Arduino Due / Easytranfer between Due and Mega (problem solved) on: December 29, 2013, 05:26:47 pm
I’ve used Easytransfer (http://www.billporter.info/2011/05/30/easytransfer-arduino-library/) successfully  for some time but now and I’m trying to connect a Mega (generates the data) with a DUE (with TFT shield to display the data).

I have no problem to connect 2 Due’s or 2 Mega’s with Easytransfer but sending from a MEGA to a DUE (or from a DUE to a MEGA) does not work (no data is received).

The DUE and MEGA are connected via RS485 to cover the distance between both as well as to match the operating voltage difference (3.3 vs 5.0V)

The RS485 connection works fine between DUE and MEGA in both directions as long as I use Serial.write, so I am pretty sure everything works fine on the RS485 hardware side.

I use the same sketch for MEGA <-> MEGA or DUE <-> DUE  works fine but  DUE <-> MEGA won't work.

Any idea why this won’t work ?

Thanks for your help.
29  Using Arduino / Displays / Re: Uploding images to TFT flash on: December 01, 2013, 09:39:02 am
That is the lib (in fact there are 3 libs)  I am using to upload images to flash.

There is a lot of information available from this vendor but not always correct for the TFT I have.

After some more searching and trying I managed to upload and image to flash.
The SD card slot to be used is the one on the back of the TFT, not the card slot on the intermediate shield.
No jumpers had  to be changed (default configuration).
30  Using Arduino / Displays / Re: Uploding images to TFT flash on: December 01, 2013, 07:44:57 am
The TFT works fine with arduino due, I can display all I want, the only thing left is trying to figure out how to write images to flash IC

The problem is that the example image importer sketch does not allow me to insert

UTFT myGLCD(CTE32HR,25,26,27,28);

which I use in my working sketches
I can only insert the display type, but mine (CTE32HR) is not recognized

UTFT myGLCD(CTE50); //Remember to change this for your LCD module

As a result I cannot see anything on the TFT.

link to image importer and more info on shield etc. https://code.google.com/p/cte-lcd-modules-arduino-library/downloads/list

Note that this example image importer sketch requires some libraries that, when installed, result in compiler errors in my previously working TFT sketches. This forced me to set up  2 IDE's, one for this image importer sketch and another one I use for all my other sketches.

I think I might have to solder jumper(s) on the TFT or on the TFT shield http://www.ebay.com/itm/121057447668?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649 but I don't know if I should put the SD card in the TFT shield or in the intermediate shield.

I did manage to display images by placing them in the same directory as the sketch and link to them
extern unsigned short icons[0x400];
Pages: 1 [2] 3 4 5