reef-pi :: An opensource reef tank controller based on Raspberry Pi.

OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Hi to all.Find out what is wrong with my Temp sensor.Cheep Amazon.ca after 1 month is gone.Rusty and i fund water inside

20180810_120113.jpg


20180810_120212.jpg
I’m glad you found it . Never go for the cheap sensors , they are just not worth it . Canalit and
Yes this is a light I built a few years ago, I plan to change up some of the diodes and make it more toward full spectrum. I just got a bunch of the parts I ordered and I pretty sure I got a DAC, or I could do an RC circuit. I got my pi3+ up and running and updated. The lighting is down the road a bit, need temp, dosing and outlets first.
sweet. Which dac you got ? I plan to add support for a dac, mostly using adafruit ads1115 breakout. It’s just they are bit expensive and all my use cases were addressed by pwm only, hence this was never prioritized
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib

Dragging this back up again. I found some time to work on my doser. I'm still not getting it working. I'm probably in over my head, but hey, the only way to learn right???

I have a breadboard wired up with just one motor, but when I try to create a Jack in Reef-pi. I get this error. Not sure what I'm doing wrong!

upload_2018-8-10_13-42-53.png


upload_2018-8-10_13-43-13.png



Any ideas???

Thanks
gpio pin 18 is pwm pin 0, and gpio pin 19 is pwm pin 1. So , if you are using Rpi as jack driver then PIN number should be 0 or 1.

It’s a weird Linux thing . We certainly need to make this abundantly clear in the docs
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0

Cal_stir

Community Member
View Badges
Joined
Aug 6, 2018
Messages
64
Reaction score
29
Location
Corunna, Ontario
Rating - 0%
0   0   0
I’m glad you found it . Never go for the cheap sensors , they are just not worth it . Canalit and

sweet. Which dac you got ? I plan to add support for a dac, mostly using adafruit ads1115 breakout. It’s just they are bit expensive and all my use cases were addressed by pwm only, hence this was never prioritized
It's a Sparkfun 12C DAC breakout-MPC4725
 

Cal_stir

Community Member
View Badges
Joined
Aug 6, 2018
Messages
64
Reaction score
29
Location
Corunna, Ontario
Rating - 0%
0   0   0

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
gpio pin 18 is pwm pin 0, and gpio pin 19 is pwm pin 1. So , if you are using Rpi as jack driver then PIN number should be 0 or 1.

It’s a weird Linux thing . We certainly need to make this abundantly clear in the docs


Thanks for that info! Getting closer!

Now I'm getting this when I try to run Calibrate:

Aug 10 20:10:01 doser reef-pi[807]: 2018/08/10 20:10:01 doser sub system: setting pwm pin: 0 at speed 50
Aug 10 20:10:01 doser reef-pi[807]: 2018/08/10 20:10:01 ERROR: dosing sub-system. Failed to control jack. Error: open /sys/class/pwm/pwmchip0/pwm0/duty_cycle: no such file or directory


upload_2018-8-10_20-11-2.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Thanks for that info! Getting closer!

Now I'm getting this when I try to run Calibrate:

Aug 10 20:10:01 doser reef-pi[807]: 2018/08/10 20:10:01 doser sub system: setting pwm pin: 0 at speed 50
Aug 10 20:10:01 doser reef-pi[807]: 2018/08/10 20:10:01 ERROR: dosing sub-system. Failed to control jack. Error: open /sys/class/pwm/pwmchip0/pwm0/duty_cycle: no such file or directory


upload_2018-8-10_20-11-2.png
Have you enabled pwm ? there’s a kernel module that needs to be loaded . Add this to your /boot/config.txt and reboot.
Code:
dtoverlay=pwm-2chan

More : http://www.jumpnowtek.com/rpi/Using-the-Raspberry-Pi-Hardware-PWM-timers.html
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Are the arduino stackable and breakaway headers the same as pi, is there a common kit I should get.
I dont think they are same. Whats exactly you are looking for?
 

janos

Active Member
View Badges
Joined
Jun 4, 2017
Messages
267
Reaction score
259
Location
Toronto,Canada
Rating - 0%
0   0   0
Hi to all,thank you Ranjib,but Canakit for $121.00 is very steep,better if i buy just the transistor and i make my own casing or just cast in the epoxy.
 

Cal_stir

Community Member
View Badges
Joined
Aug 6, 2018
Messages
64
Reaction score
29
Location
Corunna, Ontario
Rating - 0%
0   0   0
I dont think they are same. Whats exactly you are looking for?
I'm not sure actually, I'm just getting started and I like to get the things I need first. I've done some bread boarding and discrete circuit boards but I'm pretty new to pi and arduino and stacking boards.
'
 

sjeff35

Active Member
View Badges
Joined
Jun 14, 2018
Messages
172
Reaction score
356
Location
Corrales, NM
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I'm not sure actually, I'm just getting started and I like to get the things I need first. I've done some bread boarding and discrete circuit boards but I'm pretty new to pi and arduino and stacking boards.
'
I dont stack them a lot. I use one permaproto board on top of pi to hold some circuit (most often the relay/uln2803, since it has a lot of GPIO connections, and rest go to different break out board. I like them this way, since at the end they are all mounted on plastic enclosure with nylon standoffs.

this is a list of items i use : http://a.co/j8Iv8M0
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0

TOP 10 Trending Threads

WHAT AMOUNT OF LIVE ROCK AND SAND SHOULD BE PRIORITIZED FOR OPTIMAL BIODIVERSITY/FILTRATION?

  • 100% live rock + bagged sand

    Votes: 37 27.4%
  • 100% dry rock + 100% live sand

    Votes: 46 34.1%
  • 50/50 live/dry rock, 50/50 live/bagged sand

    Votes: 30 22.2%
  • 75% live rock, 25% live sand

    Votes: 12 8.9%
  • 25% live rock, 75% live sand

    Votes: 10 7.4%
Back
Top