Show Posts
Pages: 1 ... 55 56 [57] 58 59 ... 117
841  Products / Arduino Yún / Re: JTAG on Yun board? on: January 11, 2014, 11:32:06 pm

AG9000-S 5.0 V ?

If I were you, I will be waiting official answer.

Digikey sell those module and instock.
842  Products / Arduino Yún / Re: Python Imaging Library PIL in Arduino Yun on: January 11, 2014, 11:21:50 pm
installation log:

root@Arduino:/mnt/sda1/arduino# opkg install  python-imaging-library
Installing python-imaging-library (1.1.7-2) to root...
Installing libfreetype (2.4.8-1) to root...
Installing libbz2 (1.0.6-1) to root...
Installing libjpeg (6b-1) to root...
Configuring libbz2.
Configuring libfreetype.
Configuring libjpeg.
Configuring python-imaging-library.

What is yours?
843  Products / Arduino Yún / Re: Uploading sketch via Ethernet on: January 11, 2014, 11:13:40 pm
Ethernet over Powerline

Trendnet TPL-308E2K Powerline 200 AV Nano Adapter Kit $36.31
844  Products / Arduino Yún / Re: JTAG on Yun board? on: January 11, 2014, 10:34:31 pm
Power-Over-Ethernet Module

845  Products / Arduino Yún / Re: ICSP Headers, are they available on the YUN? on: January 11, 2014, 10:27:07 pm
Problem is will they work? or are they being used by something else on the yun?

they work both way extenal programmer as well as direct connect  AR9331 use linino as programmer .

NTB0104UK is tri-state as long as GP21 is low, it is safe to use extenal programmer.

linino as programmer

846  Products / Arduino Yún / Re: AVR device not responding and red LED (pin 13) is always on on: January 11, 2014, 10:13:58 pm
You need reflash correct bootloader.

nano /usr/bin/run-avrdude
Change the efuse value from FB to CB


echo 1 > /sys/class/gpio/gpio21/value
avrdude -c linuxgpio -C /etc/avrdude.conf -p m32u4 -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xCB:m -Uflash:w:$1:i $2
echo 0 > /sys/class/gpio/gpio21/value

1. flash bootloader only
/usr/bin/run-avrdude    /etc/arduino/Caterina-Yun.hex

2. flash  sketch only ( save memory)
/usr/bin/run-avrdude    /tmp/Blink.cpp.hex

3.  flash  sketch+bootloader  
cd /tmp
/usr/bin/merge-sketch-with-bootloader.lua  /tmp/Blink.cpp.hex
/usr/bin/run-avrdude    /tmp/Blink.cpp.hex

Blink.cpp.hex  's size is  14450, the new Blink.cpp.hex after merge is 25372. Blink.cpp.hex is from blink example.
847  Products / Arduino Yún / Re: REST api on: January 11, 2014, 08:02:18 pm
Use Firefox.
848  Products / Arduino Yún / Re: Python Imaging Library PIL in Arduino Yun on: January 11, 2014, 07:59:38 pm
opkg update
opkg install  python-imaging-library
849  Products / Arduino Yún / Re: Arduino Yun 5v pin doesnt give me 5v. on: January 11, 2014, 01:37:30 pm

First of all i noticed in the schematic that there is a schottky diode placed between VIN pin and VDD, and an other between VDD and 5V pin of the board.
This could lead to a series of problems, because of voltage dropout induced by those diodes.
In particular:
1 - Voltage instability, because the voltage drop is current-depending, so it will not be stable, but could fall or raise depending on the current absorbed in the moment
2 - Diffente voltage between components: some components would receive some millivolts more or less
3 - Inaccuracy in sensors reading, because many analog sensors output a voltage that is proportional to the VCC supplied (for example the ACS715)

my 2 cents:
1. Voltage instability with temperature.
2. AR9331 no effect by Voltage instability since it power by 3.3 V.
3. Shield is power by 5.0 V which has 2 diodes and lowest  voltage.

4.48 volt  is normal but might cause some shield fail.
850  Products / Arduino Yún / Re: arduino yun on ap mode on: January 11, 2014, 01:19:52 pm
Configuring the onboard WiFi
851  Products / Arduino Yún / Re: ICSP Headers, are they available on the YUN? on: January 11, 2014, 01:13:39 pm
852  Products / Arduino Yún / Re: Measuring if the Yun is internet connected on: January 10, 2014, 04:13:15 pm
nano /usr/bin/internet-live-led

while true
count=$(ping -c $ping_attempts $HOSTS | awk -F, '/received/{print $2*1}')
#echo $count
if [ $count -eq 0 ]; then
/usr/bin/blink-start 100
sleep  $sleep_time

chmod 755  /usr/bin/internet-live-led
/usr/bin/internet-live-led &

if need it start at bootup
nano /etc/rc.local
/usr/bin/internet-live-led &
exit 0
853  Products / Arduino Yún / Re: JTAG on Yun board? on: January 10, 2014, 02:38:07 pm
Arduino Yun 5.0 v/13 w  IEEE802.3af compliant PoE Module.
854  Products / Arduino Yún / Re: FileIO in binary mode and Process oddities on: January 10, 2014, 01:52:27 pm
Logitech HD Webcam C270  supports 1280 x 720 screen resolution, The file size could be much huge.  Use ATmega32u4 to transfer the file might not be smart move.
We could use mount networked drives or export networked drives for PC to share. Save image file to mounted networked drives then send command by linux/linino to PC to process.

mount windows share directory/Linux samba at Yun:
opkg update
opkg install kmod-crypto-misc
opkg install kmod-nls-utf8 kmod-nls-base kmod-crypto-hmac kmod-crypto-md5 cifsmount
opkg install kmod-fs-cifs
mkdir /mnt/local
mount.cifs // /mnt/local -o guest,sec=ntlm

fswebcam --png 2 -r 1280x720 --save /mnt/local/test.png
855  Products / Arduino Yún / Re: Uniden Home Patrol - Arduino Yun - HPe-rc on: January 10, 2014, 12:12:55 pm
To confirm yes it is "python" process.

Before run,  You could try skip buffering  for a whole python process using "python -u" (or#!/usr/bin/env python -u etc) or by setting the environment variable PYTHONUNBUFFERED.

python -u



Pages: 1 ... 55 56 [57] 58 59 ... 117