Skip to content

Assembling FORCE

Kravitz Lab edited this page Apr 26, 2022 · 32 revisions

Assembly Instructions

  1. Order the PCB FORCE uses a custom printed circuit board (PCB) to minimize wiring and increase reliability of the electronics. The BRD file (what you use to order the PCB) is in the files area.

  2. Populate the PCV Start by soldering on all seven headers. These include:

  • two short female headers for the Adalogger (one 12 pin, one 16 pin)
  • one short female headers for each Load Cell Amplifier (5 pin)
  • one male header for the solenoid power (two pin)
  • a six pin (3 x2) header for the beeper
  • one female aux header (?) (3 pin)
  • An optional switch can be added at sw1 IMPORTANT! Solder all of these onto the BACK of the PCB, the side that says FORCE in white lettering and has no individual pin labels. Next, solder the desired number of BNC headers.
  1. Solder headers onto Adafruit breakout boards Solder male headers onto 3 Adafruit breakout boards: each Load Cell Amplifer and the Seesaw feather screen. Solder male stacking headers unto the Feather m4 Express and the Adalogger. Put the coin cell battery into the Adalogger breakout at this point. In the final device, the break out boards will be stack: PCB -> Adalogger -> Feather m4 -> Seesaw screen.
  1. Solder the load cells to the Load Cell Amp breakout boards. Each wire of the load cell should be soldered into the appropriate connection in the Load Cell Amp, indicated by color. This can be done by stripping a 1.4'' of wire and placing it through the whole, similar to a normal pin header.
  1. Assemble the sipper apparatus. The sipper apparatus consists of a solenoid, two sections of tubbing, a small metal sipper pipe, a syringe, and a syringe connector. First, cut a 5 cm section of the thin metal pipe, from which the mouse will lick. Cut the rubber tubing into one 2 cm section to connect the sipper tube to the solenoid. Cut one 3 cm section of the rubber tubing to connect the solenoid to the syringe. The solenoid consists of two parts, a thinner and taller cylinder with 2 male headers for wire connections (A) and short cylinder with a hole in the middle (B). The rubber section of cylinder A must be placed in the hole in cylinder B. Take care to align the small hole in A with the holes in B. It is a tight fit, and can be aided by wetting the rubber section slightly and bracing against a desk. A small click can be felt when the pieces are properly put together. Finally, Put the components together as shown below.
  1. Assemble the electronics. Place all boards into their respective headers. Take care that the LCA715 is placed correctly, with the half moon on the chip lined up with the half moon on the board.

  2. Download FORCE sketch and flash FFED3 Before assembling the device into the 3D housing, you should confirm that it works. Extract the latest FORCE Arduino Sketch (in the files area) and the sketch "??" to where ever you like to keep Arduino sketches (for me it's: /Documents/Arduino).

Open the FED3_SetClock_063019.ino sketch in the Arduino IDE and flash this code to the M0. You should see a message on the screen that the RTC was set correctly.

Before assembling the device, make sure the components are working by flashing the device with FORCE_RandomOut. The home screen should appear, giving you the options to set several variables. You can explore these variables in the Code Documentation tab. The program begins by pressing the joystick button. When the program is running, you can see the load cell readings and confirm they are connected. In addition, the solenoid will make a small click when its engaged.

  1. Print 3d Parts The 3d part stl files are available in the files area. It will include one main piece and one device cover.

  2. Mount PCB Board Screw the PCB board into the 3d housing using the appropriate M2 screws.

  3. Secure the sipper apparatus Slide the syringe and solenoid into the respective holders on the 3d print.

  4. Secure the load cells The load cells should be screwed in place with the appropriate M3 crews. They should be screwed snug.

  5. Glue in the front magnet

  6. Run your device. You device should be ready to go!

Clone this wiki locally