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

LionHeart2017

Active Member
View Badges
Joined
Sep 13, 2017
Messages
185
Reaction score
321
Location
Lincolnshire
Rating - 0%
0   0   0
Second pic
Screenshot_20181120-223807_Chrome.jpeg
 

COCOBBALL

Active Member
View Badges
Joined
Oct 5, 2018
Messages
181
Reaction score
169
Rating - 0%
0   0   0
I thought maybe my wiring was bad on the db9 adaptor so i simplified it and tried again.

Same thing. When i create the eqipment and go to test i hear the intial click but thats it. No off and on

Any suggestions on what or how i can troubleshoot?
20181120_175323.jpeg
20181120_175330.jpeg
20181120_175344.jpeg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I thought maybe my wiring was bad on the db9 adaptor so i simplified it and tried again.

Same thing. When i create the eqipment and go to test i hear the intial click but thats it. No off and on

Any suggestions on what or how i can troubleshoot?
20181120_175323.jpeg
20181120_175330.jpeg
20181120_175344.jpeg
Do you have a build thread, if not , it will be really helpful to start one. We can have the discussion coherently.
Now, back to your problem. Do you have multimeter? If you do , can you measure the voltage between GND and one of the input of ULN2803, when the corresponding equipment/outlet is on? You should see 3.3V. Next test the ULN2803 output. +Ve probe of the multimeter should be on 12V+ rail on the -Ve probe on ULN2803 output pin. It should read 12V.
Check the GND pin of ULN2803 is connected to 12V rail
 

Ryan115

Well-Known Member
View Badges
Joined
Dec 28, 2010
Messages
586
Reaction score
1,085
Location
Mississippi
Rating - 0%
0   0   0
I thought maybe my wiring was bad on the db9 adaptor so i simplified it and tried again.

Same thing. When i create the eqipment and go to test i hear the intial click but thats it. No off and on

Any suggestions on what or how i can troubleshoot?
20181120_175323.jpeg
20181120_175330.jpeg
20181120_175344.jpeg
Am I missing in your picture where the DB9-GND/COM is connected to the 12V rail? That would be your white wire correct?
Are they jumpered together on the bottom side of the breadboard?
Also are the 2x ground rails on the proto board connected? If not jumper them together.
 

COCOBBALL

Active Member
View Badges
Joined
Oct 5, 2018
Messages
181
Reaction score
169
Rating - 0%
0   0   0
Do you have a build thread, if not , it will be really helpful to start one. We can have the discussion coherently.
Now, back to your problem. Do you have multimeter? If you do , can you measure the voltage between GND and one of the input of ULN2803, when the corresponding equipment/outlet is on? You should see 3.3V. Next test the ULN2803 output. +Ve probe of the multimeter should be on 12V+ rail on the -Ve probe on ULN2803 output pin. It should read 12V.
Check the GND pin of ULN2803 is connected to 12V rail
voltage between GND and one of the input of ULN2803 = 1.4 volts so that doesnt seem right.

UNL2803 tested 12v at the bottom pin on 12v rail.

I circled what i tested because i wasnt sure if correct.

Last part about GND pin on rail i believe it is. Its the white cable

Screenshot_20181120-190800_Gallery.jpeg
20181120_191216.jpeg




I tried to follow the guide 100% since i have no clue what im doing.

The white cable is the GND , the 12v wire from the barrel connector goes into the same row right above it.
 
Last edited:

Dave's Reef

Active Member
View Badges
Joined
Nov 4, 2018
Messages
102
Reaction score
150
Rating - 0%
0   0   0
So I am trying to do some work on MACROS and ATOs my problem is that I would like to have an ATO shut my main pump off if for whatever reason my overflows get plugged and go to and the issue is that if i run a feed MACRO the ATO kick the pump back on when the ATO times out that is still low. I know I could add another relay to work in series with my pump so both would have to be on to make. But is there any other way around this. maybe add an option to set macros as a master to control relays and ATO as a secondary if not running a macro.
Thanks for the help
 

LionHeart2017

Active Member
View Badges
Joined
Sep 13, 2017
Messages
185
Reaction score
321
Location
Lincolnshire
Rating - 0%
0   0   0
voltage between GND and one of the input of ULN2803 = 1.4 volts so that doesnt seem right.

UNL2803 tested 12v at the bottom pin on 12v rail.

I circled what i tested because i wasnt sure if correct.

Last part about GND pin on rail i believe it is. Its the white cable

Screenshot_20181120-190800_Gallery.jpeg
20181120_191216.jpeg




I tried to follow the guide 100% since i have no clue what im doing.

The white cable is the GND , the 12v wire from the barrel connector goes into the same row right above it.
Wiring looks wrong to me, I don't see a ground connected to UNL2803a
 

COCOBBALL

Active Member
View Badges
Joined
Oct 5, 2018
Messages
181
Reaction score
169
Rating - 0%
0   0   0
Am I missing in your picture where the DB9-GND/COM is connected to the 12V rail? That would be your white wire correct?
Are they jumpered together on the bottom side of the breadboard?
Also are the 2x ground rails on the proto board connected? If not jumper them together.
In think the first part is correct i get 12v on the pin for the ground

