How To: BrewPi LCD Add-On

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Not true. We are using the pull ups. There are two resistors in day_trippr's layout that are connected to the i/o pins 7 and 8.
Oh! Didn't realize that. I guess since I was connecting to the headers I did not even think there were pull-ups there. No reason there could not be of course. That's what I get for thinking. :)
 
The way the ones we have now are set up, there are four connections:
  • ROT A
  • PB
  • GND
  • ROT B
I see the ones you listed (most of them out there) have five connections:
  • CLK
  • DT
  • SW
  • +
  • GND
How does one "adapt" five connections to the four in the wiring diagrams we are using now?

I don't believe we are using pull-ups on the Arduino ... I suppose the Arduino has that capability as well?

Yes, Arduino has internal pull-ups that can be programmatically turned on or off.

The rotary encoder is literally just a switch, and it doesn't matter how it is labelled.

To use them with the Arduino shield I would either remove the pull-ups on the shield and connect CLK and DT to ROT A and ROT B, SW to PB, GND to GND, and + to +5V.

Or remove the pull-ups on the switch PCB and wire it the same but don't connect +.

Probably wiring it the first way would work even without removing the pull-ups.
 
Sorry, I forgot that you were able to get everything working without an Arduous and were going directly to the Pi.

There are internal pull-ups in the Arduino too. You can save a resistor, and the board space, and the wiring. That's maybe 1 cent right there. When you make a million of them the savings add up.
 
How hard would it be to change the design of the board so it will interface directly with a nano?
 
How hard would it be to change the design of the board so it will interface directly with a nano?

It would mean a complete redesign but obviously it could be done. My question would be why use the nano with a shield, because you are going to lose the advantage of the small form factor. You'll save a couple of bucks over the Uno but you'll end up with a shield bigger than the nano itself due to all of the component headers. Someone smarter than I could definitely shrink the board to a smaller size, but I doubt you'd get it close to the nano in size.

That being said, if I were to mock up a board, I'd make it so the nano slots into the pcb and sits right on top with all of the component headers around it. You could come up with a pretty cool layout...
 
It would mean a complete redesign but obviously it could be done. My question would be why use the nano with a shield, because you are going to lose the advantage of the small form factor. You'll save a couple of bucks over the Uno but you'll end up with a shield bigger than the nano itself due to all of the component headers. Someone smarter than I could definitely shrink the board to a smaller size, but I doubt you'd get it close to the nano in size.



That being said, if I were to mock up a board, I'd make it so the nano slots into the pcb and sits right on top with all of the component headers around it. You could come up with a pretty cool layout...


Because you could design it so it all fits behind the lcd and it'll be an all-in-one form factor. a micro could also be used but they are a bit more of a pain to program and not that much smaller than the nano
 
Looks like you guys should all receive the boards today.

Damn, you're on top of it like a midget up a ladder.

My boards are in my dirty little hands, and will start solderin' 'em up as soon as I finish getting the components. (I noticed the Mouser BOM got snipped, and finding the right replacements is NOT that easy.)

Thanks a million for organizing the boards sir! I look forward to having these puppies controlling my shiny new SS Brewtech BME Conicals. Next step, glycol chiller!
 
IF anyone is having trouble locating the PFETs (Mouser was out when I ordered 3 months ago), shoot me a PM. I have about 45 of those guys and I'll snail mail them to you at $0.00. Limit to 1+ your requirements. i.e. you need 2 I'll send you 3.
 
If anyone would like to get in on a group buy, I would like to order some boards for myself. If I can get 8 or so other boards spoken for, I would be glad to order these and ship them out like BigDaddyAle has done.
 
If anyone would like to get in on a group buy, I would like to order some boards for myself. If I can get 8 or so other boards spoken for, I would be glad to order these and ship them out like BigDaddyAle has done.
Just FYI If you do another run You should do it soon. They shut down production at the PCB plant for Chinese New Year in Feb and it could double the time it takes to receive the boards
 
