Linux - Embedded & Single-board computerThis forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have one Pi2 running Fedora, and another running Centos 7.2 I use them for my internal dns, as a network print server, and I was just working with a relative who turned a Raspberry into a self-contained webcam. I just ordered another one that I'm planning to turn into a media server.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I run an SSH server on mine so that I can log in to my home from anywhere on the internet. I keep meaning to set up a VPN but the tutorials leave a lot to be desired.
One runs Openelec, the next one runs some kind of infrastructure in my home-net: DNS (dnsmasq), Webserver (accessible from outside), Tor server, fileserver (samba), svn server, ssh from outside, Tomcat/postgres (accessible from outside), print/scan server (cups/saned).
Another one is solely for hosting software in development, accessible from outside with httpd/php/python/tomcat/postgres combination, for customers to see the current progress of certain projects.
All are first generation Raspberries (512MB RAM) running Slackarm.
I set up a view file/DNS/print servers on Raspberries in different companies (max. 150 client machines, but could surely be many more), all run without any trouble (on Raspbian).
The next project on an Raspberry will be a hardwareproject, with reading temperatures via IC combined with controlling an electrical motor and a gas valve.
The only negative thing to mention: USB on my home-net Raspberry is switched off, when i switch off the printer/scanner (HP device) combination. This doesn't happen with another printer.
All in all: it's an absolut recommendable piece of hardware, but Ardouino and friends are worth some looks, too (especially when you're doing more hardware/controlling tasks).
Last edited by lambo69; 01-29-2016 at 08:14 AM.
Reason: corrected USB issue
I built a PCB with a 10 MHz OCXO, CPLD, and GPS module on it, with a 40 pin header to attach to the RPi with a ribbon. The GPS sends out a PPS pulse, which is used by the CPLD to discipline the OCXO. The PPS and NMEA UART also run to the RPi over the ribbon cable, and are used to discipline the clock, turning the RPi into a stratum 1 NTP server. My other machines in the house use that RPi for their NTP source.
I have a couple of other RPis in the house for misc testing, but that's the only one with a dedicated job.
Hmm, low voltage solonoid relay with 120v/15A switch: you could build your own fairly easily. Actually, I can think of a couple of better ways.
After even more thought, I bet this has been solved before: pre-pie. We may be able to adapt a pre-existing solution with just a little wire and coding.
Thanks wpeckham, any idea how to filter the AC feedback from the relay.
What I mean is if I trigger the relay from the Pi it's a DC signal as input to the relay, then the relay will process the input signal and trigger the AC. Once the AC is triggered sometimes the relay feedback some AC signal to the DC input.
solving the feedback issue: I can think of two ways right off. Probably both wrong. Were it my project, I would rather google for ways this has been solved before. This was likely solved in the days of CPM and port diving controllers, again in the DOS days, and a dozen times since then: all likely to be better than what I would come up with without research.
Sometimes when you start to reinvent the wheel, it comes out a cube.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.