Forum Members section Show your controller 7 waves aquarium controller

7 waves aquarium controller


Post Number:#1 Post Wed Jan 10, 2018 7:51 am
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil
Hello and with pleasure I bring this topic showing the development of my controller.
At the moment Only With these devices

Arduino Mega
Eternet Shield w5100
RTC1307
12V 16 Channel Relay Board
Ds18b20

-------------
Waiting for Receiving
TFT 240x400
Level Sensors
PCF8575
Pumps for metering

----------------------------------
Equipment to be Controlled
Maxpect Razor R420r Modified
Jebao WP25
BBM C7 skimmer
300w Titanium Heater

Post Number:#2 Post Thu Jan 11, 2018 3:43 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Waiting for pics!

:D

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#3 Post Tue Oct 23, 2018 3:37 pm
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil
Hello, I have a problem with a 12v relay module like the one on the image, it is still necessary to use the uln2803 aposo pcf 8575, or can I directly connect the pcf?
Image

Post Number:#4 Post Tue Oct 23, 2018 4:10 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

ULN is needed.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#5 Post Wed Oct 31, 2018 1:49 pm
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil
Hello, I'm having doubts about the connection of the relay card, I made a pcb card specific to the pcf, everything is working, but I'm having problems connecting and disconnecting, as it does not change the state of the ports,
the led of the board responds, although it is apparently without any surplus energy for the drive, I am feeding the board with external 12v and the logic part with a 5v 1a source, with the gnd connected in the arduino.
Question the gnd of the external source 12v that goes straight on the relay board, has to be connected in the arduino too?

Post Number:#6 Post Wed Oct 31, 2018 9:23 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

As you can see here just 12V power supply is enough for this relay board because it has a 5V regulator.

Watch on youtube.com


Just connect GND from 12V PS for GND from Arduino PS.

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#7 Post Thu Nov 01, 2018 11:57 am
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

BTW the 5V pin in this board is an output and you can feed Arduino with it.

The LM2576S is rated at 3A.

So using this pin is not needed connect another power supply for Arduino or a few 5V circuits.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#8 Post Thu Feb 07, 2019 9:19 pm
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil
Hello, I would like to use output 6 and 5 of the pcf8575 for the heater, but when I make the code change it does not work, could you help me? thank you

Image
Last edited by Franscisco Junior on Thu Feb 07, 2019 9:19 pm, edited 1 time in total.

Post Number:#9 Post Fri Feb 08, 2019 2:56 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Hi!

Which parts on code were changed?

Best regards.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#10 Post Fri Feb 08, 2019 3:21 pm
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil
only


const byte aquecedorPin = 6;   // Pino que liga o aquecedor
const byte chillerPin = 5;     // Pino que liga o chiller
const byte ledPinMoon = 44;     // Pino que liga os leds da luz noturna
const byte wavemaker1 = 45;     // Pino que controla o wavemaker 1
const byte wavemaker2 = 46;     // Pino que controla o wavemaker 2
// 47 and 48 are free
const byte sensoresPin = 49;    // Pino que lê os sensores de temperatura
// Pinos 50, 51 e 52 reservados para comunicação SPI
// Pino 53 reservado para "select slave do ethernet shield.
const byte sensor1 = 54;   // A0;      // Pino analógico que verifica se há tensão na bóia da quarentena.
const byte sensor2 = 55;   // A1;      // Pino analógico que verifica se há tensão na bóia inferior do sump.
const byte sensor3 = 56;   // A2;      // Pino analógico que verifica se há tensão na bóia superior do sump.
const byte sensor4 = 57;   // A3;      // Pino analógico que verifica se há tensão na bóia inferior do reservatório.
const byte sensor5 = 58;   // A4;      // Pino analógico que verifica o nível do reef.
const byte sensor6 = 59;   // A5;      // Pino analógico que verifica o nível do fish only.
// Pins 60 (A6), 61 (A7) and 62 (A8) are free
const byte dosadora1 = 63; // A9;      // Bomba dosadora 1
const byte dosadora2 = 64; // A10;     // Bomba dosadora 2
const byte dosadora3 = 65; // A11;     // Bomba dosadora 3
const byte dosadora4 = 66; // A12;     // Bomba dosadora 4
const byte dosadora5 = 67; // A13;     // Bomba dosadora 5
const byte dosadora6 = 68; // A14;     // Bomba dosadora 6
// Pino 69 (A15) reservado para SS do RFM12B

// ****************************************************************************************************
///************************************** PCF8575 ****************************************************
// ****************************************************************************************************
const byte ozonizadorPin = 43;     // P0       // Pino que liga o ozonizador
const byte reatorPin = 0;         // P1       // Pino que liga o CO2 do reator.
const byte bomba1Pin = 8;         // P2       // Bomba que tira água da quarentena.
const byte bomba2Pin = 1;         // P3       // Bomba que tira água do sump.
const byte bomba3Pin = 2;         // P4       // Bomba que coloca água no sump.
const byte temporizador1 = 11;     // P5       // Pino que liga o timer 1. Luz Azul
const byte temporizador2 = 10;     // P6       // Pino que liga o timer 2. Luz BRanca
const byte temporizador3 = 7;     // P7       // Pino que liga o timer 3.
const byte temporizador4 = 3;     // P8       // Pino que liga o timer 4.
const byte temporizador5 = 4;     // P9       // Pino que liga o timer 5.
const byte solenoide1Pin = 42;    // P10      // Liga a reposição de água doce.
const byte alimentadorPin = 9;   // P11      // Pino que controla o alimentador automático.
const byte skimmerPin = 7;       // P12      // Pino que controla o skimmer

Post Number:#11 Post Fri Feb 08, 2019 4:57 pm
Posts: 1699
Topics: 38
Images: 301
Solve rating: 233
Joined: Mon Mar 03, 2014 5:59 pm
Topics: 38
Age: 39
Location: São Paulo
Gender: Male
National Flag:
Brazil

Obviously this is not enough.

Change this part too.

Add:

 PCF8575.


Before:

digitalWrite


Remove this lines.
Post your doubts on forum because it can help another user too. Just PM me for support if it's absolutely necessary.

Post Number:#12 Post Thu Feb 14, 2019 1:56 pm
Posts: 11
Topics: 4
Images: 2
Solve rating: 0
Joined: Tue May 13, 2014 2:43 pm
Topics: 4
Age: 34
Gender: None specified
National Flag:
Brazil




Return to Show your controller





Who is online

Users viewing this topic: No registered users and 1 guest

cron