Go to advanced search

by pavinjoseph
Wed Jun 06, 2018 3:50 pm
Forum: Python
Topic: Need advise on realtime programming
Replies: 8
Views: 1016

Re: Need advise on realtime programming

On the programming logic side of things, have you looked into using a formal finite state machine model - for example the module called "transitions" at https://github.com/pytransitions/transitions ? It might save you a bit of grief in keeping track of the states. This should help me clean up the c...
by pavinjoseph
Sun Apr 15, 2018 9:57 pm
Forum: Python
Topic: Need advise on realtime programming
Replies: 8
Views: 1016

Re: Need advise on realtime programming

Have you looked into using interrupts instead of loops and sleep? I do not use loops and sleeps in a program that runs 24/7, except for upgrades. I started by testing RPi.GPIO's `add_event_detect` interrupt which runs a callback on detecting bidirectional change of state. The callback was being run...
by pavinjoseph
Sat Apr 14, 2018 10:43 pm
Forum: Python
Topic: Need advise on realtime programming
Replies: 8
Views: 1016

Re: Need advise on realtime programming

Don't know why the callback is unreliable - have you tried putting print statements in the function to see what's happening. i.e. is the function being called but the input has changed when it does the logic, or is it turning on and off very quickly? It's a rather indirect help but over the years I...
by pavinjoseph
Fri Apr 13, 2018 5:22 pm
Forum: Python
Topic: Need advise on realtime programming
Replies: 8
Views: 1016

Need advise on realtime programming

Hey everyone, I'm trying to create an automated robotic machine which detects various signals from operator and acts accordingly. It has 4 inputs (3 switches, 1 signal receiver) and 8 outputs (4 LEDs, 1 beeper, 1 gear fwd/bwd, 1 motor power, 1 transmitter ). I'm using the python RPi.GPIO library to ...
by pavinjoseph
Tue Mar 31, 2015 8:50 pm
Forum: Networking and servers
Topic: Personal Cloud Designed to Run on Raspberry Pi
Replies: 26
Views: 13096

Re: Personal Cloud Designed to Run on Raspberry Pi

You guys have done a really good job with Nimbus. Easy to set up and use. It was my first cloud installation on the RPi2 and it worked well. :)
by pavinjoseph
Mon Mar 30, 2015 7:24 pm
Forum: Networking and servers
Topic: How to improve apache performance and reduce timeouts
Replies: 2
Views: 1462

How to improve apache performance and reduce timeouts

I was testing my Raspberry Pi 2 Model B with an Apache web server . The Pi itself is overclocked using the Moderate Preset. It works reliably 24x7. I recently conducted Load Testing on the apache server and it held up pretty good, better than I expected. 10000 clients in 1 minute and only 169 timeou...
by pavinjoseph
Sat Mar 14, 2015 5:45 pm
Forum: Networking and servers
Topic: Secure Cloud Storage give-away
Replies: 1
Views: 929

Secure Cloud Storage give-away

Hi everyone :) I recently bought a Raspberry Pi 2 and decided to create a web server and cloud storage. I have since deployed ownCloud and more importantly SEAFILE Open Source cloud storage with client-side encryption and secure key management. I have some extra space and resources, so I would like ...
by pavinjoseph
Tue Mar 10, 2015 4:48 pm
Forum: Networking and servers
Topic: OwnCloud off a USB HDD
Replies: 4
Views: 7445

Re: OwnCloud off a USB HDD

I got it working. Followed http://raspberrypihobbyist.blogspot.com/2013/07/running-from-external-hard-drive.html to get Rasbian to run off USB HDD. I only created two partitions however. Then http://www.techjawab.com/2014/08/how-to-setup-owncloud-7-on-raspberry-pi.html to install OwnCloud. I downlo...
by pavinjoseph
Sat Mar 07, 2015 8:45 pm
Forum: Networking and servers
Topic: OwnCloud off a USB HDD
Replies: 4
Views: 7445

Re: OwnCloud off a USB HDD

Hi, I also just finished setting up my Raspberry Pi with ownCloud (https://pavinjoseph.com). I'm running my Pi off of the SD card itself but my ownCloud data storage is on an external HDD. I can tell you that it is quite fast. The data upload, download and everything else works pretty much as fast a...
by pavinjoseph
Mon Mar 02, 2015 9:16 am
Forum: Networking and servers
Topic: Strongswan IPSec only VPN Tutorial (XAuth/PSK)
Replies: 15
Views: 35594

Re: Strongswan IPSec only VPN Tutorial

Hi. Thanks a lot for this tutorial. I'm getting Error: 789 "The L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer" when attempting to connect from my Windows 8.1 64 bit PC. I am behind a router and have forwa...

Go to advanced search