Repos, Repos, Repos ...

Posted by: Dave Vandenbout 6 years, 1 month ago

(0 comments)

I wrote last month about using Upverter, and now there's a new OSHW repository on the scene: Solderpad. While Upverter is trying to provide both cloud-based design tools and a repository, Solderpad has taken a more modest path and provides only a place for you to store your designs after you've used whatever tool you want to create them. So you might ask how that's any different from just storing your design on Github. Well, in addition to the Git-based repository, Solderpad adds these capabilities:

  • You can pan-and-zoom on a multi-page schematic of a design.
  • You can pan-and-zoom on a view of the PCB of a design.
  • You can view and download a bill-of-materials (BOM) for a design. You can also click on a component in the BOM and get a bunch of information about it from Octopart, which is pretty neat.

After @tautic alerted me to the opening of Solderpad, I took the opportunity to try it by entering my OSHW XuLA FPGA board as a Solderpad project. There's the normal procedure for starting an account (although you don't need one if you're only interested in looking at designs others have entered), and then you can create an entry for each project. Along with the project title, tags, links to external documentation and description (in markdown format, which I had to learn), you also select one of about a dozen OSHW licenses to cover your design (OSHW designs are hosted for free, closed-source requires a fee, I guess).

Once you create a project, you can either clone a git repository from Solderpad, or push an existing, local repository to Solderpad. This is where I had problems. I setup my public key per Solderpad's instructions so I could SSH with their site, but I was unable to push my existing repository to Solderpad because I was asked for a password that I didn't know. After an email exchange, they quickly fixed a problem with an SSH configuration queue and things started working.

After I had my Eagle schematic and board files pushed up to Solderpad's site, I decided to generate the files needed to support schematic, PCB and BOM viewing. I printed the schematic and PCB into PDF files named schematic.pdf and board.pdf, respectively. Then I used a ULP provided by Solderpad to output my BOM in JSON format. Then, in my local project repository, I created a .solderpad subdirectory and stored the schematic.pdf, board.pdf and bom.json files in it. (The Solderpad site requires this specific directory and these file names in order to locate the information for the various viewers it provides.) But after commiting the files to my local repository, I was unable to push them to the Solderpad site. It kept telling me my repository was already up-to-date. After exchanging four emails with the Solderpad guys, they identified that I had pushed my .solderpad files to a side branch, but I was pushing my master branch (which did not include the new files) to Solderpad. Doh! After merging my branch into the master, I was able to push the new files to my Solderpad project and see my schematic, PCB and BOM online.

After using both Upverter and Solderpad, which do I prefer? Right now, I have to give the nod to Solderpad for these reasons:

  • Upverter requires me to use their online tools to enter my design. But I would like to stay with Eagle because I already have a lot of useful, pre-exisitng designs and libraries. And I don't want to learn a new schematic tool unless it offers something exceptional that radically improves my productivity. Plus, what if I'm in an area without internet connectivity? With Solderpad, I can use any design tool and libraries I want and store it on their site.
  • Upverter is still working on their schematic editor and they don't have a PCB layout editor, yet. So I can't use them to do a complete design. As I said before, Solderpad is taking a more modest approach and they are ready-to-go right now.

That said, there are a few things about Solderpad I would like to see improved:

  • It would be great if they could auto-generate the schematic, PCB and BOM files required by their viewers. I can do that locally with a script, so I assume they could do it on their server. But that might open a can of worms if they have to start supporting multiple design tools like kicad, gEDA, PADS, etc.
  • It would be nice to be able to enable/disable different layers of the PCB view so you can see details of the lower or internal layers.

Finally, there are a lot of new sites trying to be the repository for OSHW projects. That makes it hard for any one site to gather a critical mass of projects, meaning that developers have to post their projects in multiple places to reach a larger audience. And what happens to the projects when a site goes belly-up? (As will undoubtedly happen.) These problems wouldn't arise if repository sites had a way to share a single, central repository and they would just provide views into it. Solderpad seems to indicate this is possible with their site using git commit hooks. I haven't had a chance to look at this, but if it works then that's even more reason to use their service.

 

Currently unrated


Comments

  • There are currently no comments

New Comment

required
required (not published)
optional

Recent Posts

Archive

2016
2015
2014
2013
2012
2011

Categories

Authors

Feeds

RSS / Atom