#general-chat

1 messages · Page 61 of 1

gritty galleon
#

I think at least in the US we're going to have to see average broadband speeds go up and see wider adoption of faster wifi before 8K streaming content makes sense.

rapid geode
#

its barely fast enough for HD right now haha.

gritty galleon
#

unfortunately yup

rapid geode
#

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.

raw jasper
rapid geode
#

yup. and a lot of "hey, this versions is 3 weeks old, can we delete it?"

#

haha

tranquil swallow
#

What if you criminalized copper lines like heroin and forced fiber everywhere

rapid geode
#

haha

tranquil swallow
#

Call it the war on slow internet

raw jasper
#

copper can be fairly fast

rapid geode
#

outside large cities it is a really big endeavour to run ANYTHING

#

you really need govt initiatives and money to force it.

tranquil swallow
#

I think I have the slow copper

raw jasper
#

(I know this is not a genuine dialog, but oh well)

rapid geode
#

err. im trying to type canada has slow internet and the censorbot is blocking it

#

haah

#

conspiracy!

raw jasper
#

o.O

#

the maple syrup is gaining awareness

rapid geode
#

yes

#

bell and rogers are screening messages saying mean things about thme

#

haha

rapid geode
#

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

raw jasper
rapid geode
#

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

raw jasper
#

(Looks like they actually sold flexera again in 2020, so I'm wrong)

rapid geode
#

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.

rapid geode
#

haha

raw jasper
rapid geode
#

read the line above 😛

night crescent
#

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...

▶ Play video
half plank
#

Is a dent like this in a lithium ion battery ok?

crystal ore
rapid geode
#

yeah, they arent "smooth". unless you eactually dented it yourself...

rapid geode
half plank
rapid geode
#

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.

tranquil swallow
#

As long as you store it in a tub of sand you should be safe

rapid geode
#

i assume he wants to store it in the device while running 😛

tardy badger
#

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

rapid geode
#

haha

#

i wanted to post a sign outside my old condo "red lights: not just a suggestion!"

tardy badger
#

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

tranquil swallow
#

Which brand of SUV was she driving? Audi?

tardy badger
#

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

rapid geode
#

ha

#

people suck

#

that is all

#

oblivious to the world aroud them

tranquil swallow
#

Imagine what collisions will look like once everyone's driving electric SUVs and trucks

rapid geode
#

exactly the same?

half plank
half plank
half plank
rapid geode
#

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

crisp oracle
#

does tossing years of code because your data source goes offline counts as an achievement?

tardy badger
#

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 😛

fair summit
#

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.

crisp oracle
rapid geode
#

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)

raw jasper
#

The lighting is chef's kiss

rapid geode
#

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

raw jasper
#

You could also open the ultimate food instagram :P

rapid geode
#

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

south light
rapid geode
#

eek

#

ha

#

does that basically overcharge them

#

?

south light
#

Yup

#

Results in seconds

rapid geode
#

oh

south light
#

But also lets me remote activate it rather than having to be in hammer swinging distance

rapid geode
#

my question is always, how do you know when they become inert and safe after destruction?

south light
#

Once they stop burning

tardy badger
#

Testing fit for the Bluetooth add on for my rp2040 watch

rapid geode
#

mine never really burn with flames, just smoke out

south light
#

Once the thing is just a pile of charred remains, it's pretty done

rapid geode
south light
#

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

late fulcrum
#

That's true of metal fires in general

south light
#

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

rapid geode
#

cnc machine fires are fun. ive seen a few videos. usually titanium milling.

late fulcrum
#

Yeah, the ability to buy yourself a little time is valuable in such situations

rapid geode
#

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)

rapid geode
late fulcrum
#

Wood ... machine?

south light
#

In general most of my battery powered projects are now LFP

#

Which doesn't tend to be so burny

rapid geode
#

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

raw jasper
rapid geode
#

ha

#

smores

raw jasper
#

Though they'd probably call it LÄMP or something :P

rapid geode
#

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)

raw jasper
#

more than a 1800s incandescent lamp

rapid geode
raw jasper
#

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

rapid geode
#

ha

#

marketting is always funny

raw jasper
#

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?

rapid geode
#

but to be fair, streamers, conferences etc are actually lit and shot really pro these days

raw jasper
#

||It's the camera feed||

raw jasper
#

aka the Company Zoom Meeting

