Skip to content

Repository files navigation

1Meter_PCB

Design files for the 1Meter PCB

Modification Note: DDS8888 Pulse Output

The DDS8888's CF (pulse output) pin flashes at 1200 imp/kWh (0.83 Wh per pulse). Currently only RS485 Modbus is wired, which limits energy resolution to the register's 0.01 kWh (10 Wh) steps.

The current schematic draft adds a dedicated pulse-input circuit for the next PCB revision:

  • J4: 1x2 connector for CF and GND
  • R28: 10k pull-up to +3.3V
  • R29: 0 ohm jumper in series with the CF signal
  • DDS8888_CF: net routed to ESP32-C3 GPIO4 for PCNT pulse counting

This is now being treated as a PCB revision, not just a field modification. The schematic has been updated, but the PCB layout and manufacturing outputs still need to be updated in KiCad before fabrication.

Cloning 1Meter_PCB

  1. In a terminal, go to the folder you want to put the repo

  2. Enter the following to clone the PCB project to your computer:
    git clone https://github.com/onepowerLS/1Meter_PCB.git

  3. Navigate into the project folder:
    cd 1Meter_PCB/

  4. Enter the following to pull in the kicad_libraries submodule:
    git submodule update --init --recursive --remote

  5. You should now see the following files in the project directory:

    1. kicad_libraries folder
    2. .gitignore
    3. .gitmodules
    4. 1Meter_PCB.kicad_dru
    5. 1Meter_PCB.kicad_pcb
    6. 1Meter_PCB.kicad_pro
    7. 1Meter_PCB.kicad_sch
    8. README.md
  6. If you go into the kicad_libraries directory, you should see a README and the library files

Working on 1Meter_PCB

  1. All work on 1Meter_PCB should occur in the “main” branch

  2. Before making changes, make sure to pull the latest version from github

    1. In a terminal navigate to the project folder
    2. Enter the command:
      git pull
  3. Generally work must be coordinated with collaborators such that only one person is working on the project at a time. This is different from software projects.

  4. All work should be committed and pushed to github when finished working or at the end of the day.

    1. In a terminal navigate to the project folder
    2. Commit any changes with the command:
      git commit -m”<Enter your commit message here>”
    3. Push the project to github:
      git push
    4. Send email or message to the team that it’s free to work on

Custom Libraries and Making Changes to kicad_libraries

All 1PWR custom libraries should be stored in the github repo kicad_libraries.

Since kicad_libraries is a repository, you need to make sure you update it from its latest branch and not the 1Meter_PCB project.

  1. In a terminal navigate to a folder where you want to work on the kicad_libraries repo

  2. Clone the kicad_libraries repo:
    git clone https://github.com/onepowerLS/kicad_libraries.git

  3. If the library is already on your machine, use git pull to get the latest on “main”

  4. Edit the library files (symbols and footprints) in Kicad. Make sure you close any Kicad projects before creating new libraries.

  5. Commit your changes adding any new library files

  6. Push changes to the github repo

  7. Go to the 1Meter_PCB project and update the submodules to use the new library edits in the PCB project

    1. In a terminal navigate to the 1Meter_PCB project
    2. Run the following command to pull in the latest submodule changes:
      git submodule update --recursive --remote
    3. Run the following to commit the new submodule update:
      git add kicad_libraries/
    4. git commit -m”Updated to latest kicad_libraries”
    5. git push

About

Design files for the 1Meter PCB

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors