News for hackers. Stuff that matters.
Re:Fritzing is an open-source electronic design tool by halotrope on Monday May 02, 2022 @10:31AM (#31235605)
If fritzing gets #1 spot on HN I would like to wholeheartedly recommend https://www.kicad.org/ as well. IMHO much saner workflow and good UX in the latest version.I did a simple PCB and got it manufactured on https://jlcpcb.com/ for a couple bucks. Quite a rewarding experience.

I would also suggest that anyone who cares about computers gets to know basic electronics. How do transistors work, what is a bus (e.g I2C or SPI) and how is it all connected? (Drumroll ... a PCB of course). There is a ton of tutorials on youtube that do it end to end. E.g Phils Lab https://www.youtube.com/watch?v=rLDqQ2L_mUQ for a PCB design. Or Ben Eaters excellent beginner tutorial "Hello World from Scratch" https://www.youtube.com/watch?v=LnzuMJLZRdU

Re:Fritzing is an open-source electronic design tool by cybrox on Monday May 02, 2022 @10:39AM (#31235698)
I would actually urge anyone to check out KiCAD instead, not just as well.

The only merit Fritzings has against a thriving open ecosystem such as KiCAD is its dumbed down interface that would make it more accessible to beginners. However, if you want to use it without paying €8, you have to compile it from source, which makes this whole point mute.

Re:Fritzing is an open-source electronic design tool by crispyambulance on Monday May 02, 2022 @01:17PM (#31237974)
Yes, KiCAD is the best if you're a beginner, want something free, and actually intend to go through the (considerable) effort of designing a PCB and have it fabricated for real. You can do complex designs and take advantage of really nice features and rule-checks. It's very much an 80% solution to a hard problem and more than enough for hobbyists.

For paid/non-free, some of Altium's offerings would be the next step up, along with Fusion-360. I haven't tried Fusion-360 ECAD. I do know that Autodesk bought Eagle, but it's not clear to me if Fusion-360 is using Eagle for schematic capture and PCB?

After that, it's big-boy tools like mentor or cadence. These are overkill for hobbyists unless the man is paying for your seat.

Re:Fritzing is an open-source electronic design tool by larsrc on Monday May 02, 2022 @05:21PM (#31241094)
As a rank beginner, I was able to use Fritzing to design and get printed a simple board (~10 elements) with little effort. Yes, for anything more complex I would want to invest the time in learning a more powerful tool, but KICAD is more the next step than "the best if you're a beginner".
Re:Fritzing is an open-source electronic design tool by userbinator on Monday May 02, 2022 @09:26PM (#31243245)
After that, it's big-boy tools like mentor or cadence. These are overkill for hobbyists unless the man is paying for your seat.

I've heard that the really expensive EDA tools are like Adobe Photoshop --- everyone experimenting/learning tends to just pirate them, and then end up at a company which does pay for them.

Re:Fritzing is an open-source electronic design tool by dymk on Monday May 02, 2022 @03:14PM (#31239514)
Fusion 360 can import the 3D model of a populated PCB from Eagle, but has no EDA capabilities on its own.
Re:Fritzing is an open-source electronic design tool by OJFord on Tuesday May 03, 2022 @05:54AM (#31246468)
Re:Fritzing is an open-source electronic design tool by crispyambulance on Tuesday May 03, 2022 @09:10AM (#31247821)
Yeah, it looks really tempting to have seamless electronics/PCB + mechanical CAD tool. I was wondering if anyone had some experience they could share with producing PCB's using the Fusion-360 toolchain.

I've used it for mechanical and I found it extremely polished and intuitive and totally worth the subscription for that alone, but I have neither the time nor project (yet) to go down the rabbit hole of learning the ECAD functions of Fusion-360.

Re:Fritzing is an open-source electronic design tool by janoc on Monday May 02, 2022 @10:54AM (#31235872)
The problem with Fritzing is that it is so much "dumbed down" that it is mostly useless. It doesn't even enforce basic design constraints such as having the PCB traces horizontal/vertical/45deg angle or clearances.

And good luck with creating your own components!

Re:Fritzing is an open-source electronic design tool by noasaservice on Monday May 02, 2022 @01:48PM (#31238393)
Well, to be fair, the 0/45/90 deg traces are a byproduct from early days of EDA CAD products. Aside high frequency busses (which you're doing EM analysis on anyways), traces can be all sorts of shapes. That 3v3 or 5v line can have 135deg traces - they might be ugly, but they're very doable. This is a case where early electronic CAD turned into a cargo-cult.

Prior to the early computing CAD days, the traces were really rounded and flowing, and had teardrop fills. They were also done freehand, with transparencies, markers, and tape.

This is a good example of hand-designed boards: https://www.worthpoint.com/worthopedia/vtg-early-1970s-ampex...

Re:Fritzing is an open-source electronic design tool by bsder on Monday May 02, 2022 @06:17PM (#31241735)
> Well, to be fair, the 0/45/90 deg traces are a byproduct from early days of EDA CAD products. Aside high frequency busses (which you're doing EM analysis on anyways), traces can be all sorts of shapes.

The constraint is still there. Curved traces make your GUI ridiculously unmanageable. Ever tried to manipulate font outlines? It's like that on a PCB, only an order of magnitude worse. You have to operate control points for every single segment rather than just dragging a trace. All for effectively no benefit on 99.9% of all PCB designs.

In fact, the only good argument for using non-Euclidean traces is in the ultra-high-speed arena (think DDR4 bus or multi-GHz RF). If traces are small enough that they fit between the PCB weave, different traces can have enough difference in electrical permittivity that it will screw up the matching (trace 1 has an FR-4 fiber directly underneath while trace 2 only has cross fibers underneath and so has about 50% air underneath instead of 100% fiberglass). Consequently, you have to swing the angles to weird things like multiples of 7 or 13 degrees to prevent that.

Re:Fritzing is an open-source electronic design tool by stn8188 on Monday May 02, 2022 @09:02PM (#31243075)
The premise of your comment is excellent - the fiber weave effect you describe is not often considered although the two dielectric materials contained are glass bundles and resin (instead of air). I would highly recommend Bert Simonovich's publications for anyone interested in more ([1] for example). It's worth noting that DDR4 isn't really fast enough to consider "non-Euclidean" traces, though when it comes to the weave you should always be working with your fabricator to use mechanically spread glass adjacent to these high speed signals.

For anyone with more questions in this area of high speed digital design, feel free to reach out to me (contact info in profile) - I love the topic.

[1] https://blog.lamsimenterprises.com/2011/01/08/fiber-weave-ef...

Re:Fritzing is an open-source electronic design tool by bsder on Monday May 02, 2022 @10:04PM (#31243579)
Whoops. You are totally correct. It is resin and not air. I completely spaced on that.
Re:Fritzing is an open-source electronic design tool by userbinator on Monday May 02, 2022 @09:24PM (#31243230)
The other good argument is when designing FPCs (flexible PCBs) --- where gentle curves reduce stress concentrations that can cause cracking and delamination.
Re:Fritzing is an open-source electronic design tool by naraic0o on Monday May 02, 2022 @03:37PM (#31239809)
mitxela did a great video on this topic recently and wrote a plugin for kicad to make the regular geometric layouts more organic.

https://www.youtube.com/watch?v=euJgtLcWWyo

Re:Fritzing is an open-source electronic design tool by cptskippy on Monday May 02, 2022 @11:27AM (#31236372)
> its dumbed down interface that would make it more accessible to beginners.

I guess it depends on who you are, but I tried it and noped away in under 30 minutes. I understand how this might be a valuable learning tool in a classroom environment, but the restrictions it has around components and design are too much for a hobbyist experimenting.

> which makes this whole point mute.

moot

Re:Fritzing is an open-source electronic design tool by jeroenhd on Monday May 02, 2022 @12:01PM (#31236901)
I can't say much about its usability, but you don't need to pay to download Fritzing if you're on Linux (or Windows with WSL) because it's available for free in the usual places (https://flathub.org/apps/details/org.fritzing.Fritzing, https://packages.ubuntu.com/jammy/fritzing, https://aur.archlinux.org/packages/fritzing). You only have to pay if you download the official distribution version.
Re:Fritzing is an open-source electronic design tool by em3rgent0rdr on Monday May 02, 2022 @04:49PM (#31240741)
Another merit of Fritzing is the integrated breadboard layout, linked with the schematic. Often I want to try the design out with a breadboard with DIP chips to see how things work, and also to provide a breadboard layout for people that don't want to order a PCB.
Re:Fritzing is an open-source electronic design tool by cwillu on Monday May 02, 2022 @02:06PM (#31238613)
FWIW, the point is moot, not mute.
Re:Fritzing is an open-source electronic design tool by brk on Monday May 02, 2022 @02:13PM (#31238710)
I think you mean a moo point? https://www.youtube.com/watch?v=fLwYpSCrlHU
Re:Fritzing is an open-source electronic design tool by cwillu on Monday May 02, 2022 @02:23PM (#31238835)
Mu.
Re:Fritzing is an open-source electronic design tool by dylan604 on Monday May 02, 2022 @03:42PM (#31239870)
Tau you very much
Re:Fritzing is an open-source electronic design tool by vpribish on Monday May 02, 2022 @03:29PM (#31239694)
if you tell them then it stops being a useful indicator
Re:Fritzing is an open-source electronic design tool by caslon on Monday May 02, 2022 @12:44PM (#31237501)
Compilation is easy, and there's really not that much common ground between CAD and knowing the rote actions to compile something. I wouldn't even say there's a lot of common ground between programming and CAD.
Re:Fritzing is an open-source electronic design tool by sschueller on Monday May 02, 2022 @11:02AM (#31235976)
Even better is that with kicad you can fully automate fab outputs via CI pipeline for example in gitlab. I have my projects run ERC and DRC then if they pass, gerbers for JLCPCB, BOM (with parts #s for LCSC) and placement for assembly as well as an interactive BOM are generated.
Re:Fritzing is an open-source electronic design tool by mch82 on Monday May 02, 2022 @11:51AM (#31236740)
Is there a good tutorial for setting up a pipeline like you’ve described using? Really cool!
Re:Fritzing is an open-source electronic design tool by sschueller on Monday May 02, 2022 @12:03PM (#31236936)
I gathered my setup from a few sources but the main one is https://github.com/INTI-CMNB/kicad_auto and https://github.com/INTI-CMNB/KiBot . Here is my current setup for gitlab:

When adding components, add "LCSC" to overall schematic (BOM export will fail if added to each part separately (join issue)) and the part number in each part in order to use the JLCPCB assembly service. Only parts with LCSC column are exported in the JLCPCB BOMs.

.gitlab-ci.yml

  ...
  tests:
    image: setsoft/kicad_auto:dev_k6
    stage: testing
    script:
      - "[ -f *.kicad_pcb ] && kibot -c test.kibot.yaml"
    tags:
      - docker

  pcb_outputs:
    image: setsoft/kicad_auto:dev_k6
    stage: gen_fab
    script:
      - "[ -f *.kicad_pcb ] && kibot -c output.kibot.yaml"
    only:
      refs:
      - master
    artifacts:
      when: always
      paths:
        - Fabrication/
    tags:
      - docker
  ...
test.kibot.yaml

  kibot:
    version: 1

  preflight:
    run_erc: false
    update_xml: false
    run_drc: true
    check_zone_fills: true
    ignore_unconnected: false
output.kibot.yaml

  # Gerber and drill files for JLCPCB, without stencil
  # URL: https://jlcpcb.com/
  kibot:
    version: 1

  filters:
    - name: only_jlc_parts
      comment: 'Only parts with JLC (LCSC) code'
      type: generic
      include_only:
        - column: 'LCSC'
          regex: '^C\d+'

  variants:
    - name: rotated
      comment: 'Just a place holder for the rotation filter'
      type: kibom
      variant: rotated
      pre_transform: _rot_footprint

  outputs:
    - name: JLCPCB_gerbers
      comment: Gerbers compatible with JLCPCB
      type: gerber
      dir: JLCPCB
      options: &gerber_options
        exclude_edge_layer: true
        exclude_pads_from_silkscreen: true
        plot_sheet_reference: false
        plot_footprint_refs: true
        plot_footprint_values: false
        force_plot_invisible_refs_vals: false
        tent_vias: true
        use_protel_extensions: true
        create_gerber_job_file: false
        disable_aperture_macros: true
        gerber_precision: 4.6
        use_gerber_x2_attributes: false
        use_gerber_net_attributes: false
        line_width: 0.1
        subtract_mask_from_silk: true
      layers:
        # Note: a more generic approach is to use 'copper' but then the filenames
        # are slightly different.
        - F.Cu
        - B.Cu
        - F.Paste
        - B.Paste
        - F.SilkS
        - B.SilkS
        - F.Mask
        - B.Mask
        - Edge.Cuts

    - name: JLCPCB_drill
      comment: Drill files compatible with JLCPCB
      type: excellon
      dir: JLCPCB
      options:
        pth_and_npth_single_file: false
        pth_id: '-PTH'
        npth_id: '-NPTH'
        metric_units: false
        output: "%f%i.%x"

    - name: JLCPCB
      comment: ZIP file for JLCPCB
      type: compress
      dir: Fabrication/JLCPCB
      options:
        files:
          - from_output: JLCPCB_gerbers
            dest: /
          - from_output: JLCPCB_drill
            dest: /

    - name: ibom
      comment: Interactive BOM
      type: ibom 
      dir: Fabrication/ibom
      options:
        dark_mode: true

    - name: 'JLCPCB_position'
      comment: "Pick and place file, JLCPCB style"
      type: position
      dir: Fabrication/JLCPCB-BOM
      options:
        variant: rotated
        output: '%f_cpl_jlc.%x'
        format: CSV
        units: millimeters
        separate_files_for_front_and_back: false
        only_smd: true
        columns:
          - id: Ref
            name: Designator
          - Val
          - Package
          - id: PosX
            name: "Mid X"
          - id: PosY
            name: "Mid Y"
          - id: Rot
            name: Rotation
          - id: Side
            name: Layer

    - name: 'JLCPCB_bom'
      comment: "BoM for JLCPCB"
      type: bom
      dir: Fabrication/JLCPCB-BOM    
      options:
        output: '%f_%i_jlc.%x'
        exclude_filter: 'only_jlc_parts'
        ref_separator: ','
        columns:
          - field: Value
            name: Comment
          - field: References
            name: Designator
          - Footprint
          - field: 'LCSC'
            name: 'LCSC part number'
        csv:
          hide_pcb_info: true
          hide_stats_info: true
          quote_all: true*
Re:Fritzing is an open-source electronic design tool by mch82 on Wednesday May 04, 2022 @08:40AM (#31259611)
Neat!
Re:Fritzing is an open-source electronic design tool by Hewitt87 on Monday May 02, 2022 @10:58AM (#31235938)
While we're sharing our favourite open source EDA tools, HorizonEDA deserves a lot more love and attention.

https://horizon-eda.org/

Re:Fritzing is an open-source electronic design tool by phkahler on Monday May 02, 2022 @12:00PM (#31236887)
>> While we're sharing our favourite open source EDA tools, HorizonEDA deserves a lot more love and attention

My impression is that Horizon-EDA is well worth following, but not as far along as KiCAD. It's a nice second option that some people prefer.

Re:Fritzing is an open-source electronic design tool by IshKebab on Monday May 02, 2022 @12:55PM (#31237664)
Unless you really need some really advanced KiCAD features then Horizon is far far more usable. Night and day.
Re:Fritzing is an open-source electronic design tool by phkahler on Monday May 02, 2022 @02:10PM (#31238667)
I'm just happy to say you can now use SolveSpace to create STEP models of components for either one: https://solvespace.com/index.pl
Re:Fritzing is an open-source electronic design tool by ThrowawayIP on Monday May 02, 2022 @12:17PM (#31237131)
The Pool concept of horizon is very interesting. Libraries & Library Management are absolutely the worst part of EDA/E-CAD. I wonder where the Return on Invested time happens for this concept.
Re:Fritzing is an open-source electronic design tool by 127 on Monday May 02, 2022 @09:26PM (#31243248)
I have only had good experiences so far on JLCPCB. I can very much recommend. Quality boards for very cheap, plus you can actually get the parts pre-assembled if they have them in their catalog (most common parts should be there) It's weird to "shill" for a company but I'm very happy that they exist, and hope they and companies like them continue to exist.

Plus Kicad is cool ;)

Re:Fritzing is an open-source electronic design tool by rock_hard on Monday May 02, 2022 @11:15AM (#31236207)
Also plugging https://flux.ai in this context

It’s a modern take on electronics design with slick UX

Comes with a free tier as well as paid

Software engineers here are gonna love that components in flux are fully programmable from schematic/PCB all the way down to simulator models

Re:Fritzing is an open-source electronic design tool by scoutt on Monday May 02, 2022 @11:44AM (#31236635)
It's truly interestering. We considered it, and we didn't like it. It seems something born to be "vendor lock-in" plus the fact that it looks super volatile (a bad combination). We are sure that our current EDA tools will at least stick around for a while.

And it's browser based. Opening any of the examples on the main page with firefox lifted up my PC like a hovercraft by the way the fans started to spin, with several seconds delay for any interaction (on a PC that's capable of running Altium and Orcad).

PS: I love the animation on the main page and how the mechanical engineer has no idea on what's going on!

Re:Fritzing is an open-source electronic design tool by built_with_flux on Monday May 02, 2022 @01:06PM (#31237837)
Thanks for the love everyone!

Yeah, performance is on our radar now that the core product is mature enough to manufacture boards. Our goal is to get 200 component projects to work well on a regular 2017 generation machine and get to 1000 by end of year.

About vendor lock-in: we def don't want to lock anyone in...so data portability is big focus and we have import/export support for kicad and other formats like STL or Collada already. Planning to add support for Netlists, Altium, Eagle, etc too as well as a REST API.

You can also export your project as a json file today

Re:Fritzing is an open-source electronic design tool by m_kos on Monday May 02, 2022 @08:22PM (#31242821)
Would you mind sharing how long the queue for your Beta is? I signed up a few weeks ago, but haven't heard back from Flux yet.
Re:Fritzing is an open-source electronic design tool by bmitc on Monday May 02, 2022 @03:22PM (#31239604)
Any plans to make a standalone desktop app?
Re:Fritzing is an open-source electronic design tool by built_with_flux on Monday May 02, 2022 @03:52PM (#31240025)
Depends on your definition of "standalone"

Ultimately the power of flux is connectedness the collaboration that enables but we do plan to ship a standalone app that's unbundled from your web browser in parallel to the web version.

We also have plans to offer some amount of offline capabilities so solve for use cases such as being on a airplane.

Re:Fritzing is an open-source electronic design tool by uuyi on Monday May 02, 2022 @03:20PM (#31239588)
Good points there about longevity. If you're doing any EDA work you need to drag the EDA product through the lifecycle of the design. I have seen whole computers with OrCAD for MSDOS dragged along with a product just so the toolchain didn't get shafted.
Re:Fritzing is an open-source electronic design tool by dylan604 on Monday May 02, 2022 @03:48PM (#31239961)
Isn't that what Docker was made for? [0]

Dev1: It works on my machine!

Dev2: Great, we'll ship your machine!

[0] https://lescinskas.lt/assets/img/posts/2019/docker-works-on-...

Re:Fritzing is an open-source electronic design tool by basilskral on Thursday May 05, 2022 @04:20AM (#31270899)
I'm using Altium as my major tool for professional electronic design but I looking for something LESS expensive. And I've already done one paid project on Flux.ai. If you beginner in electronics I recommend you invest your time in something progressive like Flux rather than KiCAD or EAGLE. Yes, KiCAD and EAGLE are good tools and you will still find a lot of projects for a few years before they become complete dinosaurs but at some point, you will hate working in them(oh, gods, how I hate EAGLE, sorry for everyone who loves it)
Re:Fritzing is an open-source electronic design tool by jbarrozo on Monday May 02, 2022 @01:09PM (#31237869)
This is the future of hardware! Made couple of boards already.
Re:Fritzing is an open-source electronic design tool by johnrain1974 on Thursday May 05, 2022 @08:23AM (#31272431)
I joined the beta about 6 months ago and these guys develop fast. When I just signed in there was no PCB at all and now a bunch of people made their PCBs in Flux and even assembly. Definitely worth to at least trying this tool.
Re:Fritzing is an open-source electronic design tool by by_Seeing on Monday May 02, 2022 @11:24AM (#31236335)
Was going to recommend the same
Re:Fritzing is an open-source electronic design tool by ComradeUlyanov on Monday May 02, 2022 @10:42AM (#31235728)
is librepcb any good?
Re:Fritzing is an open-source electronic design tool by goodpoint on Monday May 02, 2022 @02:51PM (#31239237)
Re:Fritzing is an open-source electronic design tool by SwishyTaco4 on Monday May 02, 2022 @10:56AM (#31235904)
While we're sharing our favourite open source EDA tools, HorizonEDA deserves a lot more love and attention.
Re:Fritzing is an open-source electronic design tool by de6u99er on Monday May 02, 2022 @02:27PM (#31238886)
KICAD reminds me a lot of PICAD which I used when doing my electronics engineering degree.
Re:Fritzing is an open-source electronic design tool by memorable on Monday May 02, 2022 @10:38AM (#31235691)
It does.
Re:Fritzing is an open-source electronic design tool by throwmeariver1 on Monday May 02, 2022 @10:53AM (#31235861)
... for the reading folks "Electronics Explained" by Louis E. Frenzel, Jr. Is probably the best book for a general knowledge buff up.