#

(or Teams, or WebEx, or whatever. Pick your poison)

rapid geode
#

perfectly fine english

raw jasper
#

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

rapid geode
#

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).

raw jasper
#

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...

rapid geode
#

uh, that wont fit on a tiny keycap 😛

raw jasper
#

I mean, you could take the wave pattern and shrink it

raw jasper
rapid geode
#

i need to machine these 8 keys today. now. this minute. as samples.

raw jasper
#

Forgive my bikeshedding, I was just mentioning it as a future option

rapid geode
#

hehe

tranquil swallow
#

I wonder what they'll do about the m1 macs once their ssds start failing, you can't get third party flash right now

solar kindle
glacial wigeon
#

apple has custom ssd's, that look like nvme, but its just raw NAND over the same connector, no controller

raw jasper
#

So, the solution is to pay $???k to get... a spare part?

glacial wigeon
#

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

glad ruin
#

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?

raw jasper
glacial wigeon
raw jasper
#

Does the concept of "sector size" make sense in non-spinning rust-based storage?

rapid geode
glad ruin
glad ruin
#

Waaaaaah legacy support... these are NVMe drives we're talking about. Nothing legacy supports them.

olive dome
#

Also SSDs are way more complex then HDDs, those page and sector doesn't describe the behavior either

raw jasper
#

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

glad ruin
#

Windows support might be a more accurate answer. Apparently windows doesn't like 4k sectors for some reason(?)

olive dome
#

enterprise NVMe will have those bells and whistles BTY

raw jasper
glacial wigeon
raw jasper
#

This is your brain on multi-decade backwards compatibility ;>

glad ruin
glacial wigeon
#

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

glad ruin
#

What I don't understand is why Samsung defaults to the emulation mode.

olive dome
glacial wigeon
olive dome
#

Yeap but slowly

glad ruin
olive dome
#

Like all the legacy stuff

raw jasper
glacial wigeon
#

i still have my original dos install floppies

#

but finding a motherboard with floppy support will be troublesome, lol

olive dome
#

What is floppies? /s

#

(Try to be young here)

glacial wigeon
raw jasper
olive dome
glad ruin
#

Yeah but at the very least they should list something in the datasheet.

raw jasper
glad ruin
#

We have vending machines with them at work.

raw jasper
#

You guys get a datasheet?

glacial wigeon
raw jasper
olive dome
#

Exactly, though SSDs are much expensive then Hubs : D

raw jasper
glacial wigeon
raw jasper
olive dome
raw jasper
#

I feel 970EVO Plus counts as "consumer"

#

"prosumer", "gamer"

glad ruin
#

Yeah I know.

raw jasper
#

I think this one needs a fw upgrade?

#

To avoid it becoming R/O?

glacial wigeon
#

semi related, i had a pair of sata ssd's in mirror configuration on my old desktop, it locked up constantly

olive dome
#

970EVO is fine, the issue is on 980

raw jasper
glacial wigeon
#

after several years like that, i found the cause

#

a firmware bug in the ssd, causes the controller to just hang

glad ruin
#

There is a FW update available, but their updater can't find the drive.

glacial wigeon
#

a windows util was supplied to update the firmware, it just failed with "error"

glad ruin
#

I'm half tempted to install windows on it just so I can try to update it at this point 😭

glacial wigeon
#

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

raw jasper
#

slmgr is probably going to yell at you

glad ruin
#

This is a brand new drive. Bought it a couple weeks ago.

raw jasper
#

You've probably paid more than twice its price by now in time

#

:P

glad ruin
#

$50 so yeah

raw jasper
#

:(

tardy badger
#

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

olive dome
#

why?

#

haven't designed a complex flex PCB before though

tardy badger
#

Flexibility

#

The solid ground plane makes it a bit too stiff

olive dome
#

I guess you are using OSHPark?

#

I found that for some reason JLCPCBs flex is much flexible then OSHPark

tardy badger
#

Yeah

#

Given the size, cheapest flex I could buy

#

Otherwise the quality is really nice

olive dome
#

I have some temperature and humidity sensor extender flex board and for some reason the one I get from JLCPCB is softer

tardy badger
#

Probably a different material on the inside layers with JLC

olive dome
#

lower thickness copper (Also lower cost? lol)

#

Wait, are you using 4 layers flex?

tardy badger
#

Nah

#

2L

#

I don’t think oshpark does more than 2L flex

raw jasper
#

Is it a flex ribbon with a flexible PCB on?

glacial wigeon
raw jasper
# glacial wigeon https://www.youtube.com/watch?v=p-ATWaAyJ9I

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...

▶ Play video
glacial wigeon
#

neat

rapid geode
#

yes, no, amybe?

#

haha

tardy badger
#

Charging my watch after long being dormant due to needing firmware updates

rapid geode
#

i think i like them

#

time to program!

fossil dawn
#

Great! I wonder if the cat would look better if it was alligned to the bottom, looks kinda floating imho 🤔 Or bongo cat 😆

tardy badger
#

Cats float

rapid geode
#

i treid a few alignments. this works best being so small. inverted like the ESC actually works nice too

tardy badger
#

Perfectly valid position

rapid geode
#

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

raw jasper
raw jasper
rapid geode
#

ooooh, yes. i thought of that but forgot haha

#

ill do fail on the corian and any on the padauk

tardy badger
#

Most smart watches are multitudes more complex

raw jasper
#

(genuine question)

tardy badger
#

They ride in a bin with our other electronics

raw jasper
#

And obviously most smart watches are multitudes more complex, but they also do look "professionally made" (single PCB, little to no wires, etc)

tardy badger
#

A screen, PCB, charging coil, and 3D printed case

raw jasper
#

Ah, it's a single PCB?

tardy badger
#

Yeah, you can add small accessories like an accelerometer via a small flex but that’s innocuous

raw jasper
#

World's first FPGA watch :P

tardy badger
#

RP2040 actually lol

raw jasper
#

(re: accelerator)

raw jasper
#

@late fulcrum Heh, Hello Kitty Island Adventure has actually been released now
https://apps.apple.com/us/app/hello-kitty-island-adventure/id1553505132

App Store

‎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…

tardy badger
#

Generating ws2812 timing signals

#

On an fpga of course 🙂

tardy badger
raw jasper
tardy badger
#

it's been out for a few weeks

raw jasper
#

hah, OK

#

I just happened to notice it now

#

shrugs

tardy badger
#

all good

#

it's still hilarous

raw jasper
#

Indeed!

#

Is this one of the aliexpress "pocket oscilloscopes"?

tardy badger
#

Oui

#

though I got it on amazon

raw jasper
#

Do they really go up to 110MHz? :>

tardy badger
#

🤷

#
`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

raw jasper
#

wait, how isn't your synthesis tool freaking out with you setting non-reg outputs from a clocked always block?

tardy badger
#

?

#

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

raw jasper
#

Yeah, as far as I know, procedural assignments to wires aren't legal in verilog

#

I was very surprised that it worked 😅

tardy badger
#

it'll let you do that, it just won't wire anything up lol

#

yosys essentially ignores them

raw jasper
#

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

tardy badger
#

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

raw jasper
#

(Also, I prefer just specifying all modules to read_verilog instead of using ``include`s)

tardy badger
#

why?

raw jasper
#

IDK. Style thing

#

Helps me maintain a healthy level of separation between programming mode and HDL mode in my brain

tardy badger
#

it all really does the same thing under the hood

raw jasper
#

Which is why I said it's a style thing :D

tardy badger
#

yeah

#

I wasn't aware of read_verilog which is why I mentioned

#

I googled it 😛

raw jasper
#

Oh, how do you read your modules into yosys?

#

