Nah :-) , you know you are using a feature that was not released till recently (not reef-pi, the actual pi and Linux kernel)That would be a negative, I did not know I had to do anything like that. Is it obvious once I get there?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Nah :-) , you know you are using a feature that was not released till recently (not reef-pi, the actual pi and Linux kernel)That would be a negative, I did not know I had to do anything like that. Is it obvious once I get there?
Example here : http://blog.oddbit.com/2017/09/26/some-notes-on-pwm-on-the-raspberry-pi/
Just edit the /boot/config.txt and dtoverlay pwm2chan module, that’s all,
I think you mis-understood. you dont have to do anything other than editing /boot/config.txt and reboot pi. I shared that article because it has the example of what needs to be changed in /boot/config.txt. You dont need anything else from that article.Ummm, that's a lot more than editing /boot/config.txt. Not sure I'm up to that.
dtoverlay=pwm-2chan
I think you mis-understood. you dont have to do anything other than editing /boot/config.txt and reboot pi. I shared that article because it has the example of what needs to be changed in /boot/config.txt. You dont need anything else from that article.
Just to summarize, you need the following line in /boot/config.txt
and reboot pi. Thats all you need to use reef-pi with Pi based pwm (2 channels only)Code:dtoverlay=pwm-2chan
Hi all, I’ve had a look at it appears I need a raspberry pi 3 or a zero, does it matter if it’s the 3 b or the 3b+??Hi all, sorry to ask a really simple question but can this be done using the original raspberry pi?
I have not used pi A (original one) but the package we build for pi zero works flawlessly with pi b+. I think it will work fine on pi a as well , but I have not personally tested it . Pi 3/2/zero/b+ all should be kosherHi all, sorry to ask a really simple question but can this be done using the original raspberry pi?
Brilliant stuff, I’m going to give it a go and see how it works out, will try and save a bit more cash.Works great on the zero, no need for anything more.
I think you mis-understood. you dont have to do anything other than editing /boot/config.txt and reboot pi. I shared that article because it has the example of what needs to be changed in /boot/config.txt. You dont need anything else from that article.
Just to summarize, you need the following line in /boot/config.txt
and reboot pi. Thats all you need to use reef-pi with Pi based pwm (2 channels only)Code:dtoverlay=pwm-2chan
If you are using pi zero , I’ll recommend no t using GUI mode and install only raspbian lite, aka text only modeBrilliant stuff, I’m going to give it a go and see how it works out, will try and save a bit more cash.
Ok, it means pwm is now loaded but probably a reef-pi bug is causing trouble . Can you share the earlier line in the log? Where it says setting pwm values ..?Ok, I'm about to give up on this and just use the breakout board. I have added the line, purged the DB and all I get now is "ERROR: lighting-subsystem: Failed to set pwm value. Error: write /sys/class/pwm/pwmchip0/pwm0/duty_cycle: invalid argument" It trips for both pwm0 and pwm1.
Ok, it means pwm is now loaded but probably a reef-pi bug is causing trouble . Can you share the earlier line in the log? Where it says setting pwm values ..?
I am assuming you are using 2.0.0-beta-5 , can you share your pwm frequency (available on configuration-> settings ) and light setting, so that I can reproduce it
Yes using beta-5.
Jul 08 12:33:54 Reef-Pi reef-pi[319]: 2018/07/08 12:33:54 lighting-subsystem: Setting PWM value: 89 at channel: 0
Jul 08 12:33:54 Reef-Pi reef-pi[319]: 2018/07/08 12:33:54 ERROR: lighting-subsystem: Failed to set pwm value. Error: write /sys/class/pwm/pwmchip0/pwm0/duty_cycle: invalid argumen
Jul 08 12:33:54 Reef-Pi reef-pi[319]: 2018/07/08 12:33:54 lighting-subsystem: Setting PWM value: 0 at channel: 1
Jul 08 12:33:54 Reef-Pi reef-pi[319]: 2018/07/08 12:33:54 ERROR: lighting-subsystem: Failed to set pwm value. Error: write /sys/class/pwm/pwmchip0/pwm1/duty_cycle: invalid argumen
Jul 08 12:34:24 Reef-Pi reef-pi[319]: 2018/07/08 12:34:24 lighting-subsystem: Setting PWM value: 89 at channel: 0
The pwm setting installed at "100" and I did not change it.
Got it. I am able to reproduce it, let me check right now and get back to you
No hurry on this end. Remember we talked about that "sleep" thing?
I think you are passing the whole URL to the installation command, (dpkg -i), you have to just pass the filename instead, i.e.
try this
Code:sudo dpkg -i [URL='https://github.com/reef-pi/reef-pi/releases/download/2.0.0-beta-5/reef-pi-2.0.0-beta-5-pi3.deb']reef-pi-2.0.0-beta-5-pi3.deb[/URL]
and not this
Code:dpkg -i https://github.com/reef-pi/reef-pi/releases/download/2.0.0-beta-5/reef-pi-2.0.0-beta-5-pi3.deb
The second screenshot is the important one, the text in the screen are very small so I am having a hard time deciphering it, but this is what I suspect
I’ve tried installing onto my a however after following the instructions and attempting to install the latest beta for the 0 I keep getting the message: unit reef-pi.service could not be found.I have not used pi A (original one) but the package we build for pi zero works flawlessly with pi b+. I think it will work fine on pi a as well , but I have not personally tested it . Pi 3/2/zero/b+ all should be kosher