free-pdk / easy-pdk-programmer-hardware

Easy PDK programmer for PADAUK microcontroller. EDA, schematic, gerber, bom, housing stl, firmware
Creative Commons Attribution Share Alike 4.0 International
177 stars 33 forks source link

Should the design be easy to get via JLCPCB (and distribution in the EU be feasible)? #15

Open spth opened 4 years ago

spth commented 4 years ago

AFAIK, the design uses a lot of components from LCSC. LCSC cooperates with JLCPCB for board making and assembly. While JLCPCB is willing to add some LCSC parts on request, however JLCPCB explicitly does not support connectors (they say connectors interfere with their approach of doing assembly before depanelization).

This makes the following option attractive:

This has the added advantage of making it possible to sell the device as a kit in Europe: In the EU, it is practically illegal for private individuals and small companies to make electronic devices to sell or give away fro free (WEEE Directive). However, AFAIK, it is still legal to sell kits that require substantial assembly, such as soldering.

At first sight, it seems the only change required would be to use a through-hole USB connector.

cpldcpu commented 4 years ago

I like the idea of the trough hole usb connector. Jlcpb is not able to mount any usb connector so some solution is needed anyways. It would be a huge usb-a Plug though. No usb-c socket available in that

On Mon 25. May 2020 at 08:16, Philipp Klaus Krause notifications@github.com wrote:

AFAIK, the design uses a lot of components from LCSC. LCSC cooperates with JLCPCB for board making and assembly. While JLCPCB is willing to add some LCSC parts on request, however JLCPCB explicitly does not support connectors (they say connectors interfere with their approach of doing assembly before depanelization).

This makes the following option attractive:

  • Have the connectors as through-hole components to make them relatively easy to hand-solder.
  • Make the rest of the design orderable at JLCPCB

This has the added advantage of making it possible to sell the device as a kit in Europe: In the EU, it is practically illegal for private individuals and small companies to make electronic devices to sell or give away fro free (WEEE Directive). However, AFAIK, it is still legal to sell kits that require substantial assembly, such as soldering.

At first sight, it seems the only change required would be to use a through-hole USB connector.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/free-pdk/easy-pdk-programmer-hardware/issues/15, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7FVBTDVLDMVIMFZIGAOY3RTIELXANCNFSM4NJICR2A .

cpldcpu commented 4 years ago

Another component that is bizarrely missing from jlcpcbs catalogue is a proper power inductor, btw.

spth commented 4 years ago

I have been in contact with JLCPCB, and they are willing to add LCSC surface-mount parts on request to their catalogue (their long term goal is to have them all anyway), with the exception of connectors.

cpldcpu commented 4 years ago

Yes, but most components will stay as "extended", which means there is an additional set up fee. It makes a lot of sense to redesign to only use "basic" components. So far that works, the only extended component is the MCU.

spth commented 4 years ago

I guess a set up fee is not a big deal as long as it doesn't affect too many components. Do you know how much the setup fee per part is.

cpldcpu commented 4 years ago

It's $3.00. Does not sound much, but consider that they will assemble a maximum of 5 boards. So each board will be $0.60 more expensive for every non-basic part that is used.

cpldcpu commented 4 years ago

But it's not an issue, since the "lite" design (see EEV forum) is only based on "basic" components.

spth commented 4 years ago

It's $3.00. Does not sound much, but consider that they will assemble a maximum of 5 boards. So each board will be $0.60 more expensive for every non-basic part that is used.

I just checked their website. It seems the limit has been raised to 50 boards. And for those wanting to go over the limit, they recommend panelizing the design (I guess they would then assemble 50 panels). Seems enough for now.

cpldcpu commented 4 years ago

Well, I frequently use their service and two weeks ago it was still limited to 5 for discounted orders. Panelizing is something that would help, but easyeda does not support panelizing of the component placement. It's rather weird really. A workaround would be going to the KiCAD design.

maartenbrock commented 4 years ago

When the connectors are left out, there is exactly one through-hole component left: the crystal. Would it not be prudent to replace that by an SMD variant then?

cpldcpu commented 4 years ago

There are also the header for the programming, which is through hole.

The crystal is optional anyways, since the MCU is able to synchronize from USB.

freepdk commented 4 years ago

@cpldcpu

In case this needs to be identified as a board variant (which I think might not be required) it would be a good idea to connect one of the unused STM32 pins (e.g. choose one from PB8-PB15) to GND. This would make it possible to identify this hardware variant in the firmware and to handle things different in case it's needed.

cpldcpu commented 4 years ago

In case this needs to be identified as a board variant

I conntected PB8 to GND in the design. I posted a changelog in the EEVblog thread. We should probably create a list of board variants with ID codes somewhere. But I want to test the version first.

kasbah commented 3 years ago

I'd be interested to help organise a group-buy of a JLC assembled PCB through kitspace.org. We have just begun testing the waters of a group-buying functionality (https://github.com/kitspace/kitspace-v2/pull/13).

We deployed a basic shop, which, for now, is just has a straight-forward "buy it now" of components for my friend's workshop. But we are able to take payment, take care of shipping everything out internationally, etc.

If we can gather all the required info together, agree on how any profit needs to be shared, etc. I can set up a page where people can register interest and pay and we will organise the manufacture and shipping out (or issue full refunds if MOQs are not met).

cpldcpu commented 3 years ago

Hi kasbah, I also responded on EEV forum. I am still a bit confused with which part Kitspace would exactly help? Only collecting orders or also redustributing them?

I think the latter part is really the issue. It's a lot of work and the higher the number of orders, the higher the risk that you have to deal with unfavorable fallout (customs, packages getting lost, people asking money back for some reason etc.). This is not a problem if you are doing this commercially, but for an individual it's a huge burden that can hardly be offset by any potential profit.

Just in general, a short update on the lite r1: This is basically complete in it's current form. I posted the results in the EEVblog forum. If anybody wants to do a batch order on JLCPCB, you can contact me (github, eev forum, or by email {my github account name}@gmail.com) and I can help set it up. One issue is that the MCU is often out-of-stock. I am currently halfway through documenting the order process - one day I will hopefully complete that.

kasbah commented 3 years ago

Hi @cpldcpu, great, I didn't realise you were the same person as tim_ on EEVblog. I'll email you.

The idea is that Kitspace could take care of everything that needs to be done to get the assembled boards into the hands of the people that want them. So that includes ordering, shipping, customs, handling refunds etc. Of course we want to make sure people that did the design work get a fair share of the money too.

Regarding the MCU stock, I've actually been coding up a stock-alert web app for JLC that emails you when your desired quantity is back in stock. Let's see if I can get that finished so it can help with this.

cpldcpu commented 3 years ago

hi @kasbah, indeed, waiting for your mail then.

Regarding sharing of any leftover money, I guess we'd need to figure out something that helps the community. I certainly would not like to take any direct renumeration. The programmer was developed by @freepdk, I just made some tweaks to it to make the design more compatible to JLCPCB and did the test runs and evaluation.

Priority should be to make the programmer more accessible, as this has been a difficulty for many.

I don't know whether anybody else has opinions this?

cpldcpu commented 3 years ago

Btw, here is the current state of the lite programmer design log. That's the best source of information I have right now.

EasyPDKprog_lite.pdf

cpldcpu commented 3 years ago

@kasbah

I elected to publish it to a separate repository instead of an add on to this one, to avoid too much confusion. You can find the lite version here: https://github.com/free-pdk/easy-pdk-programmer-lite-hardware

It's still incomplete. @freepdk can you check whether everything is ok? I noticed you changed the license recently, will update to CC.

cpldcpu commented 3 years ago

@kasbah

Just checking: is this useful to you in any way? Are there still open questiosn? (Not sure how to translate the eyes emoji ;) )

kasbah commented 3 years ago

Hi, yes very useful indeed, thanks. By "eyes" I just meant, at the time: I've seen this and will try it out later, ha.