(I don't know of any other way xD)

tardy badger
#

I just use ``include "file.v"`

#

it finds them just fine 😛

raw jasper
#

And then you feed your top module how?

tardy badger
#

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 🙂

raw jasper
#

Makes sense :)

#

I usually use yosys when I want to interrogate some specific aspect of my design

#

Not to actually build a bitstream

tardy badger
#

makes sense

raw jasper
#

So, I typically read_verilog my design in, and then run yosys commands on it

tardy badger
#

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.

raw jasper
#

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

tardy badger
#

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

raw jasper
#

You were able to run it?

tardy badger
#

turns out it's a bug that cause the window issues

#

minimizing and then right clicking to click "Maximize" fixed it

raw jasper
#

lol :P

tardy badger
#

yeah, a bizarre bug

raw jasper
ebon dew
tender heron
#

Hello

tardy badger
#

hola

rapid geode
#

ironically the fail key is a success

#

😛

night crescent
#

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...

▶ Play video
tardy badger
#

Midnight snacking cherry tomato

gritty galleon
worthy magnet
#

TIL that putting TXB0108 an PD/PU doesn't work well

tranquil swallow
#

It's impossible for me to find 12mm chopped carbon fiber

dusk tusk
#

Hello, good morning guys

hasty wedge
#

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

raw jasper
#

Do you think they have a counterfeit rp2040 die?

hasty wedge
#

probably not

#

but even if it does have one I will not be surprised

#

curious how they will clone the PIO part

raw jasper
#

On the one hand, I am not really into rewarding cloners. On the other hand, I'd be curious

hasty wedge
#

yeah

#

I am currently playing around with some Nyquest NY5+ melody ICs

raw jasper
#

That is.... not unexpected of you :P

hasty wedge
#

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

raw jasper
hasty wedge
#

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

raw jasper
#

Ah yes, CD sound 🙃

hasty wedge
#

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

raw jasper
#

Is it +12V or something?

#

Like with EPROMs of old?

hasty wedge
#

probably

#

+15V

raw jasper
#

Yeeeah, makes sense

hasty wedge
#

I know Padauk is +15V

raw jasper
#

I've seen the Padauk IDE

#

It's ... something

hasty wedge
#

I don't like Padauk IDE

#

at all

#

I prefer FreePDK

#

with my own editor

#

aka VSCode

raw jasper
#

FreePDK sounds like something you'd use to design an ASIC, not write a MCU program

hasty wedge
#

also, I got shocked once by the VPP inductor on FreePDK's programmer

raw jasper
#

Like sky130

hasty wedge
#

yeah

#

figuring out how to use Nyquest's Q-MIDI tool

raw jasper
#

If only they'd add 2+2 and connect the speech synthesis with the MIDI part

#

El cheapo "vocaloid"

hasty wedge
#

nah

#

if a Taiwanese chip maker said "speech synthesis" in a sound chip they probably means PCM playback

#

which is the case here

raw jasper
#

lol, I thought 語音 was "speech synthesis" hah

hasty wedge
#

yeah

#

语音合成 = PCM playback

#

in these Taiwanese chipmaker's eyes

#

sorry to disappoint you lol

raw jasper
#

At least 合成 means what it should haha

#

So, they mean "can play speech samples"

hasty wedge
#

yeah

#

it also got a 4-bit MCU

#

that can only be developed with assembly

raw jasper
#

How cursed is the assembly?

hasty wedge
#

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

raw jasper
#

Creator: Acrobat PDFMaker 20 Word 版

#

Looks like they're making their datasheets in Word

#

The clock generator is a Ring oscillator
🙀

hasty wedge
#

yeah

raw jasper
#

It looks good enough to write some code like "if button A is pressed, play sample A"

hasty wedge
#

don't think about using it as a clock

#

yeah

#

there's even a dedicated "PLAY" instruction

raw jasper
#

Remember to turn off the audio output before entering to the slow mode.
I imagine it keeps generaaaaaaaaaaaaattttttttiiiiiiiiiiinnnnnnnnnnngggggg auauuuuuuuuddddiiiiioooo

hasty wedge
#

lol

#

I am gonna try to do that one day

raw jasper
#

Problem is, with each experiment, you burn one (1) speech IC

hasty wedge
#

nah, I have the FDB board

raw jasper
#

(Oh no, the terminology is infectious)

hasty wedge
#

which is basically an OTP part but with an external parallel NOR flash

#

and programmed with the dedicated FDB programmer

hasty wedge
#

so you don't have to sacrifice OTP parts for exprimentations

raw jasper
hasty wedge
#

lol

#

speech IC

raw jasper
#

lol, there's an "octave shift" instruction

hasty wedge
#

ohhhhh

#

FUN

#

nooooooo

raw jasper
#

asic revision problem?

hasty wedge
#

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

raw jasper
#

I actually like how they've bothered to translate everything to English

hasty wedge
#

yeah

raw jasper
#

I wonder if their Chinese version is actually Unicode too

hasty wedge
#

it works

#

my language and region are both English (US)

#

and it still displays properly

raw jasper
#

Probably unicode then

#

So, Nyquest's Chinese name is 九齊?

#

I get the 9, it's a good number, but why 齊?

hasty wedge
#

yeah

#

IDK

raw jasper
#

I guess the company owner likes ancient history 🤷

hasty wedge
#

Taiwanese companies have funny Chinese to English name comparisons

#

for example

#

Super Flower

#

their Chinese name is 振華電腦

#

which translates to "revitalize China"

raw jasper
#

TIL 華 in Chinese actually means China too

hasty wedge
#

yeah

raw jasper
#

So, they will revitalize China with their............ PSUs

hasty wedge
#

yeah lol

#

there's other one

#

笙泉

raw jasper
#

"Pan's pipe spring"?

hasty wedge
#

Sheng Spring

#

Sheng is a Chinese traditional instrument

#

yeah

#

and their english name is...

#

MegaWin

raw jasper
#

Their logo looks like a cross section of a Sheng

#

(kind of)

hasty wedge
#

yeah

raw jasper
#

I love this ad

#

6D Features!

hasty wedge
#

what does that even means lol

raw jasper
#

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

hasty wedge
#

lol

#

Bender

raw jasper
#

That MCU is like cockroaches. It'll never die out

hasty wedge
#

Yeah, 8051 never dies

raw jasper
#

If humanity still exists 2000 years into the future, we'll have 8051-powered spaceships

hasty wedge
#

it's even in Texas Instruments' CC series wireless ICs

#

8051 powered spacechips

#

with 256B of direct access RAM

raw jasper
#

Best way to ensure they'll cryonically revive you in the far the future? Become a master 8051 programmer

#

😆

hasty wedge
#

lol

#

freeze myself with a copy of KEIL C51

#

(I use IAR tho)

raw jasper
#

And a bunch of assorted 8051 clones. The Mark Of The Master

hasty wedge
#

lol

#

bunch of STC32

#

"32-bits 8051"

#

👻

raw jasper
#

Future-proof!

hasty wedge
#

I am reading Nyquest's Q-Code programming guide

#

which is an assembly generation tool for their 4-bit MCU

raw jasper
#

Is this... an INI derivative?

hasty wedge
#

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

raw jasper
#

All they're missing is a graphical programming tool. Business Scratch

hasty wedge
#

Q-Scratch

#

take notes Nyquest engineers

raw jasper
#

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

hasty wedge
raw jasper
#

cursed INI

#

Which song(s) have you loaded on it?

hasty wedge
#

just my own little test midi

#

sounds like some sorts of town tone of an Animal Crossing game

tardy badger
#

Me this morning:

hasty wedge
#

lol

tardy badger
#

All because my dog got in the trash last night 🙃

#

And I had to clean it up just to get to the coffee pot

raw jasper
#

hopefully he didn't eat anything strange...

tender heron
#

Hello, I was wondering is there a metro board in the form factor of an arduino mega?

fossil dawn
tardy badger
#

Ah look, a link at the same time lol

fossil dawn
#

also available without headers for way cheaper

tender heron
#

Ah awesome thanks

tardy badger
#

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:

hasty wedge
#

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

raw jasper
hasty wedge
#

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

raw jasper
hasty wedge
#

one set for high level one set for low level

#

and these switches determines if an IO is input or output

raw jasper
#

That's definitely something I've never seen before

vivid iron
#

Hey guys, can I control the voltage and current over/through an inductor with nothing but a transistor and a pwm from an arduino?

glad ruin
#

What are you trying to accomplish?

vivid iron
#

I wanted to make my own variable frequency drive

glad ruin
#

Ok, so this is a motor you're talking about?

vivid iron
#

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

vivid iron
glad ruin
#

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?

vivid iron
#

‎TB67S112PG,HJ‎

blissful roost
#

Some kind of voltage reg?

glad ruin
#

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.

vivid iron
blissful roost
#

Ahh, close enough. 😄

vivid iron
glad ruin
#

So, where does your motor connect?

#

And what kind of motor is it?

vivid iron
vivid iron
glad ruin
#

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?

vivid iron
#

aren't there rules of thumb for avoiding pwm noise or something

glad ruin
#

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.

vivid iron
#

I can't say "d*mn", but that's my reply

#

alright, What am I trying to accomplish modeling it mathematically?

glad ruin
#

That's not to say you can't get a clean output using PWM, but you can't just wing it either.

glad ruin
#

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.

vivid iron
#

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?

glad ruin
#

Since it sounds like you're at a university, I suggest taking a look in the library for books on power electronics.

vivid iron
#

sure, ok.

#

just read the entire thing?

glad ruin
# vivid iron ok, surely I can just run the PWM as high as possible, right? and what am I tryi...

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.

glad ruin
vivid iron
#

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

glad ruin
#

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.

vivid iron
glad ruin
vivid iron
glad ruin
vivid iron
glad ruin
vivid iron
glad ruin
vivid iron
#

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 😅

glad ruin
#

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.

vivid iron
#

yup, motors are complex

glad ruin
#

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.

vivid iron
#

Thank you for the help

#

I have been wanting to actually understand those maxwell equations, would be cool to fully know them

glad ruin
#

Yeah talk to the physics people.

vivid iron
#

alright, fine

torpid jungle
#

@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!

hasty wedge
#

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

raw jasper
#

Oh well. You excised one binary blob

hasty wedge
#

let's go!

#

No more closed source programming tool that tells me what I can program and what I can't

rapid geode
#

fail key was a fail. ha

hasty wedge
#

Actually I am gonna modify it to use DAPLink

rapid geode
#

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

late fulcrum
#

But did you filly fail the "full" text?

rapid geode
#

....

worthy magnet
#

hrm; is it possible to use MCP23S17 as a "possibly" to level shift 8bit IOs?

ebon dew
#

trying to mill a keycap with the word fail on it is like jinxing yourself. good luck. 🫡

worthy magnet
#

I mean I think you can drive MCP23X17 as 5V and level shift SPI

raw jasper
#

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

Nature

Scientific Reports - Facial expressions of pain in cats: the development and validation of a Feline Grimace Scale

raw jasper
#

Destiny wants you to add the "Abort" and "Retry" keys

glacial wigeon
#

my keyboard already has stop and again keys!

rapid geode
#

bah

#

hehe

#

looking at some 3m glues. (the last one was a machine issue with a cable)

south light
#

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 😦

late fulcrum
#

I had recurring chain/shifting issues on mine, I finally replaced a section of chain and fine tuned the chain length, now it behaves.

rapid geode
#

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

warped iron
#

Meanwhile, mine has been slightly bent for years and somehow still cooperates

#

I can't find a replacement

south light
#

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

raw jasper
#

@fossil dawn (moving from general-tech)
Out of curiosity, what are you using to learn Japanese?

fossil dawn
#

||Duolingo|| 😱

raw jasper
#

You'll eventually grow past it :)

fossil dawn
#

it's really not that great 😂

#

yes

#

they now added kanji learning 🥳

#

do you know Anki?

raw jasper
#

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

fossil dawn
raw jasper
#

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

fossil dawn
#

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."

raw jasper
#

The SRS algorithm isn't even anki's

#

They're all lifting from the original supermemo thesis

fossil dawn
#

yes, but still they've implemented a decent to good and proven spaced repetition algorithm 😄

raw jasper
#

...and supermemo has, in the meantime, continued development independently as IIRC a windows-only proprietary piece of software

fossil dawn
#

And can you guess what Duolingo uses?

raw jasper
#

Probably some variation of the supermemo/"anki" algorithm

fossil dawn
#

wrong

raw jasper
#

o.O

fossil dawn
#

guess again? 😝

raw jasper
#

I dunno, it rolls a d10?

fossil dawn
#

Hint: I managed to reverse-engineer it

raw jasper
#

I honestly can't guess

fossil dawn
#

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:

  1. 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
  2. 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 😆

tranquil swallow
#

Duolingo is pocketing all the money

fossil dawn
#

oh and one more thing their "did you draw the kanji correctly" algorithm is absolute garbage as well

raw jasper
#

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)

fossil dawn
#

I deliberately tried to make mistakes but you can see what it still accepts as "perfect". Especially after 0:41

raw jasper
#

hah, the "point" probably is to "learn the shape by tracing", not to learn the stroke order

fossil dawn
raw jasper
#

problem is, there are a few 100s of kana, but ~2k kanji

#

And you only have so much time

fossil dawn
#

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

raw jasper
#

(Note that I did not say learning to write the kana was not helpful ;))

fossil dawn
#

absolutely understood 😄 👍

raw jasper
#

(Also, obligatory disclaimer that there is no wrong way to learn a language. Except perhaps duolingo :>)

fossil dawn
#

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 😂

raw jasper
#

Spaced repetition is not the be all and end all

fossil dawn
#

but none?

raw jasper
#

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

fossil dawn
#

even something like day 1, 1, 2, 5, 5 would be way better than just 2 days

fossil dawn
#

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.

raw jasper
#

Even kanji have an understanding component. You can sometimes predict what the 音読み is from the phonetic component in the character

fossil dawn
#

音読み = something to do with reading/language/speech?

raw jasper
#

Chinese-derived reading of a kanji in Japanese

#

vs 訓読み-> Native Japanese reading

#

example: 人: (most common) kunyomi is 「ひと」、onyomi is 「ニン、ジン」

#

Better example: The numbers: 一:訓読み 「ひと」、音読み「イチ」

fossil dawn
#

yes, I've seen and noticed that

raw jasper
#

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)

fossil dawn
#

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

raw jasper
#

So, what's your plan?

fossil dawn
#

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

raw jasper
#

Sounds like a good idea. Any alternatives you've got in mind?

fossil dawn
#

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

raw jasper
#

hmm. Problem is, nothing is "perfect" so I can't really recommend anything?

fossil dawn
#

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)

cunning frost
#

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.

fossil dawn
cunning frost
#

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.

raw jasper
#

(Please note that WK's mnemonics were known to be... controversial in the past. My understanding is that they have cleaned them up now)

cunning frost
#

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.

raw jasper
#

Yeah, any mnemonics kind of defeat the point of actually learning the character after the initial stage

cunning frost
#

I just knew without any prompting.

fossil dawn
#

I think I could just try Wanikani out 🤔

raw jasper
#

It's for kanji only

#

EUR9/month

cunning frost
#

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.

fossil dawn
#

What are/were you using?

cunning frost
#

Bonus if you already hit Lvl60, which I did and they charged me only 60. XD

solar kindle
#

I am now getting 3D printer and filament ads on Amazon streaming. 😄

raw jasper
#

NEW COLOR: BURNT TITANIUM

#

BURNT TITANIUM

versed meteor
#

I hacked this multimeter to display any number from 10-0

versed meteor
raw jasper
patent hemlock
#

well, he did say "robot"

tardy badger
#

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

late fulcrum
#

I guess plants aren't constrained to a gender binary either

late fulcrum
versed meteor
#

But I just switched the currents

late fulcrum
#

I just drive mine with a PWM output and a series resistor to scale the current.

versed meteor
#

How do I get the right resistance

late fulcrum
#

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).

versed meteor
#

I think mine is 3v

solar flicker
#

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

solar kindle
#

I started having this feeling of encroaching doom, then I realized it was just latent "end of summer vacation" dread. 😱

hasty wedge
#

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

tardy badger
tardy badger
tardy badger
#

But I’m excited for autumn

hasty wedge
#

4MB flash and 2.5MB SRAM

#

good for buffering 2 frames

tardy badger
#

Yeah

#

Where to buy is the question

hasty wedge
#

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?

raw jasper
hasty wedge
#

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

raw jasper
#

Eternal tamagotchi! :P

hasty wedge
raw jasper
#

the real things run on sunplus 6502

hasty wedge
#

Yeah

raw jasper
#

So, I don't think you'll have any trouble making a better one with a better mcu

hasty wedge
#

But that's an ASIC

#

With low power in mind

#

Or something like RP2040

raw jasper
#

yeeah, though I think even the rp2040 will allow you to put, like, most of the peripherals to sleep

raw jasper
hasty wedge
#

Loads everything from SPI flash on boot to RAM

#

Then shuts the SPI down to save power

raw jasper
#

when the v-pet is sleeping, it shuts down most of the ram banks

hasty wedge
#

Oh wow

#

That's even more aggressive

raw jasper
hasty wedge
#

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

raw jasper
#

You'll have to set rtc alarms for the obligatory annoying beeps

hasty wedge
raw jasper
#

(or ble smartphone notifs -- we are in 2023 after all xD)

hasty wedge
#

Can STM32 be powered from that coin cell?

#

If it can it can definitely drive a piezo horn

raw jasper
#

I doubt it

#

At least for this particular IC

hasty wedge
#

25ma is enough for piezo sounder

raw jasper
hasty wedge
#

Unless I wanna make my pet shout for food with 115db like a burglar siren

hasty wedge
#

Then the user can turn on the main power which poweres up the LCD

#

Also I am using STM32F103

#

Not L series

raw jasper
hasty wedge
#

LOL

#

L series is their low power series

#

So it's a good choice

#

But STM32F103 is the easiest thing to get

raw jasper
#

Yeah, especially if you also want a devboard

hasty wedge
#

I am also considering GD32F103 tho

late fulcrum
raw jasper
hasty wedge
#

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

late fulcrum
#

You prefer Harvard architecture like the Sharc DSP line?

raw jasper
#

Most of the modern stuff is a cursed concoction between the two anyway

hasty wedge
#

Harvard is a tad easier to manage

raw jasper
#

(think NX bits)

hasty wedge
#

But von neumann is flexible af

raw jasper
#

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)

late fulcrum
#

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.

hasty wedge
#

Oh yeah

#

Their FR series are really promising

#

For e-pets

#

Low power + FRAM

hasty wedge
#

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

raw jasper
#

no need to relive the gameboy days

#

BTW, what was your equivalent of the gameboy in China?

hasty wedge
#

Nothing special

#

Just normal Nintendo Gameboy

raw jasper
#

Ah, so they imported the nintendo stuff. OK! Sorry for my ignorance :)

hasty wedge
#

With loads of bootleg games

raw jasper
#

So, much like the rest of the world where nintendo did not necessarily have a strong first-party presence haha

hasty wedge
#

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

raw jasper
#

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

hasty wedge
#

Xiaobawang

raw jasper
#

There was a xiao in the name certainly

hasty wedge
#

啊哦~ 小霸王其乐无穷啊!

#

My famiclone uses the common UMC chipset

raw jasper
#

ha, eternal joy

hasty wedge
#

It's NTSC like the rest of my game consoles

raw jasper
#

I've only ever seen blob famiclones

hasty wedge
#

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

raw jasper
#

The last generation of European CRT TVs could effortlessly decode both

hasty wedge
#

Same applies to my CRT, it's made to accept both

#

And ofc it's no longer an issue for LCDs

raw jasper
#

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

hasty wedge
#

I never play my retro games on any LCD

#

Not even on my 280hz ASUS

raw jasper
#

It's not a great experience. OTOH, I lost my CRT in a move

hasty wedge
#

There's always latency compared to my trustworthy CRT

hasty wedge
raw jasper
#

Also the pixels are kinda wrong, though these days there are shaders that account for that

hasty wedge
#

Also

#

Here's a sensitive question...

#

HDMI or Display Port

glad ruin
#

DP 100%

hasty wedge
#

DP all the way

raw jasper
#

I've never had a computer that could do both

glad ruin
#

HDMI is an idiotic design run by Hollywood in order to collect royalties.

hasty wedge
#

Yeah

raw jasper
#

it also can carry ethernet

#

which is strange

fossil dawn
#

I have to use HDMI because my Monitor (with DisplayPort) is incompatible with Nvidia RTX Graphics cards (with DisplayPort) 😆

hasty wedge
#

My mini workstation have both

raw jasper
#

I have a machine that only has DVI

hasty wedge
#

It also have an Intel Xeon W-1290 10 core CPU

fossil dawn
hasty wedge
raw jasper
hasty wedge
#

RP2040

raw jasper
#

With some older intel CPU

hasty wedge
#

Also, that Hi-Res Audio is BS

raw jasper
glad ruin
hasty wedge
raw jasper
#

Is it just me, or is it there a specific reason?

raw jasper
#

The best reason

#

haha

#

Though new xeon stuff is expensive over here

hasty wedge
#

It's a 10th gen Comet Lake Xeon

raw jasper
#

No parts recyclers over here

hasty wedge
#

Very new

fossil dawn
hasty wedge
#

But only costed me 80 bucks

raw jasper
#

Was it new, or ex-server?

hasty wedge
#

Decommissioned

raw jasper
#

Yeeeah, sadly there's no market for decom parts around here

#

Even those are jacked up in price by "refurbished " resellers

hasty wedge
#

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

thick wind
#

The one thing I envy China for.

raw jasper
#

I've seen some hacked-up Chinese mobos with strange BIOSes that allow for, say, using a laptop CPU as a desktop one

hasty wedge
#

My decom Xeon is super stable

raw jasper
#

I guess yours is a similarly custom solution?

hasty wedge
#

Can run cinebench like a champion

hasty wedge