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

0 Members and 1 Guest are viewing this topic.

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 ?
 

Online 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.
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #35 on: October 12, 2018, 04:20:52 pm »
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.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf