Git Product home page Git Product logo

devastator's Introduction

Raspberry Pi remote operated bot

Fine tunning

in /boot/cmdline.txt:

loglevel=5 consoleblank=0 smsc95xx.turbo_mode=N

Camera stuff

in /boot/config.txt

gpu_mem_512=128
start_file=start_x.elf
fixup_file=fixup_x.dat

Console

systemctl start getty@ttyAMA0
systemctl enable [email protected]
ln -s /usr/lib/systemd/system/[email protected] \
  /etc/systemd/system/getty.target.wants/[email protected]

Rng

Setup as here: https://wiki.archlinux.org/index.php/Raspberry_Pi

Real Time Clock

in /etc/systemd/system/rtc.service

[Unit]
Description=RTC clock
Before=systemd-timesyncd.service

[Service]
Type=oneshot
ExecStart=/bin/bash -c 'echo ds1307 0x68 >/sys/bus/i2c/devices/i2c-1/new_device'
ExecStart=/bin/bash -c 'hwclock --hctosys'

ExecStop=/bin/bash  -c 'hwclock --systohc'

[Install]
WantedBy=multi-user.target

Then systemctl enable rtc .

Cam broadcasting

crtmpserver

www.raspberrypi.org/forums/viewtopic.php?t=45368 wiki.rtmpd.com/quickbuild http://pkula.blogspot.co.uk/2013/06/live-video-stream-from-raspberry-pi.html

#5-7s delay, bad image quality
raspivid -w 800 -h 600 -o - -t 9999999 | cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8554}' :demux=h264

TODO

  1. Out-of-band POST if settings changed too quickly
  2. Immidiately notify if all touches ended
  3. Make it working on firefox: touchend d3.touches returns different results on chromium and firefox.
  4. limit log history

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.