Jump to content

B.K.O.

Members
  • Posts

    8
  • Joined

  • Last visited

Reputation Activity

  1. Like
    B.K.O. got a reaction from StuxNet in Orange Pi Zero PWM   
    this guy figured it out with PCA9685 but what do we have to change to drive servos
  2. Like
    B.K.O. got a reaction from ooaa in Please Test img Octoprint on Orange Pi Lite   
    I'm also very interested in the 5MP camera opi comes with there is alreadya guy that figured it out. http://sanchosk.blogspot.ro/2016/08/orange-pi-one-and-camera.html
    there is a forum post (that I'm not able to find at the moment) that makes it copy pastable but still there is no tut to combine all with Octo. This can be all scripted for !!!!!!armbian-config!!!!!!! instead of images.
  3. Like
    B.K.O. reacted to tkaiser in h3consumption to be included into future Armbian releases   
    I added a script lurking around on my disk for some time to Armbian's repo to be hopefully included into future Armbian releases when testing looks good: https://github.com/igorpecovnik/lib/blob/master/scripts/h3consumption
     
    Since it's just a script you can include it in your running Armbian installation simply by downloading it from Github -- try it this way please:
    sudo -s wget -q -O /usr/local/bin/h3consumption "https://raw.githubusercontent.com/igorpecovnik/lib/master/scripts/h3consumption" chmod 755 /usr/local/bin/h3consumption h3consumption -H h3consumption -p The last 2 calls will show the verbose help text along with current settings. This might then look like this:
     
     
     
    Mode of operation/test:
    Please read through the description (-H output) first and check also the referenced links Use -p to get currently used settings Use the other switches to modify settings Do not use -p now but instead do a reboot first and then check again -p You might also have a look at /etc/rc.local and /etc/defaults/cpufrequtils to get an idea where the script does things for a better understanding Two examples (will go into details later in different thread😞
    On an Orange Pi Plus 2E 'h3consumption -c 1 -m 1296 -d 408 -g off -e fast' reduces default idle consumption from 1650 mW by 780 mW to just 870 mW On an Orange Pi Lite 'h3consumption -D 132 -c1 -g off -u off' reduces default idle consumption from 1060 mW by 660 mW to just 400 mW (same low consumption running identical settings possible with NanoPi M1, Orange Pi One/PC/PC Plus and maybe the larger boards too when GBit Ethernet PHY can be completely disabled) Please note: the -D switch allows to use DRAM clockspeeds that are way below Allwinner's defaults and what's expected to work ok (since DDR3 shouldn't be clocked lower than 300 MHz and Allwinner used 408 MHz clockspeed as lower limit). While clockspeeds as low as 132 MHz seemed to work reliably in my tests and it should be ok to test these out when having in mind that this is an experimental feature you won't be able to go lower than 408 MHz anyway without a kernel patch (available in post #14 here) with all available official Armbian releases. So you've to either use the kernel .deb I provide in the other thread or wait for a new round of Armbian images (no idea how Igor's plans look like)
  4. Like
    B.K.O. reacted to Keno in Motioneye (OPI)   
    There have been several disjointed tutorials on making a raspberrypi or orangepi into a surveillance camera. So I threw this together to maybe help someone out there with any issues.
    I used the orangepipc+ but any orangepi board should work as long as it has the basics, internet connectivity, storage, and a camera. (I highly suggest heatsinks as well)
     
    any feedback or enhancements to this tutorial are greatly appreciated.
     
    ------------------------------------------------------------------
    ORANGEPI IPCAMERA
    ------------------------------------------------------------------
      su root   apt-get update apt-get upgrade apt-get install wget https://github.com/ccrisan/motioneye/wiki/precompiled/ffmpeg_3.1.1-1_armhf.deb dpkg -i ffmpeg_3.1.1-1_armhf.deb   apt-get remove libavcodec-extra-56 libavformat56 libavresample2 libavutil54   apt-get install python-pip python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev libx264-142 libavcodec56 libavformat56 libmysqlclient18 libswscale3 libpq5   wget https://github.com/Motion-Project/motion/releases/download/release-4.0.1/pi_jessie_motion_4.0.1-1_armhf.deb dpkg -i pi_jessie_motion_4.0.1-1_armhf.deb   pip install motioneye mkdir -p /etc/motioneye cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf   mkdir -p /var/lib/motioneye   cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service systemctl daemon-reload systemctl enable motioneye systemctl start motioneye   sudo modprobe gc2035 sudo modprobe vfe_v4l2   systemctl restart motioneye Accessing The Frontend
    After having successfully followed the installation instructions, the motionEye server should be running on your system and listening on port 8765. Fire up your favorite web browser and visit the following URL (replacing [your_ip] with... well, your system's IP address):
    http://[your_ip]:8765/
    Use admin with empty password when prompted for credentials. For further details on how to configure motionEye, see Configuration.
     
    ------------------------------------------------------------------
    FOR UPDATES;
    ------------------------------------------------------------------
     
    pip install motioneye --upgrade
    systemctl restart motioneye
     
     
     sudo nano /etc/motioneye/motioneye.conf
    ctrl+x then y (nano)
     
    Modifiy the motion.config file to turnoff localhost;
    stream_localhost off
     
    change the port to 80 from 8765 if desired by; 
     
    systemctl enable motion
    systemctl start motion
     
     
    Tutorial sources;
    https://github.com/ccrisan/motioneye/wiki/Install-On-Raspbian
    http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=941 
    http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=1988  (some resources for motion)
    http://www.cnx-software.com/2015/09/26/how-to-use-orange-pi-camera-in-linux-with-motion/(VERY OLD)
     
    WIP tutorial, I want to add a version with facial recognition using openface and a version using ALPR (automatic license plate recognition, as the orangepi systems can have 2GB of ram)
     
    Update 1 09/30/16;
    seems there is a issue with motioneye and being unable to find the csi camera. I'm trying to find a work around, any help is appreciated.
    Update 2 11/05/2016
    Updated motioneye installation
    added information on motion and basic setup (incomplete)
    the editor seems to be breaking my wget addresses
    I forgot to add the login information and frontend... *DOH*
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines