-
• #27
Wow, it's surprising about the piezo - my understanding was that they didn't actually draw much power at a voltage... that they were more like capacitors where the change of voltage took power.
Maybe something is shorted on your device? I guess there may also be a resonant frequency where the piezo actually makes a decent amount of noise.
So just to be clear, you actually bought https://www.aliexpress.com/item/1005005726070115.html and that's what is in the picture above? Looks like a total bargain.
-
• #28
So just to be clear, you actually bought https://www.aliexpress.com/item/1005005726070115.html and that's what is in the picture above?
Yes, exactly. Getting two with untracked shipping would be $9.75 total including VAT and shipping for me. I actually got three with tracked shipping so it was $5.6 a piece :-)
Yes 32mA looks like short, maybe the battery cannot give much more than that, not sure what the wiring can be to work like that.
-
• #29
not sure what the wiring can be to work like that
it is GND -> some transistor/FET marked Y2, switched by pin D14 -> one side of piezo -> 12ohm piezo/speaker -> 10ohm resistor -> VCC
so 22 ohm in total between VCC and GND when D14 is low (more precisely 22 ohm between VCC and top of the FET)
That is a bit strange because I=U/R = 3/22 ~= 136mA but I guess that battery cannot give more so the rest is internal resistance of battery
EDIT: attached picture - red are both sides of the speaker, R is 10 ohm resistor, V is VCC, G is GND
1 Attachment
-
• #30
So it is not piezo but something called magnetic buzzer, matches this picture and description https://www.aliexpress.com/item/1649570962.html
EDIT: or this https://www.quartz1.com/price/techdata/VS5030B.pdf
-
• #31
I tried to replace this magnetic buzzer by piezo but it does not work, it makes no sound, found explanation here https://www.murata.com/en-eu/support/faqs/sound/sounder/char/sch0007 - "You cannot produce a sound from a piezoelectric sounder by simply replacing an electromagnetic buzzer with a piezoelectric sounder in this circuit."
I also found another buzzer from similar cheap tracker tag and that one is 15ohm and is much louder. sadly it is also quite a bit bigger so won't fit inside. It looks like this one https://www.aliexpress.com/i/1005005047243506.html
Anyway the one on the board posted by parasquid is still not that bad, the other boards have the 10 ohm resistor replaced by higher values and those are more quiet. Also I don't see diode there.
As for the SPI flash pinout on the cheap NFCBoxLink ones I got last time - it really matches USON-8 package - VCC,GND,/WP,/HOLD pins are all in correct place and VCC, GND are connected. It is same SPI flash package as used on Raspberry Pico board - found 2MB chips here https://www.aliexpress.com/item/1005004379141351.html - will try to kill at least one NFCBoxLink board by adding it via reflowing by hot air. It is not that much useful there, I know, but still :-)
-
• #32
found 2MB chips here https://www.aliexpress.com/item/1005004379141351.html - will try to kill at least one NFCBoxLink board by adding it via reflowing by hot air. It is not that much useful there, I know, but still :-)
So I got couple of those W25Q16JVUXIQ USON-8 2x3mm flash chips from that aliexpress shop and tried one with this Amiibo board and it works :-)
>var sf=new SPI(); // SPI flash =SPI: { } >var FCS=D19;FCS.write(1); =undefined >sf.setup({sck:D12,mosi:D11,miso:D18,mode:3}); =undefined >sf.send([0xab],FCS); =new Uint8Array(1) >print(sf.send([0x9f,0,0,0],FCS)) new Uint8Array([255, 239, 64, 21]) =undefined
Got flash ID from the chip - 239, 64, 21 = 2MB winbond flash :-)
Photos here https://ibb.co/album/yhhkwZ, left = modified board with W25Q16JVUXIQ added (I also previously removed buzzer, was trying to add piezo or something else), right another original board with no modification
Still, it is probably not that much useful, but I simply wanted to try :-)
It was first test of hot air gun I got recently https://www.aliexpress.com/item/4000525251154.html
Never did this before. It worked 3rd time. First it looked OK but I got no response over SPI, on 2nd try it got worse and moved in wrong way, third time I added more flux realigned and it works now :-) I did not add pull up resistors to WP and HOLD but seems to work without it (did not try writing yet).EDIT: and BTW the shop lowered the price even more https://www.aliexpress.com/item/1005005571264919.html I see it as US $2.70 including VAT. Ordered another two pieces with $2.77 aliexpress saver shipping so it was total US $8.17 including shipping for two = about $4 for one :-) let's see if I really get it with this untracked shipping.
-
• #33
Nice work! I bought some in April and got fake ones..... Will check for a dealer that ships to Germany.
-
• #34
and got fake ones.
Oh, bad luck. All I got were good nrf52832, no issues at all.
First I ordered
https://www.aliexpress.com/item/1005005845252482.html , https://www.aliexpress.com/item/1005005829460356.html and
https://www.aliexpress.com/item/1005005820599424.html one was different board than the other two, these were relatively expensive - about $9 including shipping. Then I got few more of this third variant with empty SPI flash pads - current link in previous post, these were cheaper.Now I have 3 flashed with Espruino, each board different variant, and also got couple of spare unused ones of the third variant - could send you some to Germany if you don't find good seller. Only one variant has buzzer that is actually audible from a distance, the rest is very quiet so the buzzer is mostly worthless - maybe good as a feedback that you clicked the button but the microswitch click is good enough for that too. Or maybe as a feedback that NFC communication started but when using the phone it already vibrates for that.
Ah! No wonder I thought the battery went flat so fast. Thanks for the piezo hint (I tried playing a beep when the button was pressed but I reset the pin after the button is depressed).