Yes, but I’m not at home to ship them out at the moment, unfortunately.Hi gents, Im looking at making a few more of these controllers and was wondering if anyone has a link to some decent PCBs. I brought a few a few years back but they had the space for the IC convertors which arent needed. @Thorrak Do you sell your PCbs?
Cheers for that. I was looking at this board here as I dont need the level shifter.Yes, but I’m not at home to ship them out at the moment, unfortunately.
I have all of my PCB designs (with links to fabricators) on GitHub here: thorrak/thorrak_hardware
If there is anything missing that you’re looking for, let me know and I’ll see if I can upload it.
The mosfet and 10ks are the level shifter.Cheers for that. I was looking at this board here as I dont need the level shifter.
https://github.com/brewpi-remix/brewpi-pcb-rmx/tree/master/ESP8266 Boards/WeMos D1 Mini Breakout
But what is all of this for as I never used any of those components on my last build?
- 2 x 1.0uF Capacitor (C1, C3)
- 2 x 0.1uF Capacitor (C2, C4)
- 2 x 2N7000 N-Channel MOSFET (Q1, Q2)
- 5 x 10kΩ 1/4-Watt Resistor (R1-R4)
- 1 x 2.2kΩ 1/4-Watt Resistor (R5)
Ahh ok so dont need the mosfet and 10ks then as I dont use the level shifter.The mosfet and 10ks are the level shifter.
The capacitors are decoupling caps - they’re optional, but highly recommended.
The 2.2k resistor is the pull-up for the temp sensor - I guarantee you had one of these (or a 4.7k) as they’re required for the temp sensors to work.
Ok thanks for that. I will give it a shot.Set the relays for Low Active.
Then configure the GPIO pins that drive the relays for "inverted".
LEDs D3 and D4 will light when their respective relays are activated when the end to end setup is properly configured.
Most relay modules are Low Active, period, which is why the gui offers the option of inverting the relay controls...
Cheers!
Yes, 1 for each relay.Should both of those jumpers be in?
I’ve made 2 temp controllers before with fermentrack installed in a ras-berry Pi so I’m basically just building this one the same. I got all my info for it from this thread . Other than that I’ve never really seen a build guide.@troyp42
Thanks I'm waiting for the parts for my build. Good to know.
Which build guide are you following?
bool isValidmDNSName( const char * mdns_name )
{
char c;
while ( (c = *mdns_name++) )
if ( c != '.' && !isalnum(c) )
return false;
return true;
}
bool isValidmDNSName(String mdns_name) {
for (int i = 0; i < mdns_name.length(); ++i) {
if (!isalnum(mdns_name[i]))
return false;
}
return true;
}
lib_deps =
https://github.com/tzapu/WiFiManager.git#development
lib_deps =
https://github.com/tzapu/WiFiManager.git
[common]
platform = espressif8266
board = nodemcuv2
framework = arduino
lib_deps =
tzapu/WiFiManager@^0.16.0
;https://github.com/tzapu/WiFiManager.git
/*
* Buzzer.cpp
*
* Copyright 2012-2013 BrewPi.
*
* This file is part of BrewPi.
*
* BrewPi is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* BrewPi is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with BrewPi. If not, see <http://www.gnu.org/licenses/>.
*/
#include "Brewpi.h"
#include "Ticks.h"
#include "Pins.h"
#include "Buzzer.h"
// TODO - Implement
#if BREWPI_BUZZER
#if BREWPI_BOARD == BREWPI_BOARD_ESP8266
#define _delay_ms(ms) delayMicroseconds((ms) * 1000)
#endif
#if BREWPI_BOARD != BREWPI_BOARD_ESP8266
#include <util/delay.h>
#endif
#include "FastDigitalPin.h"
#if (alarmPin != 0)
#error "Check PWM settings when you want to use a different pin for the alarm"
#endif
#define BEEP_ON() digitalWrite(alarmPin, LOW);
#define BEEP_OFF() digitalWrite(alarmPin, HIGH);
void Buzzer::init(void){
// set up square wave PWM for buzzer
fastPinMode(alarmPin,OUTPUT);
}
void Buzzer::setActive(bool active)
{
if (active!=this->isActive()) {
ValueActuator::setActive(active);
if (active) {
BEEP_ON();
}
else {
BEEP_OFF();
}
}
}
void Buzzer::beep(uint8_t numBeeps, uint16_t duration){
for(uint8_t beepCount = 0; beepCount<numBeeps; beepCount++){
BEEP_ON();
wait.millis(duration);
BEEP_OFF();
if(beepCount < numBeeps - 1){
wait.millis(duration); // not the last beep
}
}
}
Buzzer buzzer;
#endif
#ifndef BREWPI_BUZZER
#define BREWPI_BUZZER 1
#endif
//
#define heatingPin NODEMCU_PIN_D0
#define coolingPin NODEMCU_PIN_D5
#define oneWirePin NODEMCU_PIN_D6 // If oneWirePin is specified, beerSensorPin and fridgeSensorPin are ignored
#define doorPin NODEMCU_PIN_D7
#define alarmPin NODEMCU_PIN_D3
Yep. Sometimes a cold solder joint is at fault. Sometimes it needs a more powerful pull-up (you should use a 2K2 for 3V3 for instance.) I will say that most often this is a power supply.
I brought and used my power supplies from Jaycar as the original power supply I got from chinabay looked cheap and nasty.Yep. Sometimes a cold solder joint is at fault. Sometimes it needs a more powerful pull-up (you should use a 2K2 for 3V3 for instance.) I will say that most often this is a power supply.