Show Posts
Pages: 1 [2] 3 4 ... 93
16  Products / Arduino Yún / Re: "Could not connect to YunServer 146 Connection refused" error message on: April 07, 2014, 05:58:29 pm
http://forum.arduino.cc/index.php?topic=221431.msg1610137#msg1610137
17  Products / Arduino Yún / Re: Arduino Yun: Storing Data in Mysql installed on Linino on: April 07, 2014, 05:38:12 pm
...
If i change the delay time to 1, it should store the values every millisecond.
...

The bottleneck is bridge speed, try to use 500 ms first, then test speed up?
18  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 07, 2014, 05:32:50 pm
...
Is there an easy way to programmatically change the Yun WiFi settings?
...

http://forum.arduino.cc/index.php?topic=216850.msg1586874#msg1586874
19  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 06, 2014, 01:32:17 pm
Missing  one parameter C;-
time=> A
pin1=>B
pin2=>C

20  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 06, 2014, 01:23:55 pm
Your own code:

Code:
String paramstring3 ="'insert into testdata (\"time\",\"pin1\",\"pin2\") Values (\""+time+"\","+pin1+","+pin2+");'";
21  Products / Arduino Yún / Re: YunWebUI and LuCI on: April 06, 2014, 10:23:09 am
LuCI is based on MVC (Model–view–controller). The '/usr/lib/lua/luci/controller/arduino/index.lua' is the controller file and byte compile.

Linino/Openwrt/LuCI are all open source, and you could easily replace it with source file.

Code:
opkg update
opkg  install wget
cd /usr/lib/lua/luci/controller/arduino/
mv  index.lua index.lua.bk
wget https://raw.githubusercontent.com/arduino/YunWebUI/master/usr/lib/lua/luci/controller/arduino/index.lua --no-check-certificate
/etc/init.d/uhttpd  restart








22  Products / Arduino Yún / Re: Using realtime operating system with the Yun on: April 06, 2014, 09:51:51 am
What you are asking is AR9331 direct GPIO access. The answer is no.

AR9331 has:

  • I2S/SPDIF-out audio interface
  • SLIC for VOIP/PCM
  • GPIO/LED support (GPIO0~GPIO28)
  • JTAG-based processor debugging supported

In total 29 of GPIO pins some of them are multiplexed pin with UART,I2S,LED,SLIC, JTAG.

Yun breaks out 0 of them. We are out of luck.

Yun might not be the platform you are looking for since it has no hardware breakout.

Meanwhile Yun supports real time application very well by integrated MCU-ATmega32u4.
23  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 06, 2014, 09:45:40 am
Plan E:

Keep Yun remain at AP (Access Point) mode, computer or smartphone connect with it. The Yun ip address is '192.168.240.1'.
24  Products / Arduino Yún / Re: Arduino Manager Problem on: April 06, 2014, 09:37:23 am
I don't have  Arduino Manager, It cost $6.99 smiley-money.  Please take my answer with salt.

1. Do I still need any Shields or Ethernet shield If I'm already using Arduino yun? In the documentation it says it's required but yun has ethernet port.

A: No, Ethernet shield or wifi  Shields is not needed.

2. Since im using YUN, the software that I need to upload to Arduino is TestArduinoManagerForYun Right?

A: Yes

3.Can I use Arduino Manager without using the Ethernet Cable? I already can upload sketch thru Wifi.

A: Better upload  sketch thru USB port.  No Ethernet Cable is needed.

4. In the "TestArduinoManagerForYun" sketch, there's no part of the sketch that I need to put my IP Address or MAC, does it mean I don't need to?

A:  You could get IP Address from Arduino IDE.

5.Aside from the port number, Do I need to edit TestArduinoManagerForYun to make it work?

A: suppose nothing.



25  Products / Arduino Yún / Re: Linino Locks up after ~12-24 hours Running php Script every minute on: April 06, 2014, 09:25:59 am
You need to tell us either network drop out or php website (uhttpd) time out.
In network drop out case either Yun drop out from network completed or Yun drop out internet connection only?
In php website ( uhttpd) time out case either maximum number of concurrent requests is over or script_timeout  is over?
Did you test with ethernet?

26  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 06, 2014, 09:19:35 am
You are working on sqlite not mysql server.

http://forum.arduino.cc/index.php?topic=204451.msg1505801#msg1505801
27  Products / Arduino Yún / Re: Yún write and read from MySQL database on: April 05, 2014, 09:41:11 am
Installing and configuring MySQL serverat Arduino Yun, To enable MySQL in PHP install:

http://wiki.openwrt.org/doc/howto/lamp
28  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 05, 2014, 09:29:06 am
Plan D:

ARP Binding/IP & MAC Binding at Router:

a lot of new routers support ARP Binding,  now Binding arduino Yun MAC address with fix ip address.
29  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 05, 2014, 09:23:39 am
Plan C:

Setup Yun use static IP address:

http://forum.arduino.cc/index.php?topic=227693.msg1650457#msg1650457
30  Products / Arduino Yún / Re: How do I find the Yun IP address in a Python script on: April 05, 2014, 09:20:47 am
Quote
One last thing. Should I close that socket at the end of the script?

definitely not hurt.

Plan B:

Code:
s.connect(('arduino.cc', 0))

Code:
s.connect(('192.168.0.1', 0))

'192.168.0.1' is router's address.

Pages: 1 [2] 3 4 ... 93