Search the Community
Showing results for tags 'raspberry pi'.
-
Hi All, New to the forum but not to the hobby. Wanted to share my nano build as an introduction. 🙂 This is not your regular build as most of the components were selected/designed specifically for this setup. Hopefully you enjoy and glean something from it! Current FTS: Each part of the build can be involved so I'll post those separately. More to come soon!
- 9 replies
-
- 1
-
- nanobox reef
- node-red
- (and 9 more)
-
After a week of tinkering I managed to get a stable live stream set up with my raspberry pi and a webcam. Here's what I used: Required: A Raspberry Pi 4GB A Aukey 1080p webcam A Micro SD card 32gs class A1 (16 would also work, make sure it's A1) A 5V power adapter with usb C cable for the PI Optional: Hetsinks for the Pi A nano fan A case for the Pi Initial Set up: I'm gonna go quick through this since there are plenty resources online. Download Raspberry Pi OS with desktop and Balena Etcher, plug in your micro sd and user Etcher to write the os to the card. If you have a mouse keyboard and display plug those in to the Pi put in your card and plug in the ethernet and the power. Go through the initial set up and you're done. I didn't have those at hand so I created a file called SSH (with no extension) in the root folder of the card before putting it into the Pi. After I powered up the Pi I downloaded Putty and connected to the Pi ip adress, you can find that by doing ping rapberrypi in a cmd line in windows or in your rooter menu. The default user and password for the Pi are pi and raspberry. Put these in when putty prompt you to do it. There are a few commands to do before we can connect to the Pi in a friendlier manner. sudo apt-get update and sudo apt-get upgrade. I would also do passwd to change your default password as a safety measure. When you're done with that do a sudo reboot to get everything set up. Your putty will disconnect as the pi reboots you need to connect one more time and put in sudo apt-get install xrdp this will enable access to your Pi via windows remote desktop do another sudo reboot. For other OSes google is your friend. After the Pi reboots use Remote Desktop Connection to connect to your Pi. The username is pi and the password will be the new one you hopefully set. Getting the stream working: Open up a terminal window and type sudo apt-get install ffmpeg. A reboot is advised here as well. After you're back in open up a new terminal and put in: ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -pix_fmt mjpeg -i /dev/video0 -codec:v h264_omx -acodec aac -ab 128k -b:v 6000k -g 50 -strict experimental -f flv rtmp:// Depending on your desired streaming platform put in after rtmp:// your link and stream key. That's it! Congrats you are live! A few things that you might need to change depending on your setup. -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero creates a fake audio device if you want to record different audio this bit of code needs to change. For my setup I'm sendin internal audio to the stream via pulse and mocp music player. Just install them from terminal sudo apt-get install pulseaudio and sudo apt-get install moc. Start moc with mocp in terminal and using pulse redirect audio volume controll redirect the moc sound in the recording to monitor of built in audio. Now you can run the command ffmpeg -re -ar 44100 -ac 2 -f pulse -i default -pix_fmt mjpeg -i /dev/video0 -codec:v h264_omx -acodec aac -ab 128k -b:v 6000k -g 50 -strict experimental -f flv rtmp:// to start the stream. -pix_fmt mjpeg -i /dev/video0 -codec:v h264_omx is refering to my webcam that is set up as device0 if your camera is supported it usaully go to either 0 or 1. For a full list of supported cameras check out this link. I would sugest the logitech C920 as it has its own h264 hardware encoding and you would tax the processor a lot les with that one, you could then run -pix_fmt mjpeg -i /dev/video0 -codec:v h264 as an argument. I'm running and Aukey webcam which requires the h264_omx encoding on the Pi. The optional bit: If you went through the effort of buying the extra stuff for the pi cooling then you might want to check out this guide on how to overclock it. Final notes: Hope this quick and dirty tutorial is useful, if anybody wants extra info or having issues with the set up hit me up. I have some ideas for the on how to make the stream interactive involving pistons and rotors and step motors but that is still in the concept phase. I'll make sure to update if they come to life. Oh and if you want to see how it looks check out my stream.
- 7 replies
-
- 5
-
- raspberry pi
- livestream
-
(and 1 more)
Tagged with:
-
Hello nano reefers, I am excited to announce the first public release of reef-pi, an opensource, open hardware DIY reef tank controller. reef-pi 1.0 release provide following features: Equipment control and timers (power bars), up to 16 outlets LED light control (dawn to dusk effect or light cycles) Automatic Top Off (based on photoelectric sensor or float switch) Temperature controller Dashboard and alerting based on all the above-mentioned features reef-pi is an affordable and modular controller. i.e you can build it with limited features (say only equipment control) and extend it over time with features as and when you need. Me and handful of other reefers from the community have worked hard to document reef-pi 1.0 installation and build process, which is available here: http://reef-pi.com Following is an example dashboard: best ranjib
- 40 replies
-
- 2
-
- raspberry pi
- reef tank controller
-
(and 1 more)
Tagged with:
-
Lost absolutely everything to a house fire back in February. I mean everything, tank clothes, food, memories. EVERYTHING. Family and I are fine. We have a new place to live......SOOOOOOOO Back at it again. No name 5.5g tank. Cheap wal-mart filter. Cheap Amazon Par38 bulb. how it all started Tank is cycled, cuc has been ordered already. Time for some frags this weekend. FTS SECTION FTS 5/30/2017 2/12/18 3/20/18 Some uglyness more updates later
- 110 replies
-
- 3
-
- raspberry pi
- reefpi
-
(and 2 more)
Tagged with:
-
reef-pi - A raspberry pi based open source reef tank controller exhibit at makerfaire
Ranjib posted a topic in General Discussion
I am exhibiting reef-pi, a raspberry pi based open source controller in Bay Area Maker Fair. I have couple of pico reef tank powered by reef-pi in display. Kids love the corals :-) , got lots of good feedback/interests. Here are some snaps if any of you are attending the Bay Area makerfaire, please drop by and say hi- 6 replies
-
- 2
-
- diy
- controller
-
(and 2 more)
Tagged with: