Skip to content

Commit b440256

Browse files
authored
Merge pull request #19 from BIRDSOpenSource/main
updating development branch
2 parents 59d104e + aba8cdb commit b440256

9 files changed

+478
-4
lines changed

_site/about/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

_site/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

how-tos/assemble_access_board.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: How to Assemble the Access Board
3+
nav_order:
4+
parent: How-to guides
5+
layout: default
6+
lang: en
7+
---
8+
9+
# Assembling the Access Board
10+
11+
## Overview
12+
13+
This guide explains how to assemble the Access Board, including crimping wires, soldering components, and final assembly.
14+
15+
## Before You Start
16+
17+
Before assembling the Access Board, ensure you have:
18+
19+
* **Tools:**
20+
* Wire crimping tool
21+
* Soldering iron and solder
22+
* Wire strippers
23+
* Multimeter
24+
* Tweezers
25+
* Screwdrivers (if applicable)
26+
27+
* **Materials:**
28+
* Access Board PCB
29+
* Connectors
30+
* Wires (specified gauge and type)
31+
* Headers and pins
32+
* Resistors, capacitors, and other required components
33+
* Heat shrink tubing (optional for insulation)
34+
35+
## 1. Preparing the Components
36+
37+
1.1. Gather all components listed in the BOM (Bill of Materials).
38+
1.2. Verify that all components are undamaged and match the required specifications.
39+
1.3. Arrange components in an organized manner for easy access during assembly.
40+
41+
## 2. Crimping Wires and Attaching Connectors
42+
43+
2.1. Measure and cut wires according to the specified lengths.
44+
2.2. Strip approximately 2-3mm of insulation from each wire end.
45+
2.3. Insert stripped wire ends into the connector pins.
46+
2.4. Use the crimping tool to securely crimp the connectors onto the wires.
47+
2.5. Verify the integrity of the crimp by gently pulling on the wire.
48+
49+
## 3. Soldering Components to the PCB
50+
51+
3.1. Place resistors, capacitors, and other passive components onto the designated pads.
52+
3.2. Secure components by bending leads slightly if necessary.
53+
3.3. Heat the soldering iron to the appropriate temperature (~350°C for leaded solder, ~400°C for lead-free solder).
54+
3.4. Apply solder to each pad, ensuring a strong connection without excessive solder.
55+
3.5. Trim excess component leads with wire cutters.
56+
57+
## 4. Attaching Headers and Connectors
58+
59+
4.1. Insert headers into the corresponding slots on the PCB.
60+
4.2. Solder each pin carefully, ensuring no bridges or cold joints.
61+
4.3. Inspect all connections with a magnifying glass or microscope.
62+
4.4. Use a multimeter to check for continuity and correct placement.
63+
64+
## 5. Final Assembly and Testing
65+
66+
5.1. Connect all crimped wires to the designated headers or connectors.
67+
5.2. Secure any loose wires using heat shrink tubing or zip ties.
68+
5.3. Power up the board with a regulated power source and check for voltage at key points.
69+
5.4. Perform a basic functionality test according to system requirements.
70+
71+
## See Also
72+
73+
* [Assembling the Programming Board](assembling_programming_board.md)
74+
* [Assembling the Access Cable](assembling_access_cable.md)
75+
* [Flashing the Firmware](flashing_firmware.md)
76+
77+
[Previous]({{site.url}}/how-tos){: .btn .btn-purple }
78+
[Next]({{site.url}}/how-tos){: .btn}

how-tos/assemble_access_cable.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: How to Assemble the Access Cable
3+
nav_order:
4+
parent: How-to guides
5+
layout: default
6+
lang: en
7+
---
8+
9+
10+
# Assembling the Access Cable
11+
12+
## Overview
13+
This guide explains how to assemble the access cable, including crimping wires, soldering, securing with Araldite, and verifying connections.
14+
15+
## Before You Start
16+
Before assembling the access cable, ensure you have:
17+
18+
* Crimping tool
19+
* Soldering iron and solder
20+
* Heat shrink tubing
21+
* Araldite epoxy
22+
* Multimeter for continuity checks
23+
* Wire stripper and cutter
24+
* Required connectors and wires
25+
26+
## Steps
27+
28+
1. **Prepare the Wires**
29+
- Cut wires to the required length.
30+
- Strip the insulation at the ends using a wire stripper.
31+
32+
2. **Crimp the Connectors**
33+
- Insert the stripped wire into the crimp terminal.
34+
- Use the crimping tool to securely fasten the connection.
35+
- Check for a firm grip by slightly pulling the wire.
36+
37+
3. **Solder the Connections**
38+
- Apply solder to each crimped terminal for extra strength and reliability.
39+
- Ensure a clean and solid solder joint.
40+
41+
4. **Secure with Heat Shrink Tubing**
42+
- Slide heat shrink tubing over each soldered connection.
43+
- Use a heat gun to shrink and insulate the connection.
44+
45+
5. **Apply Araldite for Additional Securing**
46+
- At the ends of the cable, apply Araldite epoxy to reinforce and protect the connections.
47+
- Let it cure as per the manufacturer's instructions.
48+
49+
6. **Check Connections**
50+
- Use a multimeter to check continuity after each step.
51+
- Ensure all connections are properly made before finalizing the assembly.
52+
53+
## See Also
54+
* [Assembling the Access Board](assembling_access_board.md)
55+
* [Assembling the Programming Board](assembling_programming_board.md)
56+
* [Flashing the Software](flashing_microcontroller.md)
57+
58+
59+
60+
61+
[Previous]({{site.url}}/how-tos){: .btn .btn-purple }
62+
[Next]({{site.url}}/how-tos){: .btn}

how-tos/assemble_programming_board.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: How to Assemble the Programming Board
3+
nav_order:
4+
parent: How-to guides
5+
layout: default
6+
lang: en
7+
---
8+
9+
# Assembling the Programming Board
10+
11+
## Overview
12+
This guide explains how to assemble the programming board, including crimping wires, soldering, and final assembly steps.
13+
14+
## Before You Start
15+
Before assembling the programming board, ensure you have the following:
16+
17+
* Wire crimping tool
18+
* Soldering iron and solder
19+
* Heat shrink tubing
20+
* Required connectors and wires
21+
* PCB and components
22+
* Multimeter for testing
23+
* Safety goggles and gloves
24+
25+
## Assembly Steps
26+
27+
1. **Prepare the Components**
28+
* Lay out all required components and verify their specifications.
29+
* Cut wires to the appropriate lengths for connections.
30+
31+
2. **Crimping Wires**
32+
* Strip the wire ends to expose enough conductor for crimping.
33+
* Use a crimping tool to attach the connectors securely.
34+
* Verify crimped connections for stability and conductivity.
35+
36+
3. **Soldering Components**
37+
* Position components on the PCB as per the schematic layout.
38+
* Heat the soldering iron and apply solder to each connection point.
39+
* Inspect solder joints for a clean, strong connection.
40+
41+
4. **Final Assembly**
42+
* Secure all components in place and ensure proper alignment.
43+
* Use heat shrink tubing for insulation where necessary.
44+
* Check continuity with a multimeter before powering up.
45+
46+
## See Also
47+
* [Troubleshooting Guide](#)
48+
* [Software Flashing Guide](#)
49+
50+
[Previous]({{site.url}}/how-tos){: .btn .btn-purple }
51+
[Next]({{site.url}}/how-tos){: .btn}

how-tos/compile_software.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
title: How to Compile the Software
3+
nav_order:
4+
parent: How-to guides
5+
layout: default
6+
lang: en
7+
---
8+
9+
# Compiling the Software
10+
11+
## Overview
12+
13+
This guide explains how to compile the software for the PIC18F67J94 microcontroller using PIC C CCS v5.050. Note that previous BIRDS projects have used v5.076, so compatibility differences may exist.
14+
15+
## Before you start
16+
17+
Before compiling the software, ensure:
18+
19+
* You have installed PIC C CCS v5.050 (or an alternative compatible version).
20+
* The source code is available and properly configured.
21+
* The necessary compiler settings are adjusted for your specific board.
22+
23+
## Compiling the Software
24+
25+
1. **Open the PIC C CCS Compiler**
26+
27+
Launch the CCS Compiler software and ensure your project directory is accessible.
28+
29+
2. **Load the Project File**
30+
31+
- Navigate to `File > Open Project`.
32+
- Select the `.prj` file corresponding to your board.
33+
34+
3. **Verify Compiler Settings**
35+
36+
- Ensure the correct microcontroller (`PIC18F67J94`) is selected.
37+
- Check that the compiler is set to the correct optimization and warning levels.
38+
- Confirm the include paths and library dependencies are correctly configured.
39+
40+
4. **Make Necessary Code Modifications**
41+
42+
If specific board settings need to be changed, update the following sections in the code:
43+
44+
```c
45+
// Example: Define board-specific configurations
46+
#define BOARD_VERSION "v1.0"
47+
#define USE_EXTERNAL_CLOCK 1
48+
```
49+
50+
5. **Compile the Code**
51+
52+
- Click on `Compile` or use the shortcut (`Ctrl + F9`).
53+
- The compiler will process the files and generate the necessary binaries.
54+
55+
6. **Check for Errors and Warnings**
56+
57+
- If there are errors, review the error messages and adjust the code accordingly.
58+
- Warnings should be noted but may not always require changes.
59+
60+
7. **Verify the Output Files**
61+
62+
After a successful compilation, confirm the following output files are generated:
63+
64+
- `.hex` file (for flashing onto the microcontroller)
65+
- `.lst` file (assembly listing)
66+
- `.sym` file (symbol table)
67+
68+
## See also
69+
70+
* [Flashing the Software onto the Microcontroller]({{site.url}}/how-tos/flash_microcontroller.html)
71+
* [Writing the Board-Specific Software File](writing_board_software.md)
72+
* [PIC C CCS Documentation](https://www.ccsinfo.com/)
73+
74+
75+
[Previous]({{site.url}}/how-tos){: .btn .btn-purple }
76+
[Next]({{site.url}}/how-tos/flash_microcontroller.html){: .btn}

how-tos/flash_microcontroller.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
---
2+
title: How to Flash the Software
3+
nav_order:
4+
parent: How-to guides
5+
layout: default
6+
lang: en
7+
---
8+
9+
# Flashing the Software onto the Microcontroller
10+
11+
## Overview
12+
13+
This guide explains how to flash the compiled software onto the microcontroller using MPLAB IPE v6.0 and a PICkit3 programmer.
14+
15+
> **Note:** Previous BIRDS projects may have used different versions of MPLAB IPE. Ensure that your setup is consistent with your project's requirements.
16+
17+
## Before you start
18+
19+
Before you proceed, ensure:
20+
21+
* You have MPLAB IPE v6.0 installed on your system.
22+
* You have a functioning PICkit3 programmer.
23+
* The microcontroller is properly mounted on the subsystem board.
24+
* The compiled `.hex` file is available.
25+
* The necessary connections between the PICkit3 and the board are correctly set up.
26+
27+
## Flashing the Microcontroller
28+
29+
1. **Connect the PICkit3 to the board and computer.**
30+
31+
- Plug the PICkit3 into the appropriate programming header on the subsystem board.
32+
- Connect the PICkit3 to your computer via USB.
33+
34+
2. **Launch MPLAB IPE.**
35+
36+
- Open MPLAB IPE v6.0.
37+
- In the `Device` dropdown, select the correct PIC microcontroller model (e.g., `PIC18F67J94`).
38+
39+
3. **Establish communication with the device.**
40+
41+
- Click the `Connect` button.
42+
- Verify that MPLAB IPE successfully detects the microcontroller.
43+
44+
4. **Load the compiled firmware.**
45+
46+
- Click `Browse` in the `Hex File` section.
47+
- Navigate to and select the compiled `.hex` file.
48+
49+
5. **Configure programming settings.**
50+
51+
- Ensure `Erase All Before Program` is selected.
52+
- Verify that the correct voltage settings are applied (refer to board documentation).
53+
- Disable `Code Protect` options unless needed.
54+
55+
6. **Flash the microcontroller.**
56+
57+
- Click `Program` to write the firmware to the microcontroller.
58+
- Wait for the process to complete and check for success messages in the output log.
59+
60+
7. **Verify the flashed firmware.**
61+
62+
- Click `Verify` to ensure the program was correctly written.
63+
- If verification fails, check wiring and try again.
64+
65+
8. **Disconnect and test.**
66+
67+
- Close MPLAB IPE.
68+
- Disconnect the PICkit3.
69+
- Power up the board and check if the software is functioning as expected.
70+
71+
## See also
72+
73+
* [MPLAB IPE User Guide](https://www.microchip.com/)
74+
* [PICkit3 Documentation](https://www.microchip.com/)
75+
* [Troubleshooting PICkit3 connection issues]
76+
77+
78+
79+
80+
81+
[Previous]({{site.url}}/how-tos){: .btn .btn-purple }
82+
[Next]({{site.url}}/how-tos){: .btn}

0 commit comments

Comments
 (0)