Skip to content

Electronics_old

Barsk edited this page Dec 12, 2025 · 2 revisions

Note

This section is based on the original v2.0 hardware from Gagagu's upstream repo and is not recommended for new builds.

@PeteDDD has graciously contributed newly designed high quality circuit boards that are now recommended. These feature a new optimized design and also integrates the TCA9548 chip onboard.

Please refer to the new Electronics section.

If you have the older original Gagagu v2.0 PCBs then you may use those boards with some simple modifications of the main PCB. We do not install the 74165N chip or the ROLL_ENC connector. Instead, there are jumpers to be used be placed between some of the pads of the 74165N footprint and from some of the 74HC165N pads to the ROLL_ENC connector pads. This hotwires or re-purposes some of the connector inputs directly to the GPIO pins. This has three advantages. The code gets less complex without handling a mux, we save some bytes in the Flash ROM for other software features and we improve the speed of the code.

The Yoke PCB is used exactly as in the original project. Note that the ordering process below from Gagagu implies that the SMD (surface mount) components are mounted by the factory. This is recommended if you don't happen to have a good soldering knowledge with super small 0603 resistors and ICs. If you want to solder the Yoke board SMD components yourself lookup the Yoke PCB section of the Parts List

The ordering process part of this page is from the original Gagagu repo.

Schematics

An updated schematic for the Main PCB replaces the old where the 74HC165N through-hole component must be left out on the Main PCB. The TCA9548 I2C module uses the SDA and SCL pins from the pitch encoder header connector. The roll encoder connector is unused, except for the VCC and GND pins that are used to power to the pitch panel connector board. Please refer to the PCB images below for how this is wired. An updated schematic for the Main PCB replaces the old where the 74HC165N through-hole component must be left out on the Main PCB. The TCA9548 I2C module uses the SDA and SCL pins from the pitch encoder header connector. The roll encoder connector is unused, except for the VCC and GND pins that are used to power to the pitch panel connector board. Please refer to the PCB images below for how this is wired.

See all EasyEDA Schematic and Gerber files here

Main PCB

Main PCB

The required jumper wires are placed like this... (colors do not matter) Main board with jumpers

The microcontroller can be soldered with pin headers directly to the board, I would however recommend for easy removal of the microcontroller using female pin headers or, as in picture, a socket.

As can be seen from my example, a mix of different connectors has been used. You can even solder directly to the board but I do not recommend that since cables can sometimes break (with moving parts) and being able to easily replace them is nice. The drawback of using screw terminals is that wires can become loose. And keeping track of which wires goes in what terminal can be challenging. (Our next revision of the board will use JST-XH connectors which mate positively and are very reliable).

The rest of the components are placed and soldered. The LED (not required) is placed with the flat side and short leg to GND. The buzzer also must have the correct leg to ground (The positive terminal of the buzzer is normally marked with a '+'). The PCB has a pretty narrow pitch for the component, but it is fine to bend the legs a bit to make it fit. I used an Arduino buzzer module. There are many options as long as it is 5V and a passive model. The transistor is placed according to the layout indications.

Microcontroller reset button

The boot loader in the Arduino Pro Micro has been a bit iffy at times when uploading the firmware. This might be because the processor is busy sending data on the USB serial port all the time. However, if the microcontroller is resetted 2 times within 8 seconds the bootloader will initialize and the upload works every time.

If this happens, just solder a wire to the RST and GND pins of the Micro Pro with a button. For this I have an extra hole in the back of the casing where the Reset button goes. Reset button

Yoke PCB

The PCB (if soldering yourself) places the 16 0603 size 10K resistors on their places. The two 74HC165D smd type ICs are placed accordingly. Yoke board

Note

Take note of the orientation of the ICs (the dot).

I soldered the wires from the yoke buttons directly, but consider using connectors here as well for a better result. Yoke connector

Main cable connector

For the main cable through the yoke tube I would recommend using a connector. A standard pin header (dupont) variant works fine here.

Tip

Make the slotted hole in the yoke tube where the cable exits just large enough so you can slide this connector through for easy maintenance when needed.

Yoke connector

Wiring the yoke buttons

Please refer to the Yoke Controller section for how to wire everything!

Gagagu Order Process

I have ordered my board on JLCPCB but you can order your PCBs from where you want. The main board was ordered without assembly, only the yoke board is partially assembled, only smd parts (resistors and ICs).

Sign into the site and click "order now". Add the gerber file Gerber_FFB_Arduino_Yoke_2.0_ProMicro_PCB.zip from this GitHub repository to it.

The file will be uploaded.

I prefer to use blue boards so I had switched to blue. You can use every color you want.

Click "SAVE TO CARD" to add this board to the basket.

Upload the "Gerber_FFB_Arduino_Yoke_2.0_YokeBoard_PCB.zip" file for the YokeBoard to a new order and switch to blue color (if you like).

Enable "PCB Assembly"

Leave all settings as they are and click to "NEXT".

A board preview is shown. Click to "NEXT".

Add (upload) the Bom File "BOM_FFB_Arduino_Yoke_2.0_YokeBoard.csv"

Add (upload) the CPL file "PickAndPlace_PCB_FFB_Arduino_Yoke_2.0"

Click to "Process BOM & CPL"

All added parts are shown. These are only the IC's and Resistors. Click to "NEXT"

A preview will be shown. Click to "NEXT"

You have to add a product description. I have chosen "other" and "hobby". Click to "SAVE TO CARD".

Finish. The rest, payment and delivery is up to you and depends on your favorites and country.

Clone this wiki locally