[beagleboard] Reading I2C device with HOLD/NO HOLD gives different values?

2015-10-05 Thread JJ
I have two Python codes for reading a SHT21 temp/hum sensor, but they give different readings! I know the difference seems to be small, but the sensor is located in a place where temperature is very stable, and both of the scripts show the same reading almost all the time (the sensor is not bro

[beagleboard] How to wait for rising edge with pruss?

2014-12-31 Thread JJ
So, how to set rising edge detection in pruio-lib without the following while-loop: pruIo *io = pruio_new(PRUIO_DEF_ACTIVE, 0x98, 0, 1); int gpiovalue; while(1) { gpiovalue = pruio_gpio_Value(io, PIN); if (gpiovalue == 1) { ///capturedatacode... } I have a device and it s

[beagleboard] Re: How to read binary (10101..) data from a device?

2014-11-29 Thread JJ
> > Here's my current python code: > import Adafruit_BBIO.GPIO as GPIO import time import sys import psutil, os p = psutil.Process(os.getpid()) p.nice(-20) GPIO.setup("P8_10", GPIO.OUT) GPIO.output("P8_10", GPIO.LOW) GPIO.setup("P8_12", GPIO.IN) while True: data = [] GPIO.wait

[beagleboard] Help reading MLX90614 with Beaglebone Black

2014-11-29 Thread JJ
Hello I need help with reading the MLX90614 ir sensor... When I attach it to BBB and run sudo i2cdetect -y -r 1, it slowly looks for i2c addresses and dmesg says "controller timed out" every time. The problem seems to be in the MLX90614 communication, because if I plug it out, i2cdetect finds

[beagleboard] Re: Can't reboot or shutdown BBB

2014-10-07 Thread JJ
Tried that too. I temporarily changed the os to Arch and it does shutdown BBB. Anyway I would like to use Debian and there is undoubtedly something wrong. tiistai, 7. lokakuuta 2014 13.57.49 UTC+3 Luis José Marmisa Gazo kirjoitti: > > Try > > sudo poweroff > > -- For more options, visit http:/

[beagleboard] Re: Can't reboot or shutdown BBB

2014-10-04 Thread JJ
Here is a syslog after shutdown command (don't know how much is missing, after 10 minutes of hanging I turned it off): > Oct 4 22:11:25 arm shutdown[3524]: shutting down for system reboot > Oct 4 22:11:25 arm kernel: imklog 5.8.11, log source = /proc/kmsg started. > Oct 4 22:11:25 arm rsyslogd

Re: [beagleboard] Can't reboot or shutdown BBB

2014-10-04 Thread JJ
Not working. CPU and heartbeat leds keep blinking, but it won't respond any ssh command or ping anymore. So it hangs of shutdown. lauantai, 4. lokakuuta 2014 22.44.34 UTC+3 Wulf Man kirjoitti: > > shutdown -h now > > -- For more options, visit http://beagleboard.org/discuss --- You received

[beagleboard] Can't reboot or shutdown BBB

2014-10-04 Thread JJ
Tried halt -p, reboot and shutdown. Nothing turns power off my BBB and I have to physically turn off it. Also tried with 3.14.17-bone8 and 3.8-13-bone67. Distro is Debian, running from eMMC. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

[beagleboard] How to read binary (10101..) data from a device?

2014-10-04 Thread JJ
Here's my situation: I have a device with four pins: GND, Vin, data and DTR. When DTR is pulled low, device sends digital data to the data line. I know the bit length and the data message length, but the question is, how can I read the data (zeros and ones) with a Beaglebone Black? Just to clar

[beagleboard] Run BeagleBone without MicroSD: need quick answer

2014-04-13 Thread JJ
I have a microusb. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroup

Re: [beagleboard] Mystery: Beaglebone Black doesn't respond ping or ssh regularly

2014-01-06 Thread JJ
maanantai, 6. tammikuuta 2014 14.19.59 UTC+2 Dieter Wirz kirjoitti: > > Did you test, if your BBB is still connected to the www while he is > not accessible? eg with a cronjob, something like: > * * * * * ping -c 1 google.com >> /some_path_to/ping.log > Works fine with 1 minute interval, no e

[beagleboard] Re: Mystery: Beaglebone Black doesn't respond ping or ssh regularly

2014-01-06 Thread JJ
I do not have dropbear, I'm using openssh. Are you able to ping to your BBB when the problem exists? If you can't, you have the same situation as I do. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "Beagl

[beagleboard] Re: Motion software / em28xx issue, fails with Watchdog timeout

2014-01-02 Thread JJ
Hi and thanks for your reply. I compiled the kernel and think everything went well - though the compiling was the first time for me. Running Debian Wheezy and just replaced old kernel files and modules, result: no errors, so maybe the kernel configuration is ok? uname -a Linux arm 3.13.0-rc6-bo

[beagleboard] Re: Motion software / em28xx issue, fails with Watchdog timeout

2014-01-01 Thread JJ
I confirm this issue is not only related to Arch, but also Debian Wheezy. They detect Easycap dongle fine, but motion doen't want to capture video from it. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "

[beagleboard] Mystery: Beaglebone Black doesn't respond ping or ssh regularly

2014-01-01 Thread JJ
I have my BBB connected to a ADSL modem/router in bridged mode, so BBB gets directly an external IP. But sometimes, actually many times an hour, it doens't respond to any protocol: I have tried pinging, ssh and http-request but nothing reaches BBB (connection timeout). However, I have set a cron

[beagleboard] Motion software / em28xx issue, fails with Watchdog timeout

2013-12-01 Thread JJ
Arch (3.8) detects Easycap (em28xx) device just fine, here's dmesg log. [6.579974] em28xx 1-1:1.0: usb_probe_interface [6.580003] em28xx 1-1:1.0: usb_probe_interface - got id [6.580042] em28xx: New device @ 480 Mbps (eb1a:2861, interface 0, class 0) [6.580050] em28xx: Video inter

Re: [beagleboard] Re: Beaglebone-Black: Problems with the Adafruit-BBIO in Arch

2013-11-23 Thread JJ
Thank you! I used the latest 3.12 kernel and installed the legacy version. Now my program works fine! By the way, why doesn't the newest kernel support the capes? lauantai, 23. marraskuuta 2013 20.28.13 UTC+2 don kirjoitti: > > On 11/23/2013 08:24 AM, JJ wrote: > > I manage

[beagleboard] Re: Beaglebone-Black: Cannot install the Adafruit-BBIO in Arch

2013-11-23 Thread JJ
I managed to compile BBIO and before that I installed python2 packages. Now there's a new problem, let's see following code import Adafruit_BBIO.ADC as ADC ADC.setup() value = ADC.read("P8_36") voltage = value * 1.8 #1.8V print voltage It should print the analog pin 5 value, but this error app

[beagleboard] Beaglebone-Black: Cannot install the Adafruit-BBIO in Arch

2013-11-23 Thread JJ
pip install Adafruit_BBIO Downloading/unpacking Adafruit-BBIO Downloading Adafruit_BBIO-0.0.18.tar.gz Running setup.py egg_info for package Adafruit-BBIO Traceback (most recent call last): File "", line 16, in File "/tmp/pip_build_root/Adafruit-BBIO/setup.py", line 7

[beagleboard] Beaglebone drivers would not load on windows8 machine

2013-10-07 Thread jj . lrnz
Hi All, I had trouble getting my windows8 pc to upload beaglebone drivers. The problem is all new window8 pcs are automatically set to not allow installation of unsigned drivers. Here is the fix 1. Press win+c on the keyboard to bring up the charms side bar (or move mouse to right top