Speaking of rotary encoders, does anyone have a schematic for what the wiring/debouncing circuit looks like in an Arduino build?Yeah, all assigned! Up next on the build is Bluetooth and a rotary encoder.
Last edited:
Speaking of rotary encoders, does anyone have a schematic for what the wiring/debouncing circuit looks like in an Arduino build?Yeah, all assigned! Up next on the build is Bluetooth and a rotary encoder.
I feel like there should be a gif for that. One involving frogs, or bunnies...Mispost
Hahaha!I feel like there should be a gif for that. One involving frogs, or bunnies...
I might have an old version of your shield — the version I have didn’t support the encoder, I thoughtHahaha!
I have the wiring diagram that @day_trippr came up with in his build and I translated into the schematic for the shield. But I know nothing of debouncing.
All of the versions support the encoder. There are three resistors and three capacitors that are associated with the encoder and they are on the shield. Just plug your encoder push button lead into pin 7 on the shield, and the rotary functions into 8 and 9. The other leads go to ground and 5v.I might have an old version of your shield — the version I have didn’t support the encoder, I thought
[...]I’m confused, isn’t my Rpi the controller? Why do I need to flash a controller? Or why doesn’t it recognize my Rpi? Is it looking for the old Arduino? That would seem to defeat the purpose of going to the new setup. Any thoughts?[...]
Hookup is the same as you did for your former BrewPi setup. Everything gets hooked up to the Arduino and then you connect the Arduino to the Pi with a serial cable.Thanks guys. I clearly missed that “minor” detail when I started this. This networking and coding stuff is way outside my wheel house, which is one reason I love this board.
Hooked up my Arduino and most everything is working as advertised. Since my Onewire temp probes are on the Arduino, is sending that temp data to the Rpi (Fermentrack) simply jumper wires from one pin to another? Or is it more complex?
Wish me luck im running the fermentrack script. I have a RPi with RPints with flowmeters installed and running. I am building multiple wire instances to be controlled. I read day tripper mention that i will need to install each BrewPi instance in subordinate folders (eg: /var/www/brewpi1, /var/www/brewpi2, etc).
Im not at that point yet, but is it pretty self explanatory? are there walk throughs for this?
I did read this but the webpage isnt active anymore
"Please note - Any existing apps that require Apache (including RaspberryPints and BrewPi-www)
will be deactivated. If you want support for these apps it can be optionally installed later.
Please read http://apache.fermentrack.com/ for more information."
So im assuming RPints is not working now and needs to be resetup?
Depends on the switch module wiring and the resistor values used. If they're like 10K pull-ups to VCC they're unlikely to cause a problem with the 10K's on the shield, as long as that "+" pin is connected to 5V. Left unconnected things could get more interesting...
Cheers!
Ok i read that and ran the automated script and got an error right after
"Now installing additional packages required for legacy (PHP/Apache) software support"
this was in the log file
Package php5-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'php5-common' has no installation candidate
E: Package 'php5-cli' has no installation candidate
E: Package 'php5-fpm' has no installation candidate
[31m*** ----------------------------------(B[m
[31m*** ERROR ERROR ERROR ERROR ERROR ***(B[m
[31m
(B[m
[31m*** ----------------------------------(B[m
[31m*** See above lines for error message(B[m
[31m*** Setup NOT completed(B[m
[31m*** More information in the "install.log" file(B[m
I looked up the code on the resistors mounted to the encoders board (103) and it says 10k. Not sure what is causing the problem. I tried removing the encoder from the board it was mounted to, and directly wired the pins to the shield. Turning of knob didn't cause any action, and pressing the button would seemingly reboot the whole thing - LCD would turn off momentarily, and the Idle timer would reset to 00m00.
Yes it was. What do you need? I was using RandR+ auto installation script and helping him debug it. (I know nothing about codeing i was just running it and finding some errors) here is his post about his script.Ah. It’s because PHP5 isn’t available on Stretch. I forgot about that.
Was RPints working before? If so, do you have the install guide you used for it so I could take a look?
Should I go ahead and use 2 rpis, until you have time to go through everything? I could downgrade to Jessie, too.
I'm following a bunch of threads. I'm striving for a pi running raspberrypints with fermentrack that connect to multiple wifi controllers with a rotary knob. So I'm following this, the pints thread, your wifi thread, the wireless controller thread, and the LCD rotary switch thread.
Go big or go home, amirite?!
If wiring the encoder module directly to the Uno like this:
SW to D7
CLK to D8
DT to D9
+ to 5V
GND to GND
...doesn't work there is something fundamentally wrong.
Either the module is fubar, or the code running on the AVR isn't "oem"...
Cheers!
yea well i know the guys in the Pints thread have made some strides in getting Pints working on Stretch. SO a bunch of people are getting it installed on stretch. So when i went to add fermentrack, boom.....ran into the same issues with stretch and jessie.VERY. FAIR. Sorry about that. Just coincidental that multiple people are asking the same thing at the same time. It must be Raspberry Pints season.![]()
Could it be a power issue if he's running the LCD, the probes and the encoder all powered by the Pi?I have five of those shields running...
Could it be a power issue if he's running the LCD, the probes and the encoder all powered by the Pi?
I've set up Fermentrack for a family member and now need to move the Pi etc to his place on a different wifi network is there an easy way to do this eg set up a secondary wifi network within Fermentrack/Raspbian or do I have to re-install Fermentrack again at his place?