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.
The newest version of the shield has been ordered. V2.01 incorporates the Nano backpack, direct plug into the LCD, a header for the rotary encoder, breakout pins for the door and other BrewPi functions, power pins to make the GPIO pins work, RJ11 jack and a traditional header for the probes, and a barrel jack and header pins for the 9v power input. I've made the board slightly larger for the 2.01 version so it lines up with three edges of the LCD. I've also added a drill that should correspond to the drill on the LCD so that you can add a screw and a couple of nuts to secure the shield to the LCD.

I've put the files on my google drive folder below. Feel free to use them as you wish. I've ordered a set from Oshpark so I don't have to wait for the slow boat from China to test this version. I'll let everyone know how the testing goes and I'll provide pics of the finished product in a couple of weeks.

https://drive.google.com/drive/folders/0BwakCoACNDsmSWNQeS0xNVBBRFk?usp=sharing
 
I loaded it up in Eagle.That's a busy little board. Looks like a lot of hard work. Thanks . BTW -what was the issue with the rotary encoder on the last version?
 
Somehow in my versioning, I sent a file to the PCB house that didn't include a 5v connection to the encoder. day_trippr found it after some troubleshooting. I still have no idea how it happened because I can't find a version like that. But anyway, it's fixed. The board can be made to work with one jumper wire.
 
Before anyone starts looking for a 5V connection to their encoder switch...
The missing 5V connection was to the three pull-up resistors for the three encoder signals.
That left the three switch signals talking to each other through the resistors.
As one might imagine that made for some "interesting" behavior ;)

I've had the 2.0 using an HC-05 running on my desk ever since.
Works great, no doubt the 2.1 will be even better :)

Cheers!
 
Before anyone starts looking for a 5V connection to their encoder switch...
The missing 5V connection was to the three pull-up resistors for the three encoder signals.
That left the three switch signals talking to each other through the resistors.
As one might imagine that made for some "interesting" behavior ;)

I've had the 2.0 using an HC-05 running on my desk ever since.
Works great, no doubt the 2.1 will be even better :)

Cheers!
I know -right?:)
 
Hey @LBussey, I'm building a BrewPi box with your 3D printed enclosure and the recommended parts list. I just received the 5v power supply board from Ali Express. I'll attach header pins to the board for the 5v output from the board. How did you attach your 110v input wires to the 110v side of the board? Did you just solder 14 or 16 gauge wires straight to the board? Do the pads accept a pcb mounted screw terminal? What do you recommend?
 
It's tough to mention me and get my attention with a misspelling. :D

I soldered my leads directly to the board. I never considered if it would accept a screw terminal. I only had a bag of 100 sitting right next to me on the bench. It does, in fact, accept a screw terminal.

Be sure to use a ferrule or solid core wire on that connection.

IMG_5840.jpg
 
Thanks! Funny, but I purposely pulled up your name to check the spelling and still got it wrong. And I hadn't even had a beer yet. 😀

So, does that mean I should be using solid wire or ferrules on the screw terminals on the relay board? I've been using 14 gauge stranded wire on all of my builds.
 
So, does that mean I should be using solid wire or ferrules on the screw terminals on the relay board? I've been using 14 gauge stranded wire on all of my builds.
That is how I've been taught. Stranded can loosen up and you end up with heating of the terminal because of the bad connection. I've seen melted terminals from that (not in a BrewPi though.) Use a good crimper though if you go that route.

The one nice thing about solid wire in an application like this is you can make the routing very neat.
 
Twist the strands tight, tin the result, and stuff that into the screw terminal.
Best of both worlds.
I hate using solid wire for anything other than house wiring...

Cheers!
 
Received the boards from Oshpark yesterday. $25 is a bit spendy for 3 boards, but they arrive relatively quickly. I'll solder one up this weekend and see if things work as they should...
 
Soldered up a board. I have to figure out how to load the bootloader on my Chinese nano before I can fire it up. Great job with the boards Cadibrewer and Day_Trippr. Busy little board with a lot of stuff on there.
EDIT I just noticed the NANO is in backward when I took the photo.

18558663_10209511036597987_4519012099188541479_o[1].jpg
 
Soldered up a board. I have to figure out how to load the bootloader on my Chinese nano before I can fire it up. Great job with the boards Cadibrewer and Day_Trippr. Busy little board with a lot of stuff on there.


Might need another arduino to do that. a genuine uno should do the trick
 
When you get that far, you'll likely need to edit /home/brewpi/autoSerial.py
and add this line for the Nano clone:

{'vid': 0x1a86, 'pid': 0x7523, 'name': "Arduino Nano Clone"},

Unless it's the last line in the table be sure to include the trailing comma.

fwiw, I used Xloader on Windows to burn the Nano clone I received from Mark to debug the 2.0 protos. Then I used the BrewPi eeprom reset button (on 0.2.10) after making the above edit. After that it would allow the devices to be configured...

Cheers!
 
When you get that far, you'll likely need to edit /home/brewpi/autoSerial.py
and add this line for the Nano clone:

{'vid': 0x1a86, 'pid': 0x7523, 'name': "Arduino Nano Clone"},

Unless it's the last line in the table be sure to include the trailing comma.

fwiw, I used Xloader on Windows to burn the Nano clone I received from Mark to debug the 2.0 protos. Then I used the BrewPi eeprom reset button (on 0.2.10) after making the above edit. After that it would allow the devices to be configured...

Cheers!
I have to look at the code but that looks like what I did. I think I'm just going to use Xloader and see what happens. I'm just frustrated because I thought I knew what I was doing.Just goes to show you don't know what You don't know
this is the website I used.https://community.brewpi.com/t/solved-cant-seem-to-program-arduino-uno/1319/25
 
Well, don't feel special. Mark's Nano clone drove me a bit bonkers before I got it running.
And I've lost count how many BrewPi builds/rebuilds I've done :)

What really slowed me down was the eeprom reset. Until I got that accomplished I couldn't even display devices, never mind configure them and have them reappear after a power cycle.

But all of my BrewPi hosts were still running 0.2.4, which doesn't have that reset feature built-in.
So I had to add an 0.2.10 instance to my back-up host system just to get to that function.

And, yes, you can have 0.2.4 and 0.2.10 peacefully co-exist on the same host...

Cheers!

[edit] btw, it doesn't look like the OP brunoayub in that linked thread ever got the reset thing figured out, but the thread got closed anyway...
 
Sorry for the clone troubles, Dave! I never intended to use the Nano, so I figured that I'd buy the cheapest ones I could find. I was only buying them to make sure the footprint would work on the backpack board. But then when I got the stuff working, I found a use for the smaller package. If I'd intended to use a Nano from the start, I would have sprung for the genuine ones.

Sorry 'bout that!
 
Yes, I used xloader to get the hex loaded up, and then used the eeprom reset feature in brewpi to get things working.
 
[...]Sorry 'bout that!

Aw, jeeze, it wasn't a horror show or anything - and it's not like I paid for the adventure ;)
No worries. I just wish I had written it up for the next victim - I'm pretty much going by memory.

So, have either of you gotten 2.01 up and running yet?

Cheers!
 
May 31 2017 23:21:42 Fresh start! Log files erased.
May 31 2017 23:22:30 stopScript message received on socket. Stopping script and writing dontrunfile to prevent automatic restart
May 31 2017 23:23:06 Opening serial port
May 31 2017 23:23:06 Notification: Script started for beer 'My First BrewPi Run'
May 31 2017 23:23:16 Checking software version on controller...
May 31 2017 23:23:26 Warning: Cannot receive version number from controller. Your controller is either not programmed or running a very old version of BrewPi. Please upload a new version of BrewPi to your controller.
 
@day_trippr had the same problem with the knock-off Nano I sent him. With the 2.10 hex loaded from Xloader, he went into the BrewPi software and reset the eeprom using the reset feature in the advanced settings. The error log still shows that there was a problem loading up the hex, but everything worked and the devices could be configured from that point.

Edit: Here are his notes for posterity's sake:

I had loaded 0.2.4 on the Nano clone and that version predates the "Factory Reset" function that showed up in 0.2.10. So I couldn't clear the eeprom until I loaded 0.2.10 - which I did using Xloader on the peecee.

Once I had that hex file installed I was able to use the "Factory Reset" function successfully. Still will not load hex files from within BrewPi (but I could live with that) but with the eeprom cleared I was able to power cycle the Nano and BrewPi could find it each time.

As well, I was able to install and configure a few suite of devices - all eight possible, including 3 sensors, 2 relays, a Fan, a Door Switch, and a Light. Was able to add them all in one shot, too.

Then I tested everything: Cool and Heat relays, all the sensors, the Fan, and the Door Switch and Light (with both configured the Door Switch will toggle the Light).

Then I switched out the USB connection for an HC-05 and that came right up.

Sooo....Everything works! That has to count for something!
 
@day_trippr had the same problem with the knock-off Nano I sent him. With the 2.10 hex loaded from Xloader, he went into the BrewPi software and reset the eeprom using the reset feature in the advanced settings. The error log still shows that there was a problem loading up the hex, but everything worked and the devices could be configured from that point.

Edit: Here are his notes for posterity's sake:
This button to reset the eeprom?

Capture2.JPG
 
rial port
Jun 03 2017 04:08:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:09:07 Opening serial port
Jun 03 2017 04:09:17 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:10:05 Opening serial port
Jun 03 2017 04:10:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:11:06 Opening serial port
Jun 03 2017 04:11:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:12:05 Opening serial port
Jun 03 2017 04:12:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:13:05 Opening serial port
Jun 03 2017 04:13:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:14:06 Opening serial port
Jun 03 2017 04:14:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:15:05 Opening serial port
Jun 03 2017 04:15:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:16:06 Opening serial port
Jun 03 2017 04:16:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:17:07 Opening serial port
Jun 03 2017 04:17:17 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:18:06 Opening serial port
Jun 03 2017 04:18:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:19:06 Opening serial port
Jun 03 2017 04:19:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:20:06 Opening serial port
Jun 03 2017 04:20:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:21:06 Opening serial port
Jun 03 2017 04:21:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:22:06 Opening serial port
Jun 03 2017 04:22:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:23:06 Opening serial port
Jun 03 2017 04:23:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:24:06 Opening serial port
Jun 03 2017 04:24:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:25:06 Opening serial port
Jun 03 2017 04:25:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:26:06 Opening serial port
Jun 03 2017 04:26:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:27:05 Opening serial port
Jun 03 2017 04:27:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:28:06 Opening serial port
Jun 03 2017 04:28:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:29:06 Opening serial port
Jun 03 2017 04:29:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:30:06 Opening serial port
Jun 03 2017 04:30:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:31:06 Opening serial port
Jun 03 2017 04:31:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:32:06 Opening serial port
Jun 03 2017 04:32:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:33:06 Opening serial port
Jun 03 2017 04:33:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:34:06 Opening serial port
Jun 03 2017 04:34:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:35:06 Opening serial port
Jun 03 2017 04:35:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:36:06 Opening serial port
Jun 03 2017 04:36:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:37:05 Opening serial port
Jun 03 2017 04:37:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:39:36 Another instance of BrewPi is already running, which will conflict with this instance. This instance will exit
Jun 03 2017 04:40:06 Opening serial port
Jun 03 2017 04:40:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:41:05 Opening serial port
Jun 03 2017 04:41:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:42:05 Opening serial port
Jun 03 2017 04:42:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:43:06 Opening serial port
Jun 03 2017 04:43:16 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:44:05 Opening serial port
Jun 03 2017 04:44:15 Errors while opening serial port:
[Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
[Errno 2] could not open port /dev/ttyUSB1: [Errno 2] No such file or directory: '/dev/ttyUSB1'

Jun 03 2017 04:47:08 Opening serial port
Jun 03 2017 04:47:08 Notification: Script started for beer 'My First BrewPi Run'
Jun 03 2017 04:47:19 Checking software version on controller...
Jun 03 2017 04:47:29 Warning: Cannot receive version number from controller. Your controller is either not programmed or running a very old version of BrewPi. Please upload a new version of BrewPi to your controller.
Jun 03 2017 04:48:22 Resetting controller to factory defaults
**** Arduino Program script started ****
Settings will not be restored
Devices will not be restored
Jun 03 2017 04:49:51 Opening serial port
Loading programming settings from board.txt
Checking hex file size with avr-size...
Program size: 26896 bytes out of max 30720
Programming Arduino with avrdude: /usr/share/arduino/hardware/tools/avrdude -F -e -p atmega328p -c arduino -b 57600 -P /dev/ttyUSB0 -U flash:w:"brewpi-arduino-uno-revC-0_2_10.hex" -C /usr/share/arduino/hardware/tools/avrdude.conf
Result of invoking avrdude:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x44
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x3a
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7b
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x22
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x67
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x54
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x79
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x70

avrdude done. Thank you.


There was an error while programming.
Jun 03 2017 04:49:58 New program uploaded to controller, script will restart
Jun 03 2017 04:50:06 Opening serial port
Jun 03 2017 04:50:06 Notification: Script started for beer 'My First BrewPi Run'
Jun 03 2017 04:50:16 Checking software version on controller...
Jun 03 2017 04:50:26 Warning: Cannot receive version number from controller. Your controller is either not programmed or running a very old version of BrewPi. Please upload a new version of BrewPi to your controller.
**** Arduino Program script started ****
Settings will not be restored
Devices will not be restored
Jun 03 2017 04:51:07 Opening serial port
Loading programming settings from board.txt
Checking hex file size with avr-size...
Program size: 26896 bytes out of max 32256
Programming Arduino with avrdude: /usr/share/arduino/hardware/tools/avrdude -F -e -p atmega328p -c arduino -b 115200 -P /dev/ttyUSB0 -U flash:w:"brewpi-arduino-uno-revC-0_2_10.hex" -C /usr/share/arduino/hardware/tools/avrdude.conf
Result of invoking avrdude:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7e
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x9e
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x60
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x9e
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9e

avrdude done. Thank you.


There was an error while programming.
Jun 03 2017 04:51:19 New program uploaded to controller, script will restart
Jun 03 2017 04:51:26 Opening serial port
Jun 03 2017 04:51:26 Notification: Script started for beer 'My First BrewPi Run'
Jun 03 2017 04:51:36 Checking software version on controller...
Jun 03 2017 04:51:46 Warning: Cannot receive version number from controller. Your controller is either not programmed or running a very old version of BrewPi. Please upload a new version of BrewPi to your controller.
Jun 03 2017 04:54:15 Resetting controller to factory defaults
Jun 03 2017 04:54:18 Resetting controller to factory defaults
**** Arduino Program script started ****
Settings will not be restored
Devices will not be restored
Jun 03 2017 04:54:38 Opening serial port
Loading programming settings from board.txt
Checking hex file size with avr-size...
Program size: 26896 bytes out of max 32256
Programming Arduino with avrdude: /usr/share/arduino/hardware/tools/avrdude -F -e -p atmega328p -c arduino -b 115200 -P /dev/ttyUSB0 -U flash:w:"brewpi-arduino-uno-revC-0_2_10.hex" -C /usr/share/arduino/hardware/tools/avrdude.conf
Result of invoking avrdude:
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x7e
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x9e
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x86
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x60
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x9e
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x9e

avrdude done. Thank you.


There was an error while programming.
Jun 03 2017 04:54:50 New program uploaded to controller, script will restart
Jun 03 2017 04:54:57 Opening serial port
Jun 03 2017 04:54:57 Notification: Script started for beer 'My First BrewPi Run'
Jun 03 2017 04:55:07 Checking software version on controller...
Jun 03 2017 04:55:17 Warning: Cannot receive version number from controller. Your controller is either not programmed or running a very old version of BrewPi. Please upload a new version of BrewPi to your controller.
stdout:

BrewPi: wifiChecker: Successfully pinged 192.168.1.1 (Sat 3 Jun 04:50:02 UTC 2017)
 
Just a quick question, I'm using Thorrak's amazing ESP8266 build and recently had LCD scrambling. I read from circa. page 70 of this thread, where there is mention of LCD scrambling, and then not a big mention of it after that. Is this an issue for anyone still? Cheers
 
Just a quick question, I'm using Thorrak's amazing ESP8266 build and recently had LCD scrambling. I read from circa. page 70 of this thread, where there is mention of LCD scrambling, and then not a big mention of it after that. Is this an issue for anyone still? Cheers


I used to get it all the time using a mechanical relay, none at all using an SSR, I don't think we ever truly got to the bottom of why some scramble and some don't.
 
Back
Top