Not sure what you mean by the 2x ground rails. Just to clarify run a wire from bottom ground rail to the top like so?


Thanks
Cory
Screenshot_20181120-192252_Gallery.jpeg
20181120_191216.jpeg
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib, regarding the dashboard bug, I have just equipment showing as first picture, if I add a row as second picture and update and go back to dashboard, that's when the error shows "something went wrong" message gets stuck, but I just found out if I refresh and very quickly can hit the configure dashboard button(it flashes up and disappears very very fast) I can get back in and change it back and get a working dashboard, I'm running latest release and a pi0w.
Screenshot_20181120-223511_Chrome.jpeg
I have added some fixes to address this, but I am not sure if the bug is completely gone . But I’m fairly sure that now the dashboard bug won’t crash the whole ui or not let you navigate to other tabs . Let’s see
 

COCOBBALL

Active Member
View Badges
Joined
Oct 5, 2018
Messages
181
Reaction score
169
Rating - 0%
0   0   0
See the notch out at top of chip, ground is left bottom, looks like your chip is this way up in your pictures but your ground is connected top right?
LEDs.jpeg
Okay this is probably exactly what I did wrong. I didn't know this chip went in a certain direction, I should have known.

Had to run to work but as soon as I get back I'm going to check this thank you so much everyone
 

Dave's Reef

Active Member
View Badges
Joined
Nov 4, 2018
Messages
102
Reaction score
150
Rating - 0%
0   0   0
I just pushed a change that will sort them by their creation order. Is it make sense to order them by name ?
I would say creation order because you can create them in the order you want them to be by name would kill my OCD lol they need to be in priority order. Just my 2 cents..
 

COCOBBALL

Active Member
View Badges
Joined
Oct 5, 2018
Messages
181
Reaction score
169
Rating - 0%
0   0   0
Okay this is probably exactly what I did wrong. I didn't know this chip went in a certain direction, I should have known.

Had to run to work but as soon as I get back I'm going to check this thank you so much everyone
This was it! Thanks again for the help. Going to start a build thread per Ranjib
 

Mwdsonny

Community Member
View Badges
Joined
Nov 20, 2018
Messages
29
Reaction score
44
Rating - 0%
0   0   0
Just wondering if the dosing pump section ever got setup to use nema 17 motors? Im looking at this to run my planted tank/ not a reef tank. but a friend is wanting to set up a hydroponic greenhouse garden. I remembered looking at this like a year ago and thinking it was a good idea, but new to electronics. now I feel comfortable doing this to my tank. I just remembered this cause he was wanting to automate his garden and this came to mind. control lights\fans, and dosing fertlizers.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just wondering if the dosing pump section ever got setup to use nema 17 motors? Im looking at this to run my planted tank/ not a reef tank. but a friend is wanting to set up a hydroponic greenhouse garden. I remembered looking at this like a year ago and thinking it was a good idea, but new to electronics. now I feel comfortable doing this to my tank. I just remembered this cause he was wanting to automate his garden and this came to mind. control lights\fans, and dosing fertlizers.
Welcome to reef2reef :)
 

Des Westcott

Well-Known Member
View Badges
Joined
May 29, 2018
Messages
646
Reaction score
1,035
Location
Durban - South Africa
Rating - 0%
0   0   0
So I am trying to do some work on MACROS and ATOs my problem is that I would like to have an ATO shut my main pump off if for whatever reason my overflows get plugged and go to and the issue is that if i run a feed MACRO the ATO kick the pump back on when the ATO times out that is still low. I know I could add another relay to work in series with my pump so both would have to be on to make. But is there any other way around this. maybe add an option to set macros as a master to control relays and ATO as a secondary if not running a macro.
Thanks for the help

Macro's just run a set of command in a row until finished. For example - stop equipment A, wait 15 seconds, then start equipment A. After it's done that, the macro goes back to a waiting state to be run again. Macro's aren't for collecting a bunch of settings.

For what you are describing, you want to set up a dedicated ATO with associated float switch/ optical switch. That running as a module to control the pump will work.

Des
 

LionHeart2017

Active Member
View Badges
Joined
Sep 13, 2017
Messages
185
Reaction score
321
Location
Lincolnshire
Rating - 0%
0   0   0
Ok, my dashboard bug has gone away after I changed my equipment names, is there a limit on the naming of the equipment?, I had 8 outlets named as blue1, blue2 and so on up to 4, then white1 up to 4 again to make 8, once I changed them to 1,2,3,4,5,6,7,8 all is good again and it displays under each bar of the dashboard for the equipment now, it didn't really do that how I set it up at first.
 

Ingenuity against algae: Do you use DIY methods for controlling nuisance algae?

  • I have used DIY methods for controlling algae.

    Votes: 40 48.8%
  • I use commercial methods for controlling algae, but never DIY methods.

    Votes: 17 20.7%
  • I have not used commercial or DIY methods for controlling algae.

    Votes: 19 23.2%
  • Other.

    Votes: 6 7.3%
Back
Top