Sean Hodgins
Published © CC BY-NC-SA

Pogo Pin Programmer for the HCC Module

If you are designing a small board and you're looking for a way to program it without taking up a lot of space, try making a pogo pin jig!

BeginnerShowcase (no instructions)1 hour909
Pogo Pin Programmer for the HCC Module

Things used in this project

Hardware components

01 x 05 Pin Header
×2
Pogo Spring Pin
×5
02 x 05 Box Header for Atmel ICE
×1
Button
×3
3D Printed Jig
×1
Atmel Ice Basic Kit
×1
Trinket M0
×1

Hand tools and fabrication machines

3D Printer (generic)
3D Printer (generic)
Soldering iron (generic)
Soldering iron (generic)

Story

Read more

Custom parts and enclosures

Alignment Jig

Schematics

HCC Module on Github

Navigate to demo_boards/hcc_programmer for schematics and files

Code

Button Firmware for Trinket

C/C++
/*
  Button Control for the HCC BOOT COMMANDER 

  For programming the Bootloader on the HCC Module.
  Get the HCC Module on Kickstarter Now! http://bit.ly/hccmodule

  Created by Sean Hodgins with Creative Commons License CC-BY-NC-SA-3.0
  Check out my YouTube Channel for more projects! http://youtube.com/seanhodginsfilms
*/

#include "Mouse.h"

// set pin numbers for the three buttons:

const int leftButton = 0;
const int middleButton = 1;
const int rightButton = 2;


int responseDelay = 10;     // response delay of the mouse, in ms


void setup() {

  pinMode(leftButton, INPUT_PULLUP);

  Mouse.begin();
}

void loop() {

  int clickState = digitalRead(leftButton);


  if (clickState == LOW) {
    if (!Mouse.isPressed(MOUSE_LEFT)) {
      Mouse.press(MOUSE_LEFT);
    }
  }
  else {
    if (Mouse.isPressed(MOUSE_LEFT)) {
      Mouse.release(MOUSE_LEFT);
    }
  }

  delay(responseDelay);
}

HCC Module Bootloader Programmer

Navigate to demo_boards/hcc_programmer for files related to this project.

Credits

Sean Hodgins

Sean Hodgins

22 projects • 94 followers
Just a maker who likes making.

Comments