Later I went through the process of uploading it to JLC assembly, which seemed to work fine. But as you commented before, crucial components are out of stock at the moment so it wasn't enough to get a cost estimate. (I need to get my stock-alert thingy finished.) I also noticed one component which we could maybe switch out for something that JLC normally carries, will take another look to give you an exact part.

cpldcpu commented 3 years ago

Ah ok, thanks for feedback. Someone in another forum mentioned that many of the STM microcontrollers are on allocation right now. So that may not be a problem limited to JLCPCB. Hopefully we will see new stock soon.

EDU-BR-TAR commented 3 years ago

I have a humble idea to lower the cost of the board, I can make a shield for the bluepill board many people have this board in their hands, I just need someone's help to modify the firmware for the stm32f103c8t6

freepdk commented 3 years ago

I have a humble idea to lower the cost of the board, I can make a shield for the bluepill board many people have this board in their hands, I just need someone's help to modify the firmware for the stm32f103c8t6

There was a discussion about this already. STM32F10x does not have 2 DACs which are needed in order to provide the reference voltages for the opamp.

And a big heads up to all people thinking they have a so called "BluePill" board. In some other projects I did, it turned out that >90% of all sold bluepill boards come with a FAKE STM32 IC. Some of them (using the GD32F103) seem to be 95% compatible but some using the cheaper fakes (CS32F103/CH32F103) struggle with many problems (even USB is not working without adding quirks to the firmware). The most annoying fact is that the fake ICs also come with a fake label claiming to be a "real" STM32F103. Dealing with this situation in a hobby open source project is something I can strongly recommend to AVOID.

Some more info here: https://hackaday.com/2020/10/22/stm32-clones-the-good-the-bad-and-the-ugly/

My point of view: ==> There is no STM32F103 anymore which "many people" have (almost all of them buying clones) ==> Do not use STM32F103 for any project where you do not manufacture the complete hardware yourself and you source the IC directly from ST / DigiKey / Mouser / ... ==> Do not create add on hardware for devices which most likely contain clone STM32F103. You will waste more time dealing with the clone problems than you can spend on the actual project.

EDU-BR-TAR commented 3 years ago

i understand , thanks for answering


De: freepdk @.> Enviado: quinta-feira, 3 de junho de 2021 10:49 Para: free-pdk/easy-pdk-programmer-hardware @.> Cc: EDU-BR-TAR @.>; Comment @.> Assunto: Re: [free-pdk/easy-pdk-programmer-hardware] Should the design be easy to get via JLCPCB (and distribution in the EU be feasible)? (#15)

I have a humble idea to lower the cost of the board, I can make a shield for the bluepill board many people have this board in their hands, I just need someone's help to modify the firmware for the stm32f103c8t6

There was a discussion about this already. STM32F10x does not have 2 DACs which are needed in order to provide the reference voltages for the opamp.

And a big heads up to all people thinking they have a so called "BluePill" board. In some other projects I did, it turned out that >90% of all sold bluepill boards come with a FAKE STM32 IC. Some of them (using the GD32F103) seem to be 95% compatible but some using the cheaper fakes (CS32F103/CH32F103) struggle with many problems (even USB is not working without adding quirks to the firmware). The most annoying fact is that the fake ICs also come with a fake label claiming to be a "real" STM32F103. Dealing with this situation in a hobby open source project is something I can strongly recommend to AVOID.

My point of view: ==> There is no STM32F103 anymore which "many people" have (almost all of them buying clones) ==> Do not use STM32F103 for any project where you do not manufacture the complete hardware yourself and you source the IC directly from ST / DigiKey / Mouser / ... ==> Do not create add on hardware for devices which most likely contain clone STM32F103. You will waste more time dealing with the clone problems than you can spent on the actual project.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/free-pdk/easy-pdk-programmer-hardware/issues/15#issuecomment-853884461, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AUKI5YRGKSEZLIPTGKEH2ZLTQ6B7HANCNFSM4NJICR2A.