#general-chat
1 messages · Page 61 of 1
its barely fast enough for HD right now haha.
unfortunately yup
its also horrible on the production side. an 8K render is over 1gb per frame
times many passes.
could easily be severa tb for a few iterations of a single 15 second shot.
shudder
haha
a lot of shows are still HD though.
I bet the storage systems for these have lots of blinkenlights
What if you criminalized copper lines like heroin and forced fiber everywhere
haha
Call it the war on slow internet
copper can be fairly fast
outside large cities it is a really big endeavour to run ANYTHING
you really need govt initiatives and money to force it.
I think I have the slow copper
err. im trying to type canada has slow internet and the censorbot is blocking it
haah
conspiracy!
alexander graham bell
that weirdo
although today it is owned by the ontario teachers pension fund. which is hilarious.
teachers demand the govt provide students better internet while simultanously overcvharging for said internet
Funny thing, the Ontario teachers' pension fund also owns FLEXnet
they used to own alias (maya) and many other weird things.
they are arctually a really smart invesment group
but there is a little bit of conflict in them owning bell to me
(Looks like they actually sold flexera again in 2020, so I'm wrong)
look at them chips fly
its making fixtures to hold the keycaps
should be done in a few hours.
(the actually cutting program there is only 20 mins)
one side holds 8 stems to be trimmed to correct height. and the other holds the caps to mill the top surfaces and do engraving.
What is this supposed to be?
read the line above 😛
It's 10pm. Do you know where your engineers are? We're doing some ESP32-S3 Linux builds... 🔧💻🎉 https://youtu.be/ng1on8prlYo
It's 10pm. Do you know where your engineers are? Last time we did a video, we were mucking about with trying to get Linux running on an ESP32-S3 by compiling the shell script provided over at https://gist.github.com/jcmvbkbc/316e6da728021c8ff670a24e674a35e6 - we tried a few methods, and it got quickly into a yak-shaving mess https://www.hanselma...
Is a dent like this in a lithium ion battery ok?
Personally I wouldn't be too worried about that. The outer metallic pouch is shrink-wrapped around the lithium cell itself, no that might be more of a "wrinkle" in how the wrapping shrunk than a "dent".
yeah, they arent "smooth". unless you eactually dented it yourself...
yay
I was putting it in a 3d print and it got “dented” is that still ok
hmm
its sorta hard to know. generally, if its been crushed or impacted hard, it is bad. but they are somewhat malleable to handle normally which is ok.
As long as you store it in a tub of sand you should be safe
i assume he wants to store it in the device while running 😛
Thinking about getting a window sticker for my car that says “Responds Well To Turn Signals”
Mostly because people try to merge into my car a lot, typically not using any kind of turn signal
haha
i wanted to post a sign outside my old condo "red lights: not just a suggestion!"
I nearly got hit this last week
A light near my house has two right hand turn lanes, I was in the one that turns to the inside lane, some lady decided she wasn’t going to turn into her lane but into my lane
Which brand of SUV was she driving? Audi?
Had to slam on the brakes to not get hit
She was driving a Nissan suv
Not even that nice
Anyway, first time I’ve had to use the horn on my car
Imagine what collisions will look like once everyone's driving electric SUVs and trucks
exactly the same?
I don’t have a bucket of sand just sitting around though
Yes I do, but I want to be safe first
When I was putting it in the shell my finger nail pushed into the side.
ahh, thats nothing
just a bit of squish
if you stuck it in a vise and hit it with a hammer... then
ok, sleepy time. haha
(they arent glued, just snapped in, thats why they are crooked
does tossing years of code because your data source goes offline counts as an achievement?
Absolutely
I had a two year project go bunk because a website decided to make their website junk to parse through to force people to use their API 😛
I have seen a LiPo fire after someone punctured it while closing a case it was in. It started smoking immediately and then burst into flames. I beat the fire out temporarily with some textiles (only thing handy), and then we scooted it out an outside door with a dustpan. It melted the vinyl tile on the floor. Moral: be careful with these.
you don't know the half of it...
battery fire drill is a PITA where I work
Ok I will keep that in mind.
i deliberately set a laptop lipo battery on fire (in a bucket outside) and it took a surprising amount of hitting with a hammer/crobar.
not suggesting they are "safe", just that it is seems kinda "random" what will set them off
glued. one with CA, one with a special plastic glue. not to program the tops!!!!
what should i engrave on them. i was thinking a cat, but maybe i should make each one different (these will wind up being my show/sample keys)
The lighting is chef's kiss
real cinema graded lights are awesome, haha. i bought them a year ago and kinda wondered if it was a pointless purchase, but its useful now! hahaha
You could also open the ultimate food instagram :P
haha
thats why i bought them, to make some cooking recipe videos. but every time i cook im hungry and just wan tto eat that food, not film it
hahaha
My patented technique for destroying a single cell at a time (it is how I have disposed of a few cells in past) has been connect them in parallel with a car battery
oh
But also lets me remote activate it rather than having to be in hammer swinging distance
my question is always, how do you know when they become inert and safe after destruction?
Once they stop burning
Which light is that?
Testing fit for the Bluetooth add on for my rp2040 watch
mine never really burn with flames, just smoke out
Once the thing is just a pile of charred remains, it's pretty done
uh... "simorr". was form smallrig (got it with my RP rig
In general though, lipo fires are hard to extinguish so if you get one to ignite rather than just offgas, best to just move it somewhere it can burn up safely
That's true of metal fires in general
Even the sand trick tends to be a pause button rather than a stop button
Very useful as it lets you at least move the battery to a safe location or make the area safe in its existing one
But major risk of it catching fire again once unburied
cnc machine fires are fun. ive seen a few videos. usually titanium milling.
Yeah, the ability to buy yourself a little time is valuable in such situations
i set one of my machines on fire but that was with wood, so just poured some water on it and it was fine (melted a few wires)
haha, i just got a smallrig spam email. it's like they are watching
Wood ... machine?
In general most of my battery powered projects are now LFP
Which doesn't tend to be so burny
cnc machining a wood (mdf actually) bronze casting pattern. the bit was rubbing, and after some hours of cutting. whooof.. flames.
just for a few seconds
simorr sounds like something from IKEA
Though they'd probably call it LÄMP or something :P
apple would call it the new retina cinema photon emitter
oh, and revolutionary!
with graphs about how it is 30% more
(more what, we dont know)
more than a 1800s incandescent lamp
IIRC they are still comparing their M* macs with their intel equivalents even though there have been at least 2 generations of ARM machines at this point
VIDEO CONFERENCE
ha
Most of the time I don't have enough bandwidth to transmit my desktop + voice + camera feed
Which of those is totally irrelevant and gonna go?
but to be fair, streamers, conferences etc are actually lit and shot really pro these days
||It's the camera feed||
I thought it was Bad English for "Video Conferencing"
aka the Company Zoom Meeting
(or Teams, or WebEx, or whatever. Pick your poison)
perfectly fine english
On the other hand, if you're running an actual conference, I hope you have the budget for a better "more pro" lightbox than this :P
haha
video conferencing is the act of " having a video conference"
anyhow. need some engraving ideas. they will all be a powder blue colour. (only mixing one epoxy batch).
The Great Wave off Kanagawa (Japanese: 神奈川沖浪裏, Hepburn: Kanagawa-oki Nami Ura, lit. 'Under the Wave off Kanagawa') is a woodblock print by Japanese ukiyo-e artist Hokusai, created in late 1831 during the Edo period of Japanese history. The print depicts three boats moving through a storm-tossed sea, with a large wave forming a spiral in the cent...
uh, that wont fit on a tiny keycap 😛
I mean, you could take the wave pattern and shrink it
why not make custom batches with an SVG the customer sends you for extra $$?
i need to machine these 8 keys today. now. this minute. as samples.
Forgive my bikeshedding, I was just mentioning it as a future option
hehe
I wonder what they'll do about the m1 macs once their ssds start failing, you can't get third party flash right now
skull and crossbones (can be mapped to hard reboot), mushroom cloud (ditto)
louis rossman mentioned, if you buy a user-upgradable ssd for one of the other models, its the same custom flash chip
apple has custom ssd's, that look like nvme, but its just raw NAND over the same connector, no controller
So, the solution is to pay $???k to get... a spare part?
yeah, buy over-priced flash chips, hot-air them off, reball, and then hot-air them onto the motherboard
and then re-flash the missing bios
Mini-rant: why would Samsung of all SSD manufacturers default to listing a 512 byte logical and physical sector size in their NVMe SSDs? I have a hard time believing that they are aligning to that internally. The most annoying part is that they don't actually list a block, page, or atomic write size anywhere in their datasheet. Also I wasn't able to update the firmware using their ISO image, so at first I thought the drive was a counterfeit. But no, it's genuine as far as I can tell. I looked up the serial number on it. I've manually overridden all of my partitions to use 4KiB blocks, but seriously why are any vendors still reporting—let alone defaulting to—512 byte sectors?
... and then the device eventually refuses to boot after a firmware update because the flash chip is not bound somehow
the pi4 firmware lacks support for 4k sectors
so its unable to boot from a 4k sectored usb drive
Does the concept of "sector size" make sense in non-spinning rust-based storage?
i have the dead face emoji one. skull im not sure works in powder blue for a sample, but the idea is good ill have to look up traditional flags and see what can work. muchroom cloud im not sure i can do a one colour engraving that is "readable" as an a bomb.
There is a concept of "atomic block" or "page size", i.e. the minimum amount of space that can be erased in a single operation. From what I've read this can be anywhere from 4k to 16k or more, but most manufacturers don't list it. I highly doubt any of them actually use 512B internally though.
well legacy support
Waaaaaah legacy support... these are NVMe drives we're talking about. Nothing legacy supports them.
Also SSDs are way more complex then HDDs, those page and sector doesn't describe the behavior either
If it exists somebody will try to boot MS-DOS off of it :D
There probably is some cursed firmware stuff that will still emulate an IDE harddrive out of them
Windows support might be a more accurate answer. Apparently windows doesn't like 4k sectors for some reason(?)
Windows is...... strange. Again.
there was one user i helped, that wanted to boot a pi4 from a usb drive, with 4k sectors
he found a vendor util, to re-format the drive for "win xp compatability", which just enabled 512 emulation
This is your brain on multi-decade backwards compatibility ;>
Yeah that's what I've been reading/setting up.
but ive also had usb<->sata adapters lie in the other direction
a 4tb sata drive, that i had been using in 512 mode for years
when connected to the usb adapter, suddenly claimed to have 4k sectors
so the mbr offsets where all wrong, and the fs couldnt be found
What I don't understand is why Samsung defaults to the emulation mode.
To be honest, this is how some low level FW update tool works, they use DOS with 16bit real mode I think
ive heard that some of those tools are switching to .efi binaries
Yeap but slowly
I think pretty much all of them have at this point.
Like all the legacy stuff
I booted one that started PC-DOS the other month. It was fun figuring out how to get it on an USB flash drive
i still have my original dos install floppies
but finding a motherboard with floppy support will be troublesome, lol
It's a 3D-printed save icon
Because otherwise the consumer will return the drive even though it is fine
Yeah but at the very least they should list something in the datasheet.
To be fair, floppies didn't exactly die. They just went extinct
We have vending machines with them at work.
You guys get a datasheet?
same problem exists with usb hubs
a bus powered hub, is supposed to declare itself as such
and then the pc wont enable devices that need over 100mA
and then "oh no, my hub doesnt work, i better return it"
Nobody bolted a gotek on them yet?
Exactly, though SSDs are much expensive then Hubs : D
I think most mobos go out of spec and provide moar current anyway
I dread for the day somebody is gonna ask me that 😂
For Consumer drives maybe not
Yeah I know.
semi related, i had a pair of sata ssd's in mirror configuration on my old desktop, it locked up constantly
970EVO is fine, the issue is on 980
nvm, it's not this one
https://www.pugetsystems.com/support/guides/critical-samsung-ssd-firmware-update/
after several years like that, i found the cause
a firmware bug in the ssd, causes the controller to just hang
There is a FW update available, but their updater can't find the drive.
a windows util was supplied to update the firmware, it just failed with "error"
I'm half tempted to install windows on it just so I can try to update it at this point 😭
my desktop is/was setup for dual-boot
but i havent booted windows since the cpu/mobo swap
no idea how upset windows is going to be when i do bring it back from the dead, lol
slmgr is probably going to yell at you
This is a brand new drive. Bought it a couple weeks ago.
$50 so yeah
:(
Dang, flex PCB are tough to work with
It’s rough looking but no apparent solder bridges from continuity testing
Hindsight: I should have used hatched ground plane
I guess you are using OSHPark?
I found that for some reason JLCPCBs flex is much flexible then OSHPark
Yeah
Given the size, cheapest flex I could buy
Otherwise the quality is really nice
I have some temperature and humidity sensor extender flex board and for some reason the one I get from JLCPCB is softer
Probably a different material on the inside layers with JLC
flex... PCB?
Is it a flex ribbon with a flexible PCB on?
Optimizing the mechanical parameters of my jumping PCB frog
Get a free trial of Altium Designer - https://carlbugeja.com/altium
PCB Manufacturer - https://www.pcbway.com
My Electronic Kits - http://flexar.io
Help me make more projects by supporting me on Patreon - https://www.patreon.com/carlbugeja
Open Source Files - https://github.com/CarlB...
I see your PCB frog robot and raise you a frog skin cell robot
https://www.youtube.com/watch?v=C1eg-jgLx5o
Swarms of tiny living robots can self-replicate in a dish by pushing other cells together. The xenobots – made from frog cells – are the first multicellular organisms found to reproduce in this way.
Xenobots were first created last year, using cells taken from the embryo of the frog species Xenopus laevis. Under the right lab conditions, the ce...
neat
Yup
Charging my watch after long being dormant due to needing firmware updates
Great! I wonder if the cat would look better if it was alligned to the bottom, looks kinda floating imho 🤔 Or bongo cat 😆
Cats float
i treid a few alignments. this works best being so small. inverted like the ESC actually works nice too
Perfectly valid position
these are corian so they will glow a little from the rgb (i think!). so the invert should be interestting
padauk versions
esc doesnt work i dont think. the others do
I think ill leave the 4th one plain actually.
there
With so many PCBs and components, this (probably) isn't a good watch to take to the airport
you missed the opportunity to make an "any" key :>
ooooh, yes. i thought of that but forgot haha
ill do fail on the corian and any on the padauk
How so?
Most smart watches are multitudes more complex
You folks don't get your electronics x-ray inspected before a flight?
(genuine question)
They ride in a bin with our other electronics
And obviously most smart watches are multitudes more complex, but they also do look "professionally made" (single PCB, little to no wires, etc)
A screen, PCB, charging coil, and 3D printed case
Ah, it's a single PCB?
Yeah, you can add small accessories like an accelerometer via a small flex but that’s innocuous
World's first FPGA watch :P
RP2040 actually lol
(re: accelerator)
@late fulcrum Heh, Hello Kitty Island Adventure has actually been released now
https://apps.apple.com/us/app/hello-kitty-island-adventure/id1553505132
Embark on a cozy adventure with Hello Kitty and Friends and restore an abandoned island to its former glory. Can you solve the mystery hidden within?
OPEN WORLD ADVENTURE
Welcome to Big Adventures Park, where friendships are key and adventure is just around the corner! Join your supercute new frien…
Hilariously, this was discussed a few weeks ago 😅
Yeah, but it has actually been released now!
it's been out for a few weeks
Do they really go up to 110MHz? :>
🤷
`default_nettype none
module timing(input clk, logical, output timedLogic, await);
localparam sendonecnt = 2;
localparam sendzerocnt = 1;
reg [2:0] clkcnt;
initial begin
clkcnt = 0;
end
always @(posedge clk) begin
if (logical == 1) begin
await <= 1;
if (clkcnt < sendonecnt + 1) begin
timedLogic <= 1;
clkcnt <= clkcnt + 1;
end else begin
timedLogic <= 0;
clkcnt <= 0;
await <= 0;
end
end else if (logical == 0) begin
await <= 1;
if (clkcnt < sendonecnt + 1) begin
timedLogic <= 0;
clkcnt <= clkcnt + 1;
end else begin
timedLogic <= 1;
clkcnt <= 0;
await <= 0;
end
end
end
endmodule```
all this... just to get the timing right.
I want to drive neopixels with an FPGA, I figured timing was the first thing I should do
wait, how isn't your synthesis tool freaking out with you setting non-reg outputs from a clocked always block?
?
because they're wires on the top level
😛
`default_nettype none
`timescale 10ns
`include "timing.v"
module top(input P9, P10, P11, P12, P13, output P6, LED_R, LED_G, LED_B);
wire clk;
reg logical;
reg await;
reg timedLogic;
reg [31:0] GB_out;
reg [23:0] color;
assign LED_R = logical;
assign LED_G = GB_out[14];
assign LED_B = GB_out[15];
assign P6 = timedLogic;
SB_LFOSC SB_LFOSC_inst(
.CLKLFEN(1),
.CLKLFPU(1),
.CLKLF(clk)
);
timing timing(.clk(clk), .logical(logical), .timedLogic(timedLogic), .await(await));
initial begin
logical = 0;
GB_out = 2'b00;
color = 24'hFF00AF;
end
integer i = 0;
always @ (posedge clk)
begin
if (await == 0) begin
logical <= color[i];
end
else begin
GB_out <= GB_out + 1;
end
i <= i + 1;
end
endmodule```
I take that back, I changed them to registers
Yeah, as far as I know, procedural assignments to wires aren't legal in verilog
I was very surprised that it worked 😅
it'll let you do that, it just won't wire anything up lol
yosys essentially ignores them
Anyway, you probably already know this, but passing your modules through verilator --lint-only helps catch these kinds of things
verilator is a very good linter
indeed it is
luckily this timing and color output example only took me about an hour to through together
I feel like i'm getting much better at this stuff
(Also, I prefer just specifying all modules to read_verilog instead of using ``include`s)
why?
IDK. Style thing
Helps me maintain a healthy level of separation between programming mode and HDL mode in my brain
it all really does the same thing under the hood
I know!
Which is why I said it's a style thing :D
And then you feed your top module how?
in a makefile?
build:
yosys -p "synth_ice40 -top top -json $(filename).json" $(filename).v
nextpnr-ice40 --u4k --json $(filename).json --pcf $(pcf_file) --asc $(filename).asc
icepack $(filename).asc $(filename).bin```
I like simplifying my build process as much as possible 🙂
Makes sense :)
I usually use yosys when I want to interrogate some specific aspect of my design
Not to actually build a bitstream
makes sense
So, I typically read_verilog my design in, and then run yosys commands on it
I just cross my fingers and build
not the greatest way to find issues but it works for the smol files I'm working with
I just need to write a simulation test bench for this to verify everything looks good.
glancing at an oscilloscope only gives me a small view into that.
You can also look into doing something with symbiyosys to formally prove your module
The subset of SVA you'll probably need is small enough that the free version should be able to handle it
I can also use edaplayground or put it in icecube2 and run modelsim on it
since icecube2 comes with a lattice semi specific version of modelsim
You were able to run it?
turns out it's a bug that cause the window issues
minimizing and then right clicking to click "Maximize" fixed it
lol :P
yeah, a bizarre bug
btw check out https://blog.yosyshq.com/ if you haven't already for some neat things you can do with yosys
naturally because isn't that what everyone does? lol. if it works it works.
Hello
hola
The Desk of Ladyada - Complex kernel compiles? Docker it up! 💻 🐳 🔌 & The Great Search - 2x5 0.05" JTAG / SWD connector and cable https://youtu.be/f6ZhVPpiNzM
Ladyada will be talking about using Docker for kernel compiles on ESP32S3 to overcome issues with other methods; they created a Docker container, simpler and smaller than VirtualBox. And we're discussing on adding a 2x5 0.05" JTAG/SWD connector to ESP32-S3 boards, highlighting options for easy debugging.
This week at the Desk of Ladyada we're p...
Midnight snacking cherry tomato
The best kind. Yum!
TIL that putting TXB0108 an PD/PU doesn't work well
It's impossible for me to find 12mm chopped carbon fiber
Hello, good morning guys
well
I thought Pi Pico's 4USD price is cheap enough and can prevent it from being cloned
Just saw a super realistic counterfeit Pico with Pi's logo and copyright 2020 text on Taobao
For 2-ish USD!
I clearly underestimated China's cloning industry
The seller clearly marked and labelled that its a clone tho
Looks like the raspberry pi foundation has some goodwill even with the Chinese cloning industry 😅
Do you think they have a counterfeit rp2040 die?
probably not
but even if it does have one I will not be surprised
curious how they will clone the PIO part
On the one hand, I am not really into rewarding cloners. On the other hand, I'd be curious
That is.... not unexpected of you :P
60 sec speech or 4 voices MIDI synthesis
and they are OTP parts
Interestingly enough they are actually EPROM parts
but since they are packaged in non-crystal packages
they are non-erasable
Funnily enough, I came across a weird micro today
https://www.quicklogic.com/products/soc/eos-s3-microcontroller/
(also linked it over at #fpga , but, oh well)
It's like a very budget Xilinx Zynq
I am wondering what is the price difference between a true e-fuse based PROM and EPROM
I know Padauk MCUs are real e-fuse PROMs
the programmer also generates the VPP for the chip (both Padauk and Nyquest), which further decreases the cost per die
Ah yes, CD sound 🙃
In Nyquest Smart Programmer it uses a NXP LPC controller and a super complex power board with loads of chip and inductors
that power board is definetely for the VPP generation
Yeeeah, makes sense
I know Padauk is +15V
FreePDK sounds like something you'd use to design an ASIC, not write a MCU program
also, I got shocked once by the VPP inductor on FreePDK's programmer
"Free Padauk"
If only they'd add 2+2 and connect the speech synthesis with the MIDI part
El cheapo "vocaloid"
nah
if a Taiwanese chip maker said "speech synthesis" in a sound chip they probably means PCM playback
which is the case here
lol, I thought 語音 was "speech synthesis" hah
yeah
语音合成 = PCM playback
in these Taiwanese chipmaker's eyes
sorry to disappoint you lol
How cursed is the assembly?
here's the manual
there are only two status flags
Carry and Zero
yeah... they are still using the "speech synthesis" term in their English UM
Creator: Acrobat PDFMaker 20 Word 版
Looks like they're making their datasheets in Word
The clock generator is a Ring oscillator
🙀
It looks good enough to write some code like "if button A is pressed, play sample A"
don't think about using it as a clock
yeah
there's even a dedicated "PLAY" instruction
Remember to turn off the audio output before entering to the slow mode.
I imagine it keeps generaaaaaaaaaaaaattttttttiiiiiiiiiiinnnnnnnnnnngggggg auauuuuuuuuddddiiiiioooo
Problem is, with each experiment, you burn one (1) speech IC
nah, I have the FDB board
(Oh no, the terminology is infectious)
which is basically an OTP part but with an external parallel NOR flash
and programmed with the dedicated FDB programmer
Flash Demo Board
so you don't have to sacrifice OTP parts for exprimentations
Oh no, I was referring to the fact I referred to it as a "speech IC"
lol, there's an "octave shift" instruction
asic revision problem?
I am using NY5 here which is an unsupported territory even for Nyquest
Yeah, my FDB is too old
I have a newer NY5 FDB but it's unsoldered
I actually like how they've bothered to translate everything to English
yeah
I wonder if their Chinese version is actually Unicode too
it works
my language and region are both English (US)
and it still displays properly
Probably unicode then
So, Nyquest's Chinese name is 九齊?
I get the 9, it's a good number, but why 齊?
I guess the company owner likes ancient history 🤷
Taiwanese companies have funny Chinese to English name comparisons
for example
Super Flower
their Chinese name is 振華電腦
which translates to "revitalize China"
TIL 華 in Chinese actually means China too
yeah
So, they will revitalize China with their............ PSUs
"Pan's pipe spring"?
Sheng Spring
Sheng is a Chinese traditional instrument
yeah
and their english name is...
MegaWin
yeah
what does that even means lol
I dunno. I want a window cleaning robot now
Bender should've had a 8051 in his brain instead of a 6502
It'd be more believable
That MCU is like cockroaches. It'll never die out
Yeah, 8051 never dies
If humanity still exists 2000 years into the future, we'll have 8051-powered spaceships
it's even in Texas Instruments' CC series wireless ICs
8051 powered spacechips
with 256B of direct access RAM
Best way to ensure they'll cryonically revive you in the far the future? Become a master 8051 programmer
😆
And a bunch of assorted 8051 clones. The Mark Of The Master
Future-proof!
I am reading Nyquest's Q-Code programming guide
which is an assembly generation tool for their 4-bit MCU
Is this... an INI derivative?
I have a feeling yes
they are arranged as "paths"
a path is a series of action the chip will do when you press something / something happens
All they're missing is a graphical programming tool. Business Scratch
I imagine some poor Nyquest engineer randomly being on the server and just reading two random folks making small talk around their MCU for toy companies
lol
just my own little test midi
sounds like some sorts of town tone of an Animal Crossing game
Me this morning:
lol
All because my dog got in the trash last night 🙃
And I had to clean it up just to get to the coffee pot
Hello, I was wondering is there a metro board in the form factor of an arduino mega?
Grand central
Ah look, a link at the same time lol
also available without headers for way cheaper
Ah awesome thanks
Sometimes I think to myself, the internet has done a lot of harm to society. But then I come across memes like this and my faith in its goodness is restored:
oh
@raw jasper
heres my NY3/4/5 dev board
(sorry my dirty lens made it looks like Metal Gear Solid)
That black blob is the NY3 FDB (one channel speech synthesis)
Oh yeah, also
FDB uses SmartMedia card protocol to flash and erase
A Kojima photograph
Wow, they didn't skimp on the buttons, LEDs, & DIP switches at all... But the IC does not seem to have so many IOs.. Are there some sort of shift register shenanigans going on?
That's because the chip is NY3
Which is a state machine based non programmable speech IC
NY5 have 6 ports
Port A to F
Each of them have 4 IOs
To a total of 24 IOs
yeah, but the board has, like, 48LEDs
one set for high level one set for low level
and these switches determines if an IO is input or output
That's definitely something I've never seen before
Hey guys, can I control the voltage and current over/through an inductor with nothing but a transistor and a pwm from an arduino?
You can't "control" both. An inductor has a fixed relationship between voltage and current: v = L di/dt.
What are you trying to accomplish?
I wanted to make my own variable frequency drive
Ok, so this is a motor you're talking about?
I have run motors and other stuff with pwm, but I've always had trouble with fluctuations and noise and such, so I was thinking, what do I have to introduce to the circuit to avoid that
yeah, it's a driver circuit for a motor
I think the first thing you need to look at is what supply you are using to drive the motors. If you're powering them from the same supply as your microcontroller, that is almost certainly your problem.
What is U1 in that circuit?
TB67S112PG,HJ
Some kind of voltage reg?
Also, an inductor is not really a good motor model. Yes, motors have inductance, but keep in mind that that inductance can change or even reverse polarity depending on the type of motor. And of course there will be coil resistance.
no this is an actual inductor
Ahh, close enough. 😄
lol
I need to very precisely monitor the current running through this for closed loop control, I can run the arduino off of a seperate supply but how do I get it good and stable for accuracy?
I figured I'd make my own, as a final project in mechatronics B.Sc
Without seeing more of the design it's hard to say.
Do you have some reference material or an existing design you are basing this off of?
aren't there rules of thumb for avoiding pwm noise or something
No, it's inherently noisy.
This is a case where you'd need to develop some kind of mathematical model for your circuit and likely run simulations.
I can't say "d*mn", but that's my reply
alright, What am I trying to accomplish modeling it mathematically?
That's not to say you can't get a clean output using PWM, but you can't just wing it either.
For one thing minimum PWM frequency. But overall you are going to need to look into motor models and work from there.
This isn't the type of problem where you can just pull numbers out of a hat and expect things to work. It requires some very deliberate design decisions.
ok, surely I can just run the PWM as high as possible, right? and what am I trying to gauge? what is the endgoal? what are my objectives? what do I even research?
Since it sounds like you're at a university, I suggest taking a look in the library for books on power electronics.
Surely I can just run the PWM as high as possible, right?
Not necessarily.
What am I trying to gauge? What is my end goal?
Based on the information you have given me, it sounds like you are wanting to produce a sine wave output with a frequency depending on PWM duty cycle, and that you are wanting to get maximum power transfer.
What are my objectives?
That's for you to define.
What do I even research?
Power electronics, which includes switching regulators and motor drivers. Ultimately the circuit topology in your case is going to look loosely like an inverter.
No, but most of them have at least one chapter on motor control.
ok, cool, thanks. I definitely don't need maximum power transfer for the power's sake, but maybe I need it for the noise reduction, a capacitor+resistor parallel to the transistor is probably all I need with the current sensing on the high side of the coil
One thing to keep in mind: while it is technically possible to build your own motor, it will be extremely tedious to do all the windings by hand. It will also require quite a bit of custom hardware (such as precisely shaped magnets) if you want to build a good one. That's a project in itself.
I have fully finished that project, I wholeheartedly support this warning however
A resistor in series with your motor will have some very significant implications for supply stability. Keep in mind that motors draw a lot of current, particularly during startup.
no no no, this is an RC resistor, for the stability of the ground
Nice, so have you done any characterization for it? Do you have an equivalent circuit?
I don't understand the question 😅 , equivalent circuit?
In that case then it's likely the motor itself that is your noise source.
I have not built the thing yet sir.
Wait, I thought you said that you just finished that project.
I finished creating a winding system
I can now see how my words weren't precise enough, my bad
I am absolutely terrible at communicating 😅
A motor is an electromechanical device, so you can look at it from multiple perspectives. From an electrical perspective, each winding can likely be modeled as an RL circuit, but the component values of that circuit will depend on the physical properties or your windings and the rotation speed. A motor is a highly dynamic load.
yup, motors are complex
If you haven't already, I would definitely recommend talking to someone in your physics department. They'll probably be the best people to help you get a grasp on the math behind motors.
Fair warning: it involves ||Maxwell's equations||.
Anyways, I'm at work now. If you have any more specific questions I'll be happy to try to help when I'm available. But keep in mind that I am an electronics engineer. I can give advice on the circuit design side, not so much the electromechanical side.
Thank you for the help
I have been wanting to actually understand those maxwell equations, would be cool to fully know them
Yeah talk to the physics people.
alright, fine
@tardy badger @glad ruin @late fulcrum and also others that helped with my project, great thanks for the help with all of the components, technicalities and insights of different circuits! Project looks to be completed, and it's so far, worked really well!
I am modifying my STM32Duino installation to use st-flash instead of STM32CubeProg
I prefer the open source stuff
that doesn't stop me from flashing clone chips like APM32 and CKS32
then I realised I don't actually have clone chips
All my STM32 are legit STM32s

Oh well. You excised one binary blob
let's go!
No more closed source programming tool that tells me what I can program and what I can't
Actually I am gonna modify it to use DAPLink
used a different "plastic" adhesive on this one and it delaminated instantly. sigh.
inlays are super crisp in corian though. i do see that i did not fully fill the "fail" text though
But did you filly fail the "full" text?
....
hrm; is it possible to use MCP23S17 as a "possibly" to level shift 8bit IOs?
trying to mill a keycap with the word fail on it is like jinxing yourself. good luck. 🫡
I mean I think you can drive MCP23X17 as 5V and level shift SPI
https://static-content.springer.com/esm/art:10.1038%2Fs41598-019-55693-8/MediaObjects/41598_2019_55693_MOESM1_ESM.pdf
A proposed tool for identifying pain in cats based on their facial expressions. I know it's from 2019, but it looks like one of those things that would be helpful to know when needed, so I'm sharing it here.
From paper:
https://www.nature.com/articles/s41598-019-55693-8
shhh!
Destiny wants you to add the "Abort" and "Retry" keys
my keyboard already has stop and again keys!
bah
hehe
looking at some 3m glues. (the last one was a machine issue with a cable)
Just got back from a bike ride and now my shifting problems on derailleur have gotten worse
I scored a first in damaging a cassette for first time ever
and the motor is making noises it really shouldnt 😛
All I did was ride 4 miles on low assist 😦
I had recurring chain/shifting issues on mine, I finally replaced a section of chain and fine tuned the chain length, now it behaves.
step 1 is always check derailleur hanger alignment. then everything else. (unless it is very obvious something else is broken of course haha)
hangers being out a tiny bit can make shifting horrible and skip in a seemingly unfixable manner
Meanwhile, mine has been slightly bent for years and somehow still cooperates
I can't find a replacement
I've lost a tooth on cassette
and bent some more
Hanger looks fine
but I think the chainline is just too offset
meanwhile, very obvious signs that bearings are either failing or already failed in the motor assembly
its one of those bottom bracket replacing motors
Still working though
@fossil dawn (moving from general-tech)
Out of curiosity, what are you using to learn Japanese?
||Duolingo|| 😱
You'll eventually grow past it :)
it's really not that great 😂
yes
they now added kanji learning 🥳
do you know Anki?
lol, it only took them, how many years?
Yeah, I do. Not really a fan of how the intervals work though
It seems to be made for people who are constantly glued to their screen micromanaging their flashcard decks
about 1523 years
Fun fact: There was a Japanese murder mystery that was written in the 1800s and first translated to English in 2020
I can't remember the title for the life of me
yes, exactly. Anki uses fancy "spaced repetition algorithms" (with a bunch of options to taylor them to you). Can you guess which spaced repetition algorithm Duolingo uses for kanji learning?
On the website it advertises "Combining the best of AI and language science, lessons are tailored to help you learn at just the right level and pace."
The SRS algorithm isn't even anki's
They're all lifting from the original supermemo thesis
yes, but still they've implemented a decent to good and proven spaced repetition algorithm 😄
...and supermemo has, in the meantime, continued development independently as IIRC a windows-only proprietary piece of software
And can you guess what Duolingo uses?
Probably some variation of the supermemo/"anki" algorithm
wrong
o.O
guess again? 😝
I dunno, it rolls a d10?
Hint: I managed to reverse-engineer it
I honestly can't guess
LITERALLY NONE!!! What in the actual name of the green owl!
There is LITERALLY NO spaced repetition algorithm! Absolutely NONE!
In fact, there isn't just no "spaced repetition algorithm".
There isn't even any "spaced repetition" at all!
The "right" or "wrong", "remembered" or "not remembered" have absolutely minimal effect. At most I've seen that it wanted me to repeat a kanji for one additional "lesson". It feels like the lessons for one kanji get minimally easier if you've made mistakes at this kanji before. But that's it and it seems even quite counterproductive.
The rest is 100% hardcoded. You learn 5 kanji at a time. Every time you click the one "learn kanji" button you get a lesson for currentlyLearningKanji[n], click the button again and you get currentlyLearningKanji[n-1]. After 5*5 lessons a kanji is perfected and literally never repeated again*. And then you get a new one, so there are always 5 kanji in progress.
* until you have perfected all kanji. Then I assume there is some repetition.
Now 2 examples:
- You do 5 kanji lessons per day:
Each kanji is repeated on 5 consecutive days. Each day you perfect one and learn one new one. But you're too slow because on the main learning path you get new words with new kanji way faster - You do 25 kanji lessons per day (about 20-25 minutes):
Each kanji is only repeated on 2 consecutive days. You perfect 5 and learn 5 new ones.
I'm truly impressed by how absolutely terrible this is. Seriously. I can't wrap my head around this. Honestly I would have written something better in a high-school Arduino project. And Duolingo has actual "learning scientists" and is hiring "Senior AI Researchers".
@raw jasper sorry, a) rant got a bit long b) I got distracted by something else and c) I had to write my rant in a way that doesn't get blocked by the mods 😆
Duolingo is pocketing all the money
oh and one more thing their "did you draw the kanji correctly" algorithm is absolute garbage as well
Well, time to leave duolingo
Also, pro tip: there is no reason to learn how to write kanji by hand just now
I still have not learned that skill
It's something you can pick up when you need it, but most of the time you'll be writing on a PC, and the JLPT does not even test writing (you don't need to write an essay or something like in the standardized English tests)
Just for your entertainment
I deliberately tried to make mistakes but you can see what it still accepts as "perfect". Especially after 0:41
hah, the "point" probably is to "learn the shape by tracing", not to learn the stroke order
yes absolutely. But I noticed with kana that writing them a few times really helped me remember, and read them. And I think for that this Duolingo kanji section is almost not terrible. It doesn't have to teach me the kanji so I can actually write them. But some spaced repetition would still be good. As it is right now, it's just...
problem is, there are a few 100s of kana, but ~2k kanji
And you only have so much time
And another thing with writing kana that I noticed: Writing them with a pen (wacom + Tofugu learn katakana book pdf) was what really helped me.
More than with a finger on the phone, but that's the only thing duolingo can
(Note that I did not say learning to write the kana was not helpful ;))
absolutely understood 😄 👍
(Also, obligatory disclaimer that there is no wrong way to learn a language. Except perhaps duolingo :>)
lmao shots fired
but can't really argue with that
And I still can't get over the fact that they do zero spaced repetition 😂
Spaced repetition is not the be all and end all
but none?
It seems to promote rote memorization, not real understanding. This is helpful when learning, say, symbols (kanji), but not as useful when learning concepts
Med students seem to swear by it though
even something like day 1, 1, 2, 5, 5 would be way better than just 2 days
oh yes, absolutely
btw there is of course zero help, guide, etc to aid in understanding either. 😆 I'm not sure what would be helpful. Maybe colouring the radicals differently or highlighting similar kanji or learning one kanji in different words... anything... but no.
Even kanji have an understanding component. You can sometimes predict what the 音読み is from the phonetic component in the character
音読み = something to do with reading/language/speech?
Chinese-derived reading of a kanji in Japanese
vs 訓読み-> Native Japanese reading
example: 人: (most common) kunyomi is 「ひと」、onyomi is 「ニン、ジン」
Better example: The numbers: 一:訓読み 「ひと」、音読み「イチ」
yes, I've seen and noticed that
Which is why counters can be so weird: 一人(one person/alone) = ひとり、一枚(one sheet)=イチマイ
But 三人=サンニン (uses 音読み)
Even kanji have an understanding component. You can sometimes predict what the 音読み is from the phonetic component in the character
I owe you an example for that:
点= point、テン、店 テン shop
Both have 占 in them (divination)
oh yeah duolingo rant number 3 incoming:
Wasted potential. I think it would help me a lot if there were dedicated quick numbers and count-words lessons. Like just count 0 to 10 for sheets and then 0 to 10 for people and then backwards or something like that. Or a few variations of 1 like 1 person, 1 sheet, 1 small animal.
Just something like that. But no, of course duolingo doesn't do any of that
So, what's your plan?
honestly idk
the only master plan is just to not stop duolingo before I've found and successfully started an alternative so that I never get out of the "every day" rythm
Sounds like a good idea. Any alternatives you've got in mind?
Even with all the faults, I'm still impressed how fast I learn just by doing it every day instead of at school once per week
not really tbh
hmm. Problem is, nothing is "perfect" so I can't really recommend anything?
haven't looked that much for alternatives because I kinda was curious if I could write some level of JLPT with just Duolingo for science but now I'm not sure
And I didn't really have the energy to do stuff lately
I'd definitely like something that works on phone and ideally PC as well. And learning from English has been ok, but there were already some rare cases where learning from German would have been better
And Rosetta Stone is just absolutely not for me 😆 (I get it free from my university so I tried it for a few weeks)
There's WaniKani but I don't necessarily like the fact that you can't skip levels.
As much as I like SRS, it is unfairly punishing.
does it also teach grammar and stuff like that?
I remember items that would take me about 3 months to burn because I messed up at the end.
Not really but you don't need SRS to learn grammar.
Yeah, WK's SRS is harsh
(Please note that WK's mnemonics were known to be... controversial in the past. My understanding is that they have cleaned them up now)
They are but I didn't really care about the mnemonics. Maybe during the first 20 levels but eventually you develop your own method.
At some point I just brute forced the roteness of it.
Yeah, any mnemonics kind of defeat the point of actually learning the character after the initial stage
I just knew without any prompting.
I think I could just try Wanikani out 🤔
There are free levels with a chance to get a lifetime pass at the end of the year, which isn't worth it if you do it fast enough but at least you have it forever.
What are/were you using?
Bonus if you already hit Lvl60, which I did and they charged me only 60. XD
I am now getting 3D printer and filament ads on Amazon streaming. 😄
I hacked this multimeter to display any number from 10-0
It's apparently this stuff: https://www.amazon.com/Flashforge-Mulitcolor-Spool-Dimensional-Environmental-Friendliness/dp/B09XHS5F3S
I am thinking of using it for a timer of some sorts
Certainly looks like burnt metal to me
well, he did say "robot"
Female flower on a male stem. This is certainly an interesting find in the pumpkin patch
The fruit on the flower is certainly odd too compared to the others on the plant
I guess plants aren't constrained to a gender binary either
Goes to 11! I've been known to use meters in art projects doing things like that.
I guess you could say
But I just switched the currents
I just drive mine with a PWM output and a series resistor to scale the current.
Hmm I using Pwm as well
How do I get the right resistance
Basically, you want to limit the current to the meter's full scale current at the operating voltage of the MCU you're driving it with. So for a first approximation, just divide the voltage (normally 3.3 or 5 volts) by the meter's full scale current (generally 1mA or less). So for a 5V MCU and a 1mA FS meter, that would be 5000 ohms. Since the meter itself has some resistance as well, you may need to reduce the resistor slightly to compensate. Measuring the meter resistance directly can damage the meter, but once you have the series resistor, you can hook the whole thing to your supply voltage and either note the deflection and compute how much more current you need, or measure the voltage drops across the meter and resistor and calculate from there (this is more accurate).
I think mine is 3v
Uhm...
One litte quick question:
Circuitpython doesn't have f strings???
👀
Nvm, I am dumb.
Got syntax error too many times in Thonny and didn't see the extra parenthesis
I started having this feeling of encroaching doom, then I realized it was just latent "end of summer vacation" dread. 😱
Just saw the STM32U series MCU
ARM v8m Cortex-M33 with ST's NeoChorm graphics accelerator
With features like alpha blending, rotation, scaling, 3D texture mapping, image compression etc
Seems like a perfect candidate for a "fantasy" console
BGA144 package
Now I’m curious
My son started back school yesterday, so I feel it
But I’m excited for autumn
At least it's easier than these Chinese and Taiwanese OTP PIC clones lol
You can probably shoot ST an inquiry
There's also this thing
A dev kit
With round display?

You seem to want to make a fantasy console :P
Nah
But I do want to make an electronic pet tho
With something that's capable of low power like STM32
Not random Chinese clones
Eternal tamagotchi! :P

the real things run on sunplus 6502
Yeah
So, I don't think you'll have any trouble making a better one with a better mcu
yeeah, though I think even the rp2040 will allow you to put, like, most of the peripherals to sleep
ninja'd
Loads everything from SPI flash on boot to RAM
Then shuts the SPI down to save power
when the v-pet is sleeping, it shuts down most of the ram banks
A different approach is to use STM32's RTC battery and EEPROM
Use RTC to keep time then load and calculate everything every time the player powers up the pet
Just like these early iPad games that uses iOS system time for progression
You'll have to set rtc alarms for the obligatory annoying beeps

(or ble smartphone notifs -- we are in 2023 after all xD)
Can STM32 be powered from that coin cell?
If it can it can definitely drive a piezo horn
25ma is enough for piezo sounder
Oh I was talking about powering the thing from a coin cell
Unless I wanna make my pet shout for food with 115db like a burglar siren
Not everything, just powering up the CPU and GPIO briefly to drive the piezo
Then the user can turn on the main power which poweres up the LCD
Also I am using STM32F103
Not L series
I just randomly downloaded the first datasheet mouser returned 😂
LOL
L series is their low power series
So it's a good choice
But STM32F103 is the easiest thing to get
Yeah, especially if you also want a devboard
I am also considering GD32F103 tho
Sounds like a job for an MSP430, their FR versions are the lowest power consumption
I've never heard of GigaDevice before
It's like STM32F103 but runs faster (100+MHz) and not binary compatible
Right!
MSP430
But the only von neumann stuff I want to deal with right now is RP2040

You prefer Harvard architecture like the Sharc DSP line?
Most of the modern stuff is a cursed concoction between the two anyway
Harvard is a tad easier to manage
(think NX bits)
But von neumann is flexible af
Yeah, and liable to be exploited by more things than ROP. Which you probably don't want in embedded devices
Since your FW is static anyway
(Unless OTA'd)
One useful trick the FR series chips has, is you can divide the FRAM between program storage and data storage, so some of your RAM is magically non-volatile.
True
I'll probably just use STM32F103 with an external EEPROM with autosave
With an RTC also, or use the internal VBAT RTC
Primary power source will be removable AAA cells
why not some rechargeable battery?
no need to relive the gameboy days
BTW, what was your equivalent of the gameboy in China?
Gameboy
Nothing special
Just normal Nintendo Gameboy
Ah, so they imported the nintendo stuff. OK! Sorry for my ignorance :)
So, much like the rest of the world where nintendo did not necessarily have a strong first-party presence haha
Yeah
I also have a bootleg famiclone with discrete DIP CPU and PPU
Not these glob crap
I also have a real North American NES
But since we have 220v 50hz here
It doesn't really work
I remember reading about a very special Chinese famiclone that ran a version of DOS and even had a floppy drive and some sort of assembler
Xiaobawang
There was a xiao in the name certainly
ha, eternal joy
It's NTSC like the rest of my game consoles
I've only ever seen blob famiclones
It's surprisingly easy to play NTSC games in China which is PAL
Because everything here except the TV programmes are 60hz
Lol
It's not even PAL-60
Just straight up NTSC
The last generation of European CRT TVs could effortlessly decode both
Same applies to my CRT, it's made to accept both
And ofc it's no longer an issue for LCDs
CRTs were more fun in that they could go up to a relatively arbitrary refresh rate
No paying more for 120Hz :P
OFC, the hw at the time could not really drive that
It's not a great experience. OTOH, I lost my CRT in a move
There's always latency compared to my trustworthy CRT
Oh no, I am sorry to hear that
Also the pixels are kinda wrong, though these days there are shaders that account for that
DP 100%
I've never had a computer that could do both
HDMI is an idiotic design run by Hollywood in order to collect royalties.
Yeah
I have to use HDMI because my Monitor (with DisplayPort) is incompatible with Nvidia RTX Graphics cards (with DisplayPort) 😆
I have a machine that only has DVI
It also have an Intel Xeon W-1290 10 core CPU
RP2040? 😝

nah, 'tis a real computer
RP2040
With some older intel CPU
Also, that Hi-Res Audio is BS
Desktop Xeon appears to be common in China

Very common
Is it just me, or is it there a specific reason?
Cheap
It's a 10th gen Comet Lake Xeon
No parts recyclers over here
Very new
https://www.adafruit.com/product/3006 I think technically this thing is "Hi-Res Audio" as well 😆
But only costed me 80 bucks
Was it new, or ex-server?
Decommissioned
Yeeeah, sadly there's no market for decom parts around here
Even those are jacked up in price by "refurbished " resellers
China's decom part market is gigantic
Companies all dump their mostly new stuff here as trash
Where they can find new homes
And decrease e-waste
The one thing I envy China for.
I've seen some hacked-up Chinese mobos with strange BIOSes that allow for, say, using a laptop CPU as a desktop one
My decom Xeon is super stable
I guess yours is a similarly custom solution?
Can run cinebench like a champion
Yeah
