GatCode / OpenGrind

☕️ Sophisticated Coffee Grinder Timer Firmware
GNU General Public License v3.0
21 stars 9 forks source link

Convert to 128 x 32 screen #3

Open SpeedGP opened 2 years ago

SpeedGP commented 2 years ago

Hi, I'm really terrible at this, but I noticed you were using a 128x64 screen, can I just change every instance of 64 to 32 and the 40x40 cups to 20x20 or something like that? Any other issues you can think of?

I'm think about changing Single to purge and also, but haven't decided.

Thanks again for all of your hard work!!

GatCode commented 2 years ago

Hi, I guess you want to use a 128x32 display? Therefore you would need to also rerender the icons. You can find a tutorial by Adafruit about it. Otherwise everything should work. The purge function can be done by simply dropping the timer function in the single shot mode.

SpeedGP commented 2 years ago

Thanks for getting back to me :) I was able to edit it and get it working :)

Let me know if you want pictures :)

On Fri, Mar 4, 2022, 6:07 AM GatCode @.***> wrote:

Hi, I guess you want to use a 128x32 display? Therefore you would need to also rerender the icons. You can find a tutorial by Adafruit about it. Otherwise everything should work. The purge function can be done by simply dropping the timer function in the single shot mode.

— Reply to this email directly, view it on GitHub https://github.com/GatCode/OpenGrind/issues/3#issuecomment-1059192224, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZ66IC2LNM6PBEPQJYASODU6IKI3ANCNFSM5PMD555A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

GatCode commented 2 years ago

No problem :) That’s great news! Yes please, I think your build would be pretty helpful for other user who want to switch out the display and also it is very interesting ;)

SpeedGP commented 2 years ago

I am using a Baratza Virtuoso, pretty much the same as an Encore, just a little more metal and different burs. I was able to cut the old timer switch housing and wedge an SSR inside - just barely. The rest I had to 3d print a box for. I wired everything up, placed things in the box, then potted them in with hot glue. I also used hot glue to attach the box to the side of the machine, just in case I have to remove it. I also used JST connectors for the SSR so the box could be detached a little easier and so I could use the existing timer hole already in the case.

I also uploaded the edited code. I didn't really change much, only to get the screen to work and I changed the first grind to .5sec and the second to 15. I had to put these in code because right after I got it all hook up, I realized my encoded button didn't work :/

Other than that it's been working great! Thanks so much for the code and support! If you want me to send the pics/code somewhere else let me know!

Pics and code are in my google drive: https://drive.google.com/file/d/1UwAO9Gwd8Ak-b7N8-oLEsrPKI8ZO5Cyk/view?usp=sharing

GatCode commented 2 years ago

Wow thanks for sharing your experience! Your project looks very good. I am surprised that you managed to cram in the SSR 😅 Also I really like the external housing/box but I guess the changing of faulty encoder will be a problem.