not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

GUIDE for begginers Raspberry #67

Open Andriejus opened 5 years ago

Andriejus commented 5 years ago

Hello Sirs,

as I have problems with running this project on my MAC computer (works fine on Windows 7), so Im thinking to make this project on Raspberry. I had never hold Raspberry in my hands, so any help would be nice!

1) What kind of Raspbbery board do I need? (I find several boards I can buy, so which one is suitable)? 2) What kind of sound card do I need? (I will take sound from my stereo amplifier). 3) Do I need some kind of display? How I will be able to control effects? I dont need a computer? It could be standalone?

Maybe someone has already done this project on Raspberry and could share his experience?

Regards!

lpearl commented 5 years ago

@Andriejus Hi, The prosses is definitely more involved than with a mac or windows, that being said its definitely possible. I'm currently using a Raspberry Pi 3 Model B but I would suggest the more powerful Raspberry Pi 3 Model B+. You will need a way of getting audio into the pi most people use a USB audio input device. I would recommend a display as it makes everything easier (not sure how you would control what effect was playing and setup Systematic-LEDs without one). Currently, I am using a pi3 model b as I said before and providing audio in with shairport-sync using airplay on my idevice. You will also need a 3.3 to 5v logic converter as the pis PWM only outputs high at 3.3V and the led strip needs 5v high (more info here).

hope the helps,

lpearl

Andriejus commented 5 years ago

Hello,

thank you for information. Im looking to buy all needed equipment:

  1. Raspberry with touch screen https://www.aliexpress.com/item/Raspberry-Pi-3-Model-B-3-5-inch-Touchscreen-LCD-ABS-Case-32GB-SD-Card-3A/32945416376.html?spm=2114.search0604.3.95.3e835f64SHYwrB&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_319_10059_10884_317_10887_10696_321_322_10084_453_10083_454_10103_433_10618_431_10307_537_536_10902,searchweb201603_6,ppcSwitch_0&algo_expid=ca905aa4-2f13-4ad5-9254-ccf98cb8cc5d-13&algo_pvid=ca905aa4-2f13-4ad5-9254-ccf98cb8cc5d

  2. sound https://www.aliexpress.com/item/YUNCLOUD-External-Sound-Card-USB-2-0-to-Jack-3-5mm-3D-Audio-Headset-Microphone-7/32899194597.html?spm=a2g0s.9042311.0.0.27424c4de4awq1

  3. level converter https://www.aliexpress.com/item/10pcs-lot-Logic-Level-Shifter-Bi-Directional-Four-way-two-way-logic-level-transformation-module/32690066582.html?spm=a2g0s.9042311.0.0.27424c4dPPxIuB

Is it right equipment? I didnt find level convertor on Aliexpress as you described. Also not sure about sound... Everything else I have (power supply, led strip)

lpearl commented 5 years ago

@Andriejus Check out your other issue about the mac freezing as I tried to help fix your problem and it would save you from buying all this stuff. The level converter is not the right one as it needs to be faster, a 74AHCT125 would be a good choice. You will also need a way to hookup the pi to the logic level converter, if you are familiar with soldering then that would be the cleanest way. If not you could get away with a breadboard and some hookup wires.

richyxi commented 5 years ago

Hi can u help me in the connections between the logic converter and the RPI

On Thu, Jan 31, 2019, 2:16 PM lpearl <notifications@github.com wrote:

@Andriejus https://github.com/Andriejus Check out your other issue https://github.com/not-matt/Systematic-LEDs/issues/66 about the mac freezing as I tried to help fix your problem and it would save you from buying all this stuff. The level converter is not the right one as it needs to be faster, a 74AHCT125 would be a good choice. You will also need a way to hookup the pi to the logic level converter, if you are familiar with soldering then that would be the cleanest way. If not you could get away with a breadboard and some hookup wires.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/not-matt/Systematic-LEDs/issues/67#issuecomment-459490058, or mute the thread https://github.com/notifications/unsubscribe-auth/As6sG-SWM-ffkFcj-uqavGYvQavqNirnks5vI08ugaJpZM4aaOCp .

lpearl commented 5 years ago

@richyxi Check this out it may help.

richyxi commented 5 years ago

THANKS!

On Thu, Jan 31, 2019, 2:28 PM lpearl <notifications@github.com wrote:

@richyxi https://github.com/richyxi Check this https://learn.adafruit.com/neopixels-on-raspberry-pi/raspberry-pi-wiring out it may help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/not-matt/Systematic-LEDs/issues/67#issuecomment-459493741, or mute the thread https://github.com/notifications/unsubscribe-auth/As6sG1ujZCxJ7n10E92Hs8i1cW7Xg7ZHks5vI1HrgaJpZM4aaOCp .

Andriejus commented 5 years ago

@Andriejus Check out your other issue about the mac freezing as I tried to help fix your problem and it would save you from buying all this stuff. The level converter is not the right one as it needs to be faster, a 74AHCT125 would be a good choice. You will also need a way to hookup the pi to the logic level converter, if you are familiar with soldering then that would be the cleanest way. If not you could get away with a breadboard and some hookup wires.

Hi, thanks. I will check another issue with freezing when Im at home! Soldering is my passion! so no problem with it. I will find that level convertor. Other equipment which I gave links to, are they suitable? The reason I want to make it as standalone with raspberry, because all equipment will be in my living room with all the hifi stero equipment, and I dont want to use my computer everytime I listen to music:) MAC+esp8266 will be in my working room. One more question: can I use this raspberry board with touch screen to another project as well? For example showing clokc, temperature or other stuff?:) Or is it for only one project? Like in esp8266 your can uplaod only one sketch?:)

richyxi commented 5 years ago

U will use the touch screen in the RPI to get access to the main.py instead of using your Mac am I correct?

On Thu, Jan 31, 2019, 2:39 PM Andriejus <notifications@github.com wrote:

@Andriejus https://github.com/Andriejus Check out your other issue https://github.com/not-matt/Systematic-LEDs/issues/66 about the mac freezing as I tried to help fix your problem and it would save you from buying all this stuff. The level converter is not the right one as it needs to be faster, a 74AHCT125 would be a good choice. You will also need a way to hookup the pi to the logic level converter, if you are familiar with soldering then that would be the cleanest way. If not you could get away with a breadboard and some hookup wires.

Hi, thanks. I will check another issue with freezing when Im at home! Soldering is my passion! so no problem with it. I will find that level convertor. Other equipment which I gave links to, are they suitable? The reason I want to make it as standalone with raspberry, because all equipment will be in my living room with all the hifi stero equipment, and I dont want to use my computer everytime I listen to music:) One more question: can I use this raspberry board with touch screen to another project as well? For example showing clokc, temperature or other stuff?:) Or is it for only one project? Like in esp8266 your can uplaod only one sketch?:)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/not-matt/Systematic-LEDs/issues/67#issuecomment-459497961, or mute the thread https://github.com/notifications/unsubscribe-auth/As6sG68n6Syd4BxQE5un9obY9lhfiE0mks5vI1R_gaJpZM4aaOCp .

Andriejus commented 5 years ago

I hope so. I want it to be standalone project without my MAC cmoputer. Thats why Im wondering what parts do I need to make this project.

lpearl commented 5 years ago

@Andriejus I would take a look at LedFX as its more suited to multiroom setups (don't think it will work for the pi though). Depending on how resource intensive the programs you want to run you can run as many programs as your pi can handle. The Pi is just like a mini computer just a lot smaller and less powerful.

JaymerJaymer commented 5 years ago

Want to re-visit this issue running on standalone Pi. I, too, don't want to have to use a full computer just to play lights with music. Has anyone achieved this? Are there any other types of newer MCUs that have more power that would be better suited for this?

richyxi commented 5 years ago

I try it with led fx, and it works great, it's a branch of this repo

On Sat, Mar 2, 2019, 1:45 PM JaymerJaymer notifications@github.com wrote:

Want to re-visit this issue running on standalone Pi. I, too, don't want to have to use a full computer just to play lights with music. Has anyone achieved this? Are there any other types of newer MCUs that have more power that would be better suited for this?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/not-matt/Systematic-LEDs/issues/67#issuecomment-468953449, or mute the thread https://github.com/notifications/unsubscribe-auth/As6sG2vIy_dkwgOugo9EkTpPTtZFgW5rks5vStTHgaJpZM4aaOCp .

lpearl commented 5 years ago

@JaymerJaymer So I have got it working on raspberry pi but it was not simple with this project. I'm still waiting for more LEDs to arrive so I'm not sure how well the pi will work with my use case. I'm sure a more powerful MCU will work better as you would be able to run more lights but I have not tested running multiple light configurations. But as has been stated in the read my this project is no longer being supported and you should check out led fx.