[atreus] Re: Hand-wired Atreus build with Pololu A-Star Micro. Which pins should I use for what?

  • From: Jacob Chapman <jakscoproductions@xxxxxxxxx>
  • To: atreus@xxxxxxxxxxxxx
  • Date: Wed, 19 Jul 2017 12:14:19 +0000

https://www.reddit.com/r/olkb/comments/4mlfgo/how_do_i_define_my_pinouts_for_the_keyboard/

On Wed, Jul 19, 2017, 12:18 AM Jacob Roth <jroth@xxxxxxxxx> wrote:

Ah thanks, that helps a lot.

How exactly do I change the pinout in firmware? It's not in the config.h
file. I'm planning on using the tmk firmware the README links to.

On Tue, Jul 18, 2017 at 8:52 PM, Phil Hagelberg <phil@xxxxxxxxxx> wrote:

Jacob Roth <jroth@xxxxxxxxx> writes:

I'm doing a hand-wired Atreus build, and using a Pololu A-Star Micro
like the github README says to. However, the hand-wired build
instructions it links to only provide wiring instructions for the
Teensy 2 microcontroller, not the A-Star Micro. Does anyone know what
pins on the A-Star Micro I should solder the rows and columns of a
hand-wired Atreus to?

Yeah, sure thing.

The simplest thing to do would be to follow the traces from the PCB:

You can see here that the rows are connected to PD2, PD3, PD1, and PD0:
http://gerblook.org/pcb/mXbm7pcb5TWyhe8yk5kQvg#back

The columns are PD7, PC6, PB5, PB4, and PE6 on the left, PD4 for the
middle, and PB7, PD6, PF7, PF6, and PB6 on the right (from the inside
out):
http://gerblook.org/pcb/mXbm7pcb5TWyhe8yk5kQvg#front

Of course, changing the pinout in the firmware if you get it mixed up is
very easy (especially compared to the task of hand-wiring the board) so
don't worry if you don't get it quite right.

I've attached a diagram labeling the pins just in case you don't have it.

Good luck.

-Phil



Other related posts: