Go to advanced search

by Speranskiy
Sat Oct 20, 2018 12:00 pm
Forum: Automation, sensing and robotics
Topic: RPi to replace Oregon Scientific sensor
Replies: 2
Views: 589

Re: RPi to replace Oregon Scientific sensor

Thanks! But the problem is there is a rolling key using in the packets so it's not just "copy the packet and retranslate it". Here is my progress on this. I've managed to compile and launch this arduino scetch on my Raspberry Pi using this project. Now I can recieve and decode packets using OregonPi...
by Speranskiy
Sun Oct 14, 2018 4:43 am
Forum: Automation, sensing and robotics
Topic: RPi to replace Oregon Scientific sensor
Replies: 2
Views: 589

RPi to replace Oregon Scientific sensor

Hi there! The most frequent result for Oregon Scientific + Raspberry Pi key words is how to intercept data coming from Oregon's sensors. It was my intention to use my 433MHz reciever too. But I've got my sensor stolen while the reciever was shipped so I need to come up with alternative way to use it...
by Speranskiy
Wed Apr 04, 2018 1:48 pm
Forum: Arch
Topic: Wierd errors in journal
Replies: 1
Views: 1961

Wierd errors in journal

Hi there! I'm running ArchLinuxARM on my raspberry pi and some time ago I've started getting these errors in system journal. And sometimes it mentions reboot but the systemd never reboots during this. Eventually it hangs and get unresponsive. What could be wrong? SD card issue? Kernel issue? Somethi...
by Speranskiy
Sun Dec 03, 2017 1:41 pm
Forum: Troubleshooting
Topic: Light Sensor hangs my PI
Replies: 7
Views: 587

Re: Light Sensor hangs my PI

Hi gents! Seems like I managed to solve my issue. And the problem was in gpiozero library. Seems like it's not correct way to use it inside a daemon reading LightSensor.light_detected() state inside a "while True" loop. I just implemented a function doing the same thing as gpiozero.LightSensor and p...
by Speranskiy
Fri Nov 24, 2017 6:43 pm
Forum: Troubleshooting
Topic: Light Sensor hangs my PI
Replies: 7
Views: 587

Re: Light Sensor hangs my PI

hippy wrote:Perhaps it needs a resistor to limit that.
Do you mean in serial with the cap? Will 100K be enough?
by Speranskiy
Fri Nov 24, 2017 5:48 pm
Forum: Troubleshooting
Topic: Light Sensor hangs my PI
Replies: 7
Views: 587

Re: Light Sensor hangs my PI

I've just disconnected the LDR circuit and found that my PI is able to run for months without any freeze.

Just measured the photo cell and found out that it's just 7KOhm in light. So I think I should add another 100K to limit current.
by Speranskiy
Fri Nov 24, 2017 2:06 pm
Forum: Troubleshooting
Topic: Light Sensor hangs my PI
Replies: 7
Views: 587

Light Sensor hangs my PI

Hi there! I've got couple of topics created regarding this. And finally I've narrowed down my issue to the Light Sensor I'm trying to use. The schematic taken from the gpiozero documentation: Connect one leg of the LDR to the 3V3 pin; connect one leg of a 1µF capacitor to a ground pin; connect the o...
by Speranskiy
Wed Jul 19, 2017 11:00 am
Forum: Troubleshooting
Topic: GPIOZero hangs my PI
Replies: 2
Views: 313

Re: GPIOZero hangs my PI

Maybe it somehow conflicts with other modules I use:

Code: Select all

import RPi.GPIO as GPIO
import time
import datetime
import sys

from gpiozero import LightSensor
from mpd import MPDClient
from subprocess import Popen, PIPE, call

by Speranskiy
Wed Jul 19, 2017 10:19 am
Forum: Troubleshooting
Topic: GPIOZero hangs my PI
Replies: 2
Views: 313

GPIOZero hangs my PI

Hi there! As continuing of troubleshooting started here . I've narrowed down my issue to GPIOZero module I'm using in my script to read from a light sensor. I do readings like this: from gpiozero import LightSensor ldr = LightSensor(14) while True: light = ldr.light_detected if light: do stuff... sl...
by Speranskiy
Sun Apr 23, 2017 1:28 pm
Forum: Python
Topic: This script hangs my PI
Replies: 5
Views: 612

Re: This script hangs my PI

Thank you very much for the ideas. I'll be back once I get any results.
by Speranskiy
Fri Apr 21, 2017 3:50 pm
Forum: Python
Topic: This script hangs my PI
Replies: 5
Views: 612

Re: This script hangs my PI

It didn't help, still hangs
by Speranskiy
Thu Apr 20, 2017 9:12 am
Forum: Python
Topic: This script hangs my PI
Replies: 5
Views: 612

Re: This script hangs my PI

paddyg wrote: I don't know if these comments are relevant to your issue but it is MUCH easier to debug simple tidy code than code with lots of repeated blocks.
Thank you a lot! I've adopted your notes, will see if it helps.
by Speranskiy
Wed Apr 19, 2017 8:36 am
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Re: Raspberry PI2 ver. B randomly freezes

Yep, I've already reverted back to microUSB.
by Speranskiy
Wed Apr 19, 2017 6:52 am
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Re: Raspberry PI2 ver. B randomly freezes

The problem is still there, but I've found out that my script causes it to hang, so I've created another thread.
by Speranskiy
Wed Apr 19, 2017 6:51 am
Forum: Python
Topic: This script hangs my PI
Replies: 5
Views: 612

This script hangs my PI

Hi there! My initial problem was described here , then I've narrowed it down to this script. Seems like, after some time running it cause the PI to hang. I've found somethere that wiringpi has a problem when it's running from a nonroot user is may hang PI, so I start it as systemd service from root ...
by Speranskiy
Thu Feb 16, 2017 6:45 pm
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Re: Raspberry PI2 ver. B randomly freezes

Hi guys! My issue is still there. What I've done: changed wires that go from the PSU to DC-DC converter they were too thin and caused voltage reduce. So the voltage is stable now. To eliminate potentially thin mini-usb cable I've powered the PI via GPIO pins and it still freezes!! I've just measured...
by Speranskiy
Tue Feb 07, 2017 8:52 am
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Re: Raspberry PI2 ver. B randomly freezes

DougieLawson wrote:If they're not due to hardware problems (lousy power supply) then random freezes are usually a symptom of a memory leak.
Thanks for the idea! Actually I've already implemented a load/memory monitoring. RAM usage never gets higher 300M, CPU sits at 8-10% load.
by Speranskiy
Tue Feb 07, 2017 8:27 am
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Re: Raspberry PI2 ver. B randomly freezes

You may be overloading the input 'polyfuse'. The total maximum current that a RPi 2B can handle is 2.0A when powered via the micro USB jack. If you go above that then the fuse will begin increase in resistance and the RPi will become unstable. For USB devices the default current limit is 600mA. If ...
by Speranskiy
Wed Feb 01, 2017 8:37 am
Forum: Troubleshooting
Topic: Raspberry PI2 ver. B randomly freezes
Replies: 9
Views: 1178

Raspberry PI2 ver. B randomly freezes

Hi there! So my issue is my PI hangs randomly without any traces in logs. Main log looks like this: Feb 01 02:13:26 rpi python3[466]: Powering on HDMI with preferred settings Feb 01 02:14:31 rpi python3[466]: Powering off HDMI Feb 01 07:17:10 rpi python3[466]: Powering on HDMI with preferred setting...

Go to advanced search