Hard-Wiring Artisan Event Buttons - Page 2

Discuss roast levels and profiles for espresso, equipment for roasting coffee.
User avatar
curmudgeon

#11: Post by curmudgeon »

TomC wrote:Marinate on it and if/when you feel like proceeding, just put a post in the Buy & Sell forum. We/I don't mind small scale folks putting threads together to discuss an idea or project. If you get serious about it you're welcome to post here as well with an "Interest check" and just direct folks to PM you.
Good to know; Thanks!

Waiting on the few extra pieces to arrive that I didn't have laying around. Hand-wiring should begin in earnest this weekend. Hooray! :)

User avatar
AssafL

#12: Post by AssafL »

A nice addition would be haptic feedback in the keyboard to let you know Artisan received and accepted the command.

Then you don't need to look at the screen.
Scraping away (slowly) at the tyranny of biases and dogma.
★ Helpful

User avatar
curmudgeon

#13: Post by curmudgeon » replying to AssafL »

I'm not sure how I'd accomplish that offhand, but I know Artisan has a ton of I/O capabilities, so I'm sure it's possible - perhaps through 'Alarm' -> 'Call Program', and then have a script that lights an LED or sounds a buzzer...?

------------------

I didn't get anything of note done on the project this weekend; my roof decided to aerate itself (unbeknownst to me) during a windstorm a few weeks ago, and the 2+" of snow we just got this morning made an unexpected entrance into the attic. Word to the wise: saturated plaster and lath ceilings quickly become a mess when confronted with a recip saw...

User avatar
AssafL

#14: Post by AssafL »

curmudgeon wrote:I'm not sure how I'd accomplish that offhand, but I know Artisan has a ton of I/O capabilities, so I'm sure it's possible - perhaps through 'Alarm' -> 'Call Program', and then have a script that lights an LED or sounds a buzzer...?
Or, we can add a beep from the computer (probably easier). Or even auditory feedback "heater on" "dry phase finished". To ensure the key press registered.
Scraping away (slowly) at the tyranny of biases and dogma.

User avatar
curmudgeon

#15: Post by curmudgeon »

Finally got around to snipping some wire and soldering last night. Kids, holidays, roasting... many things got in the way. To save pins on the micro controller, common practice is to create a key switch matrix - I've got 3 rows and 13 columns, so I'll need 16 pins. Compare that with having a (+) and (-) for each of the 30 keys (60 pins needed), and it allows for a controller with a much smaller footprint. Next up, soldering in the diodes.

Edit: Images don't seem to be loading. I'll work on that.

Edit 2: Images work now.

Column wires
Image


Tee. Dee. Us! Soldering on all the column wires took the better part of an hour. Don't mind the case scarring from careless use of the soldering iron.
Image

User avatar
curmudgeon

#16: Post by curmudgeon »

Got the diodes soldered in, and slightly more than half of the column wires last night. Just a few column wires, 3 row wires, solder the matrix to the microcontroller, pack it all up nice, flash the .hex file, and should be time to test! Fingers crossed for this weekend!

Image

User avatar
AssafL

#17: Post by AssafL »

The phalanx of 1N4148's is lined up and ready for your command!
Scraping away (slowly) at the tyranny of biases and dogma.

User avatar
curmudgeon

#18: Post by curmudgeon » replying to AssafL »

This is my first hand wire, so hopefully they obey!

User avatar
Chert
Supporter ♡

#19: Post by Chert »

curmudgeon wrote:Playing around today while roasting, I found that pressing Q, W, E, or R indicated Air, Drum, Damper, Burner respectively. If you were to type an integer after that number, the system reads that in as a percentage value of the aforementioned variables and inputs it just as if I pressed an event button. Is there documentation of this behavior anywhere? Like I said above, my searches yielded nothing.
.

Thanks so much for noticing and posting. I clicked the thumbs up yesterday with intent to look into that. The 'Keyboard shortcuts' mentions the feature. For mine W sets my gas slider and R sets my Air speed and actuates the serial command I have for my SSR to AC fan. I was very pleased to have that additional capability.

I enjoy seeing your project unfold as well.
LMWDP #198

User avatar
curmudgeon

#20: Post by curmudgeon »

I hit a bit of a wall. Everything is soldered up and in place, but I can't get my computer to recognize the pro micros I bought. The .hex file is built and ready to flash, I just can't flash it!

When I plug it in to the computer, the red power LED lights up, but no Tx/Rx lights, and the computer doesn't act like I plugged anything in. I'm thinking it may be a bootloader issue, but I've never tried burning my own bootloader (although I have a raspi that apparently can do the trick). More research is necessary!