LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This 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


Reply
  Search this Thread
Old 01-28-2016, 08:47 PM   #1
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,141

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Smile Raspberry Pi


Thinking of buying a Pi, but no idea what to make use of it.

Has anyone bought a Pi and use it for some Projects?

Thanks.
 
Old 01-28-2016, 08:49 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I run Agocontrol on my Pi. Works well.
 
Old 01-29-2016, 12:14 AM   #3
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
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.
 
Old 01-29-2016, 12:59 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,630

Rep: Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265Reputation: 7265
RPi2 running openelec and/or raspbian and used as multimedia center. RPi B is used to drive my turnouts https://www.youtube.com/watch?v=0ESKQBUMgI8
 
Old 01-29-2016, 04:05 AM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
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.
 
Old 01-29-2016, 05:32 AM   #6
lambo69
Member
 
Registered: Sep 2012
Distribution: Slackware, Manjaro, Slackarm, Raspbian, Debian
Posts: 68

Rep: Reputation: Disabled
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
 
Old 01-29-2016, 10:44 AM   #7
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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.
 
Old 02-01-2016, 07:27 PM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,141

Original Poster
Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Is there a module to that can be connected to Pi to control AC (current) to power on and off?

Last edited by JJJCR; 02-01-2016 at 07:28 PM. Reason: edit
 
Old 02-01-2016, 07:48 PM   #9
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,484

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
well, yes. Yes. Certainly!

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.
 
1 members found this post helpful.
Old 02-01-2016, 11:08 PM   #10
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,141

Original Poster
Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
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.

Anyone encountered this issue?
 
Old 02-02-2016, 05:58 AM   #11
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,484

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
go where man HAS gone before.....

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.
 
Old 02-02-2016, 06:42 AM   #12
oldtechaa
Member
 
Registered: May 2015
Location: US
Distribution: Fedora
Posts: 364

Rep: Reputation: 83
@JJJCR, that would be a diode.
 
2 members found this post helpful.
Old 02-02-2016, 07:12 AM   #13
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,141

Original Poster
Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
Wink

Quote:
Originally Posted by oldtechaa View Post
@JJJCR, that would be a diode.
Yeah, never think about it. Thank you.

Current limiting diode,some sort of a clamping diode in series with the input.

Oldtechaa.. great thoughts.

Last edited by JJJCR; 02-02-2016 at 07:15 PM. Reason: edit
 
Old 02-02-2016, 07:16 AM   #14
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i have 2. i was in a hackathon some time ago. (we used pifm to broadcast a message of the latest area visited by an id badge.)

there is a still of the radio x-ceiver we worked on is around :20 seconds (bottom rite):
http://www.youtube.com/watch?v=0vf0Z_zPN1c
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspberry Pi vs. Raspberry Pi 2 vs. CuBox: performance comparison LXer Syndicated Linux News 0 05-26-2015 09:33 AM
LXer: Raspberry Jams: why Raspberry Pi is going back to school LXer Syndicated Linux News 0 10-25-2013 12:20 PM
LXer: Raspberry Strudel: My Raspberry Pi in Austria LXer Syndicated Linux News 0 08-23-2013 06:12 AM
LXer: Raspberry Pi becomes Raspberry PC via Mini-ITX carrier LXer Syndicated Linux News 0 07-17-2013 01:20 PM
LXer: Enter the element14 Pi Day ??Raspberry RoadTest? Challenge for a chance to win a Raspberry Pi c LXer Syndicated Linux News 0 03-08-2012 06:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration