Hot answers tagged

14

The community is in the progress of making dotnet core working on ARM. Samsung recently joined the dotnet foundation to (mostly) do work for ARM. .NET is a great technology that dramatically boosts developer productivity. Samsung has been contributing to .NET Core on GitHub – especially in the area of ARM support – and we are looking forward to ...


6

There is an entire page on elinux.org that has a list of supported cameras, complete with hardware IDs, operating system, resolutions, whether it needs a powered hub etc. It also has a list of a few to avoid. Here is a screenshot of one small bit:


5

If you already have a Python backend, I would recommend, for simplicities sake, stick with Python for the frontend so you can use the already existing codebase. There are so many Python Web-Frameworks out there and it's pretty all about how you like to do things. There are small frameworks like Flask, that are simplistic and minimalistic, which means you ...


5

The RPi's architecture and speed is getting better with each new release. If you look at the spec page for the new processor, it specifically mentions higher performance with Javascript and web browsing. It certainly won't rival the x86 in your desktop/laptop, and we can't yet say if it's a thing of the past. Time will tell. Currently, Epiphany is the ...


4

The .NET class of languages are all currently supported on the Raspberry Pi 2 if you use Windows 10 IOT as your operating system. The IOT version of the OS is a little different from standard Windows. It's designed to be a headless device. As such, it will not have a display or a traditional desktop. If you want to use .NET on Raspbian, you can try a ...


3

I've played with Raspbian and Ubuntu on a rpi2, and although Ubuntu has Firefox, the Ephinay browser in Raspbian runs a lot faster. It may not be able to play youtube above 320p, not even in fullscreen.. but as for simple browsing, it does the job.. similar speeds of an old pentium 2 machine. I've used it a few times while working on my main desktop pc. I ...


3

You're obviously running out of memory. Without knowing what exactly you're running on your system it's hard to advise, but check out two main suggestions: 1. Configure your web server. Go thourgh /etc/nginx/nginx.conf and reduce settings which could use RAM (number of simultaneous connections, buffer sizes, etc.) If you're using web scripts (PHP and ...


3

You can literally run a VNC server on your RPi, view it in a browser, and set it to be read only :) First, see http://www.raspberrypi.org/documentation/remote-access/vnc/ for instructions on installing VNC on your RPi. I haven't done it, but it seems pretty straight forward. Second, you can set it in read-only mode. See https://superuser.com/questions/...


3

The main things that I would consider are: 1) Is cost an issue? The Raspberry Pi is cheaper, but the beaglebone black comes with a power cord and onboard storage. Unless you have an adequate power cord and sd card lying around, the Raspberry Pi will cost about the same. 2) As far as ease of setup goes... Both can run full versions of linux. At the very ...


3

Lots of USB cameras work fine. Some like the Logitech C920 even encode to H.264 which helps to push extra pixels through the USB interface


2

you have to specify the full path to the executable and/or data files: exec('/usr/bin/sudo /check/the/path/omxplayer /your/home/directory/or/whatever/yes.m4a'); you may find the path to omxplayer using command which omxplayer and path to your data file using your linux command line experience.


2

You should try out the Foundation's enhanced Epiphany browser. http://www.raspberrypi.org/web-browser-released/ It claims Epiphany brings a host of neat features to Raspberry Pi, including: Much-improved HTML5 support A JavaScript JIT Hardware-accelerated video decoding ARMv6-optimized blitting functions Better interactivity during page loading Faster ...


2

I have a home automation setup: tompiechota.co.uk. I've got one or two C++ scripts, mostly python scripts and bash here and there as the backend. My frontend is written in both php, both front and back end interact with mysql. The web interface uses jsquery theme called nativedroid Which is very easy to get started with. To be honest most of my front end ...


2

Mono runs okay on raspberry pi but be aware it suffers from performance issues (The one I use is Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)). I run handful of console applications on RBP (written in .Net 4.5). The apps essentially make couple of REST calls. Its a monitoring application and when data read are normal the application writes on the ...


2

If you've enabled SSH (easily done with raspi-config), then you ought to be able to use SFTP. $ sftp pi@192.168.0.2 Connected to 192.168.0.2. sftp> pwd Remote working directory: /home/pi If you're having permissions problems on /var/www you'll need to make sure the pi user can read-write. $ sudo chown -R pi:pi /var/www $ ls -la /var/www total 40 drwxr-...


2

You can have a look at Node.JS which a sperate http server that is dedicated for streaming data using SOCKETS on HTML5 or PUSHING data with some clever JS. It might be a learning curve with Node.JS so what I would do is set the AJAX method you are using with a repeating timer in JS. Set it to like 10 seconds interval or faster if the data is not too much. ...


2

As indicated by @goldilocks this is a very wide open question, to answer properly much more details are needed. Like on every small or large project, divide it into development units, each one with it's own testing methods then, connect the pieces together. Think LEGO: you will write some pieces, others you will integrate. You want to control GPIO ...


2

I'd recommend trying Flask. It's a Python based framework that should let you put together your dashboard. As you'd only be working in one familiar language it shouldn't be too complicated to get your existing code to talk to the front end. For example, the most basic of basic Flask programs (provided in their docs) which sets up a route and returns a ...


2

No, this is because your python script has an endless loop. Web servers impose a runtime limit on started scripts, most times in the range of seconds. The PHP interpreter itself has another limit. You have to make your python script return within that timeframe. If you want to pass values to the browser window of the user continously, you have to run a ...


1

i dont know windows iot how can help you for this! but if you wann use python and raspbian(or another linux distro) you can create rest api and call this api from your asp.net website to control your rapberry pi by parsing rest api in .net for creating this api you can use flask or another python framework you have a wide choice for your programming language ...


1

As far as i can tell it is not a problem of the past, and i also know that both github and google docks have problems with the browser preinstalled on rasbian. which is in fact some version of epiphany. as for an SD card coming with rasbian only if you buy an sd card from the "swag store" does it come with an os. however there are plenty of other viable ...


1

You can't. Not without additional hardware. There is no "off"-switch on the pi - when it's plugged in, it is powered. You can put it in a runlevel that makes it disappear from the net, and you can reboot it. The reason your php-script doesn't work, however, is probably that the user it is executing as does not have the rights to run the shutdown-command. ...


1

You can put together a fairly quick and dirty setup for this using Flask (a Python based web 'microframework'). There are tutorials here on using pigpio to control servos using Python. Get this working first! The Flask homepage has both quickstart and slightly more in-depth tutorials on getting started with Flask. I'm currently working on a small web ...


1

Im my case, spdy was the culprit. If I turn it on, the first request works fine, but the next one causes an out of memory though the system has enough memory (less than 50MB are used on a total of 512MB). Turning it off solved the problem.


1

You are running out of memory and being hit by the OOM Killer in an attempt to stop your system crashing. The OOM Killer is a bit random, but is weighted by the amount of memory a process uses so if you see a lot of nginx worker processes being killed then they are likely responsible for the memory usage. You can use tools like free, top or htop (slightly ...


1

Silverlight does not run the RaspberryPi , there is nothing you can do about it. The Moonlight project (for Silverlight on Linux) never supported DRM and has no hardware-acceleration either. Both technologies have been abandoned by their authors too. Furthermore no Android builds are hardware-accelerated , stable or even Google "certified" which might be ...


1

Have a look at WebIOPi which has a web-interface which should work in any browser and therefore doesn't need installation on controlling devices. It has a Python client library , so you can build your own solution if the default web-interface does not meet your needs.


1

If you want to use FTP cross network, then you need to forward port 20. If you want to use SFTP cross network then forward port 22. SFTP is extremely simple if you already use SSH. If you need FTP, and not SFTP, follow this tutorial here: https://www.youtube.com/watch?t=1&v=r0BoBkv3cwg


1

You are correct that the Pi need not be connected to the internet to be useful, however, that does not mean it can't be useful nor does it prevent it being connected to the internet. There is even a company in Europe (Germany if IIRC) that will host your Pi in their data center and make it accessible via the internet. Use cases include: running a ...


Only top voted, non community-wiki answers of a minimum length are eligible