Author Topic: EEVblog #1132 - The 3 Cent Microcontroller!  (Read 47158 times)

0 Members and 1 Guest are viewing this topic.

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38866
  • Country: au
    • EEVblog
EEVblog #1132 - The 3 Cent Microcontroller!
« on: October 10, 2018, 09:50:51 pm »
Taking a look at a sub 3 cent microcontroller, and other obscure Chinese manufactures, how to find them, and were to get them in stock.

http://www.padauk.com.tw
https://lcsc.com

 

Offline MT

  • Super Contributor
  • ***
  • Posts: 1676
  • Country: aq
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #1 on: October 10, 2018, 10:39:27 pm »
If it can replace a 555 its all chicken dinner! 

All kind of oddbal manufacturers there, i actually is looking for SPDT analog switch sot23-6 5V from the regular channels, Farnell dosent even sell such a thing but found one on Taiwan LCSC.
https://lcsc.com/product-detail/Analog-Switches_BL1551_C82528.html
« Last Edit: October 10, 2018, 11:02:48 pm by MT »
 
The following users thanked this post: petert

Offline ucanel

  • Regular Contributor
  • *
  • Posts: 134
  • Country: tr
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #2 on: October 10, 2018, 10:46:39 pm »
I agree you need to do a project with it,
i would like to help.
 

Offline woox2k

  • Regular Contributor
  • *
  • Posts: 70
  • Country: ee
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #3 on: October 10, 2018, 11:12:50 pm »
Yes show us how easy or frustrating it is to build a project with it!
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2418
  • Country: us
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #4 on: October 10, 2018, 11:44:49 pm »
Do they cost more to ship than they do to buy?
 

Offline nathanpc

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #5 on: October 10, 2018, 11:50:51 pm »
Watching Dave try to build a simple project with one of these MCUs is going to be priceless. I've always wanted to give them a try just for fun. Has anyone here ever tried one of these?

That IDE looked a bit outdated, but it has a lot of functions that would be nice, specially for ARM development where you have to set a billion registers to setup peripherals the way you want. By the looks of it these MCUs are almost always used for simple tasks and the developers just use the generated code and modify it slightly to fit the application.
« Last Edit: October 10, 2018, 11:55:35 pm by nathanpc »
 

Offline drussell

  • Super Contributor
  • ***
  • Posts: 1855
  • Country: ca
  • Hardcore Geek
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #6 on: October 11, 2018, 12:51:07 am »
Do they cost more to ship than they do to buy?

Under most circumstances, yes.  :)
 

Offline xl0

  • Newbie
  • Posts: 3
  • Country: aq
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #7 on: October 11, 2018, 01:26:53 am »
Sorry to burst the bubble, but that's not the real price. How do we know?

- The price is much lower than for comparable Chinese / Taiwanese micros.
- Nobody else in Shenzhen is selling them. Yes, you can not buy this thing in Shenzhen, only lcsc has 500 in stock, and that's nothing.

It looks like lcsc (The large go to distributor in Shenzhen) gave Paduk (a very small and relatively new Taiwanese mcu designer) a try and bought a bunch of their parts in 1K quantity. Now they are selling them off just to clear the inventory.

If you want cheap micros that are going to be available for the same price in the foreseeable future, try Holtek and STC. Holtek is Taiwanese and they have very decent English documentation and tools. STC is Chinese and used to have a Chinese-only website that would give regular visitors eye cancer. I see they updated the website and now have an English version. They are even translating the datasheets, but expect a rougher experience.


In any case, the cheapest Holtek HT48R002 OTP micro is just 9 cents on lcsc, and you can get it for 6 in reasonable quantity in Shenzhen. Yes, it's still very cheap, but not 3 cents in quantity of 10 cheap.
« Last Edit: October 11, 2018, 01:35:28 am by xl0 »
 
The following users thanked this post: MK14

Offline SiliconFrog

  • Newbie
  • Posts: 1
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #8 on: October 11, 2018, 02:26:18 am »
Id really like to see him have a go at the cheap microcontrollers as well. I have also heard that the Holtek ones are the best to try as they have been around for a while, noted for being the cheap ones and where some brave folk have had a go. I think the data sheets used to all be in kanji but have better english transcription now.

It would be interesting to see it programmed in pure assembly instead of the odd asm/C hybrid. And also good to know if they can be programmed using some bit bashing from the IO of something else like a PIC / Arduino / Raspberry or similar instead of using a special custom programmer.

Also:

Quote
Do they cost more to ship than they do to buy?
Probably but recall that lcsc is part of the jlcpcb group so if you get some PCBs made and pay for their shipping then you can get components from this supplier tacked on to the same shipping consignment. I have done this and got "free" shipping of the components for an old jlcpcb board.

See: https://support.lcsc.com/article/24-do-you-offer-combine-shipment-with-pcbs
« Last Edit: October 11, 2018, 02:32:09 am by SiliconFrog »
 
The following users thanked this post: MK14

Offline Bud

  • Super Contributor
  • ***
  • Posts: 7178
  • Country: ca
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #9 on: October 11, 2018, 02:37:03 am »
The IDE probably does not have that compile menu rubbish, instead it may write directly to the programmer.
Facebook-free life and Rigol-free shack.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9267
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #10 on: October 11, 2018, 04:55:58 am »
Sorry to burst the bubble, but that's not the real price. How do we know?

- The price is much lower than for comparable Chinese / Taiwanese micros.
- Nobody else in Shenzhen is selling them. Yes, you can not buy this thing in Shenzhen, only lcsc has 500 in stock, and that's nothing.

It looks like lcsc (The large go to distributor in Shenzhen) gave Paduk (a very small and relatively new Taiwanese mcu designer) a try and bought a bunch of their parts in 1K quantity. Now they are selling them off just to clear the inventory.
How likely would that company still be in business in the near future? Maybe the chips would become super valuable in 30 years or so.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline GigaJoe

  • Frequent Contributor
  • **
  • Posts: 523
  • Country: ca
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #11 on: October 11, 2018, 05:10:39 am »
Dave, really ... :)


 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #12 on: October 11, 2018, 05:39:58 am »
They have other stuff that are super cheap (at quantity of 1):

DAC:

dual-channel 24-bit DAC (0.25$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_HX710C_C124156.html
dual-channel 24-bit DAC (0.32$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_HX712_C118237.html
dual-channel 16-bit DAC (0.12$): https://lcsc.com/product-detail/Digital-To-Analog-Converters-DACs_TM8211_C92003.html
dual-channel 16-bit DAC (0.12$): https://lcsc.com/product-detail/Digital-To-Analog-Converters-DACs_PT8211-S_C92004.html


ADC:

dual-channel 24-bit ADC (0.25$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_HX710C_C124156.html
dual-channel 24-bit ADC (0.33$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_HX720_C126715.html
dual-channel 24-bit ADC (0.52$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_HX710A_C68417.html
dual-channel 16-bit DAC (0.79$): https://lcsc.com/product-detail/Analog-To-Digital-Converters-ADCs_TM7705_C84305.html

While these prices are literally order of magnitudes of impossible at digikey... here is the question: are these reliable and for real?

I mean, are 24-bit ADCs listed above really does what it claims?! then why will we buy significantly more expensive ones?

Offline xl0

  • Newbie
  • Posts: 3
  • Country: aq
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #13 on: October 11, 2018, 07:16:24 am »
Yeah, HX710 and others are legit. But they are digital scale ADCs, not general purpose ones.
 

Online Psi

  • Super Contributor
  • ***
  • Posts: 10319
  • Country: nz
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #14 on: October 11, 2018, 07:19:01 am »
Can you load code into ram over debug then run it, or do you have to brick one IC every time to try your code?
Greek letter 'Psi' (not Pounds per Square Inch)
 

Online oPossum

  • Super Contributor
  • ***
  • Posts: 1455
  • Country: us
  • Very dangerous - may attack at any time
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #15 on: October 11, 2018, 07:20:38 am »
I suspect it is strict Harvard architecture, so no execution from RAM.
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2418
  • Country: us
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #16 on: October 11, 2018, 07:27:39 am »
There's only 64 bytes of ram on the thing anyway. You pretty much have to put the program in the 1K words of rom.
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #17 on: October 11, 2018, 08:18:34 am »
Yeah, HX710 and others are legit. But they are digital scale ADCs, not general purpose ones.

Meaning I cannot use them for in a lab power supply design? why?

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38866
  • Country: au
    • EEVblog
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #18 on: October 11, 2018, 08:24:26 am »
It looks like lcsc (The large go to distributor in Shenzhen) gave Paduk (a very small and relatively new Taiwanese mcu designer) a try and bought a bunch of their parts in 1K quantity. Now they are selling them off just to clear the inventory.

Do you have any evidence of that? Or are you just speculating?

As for new, 2005, so been around 13 yeras.
http://www.padauk.com.tw/en/about/index.aspx?kind=9
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 9734
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #19 on: October 11, 2018, 08:31:25 am »
Yeah, HX710 and others are legit. But they are digital scale ADCs, not general purpose ones.
Meaning I cannot use them for in a lab power supply design? why?
The problem with these devices for many uses is their DC offset. The DC offset in most sigma delta ADCs is not great, and may drift around with temperature and power conditions. In weight scale applications you can measure and subtract the offset each time you start the scale, and assume the temperature, and other factors which can cause the DC offset to drift, won't change too much before the scale is reset again. If you do not have a practical scheme like that for calibrating away the offset, the ADC might not be for you.
 
The following users thanked this post: thm_w, rs20, petert

Offline xl0

  • Newbie
  • Posts: 3
  • Country: aq
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #20 on: October 11, 2018, 08:52:45 am »
Do you have any evidence of that? Or are you just speculating?

Just speculating.

As for new, 2005, so been around 13 yeras.

You are right, not that new.
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #21 on: October 11, 2018, 09:47:25 am »
Yeah, HX710 and others are legit. But they are digital scale ADCs, not general purpose ones.
Meaning I cannot use them for in a lab power supply design? why?
The problem with these devices for many uses is their DC offset. The DC offset in most sigma delta ADCs is not great, and may drift around with temperature and power conditions. In weight scale applications you can measure and subtract the offset each time you start the scale, and assume the temperature, and other factors which can cause the DC offset to drift, won't change too much before the scale is reset again. If you do not have a practical scheme like that for calibrating away the offset, the ADC might not be for you.

Aha, what about the other ADCs\DACs listed aside from those? I mean the 16 bit ones as they seem so cheap and there is nothing in their datasheet to indicate for weight scale application specific.

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6580
  • Country: nl
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #22 on: October 11, 2018, 09:55:45 am »
We will see if the stock is restocked we will know the answer.
In the past I had a similar experience with a chinese seller who sold STM32 microcontrollers for $0,80.
I ordered 100 pieces and he sent and billed me 34 pieces.
I asked him when the other 66 pieces would be shipped and he answered never, out of stock.
At my further inquiries he admitted purchasing a leftover reel in the past with couple of hundred pieces left and just offers what he has.
 
LCSC looks like a big company so I am really interested to see how this turns out.
 

Offline janekm

  • Supporter
  • ****
  • Posts: 515
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #23 on: October 11, 2018, 12:52:35 pm »

- Nobody else in Shenzhen is selling them. Yes, you can not buy this thing in Shenzhen, only lcsc has 500 in stock, and that's nothing.


Actually there are at least two other distributors in SZ and Padauk have an official distributor with full app engineer support in SZ (who can also do pre-"flashed" chips).

I do suspect the price could go up if the part gets very popular... ST pulled that trick with STM8 before.
 

Offline janekm

  • Supporter
  • ****
  • Posts: 515
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #24 on: October 11, 2018, 01:28:25 pm »
BTW there "multi core" chips are also very interesting... they are why I got talking to Padauk in the first place. What they are is essentially a single core but it can task-switch between multiple tasks on every execution cycle (so it must have multiple register and PC sets). Which can be very useful for protocol conversion as you could bitbang multiple protocols at once. Their other advertised use case is for motor controllers (and it looks like they have a pre-programmed chip for that application).
 

Offline janekm

  • Supporter
  • ****
  • Posts: 515
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #25 on: October 11, 2018, 01:32:27 pm »
Also the power consumption figure Dave skimmed over was actually for executing code from the LF clock... which is pretty impressive. There could be some good use cases for that like low power sensor monitoring. 
 

Offline maxpayne

  • Regular Contributor
  • *
  • Posts: 140
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #26 on: October 11, 2018, 04:11:00 pm »
Is there any other Chinese/Taiwanese Digikey site like this one ?
 

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2085
  • Country: au
    • Halestrom
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #27 on: October 11, 2018, 04:53:04 pm »
Dave: while you're at it, hedge your bets and grab the programmer for a few other brands too.  If this one doesn't pan out ("oh the IDE is free, but compiler costs $2K and we only tell you if you ask >:D") then you'll have some other options.


You may also want to make a little finger-pressure adapter board for test programming the OTPs.  Use a large, unconnected SMD resistor to make a 'wall' that you slide the components up against with your finger.  Next to this place the ENIG pads the part is held against. 

The SMD resistor should have its dimensions reasonably specced, make sure to make the pads tight too.  Put three duplicates of this circuit on a board with a tiny variation in resistorwall<->pads spacings to allow for tolerances when you use it IRL. 

It's also worth wiring an unused pin on the pads to an LED+R for a quick-n-dirty self-test of your code writes.  Even if you don't end up using it.

Alternatively you might plan to do emulation + in-circuit programming from the start.  YMMV.
« Last Edit: October 11, 2018, 05:08:01 pm by Whales »
 

Offline IanMacdonald

  • Frequent Contributor
  • **
  • Posts: 943
  • Country: gb
    • IWR Consultancy
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #28 on: October 11, 2018, 06:20:50 pm »
Just a small point Dave, but if you have your computer set to run executables that are clicked-on without even asking for confirmation, then you are at high risk from drive-bys.

Point of  fact I would check all such software on VirusTotal. and/or run it in a virtual machine, at least until I was sure it was OK. 
« Last Edit: October 11, 2018, 08:35:38 pm by IanMacdonald »
 
The following users thanked this post: Jacon

Offline Jope

  • Regular Contributor
  • *
  • Posts: 111
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #29 on: October 11, 2018, 10:55:56 pm »
They also have cheap Cortex-M0 MCUs in a TSSOP8 package:
https://lcsc.com/product-detail/Synwit_SWM050I2P7-65_C111818.html

And somebody on hackaday.io has already made a development board for it:
https://hackaday.io/project/161300-swm050-development-board
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #30 on: October 12, 2018, 06:59:50 am »
Dave can you master your audio so its sitting closer to the Youtube reference level/.. .this one is -7.1db down, so its really quite quiet.

On a quest to find increasingly complicated ways to blink things
 

Offline EEVblogTopic starter

  • Administrator
  • *****
  • Posts: 38866
  • Country: au
    • EEVblog
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #31 on: October 12, 2018, 08:35:32 am »
Dave can you master your audio so its sitting closer to the Youtube reference level/.. .this one is -7.1db down, so its really quite quiet.

And what exactly is that reference level, everyone seems to have their own idea.
 
The following users thanked this post: G0MJW

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #32 on: October 12, 2018, 09:18:35 am »
Dave can you master your audio so its sitting closer to the Youtube reference level/.. .this one is -7.1db down, so its really quite quiet.

And what exactly is that reference level, everyone seems to have their own idea.

The reference level that matters for sending to youtube is youtube reference level.    If you check on your video ( right click, -stats for nerds ) it will show you what your program loudness is.  In the case of your video you are -7.1db down.     You dont' want to start going over the reference level becuae then Youtube does nasty normalisation of your audio.   ( not compression, but normalisation ).

You want to target -13LUFS for Youtube  ( loudness Units before Full Scale ).  You can measure that with a 'Loudness' Meter which is often a plug in in many of the video/audio editing suites. 





On a quest to find increasingly complicated ways to blink things
 
The following users thanked this post: analogo

Offline G0MJW

  • Regular Contributor
  • *
  • Posts: 51
  • Country: gb
  • Mike
    • G0MJW
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #33 on: October 12, 2018, 10:18:51 am »
How about a simple project using that font chip as well to send (say) serial data received on one port to a graphic LCD on another?
Mike
 

Offline G0MJW

  • Regular Contributor
  • *
  • Posts: 51
  • Country: gb
  • Mike
    • G0MJW
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #34 on: October 12, 2018, 10:21:07 am »
Dave can you master your audio so its sitting closer to the Youtube reference level/.. .this one is -7.1db down, so its really quite quiet.

And what exactly is that reference level, everyone seems to have their own idea.

The reference level that matters for sending to youtube is youtube reference level.    If you check on your video ( right click, -stats for nerds ) it will show you what your program loudness is.  In the case of your video you are -7.1db down.     You dont' want to start going over the reference level becuae then Youtube does nasty normalisation of your audio.   ( not compression, but normalisation ).

You want to target -13LUFS for Youtube  ( loudness Units before Full Scale ).  You can measure that with a 'Loudness' Meter which is often a plug in in many of the video/audio editing suites.

I am not sure but you are noticeably quiet. Perhaps go for the BBC World Service ideal of 100% peaks and a high compression ratio? Would help the elderly amongst us too who went to too many rock concerts in their youth.
Mike
 
The following users thanked this post: skench

Offline Jebnor

  • Regular Contributor
  • *
  • Posts: 170
  • Country: ca
  • Absolutely! Yes, kind of, sort of, not really, no.
Before this, there was a typo.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7350
  • Country: ca
  • Non-expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #36 on: October 12, 2018, 08:33:39 pm »
I am not sure but you are noticeably quiet. Perhaps go for the BBC World Service ideal of 100% peaks and a high compression ratio? Would help the elderly amongst us too who went to too many rock concerts in their youth.

Have you tried this: https://pureinfotech.com/normalize-sound-volume-windows-10/
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline drussell

  • Super Contributor
  • ***
  • Posts: 1855
  • Country: ca
  • Hardcore Geek
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #37 on: October 15, 2018, 02:44:16 pm »
Have you tried this: https://pureinfotech.com/normalize-sound-volume-windows-10/

That doesn't help Dave get the audio level correct in his videos in any way.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7350
  • Country: ca
  • Non-expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #38 on: October 15, 2018, 07:37:33 pm »
Have you tried this: https://pureinfotech.com/normalize-sound-volume-windows-10/

That doesn't help Dave get the audio level correct in his videos in any way.

Never said it would, notice I am responding to a quote from G0MJW.

Last time I checked, volume normalization on my TV worked incredibly well. If you can't get TV producers to have consistent volume (see all the loud ads they had for years), then do you expect all of youtube to achieve the same?
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #39 on: October 16, 2018, 05:51:06 am »
> Now they are selling them off just to clear the inventory.
Thanks Dave. They are gone now  :P

 

Offline Sjaak

  • Contributor
  • Posts: 10
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #40 on: October 16, 2018, 06:36:16 am »
Quote
They also have cheap Cortex-M0 MCUs in a TSSOP8 package:
https://lcsc.com/product-detail/Synwit_SWM050I2P7-65_C111818.html

And somebody on hackaday.io has already made a development board for it:
https://hackaday.io/project/161300-swm050-development-board

I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

Edit: included quote
« Last Edit: October 16, 2018, 08:43:41 am by Sjaak »
 
The following users thanked this post: thm_w

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #41 on: October 16, 2018, 08:00:09 am »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

Offline Sjaak

  • Contributor
  • Posts: 10
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #42 on: October 16, 2018, 08:47:37 am »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

On my github there is a Makefile, crt0.s and library file to write your first program. It uses the gcc-arm-none-eabi toolchain. Yu can program it with the blakcmagic probe (use my firmware) or a J-link Segger.

Don't think this chip is suitable for the arduino crowd..
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #43 on: October 17, 2018, 05:24:44 am »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

On my github there is a Makefile, crt0.s and library file to write your first program. It uses the gcc-arm-none-eabi toolchain. Yu can program it with the blakcmagic probe (use my firmware) or a J-link Segger.

Don't think this chip is suitable for the arduino crowd..

It is one time programmable, so yes it won't suite arduino people. However, using arduino ide and libraries will make it significantly easier. The only microcontroller that I dealt with directly is PIC. I have an avr programmer that works perfectly and a pickit3.

I don't know of any easy method to program these devices, especially how to know if the program works before burning it to the chip itself.

Offline Sjaak

  • Contributor
  • Posts: 10
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #44 on: October 17, 2018, 04:21:44 pm »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

On my github there is a Makefile, crt0.s and library file to write your first program. It uses the gcc-arm-none-eabi toolchain. Yu can program it with the blakcmagic probe (use my firmware) or a J-link Segger.

Don't think this chip is suitable for the arduino crowd..

It is one time programmable, so yes it won't suite arduino people. However, using arduino ide and libraries will make it significantly easier. The only microcontroller that I dealt with directly is PIC. I have an avr programmer that works perfectly and a pickit3.

I don't know of any easy method to program these devices, especially how to know if the program works before burning it to the chip itself.

have you read the links I posted?
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 2012
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #45 on: October 17, 2018, 07:10:21 pm »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.

I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

On my github there is a Makefile, crt0.s and library file to write your first program. It uses the gcc-arm-none-eabi toolchain. Yu can program it with the blakcmagic probe (use my firmware) or a J-link Segger.

Don't think this chip is suitable for the arduino crowd..

It is one time programmable, so yes it won't suite arduino people. However, using arduino ide and libraries will make it significantly easier. The only microcontroller that I dealt with directly is PIC. I have an avr programmer that works perfectly and a pickit3.

I don't know of any easy method to program these devices, especially how to know if the program works before burning it to the chip itself.

have you read the links I posted?

where?

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #46 on: October 18, 2018, 06:35:24 pm »
I'm that guy and Dave beat me at writing about the .03$ chip.


The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.


I don't know what IDE and programmer is used with these things.

However, I assume they will be usable to everyone once someone includes them in Arduino IDE.... I really hope this happens.

On my github there is a Makefile, crt0.s and library file to write your first program. It uses the gcc-arm-none-eabi toolchain. Yu can program it with the blakcmagic probe (use my firmware) or a J-link Segger.

Don't think this chip is suitable for the arduino crowd..

It is one time programmable, so yes it won't suite arduino people. However, using arduino ide and libraries will make it significantly easier. The only microcontroller that I dealt with directly is PIC. I have an avr programmer that works perfectly and a pickit3.

I don't know of any easy method to program these devices, especially how to know if the program works before burning it to the chip itself.

have you read the links I posted?

where?
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2968
  • Country: us
  • Not An Expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #48 on: October 26, 2018, 09:59:18 am »
Has anyone found a single Padauk chip in the wild in an actual product?  If they have been around for 13 years there has to be some out there.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6580
  • Country: nl
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #49 on: October 26, 2018, 10:09:39 am »
Crazy. You can also find Panasonic electrolytics on LCSC for a fraction of what Digikey and Mouser charge. Shipping is the same.

https://lcsc.com/product-detail/Others_PANASONIC_EEEFK1K470P_PANASONIC-EEEFK1K470P_C178556.html

https://www.digikey.com/product-detail/en/panasonic-electronic-components/EEE-FK1K470P/PCE3831CT-ND/766207
https://www.mouser.com/ProductDetail/667-EEE-FK1K470P
Note the stock differences, digikey has over 100000 pieces while lcsc has 300 , what do you think what happens if those 300 are sold out ?
If  you order 10000 pieces you probably get nothing.
 

Offline mubes

  • Regular Contributor
  • *
  • Posts: 238
  • Country: gb
  • Do Not Boil
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #50 on: October 26, 2018, 10:12:54 am »

The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.
Great effort. Would you mind contacting the BlackMagic project to get your patches folded in upstream? PM me if you need to know how to do that, but its easiest to contact via Gitter.

Regards

DAVE
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #51 on: October 26, 2018, 10:57:53 am »
Crazy. You can also find Panasonic electrolytics on LCSC for a fraction of what Digikey and Mouser charge. Shipping is the same.

https://lcsc.com/product-detail/Others_PANASONIC_EEEFK1K470P_PANASONIC-EEEFK1K470P_C178556.html

https://www.digikey.com/product-detail/en/panasonic-electronic-components/EEE-FK1K470P/PCE3831CT-ND/766207
https://www.mouser.com/ProductDetail/667-EEE-FK1K470P
Note the stock differences, digikey has over 100000 pieces while lcsc has 300 , what do you think what happens if those 300 are sold out ?
If  you order 10000 pieces you probably get nothing.

I saw and I don't care. I need one, but at that price I'll order ten.
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7350
  • Country: ca
  • Non-expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #52 on: October 26, 2018, 08:13:57 pm »
Has anyone found a single Padauk chip in the wild in an actual product?  If they have been around for 13 years there has to be some out there.

Looking at the LCSC page there appear to be no markings, which makes sense as that adds cost to the chip: https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C-U06_C168658.html
There are tons of products with unmarked 8-pin micros, so this could be one of them.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #53 on: October 26, 2018, 08:47:20 pm »
Has anyone found a single Padauk chip in the wild in an actual product?  If they have been around for 13 years there has to be some out there.

Looking at the LCSC page there appear to be no markings, which makes sense as that adds cost to the chip: https://lcsc.com/product-detail/PADAUK_PADAUK-Tech-PMS150C-U06_C168658.html
There are tons of products with unmarked 8-pin micros, so this could be one of them.

LCSC seem to be just using blank component images, to make their website easier/quicker/cheaper to implement and maintain.

You can see thier logo, on the chips below.



 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 28247
  • Country: nl
    • NCT Developments
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #54 on: October 26, 2018, 11:10:25 pm »
A short comment about the 0 to X MHz in the datasheet which seemed a surprise. Actually this is an important parameter to know about. It means you can shut the clock down completely without problems. Not all processors allow shutting the clock down!
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline Sjaak

  • Contributor
  • Posts: 10
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #55 on: October 27, 2018, 02:18:40 pm »

The whole writeup about the arm chip is at my blog, including how to program it. The link to the post is http://smdprutser.nl/blog/the-arm-chip-that-wont-cost-an-arm-and-a-leg/ i also have some chips (which are sold out at lcsc.com) and breakoutboards available.
Great effort. Would you mind contacting the BlackMagic project to get your patches folded in upstream? PM me if you need to know how to do that, but its easiest to contact via Gitter.

Regards

DAVE


I send a pull request, but need to rebase/merge some things first.
 

Offline cowasaki

  • Frequent Contributor
  • **
  • Posts: 605
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #56 on: October 28, 2018, 10:04:49 am »
Have I missed it or has anyone found a comparative table of all the Paduak microcontrollers?  Would be interesting to see what they all have.  Need to have a look through the data sheets as well but this looks really good :)
 

Offline Nusa

  • Super Contributor
  • ***
  • Posts: 2418
  • Country: us
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #57 on: October 28, 2018, 10:39:55 am »
Have I missed it or has anyone found a comparative table of all the Paduak microcontrollers?  Would be interesting to see what they all have.  Need to have a look through the data sheets as well but this looks really good :)

You mean like their own literature?
http://www.padauk.com.tw/en/product/method.aspx?num=1
 

Offline cowasaki

  • Frequent Contributor
  • **
  • Posts: 605
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #58 on: October 28, 2018, 12:23:31 pm »
Have I missed it or has anyone found a comparative table of all the Paduak microcontrollers?  Would be interesting to see what they all have.  Need to have a look through the data sheets as well but this looks really good :)

You mean like their own literature?
http://www.padauk.com.tw/en/product/method.aspx?num=1

Yep, that might do it :-)

Thanks
 

Offline thm_w

  • Super Contributor
  • ***
  • Posts: 7350
  • Country: ca
  • Non-expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #59 on: October 29, 2018, 07:58:02 pm »
LCSC seem to be just using blank component images, to make their website easier/quicker/cheaper to implement and maintain.

You can see thier logo, on the chips below.

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcShDMwUnRPEESnoAp2HlaBTdYDBqDHr2cddNWow28U1S67AikwU
https://img.diytrade.com/cdimg/1371112/19247777/0/1305613240.jpg

LCSC are very good at showing the image of the chip in question, for example: https://lcsc.com/product-detail/DC-DC-Converters_TI_TPS61040DBVR_TPS61040DBVR_C7722.html
They may mark the larger pin chips as the cost of those is higher.
Profile -> Modify profile -> Look and Layout ->  Don't show users' signatures
 

Offline MK14

  • Super Contributor
  • ***
  • Posts: 4969
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #60 on: October 30, 2018, 05:18:23 am »
LCSC seem to be just using blank component images, to make their website easier/quicker/cheaper to implement and maintain.

You can see thier logo, on the chips below.

https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcShDMwUnRPEESnoAp2HlaBTdYDBqDHr2cddNWow28U1S67AikwU
https://img.diytrade.com/cdimg/1371112/19247777/0/1305613240.jpg

LCSC are very good at showing the image of the chip in question, for example: https://lcsc.com/product-detail/DC-DC-Converters_TI_TPS61040DBVR_TPS61040DBVR_C7722.html
They may mark the larger pin chips as the cost of those is higher.

Your're right. Many of the ICs and stuff on LCSC, does seem to have the correct/actual photograph, complete with actual part number.

So I'm NOT sure, if the 3 cent micros, are labeled or not. But since the LCSC seems to show no marking on the chip, you could easily be right.

(Changing the subject a bit), as well as cutting costs to save on printing the label. I'm surprised that, at only 3 cents, the micros are packaged. I.e. at only $0.03 each, I would have thought they would have to be COB dies (i.e. Chip On Board).
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2331
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #61 on: October 31, 2018, 11:35:47 pm »
2 models MTP

PFS5154 and PFC154, those can be good for developments
 

Offline tchicago

  • Regular Contributor
  • *
  • Posts: 115
  • Country: us
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #62 on: November 08, 2018, 07:46:31 pm »
It is interesting that all explorations that Dave & Dave did on Padauk 3c controllers are now being reposted on various Russian blogs and forums without giving any credit to eevblog
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2968
  • Country: us
  • Not An Expert
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #63 on: November 09, 2018, 04:50:14 am »
It is interesting that all explorations that Dave & Dave did on Padauk 3c controllers are now being reposted on various Russian blogs and forums without giving any credit to eevblog

Russia/Padauk meddling to influence my next Digikey purchase! 
« Last Edit: November 09, 2018, 05:14:29 am by Smokey »
 

Offline spth

  • Regular Contributor
  • *
  • Posts: 163
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #64 on: November 19, 2018, 04:14:20 pm »
[…]

If you want cheap micros that are going to be available for the same price in the foreseeable future, try Holtek and STC. Holtek is Taiwanese and they have very decent English documentation and tools. STC is Chinese and used to have a Chinese-only website that would give regular visitors eye cancer. I see they updated the website and now have an English version. They are even translating the datasheets, but expect a rougher experience.


In any case, the cheapest Holtek HT48R002 OTP micro is just 9 cents on lcsc, and you can get it for 6 in reasonable quantity in Shenzhen. Yes, it's still very cheap, but not 3 cents in quantity of 10 cheap.

Don't forget the STM8. ST may be a European company, but they still make very cheap µCs. Actually, it seems the STM8 are currently cheaper even at Digikey compared to LCSC.

Philipp
 

Offline janekm

  • Supporter
  • ****
  • Posts: 515
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #65 on: November 20, 2018, 07:21:29 am »

Don't forget the STM8. ST may be a European company, but they still make very cheap µCs. Actually, it seems the STM8 are currently cheaper even at Digikey compared to LCSC.

Philipp

Used to be cheap... For a while ST where price-dumping with STM8 to get a foot-hold with Chinese manufacturers. When they became popular they raised the price by a lot (30-50% more currently compared to the lowest price). Not surprisingly Nuvoton jumped in with a pin-compatible (but not code-compatible afaik) chip. Still even at their lowest price the STM8 was 8 times as expensive as the Padauk one...
 

Offline spth

  • Regular Contributor
  • *
  • Posts: 163
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #66 on: November 20, 2018, 10:20:45 am »

Don't forget the STM8. ST may be a European company, but they still make very cheap µCs. Actually, it seems the STM8 are currently cheaper even at Digikey compared to LCSC.

Philipp

Used to be cheap... For a while ST where price-dumping with STM8 to get a foot-hold with Chinese manufacturers. When they became popular they raised the price by a lot (30-50% more currently compared to the lowest price). Not surprisingly Nuvoton jumped in with a pin-compatible (but not code-compatible afaik) chip. Still even at their lowest price the STM8 was 8 times as expensive as the Padauk one...

Parts of ST are apparently attempting to move STM8 customers to the STM32, and have been doing so for quite a while. Maybe the price increase was part of that?

Philipp
 

Offline spth

  • Regular Contributor
  • *
  • Posts: 163
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #67 on: December 18, 2018, 07:28:35 am »
It looks like there is a second source for Padauk µCs:

http://www.puolop.com/products/category/mid/2/sid/15.html

Since Puolop have their own datasheets and part numbers, this doesn't look like a reseller. On the other hand, part numbers are similar enough to assume that they might be just clones. At a first glance it looks like the Puolop range is very similar to the Padauk OTP range

It seems LCSC only has a feww Puolop devices in stock, which does notinclude teh Puolop ow-end parts. So I don't know if Puolop could be a cheaper alternative to Padauk for those.

Philipp
 

Offline nick_d

  • Regular Contributor
  • *
  • Posts: 120
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #68 on: December 18, 2018, 07:37:42 am »
To work with OTP devices, in general you buy the windowed version to use in the lab, it is usually 10 times more expensive (30c? Ha ha) but you only need a few of them. For instance, I have several tubes of regular plastic packaged PIC12C508 and two of the same silicon in a fetching gold framed windowed package, you put them in the UV eraser to reuse. (Ah, memories...) I also did this with COP8SAC7, now I have several boxes containing hundreds of surplus OTP MCUs, but have lost the windowed parts and the debug module, searched for them in the factory a while ago with no luck. Perhaps an etch job is called for, or sell them @ 3c??
cheers, Nick
 

Offline spth

  • Regular Contributor
  • *
  • Posts: 163
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #69 on: December 20, 2018, 07:50:29 am »
It looks like there is a second source for Padauk µCs:

http://www.puolop.com/products/category/mid/2/sid/15.html

Since Puolop have their own datasheets and part numbers, this doesn't look like a reseller. On the other hand, part numbers are similar enough to assume that they might be just clones. At a first glance it looks like the Puolop range is very similar to the Padauk OTP range

It seems LCSC only has a feww Puolop devices in stock, which does notinclude teh Puolop ow-end parts. So I don't know if Puolop could be a cheaper alternative to Padauk for those.

Philipp

Having a second quick look at Puolop ist seems to me:

Puolop is cloning most 1-core and 2-Core OTP Padauk devices. Datasheets seem identical even down to version number and dates in the Changelog.
Unlike Padauk, Puolop does not offer Flash or 8-Core devices.
Recently, Puolop is making their own 1-Core OTP devices based on the Padauk architecture (e.g. the PTBO164SX, first and so far only version of datasheet from 2017, does not seem to have a Padauk equivalent).

Philipp
 

Offline timelessbeing

  • Frequent Contributor
  • **
  • Posts: 929
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #70 on: September 15, 2019, 12:06:57 am »
 
The following users thanked this post: thm_w, MK14


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf