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

0 Members and 1 Guest are viewing this topic.

Offline janekm

  • Supporter
  • ****
  • Posts: 514
  • Country: gb
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #25 on: October 12, 2018, 12:32:27 am »
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: 99
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #26 on: October 12, 2018, 03:11:00 am »
Is there any other Chinese/Taiwanese Digikey site like this one ?
 

Offline Whales

  • Frequent Contributor
  • **
  • Posts: 735
  • Country: au
    • Halestrom
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #27 on: October 12, 2018, 03:53:04 am »
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 12, 2018, 04:08:01 am by Whales »
 

Offline IanMacdonald

  • Frequent Contributor
  • **
  • Posts: 944
  • Country: gb
    • IWR Consultancy
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #28 on: October 12, 2018, 05:20:50 am »
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 12, 2018, 07:35:38 am by IanMacdonald »
 
The following users thanked this post: Jacon

Offline Jope

  • Regular Contributor
  • *
  • Posts: 71
  • Country: de
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #29 on: October 12, 2018, 09:55:56 am »
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: 2436
  • Country: nz
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #30 on: October 12, 2018, 05:59:50 pm »
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 EEVblog

  • Administrator
  • *****
  • Posts: 28117
  • Country: au
    • EEVblog
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #31 on: October 12, 2018, 07:35:32 pm »
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: 2436
  • Country: nz
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #32 on: October 12, 2018, 08:18:35 pm »
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

  • Contributor
  • Posts: 40
  • Country: gb
  • Mike
    • G0MJW
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #33 on: October 12, 2018, 09:18:51 pm »
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

  • Contributor
  • Posts: 40
  • Country: gb
  • Mike
    • G0MJW
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #34 on: October 12, 2018, 09:21:07 pm »
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: 164
  • Country: ca
  • Absolutely! Yes, kind of, sort of, not really, no.
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #35 on: October 13, 2018, 03:20:52 am »
Before this, there was a typo.
 

Online thm_w

  • Frequent Contributor
  • **
  • Posts: 909
  • Country: ca
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #36 on: October 13, 2018, 07:33:39 am »
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/
 

Offline drussell

  • Super Contributor
  • ***
  • Posts: 1043
  • Country: ca
  • Hardcore Geek
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #37 on: October 16, 2018, 01:44:16 am »
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.
 

Online thm_w

  • Frequent Contributor
  • **
  • Posts: 909
  • Country: ca
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #38 on: October 16, 2018, 06:37:33 am »
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?
 

Online timelessbeing

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

 

Offline Sjaak

  • Contributor
  • Posts: 9
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #40 on: October 16, 2018, 05:36:16 pm »
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, 07:43:41 pm by Sjaak »
 
The following users thanked this post: thm_w

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 1100
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #41 on: October 16, 2018, 07:00:09 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.
 

Offline Sjaak

  • Contributor
  • Posts: 9
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #42 on: October 16, 2018, 07:47:37 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..
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 1100
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #43 on: October 17, 2018, 04:24: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.
 

Offline Sjaak

  • Contributor
  • Posts: 9
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #44 on: October 18, 2018, 03:21: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.

have you read the links I posted?
 

Offline VEGETA

  • Super Contributor
  • ***
  • Posts: 1100
  • Country: jo
  • I am the cult of personality
    • Thundertronics
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #45 on: October 18, 2018, 06:10:21 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.

have you read the links I posted?

where?
 

Online timelessbeing

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: 00
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #46 on: October 19, 2018, 05:35:24 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.

have you read the links I posted?

where?
 

Online timelessbeing

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

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 1543
  • Country: us
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #48 on: October 26, 2018, 08:59:18 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.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 5203
  • Country: nl
Re: EEVblog #1132 - The 3 Cent Microcontroller!
« Reply #49 on: October 26, 2018, 09:09:39 pm »
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