Fairly certain I have no idea what I’m doing
Thats pretty much what I was getting
Try running "sudo dpkg -i reef-pi-1.0-pi0.deb"
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.
Fairly certain I have no idea what I’m doing
Fairly certain I have no idea what I’m doing
Yay(edit) Janos
Thanks. I fiddled a bit and I got it to install! Awesome!
Finally running on 2.0.0 beta 5
Upgraded my doser build today, since it’s two channel ,decided to put the pi pwm in actual use.
Build: pi zero, perma proto board, l293d, one lm2596 (for 12v to 5v conversion), two 12v peristaltic pump, 12v 2amp power adapter
Housing : uxcell enclosure , nylon standoff’s
Circuit closeup : I can control the speed, duration and direction of both peristaltic pumps using a single l293d chip. Pi prvoided two pwm input and 4 gpio for direction control . Green wires are pi pwm in, blue are gpio , yellow are doser pwm our
Pi zero is hidden below the perma proto board
Dosers
Looks so much better than the old wooden enclosure. I’ll put it to use back again, and let you know how it went. Initial testing are all green. There was a bug in pi pwm, @philshel pointed our earlier, fixed that as well
The order of setting pwm frequency and then duty cycle during initialization was wrong . This will require a code change for permanent fix.So.....what did you do to correct the pwm issue? Is it something that will require another update?
sudo -i
echo 100000 > /sys/class/pwm/pwmchip0/pwm0/period
The order of setting pwm frequency and then duty cycle during initialization was wrong . This will require a code change for permanent fix.
But this should unblock you , without any upgrade (it won’t be permanent)
Code:sudo -i echo 100000 > /sys/class/pwm/pwmchip0/pwm0/period
Do the same for pin 1 as well (gpio19)
I understand . There’s been lot of bugs in beta. Appreciate your honest feedbackI've had enough. since having to upgrade to 2. Beta...whatever I can't get things to work that were previously running fine, My relays chatter and twitch the lights don't ramp up or down any more and the temp control's are all but programmable I've got it working but just cant enter any thing into the boxes.
So I'm putting every thing back to timers and normal on off switches, I'm going to sell my pi's and touch screen and may be invest in some more live stock.
Thanks for all the help Ranjib but its all to much hassle when a simple £5 timer will do the same job.
I wish you all the best in you venture for a usable controller and look forward to seeing the finished article.
Joe
The order of setting pwm frequency and then duty cycle during initialization was wrong . This will require a code change for permanent fix.
But this should unblock you , without any upgrade (it won’t be permanent)
Code:sudo -i echo 100000 > /sys/class/pwm/pwmchip0/pwm0/period
Do the same for pin 1 as well (gpio19)
sudo -i
echo 100000 > /sys/class/pwm/pwmchip0/pwm0/period
echo 100000 > /sys/class/pwm/pwmchip0/pwm1/period
The thing is 2. x is beta software. a lot of changes were made in the code and being worked out.. You can go back to 1.5 (I think was the latest actual release ) and wait out until 2x final release are at least to a pre RELEASE State...I've had enough. since having to upgrade to 2. Beta...whatever I can't get things to work that were previously running fine, My relays chatter and twitch the lights don't ramp up or down any more and the temp control's are all but programmable I've got it working but just cant enter any thing into the boxes.
So I'm putting every thing back to timers and normal on off switches, I'm going to sell my pi's and touch screen and may be invest in some more live stock.
Thanks for all the help Ranjib but its all to much hassle when a simple £5 timer will do the same job.
I wish you all the best in you venture for a usable controller and look forward to seeing the finished article.
Joe
This is what I get
Will try this now. Thanks for the helpDid you try to do it from command prompt
sudo dpkg -i reef-pi-2.0.0-beta-5-pi3.deb pi3
sudo dpkg -i reef-pi-2.0.0-beta-5-pi0.deb Pi zero
if the pca9685 board is not detected, then reef-pi will not load lighting tab, since its must have for dimming.@Ranjib I have to ask for help yet again! I'm starting to feel disheartened here. Setting aside the issue I have been having with the rpi pwm which is on a pi3 that I am using as a testing platform for a complete controller. I also have a pi-zero that I use strictly to run my Kessils over my tank. Now that setup is not working. It is running 1.3 and has the PCA9685 board and the dimming circuit. Suddenly it is refusing to show the "lighting" tab. This happened a couple of weeks ago and I removed and replaced reef-pi and it came back. Now I have R&R several times and nothing is working, no errors, just no tab and no control of the lights. What if the breakout board died, would reef-pi refuse to display the controls under that failure?
Edit: I just got the first error in the logs.
Jul 09 15:28:30 Reef-Pi reef-pi[216]: 2018/07/09 15:28:30 ERROR: Failed to initi alize lighting subsystem
Jul 09 15:28:30 Reef-Pi reef-pi[216]: 2018/07/09 15:28:30 ERROR: Failed to load lighting sub-system. Error: remote I/O error
sudo i2cdetect -y 1
if the pca9685 board is not detected, then reef-pi will not load lighting tab, since its must have for dimming.
You can verify if pca9685 is loaded using i2c-detect command
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-16-channel-servo-driver-with-raspberry-pi.pdfCode:sudo i2cdetect -y 1
Check if pca9685 board is working.