Just FYI If you do another run You should do it soon. They shut down production at the PCB plant for Chinese New Year in Feb and it could double the time it takes to receive the boards

Thanks for the heads up.

I placed the order today so anyone interested in some boards, let me know.

Additionally for those that need to buy the components, here is my project from Mouser with everything except the 4K7ohm resistor.

http://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=888022ec5b
 
hello all, could you please help?
i hav made the shield with instruction of the 1st page everything looks good but the temp sensors does not recognized from the brewpi!!!
 
hello all, could you please help?
i hav made the shield with instruction of the 1st page everything looks good but the temp sensors does not recognized from the brewpi!!!
Have you tested your DS18B20 sensors to see if they are running in non paresitic mode ? There was a bunch of us who got the wrong DS18B20 sensors from the factory.There is a sketch you can run to test them some where in this thread.https://www.homebrewtalk.com/showpost.php?p=7556259&postcount=5416
 
finally the sensors recognized my mistake was on a pin i have double and triple check the pins the problem now is on the screen which shows only 2 lines!! the same thing shown even if itry to connect it via breadboard!!!

IMG_3616.jpg
 
That state is where the LCD internal power-up is complete.
It's waiting for a command from the Arduino.

Start with power and ground connections to the shift register, then trace the three inputs from the Arduino, the pull-up on the CLR pin (10) and the grounded OEn pin (13) then the outputs from the shift register to the LCD.

Somewhere there's a miswire...

Cheers!
 
That state is where the LCD internal power-up is complete.
It's waiting for a command from the Arduino.

Start with power and ground connections to the shift register, then trace the three inputs from the Arduino, the pull-up on the CLR pin (10) and the grounded OEn pin (13) then the outputs from the shift register to the LCD.

Somewhere there's a miswire...

Cheers!
There's also the contrast pot which may be the case ... was with mine.
 
Pot tested but nothing im going to analyze the wiring for the lcd!!!
 
Long as I'm here: I'm reposting this image as the original had an error (B-side NC and NO pin wiring was swapped) and the first post of the corrected version (this one) is buried somewhere in the thread.

Cheers!

ac_power.jpg
 
Long as I'm here: I'm reposting this image as the original had an error (B-side NC and NO pin wiring was swapped) and the first post of the corrected version (this one) is buried somewhere in the thread.
If you power relay #2 from the normally closed side of relay #1, you save a wire nut (save space!) and you prevent both of them from ever coming on at the same time through software or hardware failure.
 
I have check all the wires also with the diagram!! i have create also the breadboard but i have the same issue...
i think that is failure of the LCD .....
 
I have check all the wires also with the diagram!! i have create also the breadboard but i have the same issue...
i think that is failure of the LCD .....

Did you try adjusting the contrast potentiometer?
 
unfortunatelly same issue occurs!!:( tommorow i will take a new LCD screen to try!!
 
Finally it works!!!!!!! :) :) i have change the lcd screen with a new one and it works!!! now the only thing that remains is to read how i will program the PID and etc in the brewpi GUI :) one more question ... if i want to connect the door switch in order to see "open door" alarm in the screen where i should connect it?
 
Finally it works!!!!!!! :) :) i have change the lcd screen with a new one and it works!!! now the only thing that remains is to read how i will program the PID and etc in the brewpi GUI :) one more question ... if i want to connect the door switch in order to see "open door" alarm in the screen where i should connect it?

Congratulations!

The door switch is pin 4 to ground and generally set up as "inverted."
 
super!! sorry if i flood you with questions... another issue is that rotary encoder does not do anything... should i program it via Gui devices and assign it as device or shou i check the wiring of the rotary?
 
Check the wiring, as there are no settings in BrewPi to enable or disable it.

encoder.jpg

Black wire is ground, purple is the pushbutton signal to digital IO 7, and the Blue and Green wires are the up/down bits to digitial IO 8 & 9, respectively...

Cheers!
 

Latest posts

Back
Top