#general-chat
1 messages · Page 165 of 1
I’m always so scared to mess with flux lol
I hear stuff ranging from “it’s harmless” to “scrub your hands immediately after contact”
Like, I use it all the time, but I try to be extra cautious
I've never used extra flux
I love flux. It makes lead-free soldering actually possible
I do lead free exclusively and it just works for me XD
I need to find right angled headers
Digikey? I've seen them there before
eh, i'd kinda prefer something local, but that's just me
Sadly there isn't a Micro Center down under
we do have jaycar tho, i just dunno what im looking for haha
404
?
Never heard of them, lol
they're aussie
Ah
welp, they don't sell right angled bare headers
F
i could go with an IDC style thing
Not familiar
Ah
I have to go with 26 instead of 20
so I could probably add a few more VCC and GND stuff
I'm adding a breakout for the rest of the GPIO pins for my Pico
I wanna add socket headers on a Pico too
ooh
plugs Pico with pins into Pico with sockets, insane laughter
I have all pins accessible to dupont push-ons by sandwiching extra long header pins between the target and some scrap perfboard.
Go with one fewer rows spacing on the perfboard, which provides plenty of spring tension. Fold over a couple of pins on the target (top side) and a couple underneath as well. Done deal.
Connectivity 8 minutes after thinking about doing it. ;) No solder; can all be undone quickly.
I use an old wirewrap tool to bend the header pins over. ;)
I wonder what would happen if you stacked 2 Pico boards on the same pins
5v power ---> 💥? <--- 5v power
(or 3.3v - same thing)
Regulators probably don't like being back fed power
You would have two regulators in parallel, input and output, maybe.
Maybe I should try it XD
I would design a proper bus and figure out which pins are to be left d/c.
But that's a lot less fun than potentially exploding something :P
Tell us how it goes 😁
Save that remaining eye for a holiday.
lol
I mean, if only one is powered, it's really only the unpowered one that's at risk, right?
Generally I bond at the output of the regulator for parasitic powering of an otherwise unpowered target, iirc.
🤔 I would think so but if you say connect both to USB then both regulators would be on. If you only power one via USB then the 5v (idk if 5v of 3.3v) would power the other Pico. I do this with Arduino boards all the time as an ISP programmer.
I have two-board projects where if I plug into USB on either, both get powered.
But I don't plug in both at the same time, usually.
On those I think I share VBUS mostly.
FOR SCIENCE
I had a situation come up where the 5.0 volts from a USB cable tried to backpower the Raspberry Pi interconnected for the other direction.
(Pi usually powers an STM32 target; in this instance the rarely-used USB cable connected to the STM32 for firmware uploading tried to backpower the RPi, overloading the host PC USB port).
So I put in a Shottky diode to prevent that from working at all. Result: can freely plug in that USB cable, and not worry about trying to backpower the Pi.
It did not explode
No
???
Nope!
You plug in USB to one of the Picos?
technically, if one has usb power, both are on, because of VSYS iirc
it's either VSYS or VBUS
I keep reading VBUS as VUSB 😅
Yes, I plugged in one of them, both are running, lol
VBUS
It's not good practice to connect both the inputs and the outputs of two (same part number) voltage regulators together (in parallel).
You can do that with discrete Darlington transistors, though.
@delicate stream now make a program that uses both Picos at the same time if they are still working 15 minutes later XD
Maybe you could do some intense number crunching or a bitcoin miner 
I would like to see that - gonna try to make one for the ESP32 and see the S/H - note "seconds per hash" instead of "hashes per second" 😂
lol
How far can it go?
Das a biiiiiig numbah
If I just declare a variable like count = 1, what type is it?
evidently a type that can handle absolutely insane numbers
It now has 6 rows of digits
Taking bets on if it'll just overflow and go negative or crash the Pico!
I bet memory error 
lol
Leave it running over night 😆
Look at it go!
Is your code something like this:
count = 0
while True:
print(count)
count += 1
😂
python is weird with that
ah
and I have my pcb designed! i can very much just test this with my neokey breakouts when they arrive tho
Also try doing something like this:
count = 2
while True:
print(count)
count = count ** 2
The ** operator is the exponenet.
That would explode faster, right? XD
Depends on how fast the power operator is to the multiply operator
The actual code ```python
import board
import displayio
import digitalio
import framebufferio
import sharpdisplay
import busio
import time
print("cat")
Release the existing display, if any
displayio.release_displays()
spi = busio.SPI(clock=board.GP10, MOSI=board.GP11)
led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT
count = 1
#bus = board.SPI()
chip_select_pin = board.GP13
Select JUST ONE of the following lines:
For the 400x240 display (can only be operated at 2MHz)
#framebuffer = sharpdisplay.SharpMemoryFramebuffer(bus, chip_select_pin, 400, 240)
For the 144x168 display (can be operated at up to 8MHz)
framebuffer = sharpdisplay.SharpMemoryFramebuffer(spi, chip_select_pin, width=144, height=168, baudrate=8000000)
display = framebufferio.FramebufferDisplay(framebuffer)
print("uwu")
while True:
print(count)
led.value = True
print("OwO")
time.sleep(0.001)
led.value = False
print("uwu")
time.sleep(0.999)
count *= 2
How'd you get colors? XD
strange, I did that
the python keyword tells discord it's python code
hmmmmmmm
ahhhhhh
no newline after ```
I didn't
you did:
```
python
<your code>
```
it's:
```python
<your code>
```
Oh wait, maybe edits don't work
delete and repost?
import board
import displayio
import digitalio
import framebufferio
import sharpdisplay
import busio
import time
print("cat")
# Release the existing display, if any
displayio.release_displays()
spi = busio.SPI(clock=board.GP10, MOSI=board.GP11)
led = digitalio.DigitalInOut(board.LED)
led.direction = digitalio.Direction.OUTPUT
count = 1
#bus = board.SPI()
chip_select_pin = board.GP13
# Select JUST ONE of the following lines:
# For the 400x240 display (can only be operated at 2MHz)
#framebuffer = sharpdisplay.SharpMemoryFramebuffer(bus, chip_select_pin, 400, 240)
# For the 144x168 display (can be operated at up to 8MHz)
framebuffer = sharpdisplay.SharpMemoryFramebuffer(spi, chip_select_pin, width=144, height=168, baudrate=8000000)
display = framebufferio.FramebufferDisplay(framebuffer)
print("uwu")
while True:
print(count)
led.value = True
print("OwO")
time.sleep(0.001)
led.value = False
print("uwu")
time.sleep(0.999)
count *= 2

Now try:
... # your previous code before the while loop
last_print = time.time()
while True:
if time.time() - last_print > 1000:
last_print = time.time()
print(count)
count = count * 2 # Use ** for exponent
Run it as fast as you can 🙂
I don't wanna reset now :P
lol
while True:
print(count)
led.value = True
print("OwO")
time.sleep(0.00001)
led.value = False
print("uwu")
time.sleep(0.00001)
count *= 2
display full!
big fast
now I do 100x faster!
Hehe I would race your Pico with my PyGamer but you would probably easily outpace the ATSAMD51 😂
I was about to say I'd beat you by doing it in C but I realized I wouldn't have arbitrary ints 🤣
I saw the number get to a couple lines and then it just was like 1 1 1 1 1 every line
And it filled my terminal buffer in a second
lol
changing to 0.25 delay
I just tried it in standard Python, and I ran it for like, 1 second. Now it's not doing anything

It refuses
lol
phone call XD
well 1 to the power of anything is 1 so....
you have to start with 2 or a decimal XD
oh.... yeah... right.... I thought about that... just testing you....
It still refuses
Wait, how am I uploading videos that size? o-o
Ohhhh, that's cool
This server is kindly boosted by many people so we can get to level 3 ♥️
Just curious, how often do ya'll clear off your desks/office? Seems like I have a maker bender about once a week and the office just gets wrecked and stays that way for a month 🙂 Filament rolls, boxes of parts, boards, cables, and breadboard wires are everywhere and I wonder if ya'll manage this better than me?
coughs and ignores untouched papers from 2007
HAHA I feel that.
I get told "always be knolling " but I'm bad at it
clearing my desk? what's that?
I basically try to keep the space I need to use open... But things pile and fall off and then either get added back to the pile or otherwise dealt with
But I'm building a NEW LAB/WORKSPACE AND IT'LL BE DIFFERENT THIS TIME
I'm gonna have big bins for projects and small bins for parts. If I'm switching projects, not current thing goes in bin on shelf
Minimize the random crap on my desk
update on progress
while True:
print(count)
led.value = True
print("OwO")
time.sleep(0.0000001)
led.value = False
print("uwu")
time.sleep(0.0000001)
count *= 2
Waiting for when it will take more time to print all the numbers then sleep 😂
lol
takes longer than desktop Python, but PyPortal eventually gives an answer to: >>> 2**65536
2^
desktop still thinking on this one: 2**(2**64), I don't hold out much hope for PyPortal
XD
still going... seems still fast?
The LED blinking seems uneven
100x faster now!
OH WAIT IT DID IT
I SAW IT ERROR OR SOMETHING AND I THINK IT RESTARTED
I don't think it can actually get faster
Going to just remove sleep, lol
and go to x4 instead of x2
I just realized, I can either make it go really fast OR catch what the error is, lol... if it's going too fast, I miss the error
...desktop still thinking...
put the while loop in a try: except:
try:
<your while loop>
except:
sys.print_exception() # or whatever it is
time.sleep(10000)
don't forget to import sys
after printing the exception is should just sleep for 10,000 seconds which should be plenty of time to copy/paste exception for us 😆
ohh, lol
i thin kit's sys.print_exception() someone pls confirm
No sleeps, taking a long time!
i don't have a device to play with rn
yes, sys.print_exception(), https://micropython.readthedocs.io/en/latest/library/sys.html#sys.print_exception, but it's not in CircuitPython >=7.0.0
What will it be in 7.x?
not sure, there was some discussion
C:\Users\[CENSORED]>python
Python 3.9.0 (tags/v3.9.0:9cf6752, Oct 5 2020, 15:34:40) [MSC v.1927 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import time as unix
>>> def do_my_carp():
... start_time = unix()
... 2**(2**64)
... return unix() - start_time
...
>>> do_my_carp()
this is taking a while 😆

7GB OF MEMORY!!!

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 3, in do_my_carp
MemoryError
...still thinking...
if it actually finishes, it will be spewing out digits for a long time
lol
I should try doing something stupid like this on my new workstation once I build it
Possibly tonight...
What's the memory usage? Like 15GB??? 😂
If someone will give me $1600 to get 256GB of RAM for my Threadripper system we can see how far it'll go there, lol
wut
Sadly I only have a pedestrian 128GB
?
128GB?????
Yes
I only get 12GB 
oof
and a tiny 128GB SSD to squeeze Windows and like, 50 IDEs in 😆
what is ssd again
Solid state drive
got it
RIP !!!
I've retired all spinning rust from my workstations
It's almost too big for the display!
This proves to show how well they coded CircuitPython ♥️
100GB
totally, lots of paging going on
Dun kill yer SSD, yo!
it's fine, I need an excuse to upgrade 😉
Unless you're like me and have a dedicated pagefile SSD, lol
XD
ahh crap that's what I forgot to get for the new system
Wait is that PSU big enough
wait no I'm good
I need to sleep more and pay attention
that's big
also is it done 😉
Almost too big for the screen!
FULL SCREEN
I can no longer see the full number
Are you utilising both cores? Maybe one to do the math, the other to do the display?
Ohh, I forgot there's two cores... No idea how to specify core usage, lol. Plus the math is what's slowing it down XD
So too much for screen because the number is so huge
On laptop
Finally learned how to mod my printer’s firmware
OwO
lol
I kinda want to put a full color screen on mine
If you’ve got money to spend, some SKR boards come in sale-bundles with TFT screens
I was just shopping around for them today, actually
Link?
Now to see a 556 (or if that is too easy, a 558)
Then there's the Monster 6502
hmm, now for the biggest/most inefficient NAND gate contest!
Hmmm
toob!
I love tubes in general, but I also realize they have a good head start on "big/inefficient"
I bet I can do "better"
You mean enough room to fit your keyboard 🙂
I know that feel
madbodger understands me
very safe wiring
literally
Exactly!
lol
I'm going to write a book called How Not to Bodge, and that'll be the first entry
Of course. They should have used proper bodge wires!
They should have just brought the outlet out XD
Like, seriously... if they wanted decora outlets, they could have just replaced the outlet and installed a new box that was flush with the new wall layer
I was not seriously suggesting using an AWG30 bodge wires on AC mains outlet :)
lol, AWG30 is like... insta-fire time
Nah, it would evaporate before anything has time to catch fire
lol
I'll just leave this here
https://www.youtube.com/watch?v=uXeSsevsNNE
3rd, 1st and grand prize winner in the 2011 555 timer contest. An easy approach to learning servo control systems and robotics while learning electronics.
The 2 motor walker is Mark Tilden's original idea with BEAM robotics. Sine servos is my idea.
Please note: I have no patience for any sort of analog vs digital troll comments and they'll be ...
Update on the Pico multiplying into insanity: left it overnight, apparently it just totally broke at some point???
Just disconnected and frozen like this
Sadly I don't know what the full number is -- screen apparently only buffers what's visible
i think it's safe to say it stopped on buffer overflow
huh, I thought screen would let you scroll up after starting some mode.... thinking....
ctrl-a escape, then pageup/down
escape to leave that mode
I have no pageup/down on this laptop XD I can scroll with the scroll bar, but it's blank above that
cursor up also works for me
Yeah, it looks like it closed when the Pico crashed/disconneced
not obvious that there is a option to leave the dead session up
That terminal window is just totally dead XD
I can't even type a new command
Pico doesn't show up now... uhoh
wow, interesting, my gentlest form of kicking the term is ctrl-l
then I start looking towards the terminal windo reset options
eh, powercycle it, probably fine
oh, even for bootloader, implies you tried that
"There are no experimental failures. There's only more data."
where are people getting more than 3 at a time, I'd like 5, but I'm not paying for two shippings
I got mine at Micro Center, they don't have a limit
Lots in stock. They had originally sold them for $3.99 for 1 and $5.99 each for 2+, then $3.99 each up to 5 and $5.99 each for 6+... but eventually just went to base price unlimited because they're not moving fast enough
I think my area might have less makers who make the pilgrimage out there
CA? lol
also interesting, as that suggests there is no contractual requirement to be $4, I wondered about that, you know, supply and demand
I checked half the stores, most are 25+ in stock... one in CA is at 5 left and another store had 10, but the rest are stocked up well
I think $3.99 is MSRP
highly likely
I half expected a company that couldn't keep stock to bump price, because economics yo
by half expected I mean about 7/8ths expected
Price bumps do happen, but I think in the case of something where it is available in general, they don't want to bump up too much -- GPU new prices took some time to actually start rising when stocks ran out
And nobody wants to be first to cost more if customers will just go to the cheaper places, lol
adafruit had me thinking the picos just flew up into the sky at their earliest ability
because they seem out of stock 75% of the time
otherwise limited
Limits good so people don't buy them all, lol
Maybe I should buy a few hundred from Micro Center and give them to Adafruit to resell XD
well, if people are buying them all, we skip back to economics
Hey Lady Ada do you wanna buy 1000 Picos?
unless you get a great deal, you just neatly ate their margins :-)
Actually they probably get them for like $2, lol
Playing with this thing... $4 feels like a steal
I'd feel kinda scummy scalping them
it IS, compare it to anything 3x the price
SHARE T.T /j
I will happily purchase and ship them for cost with shipping!
you could do a One Pico Per Child thing, sell for 2x, give one away to a needy yute
yute?
Shipping from Australia to the east side of America does not sound cheap though XD
lol, probs not
a word for youth, I think I heard Danny DeVito use it once
lol
I guess the only way this can make sense is if you go big, right? Get as many in the box as possible? buy 1000, sell to friends for like 5 cents more than each unit's cost + part of shipping, lol
Wait, you said Australia to America, did you mean America to Australia?
No, I live in America 😆
If you ship to here it's probably like, $10
all the 'roos will have dual core microcontrollers to play with
Oh, I'm in America, dunno why you thought I was in Australia XD
sorry
lol, it's cool
I write notes to where like, people live if they mention it
Like this is yours: (seems so stalker now I think about it
sorry no mean intents)
I might have messed up which sounds reasonable of me 
I have zero idea where you got that idea XD
helps Sony collect user info surreptitiously
I find this hilarious
I think someone mentioned it yesterday???
Someone must have gotten confused, lol
Yup 
did someone say Australia
yes
okay, time until someone make a Pico boomerang, wagers?
I'm the Aussie here haha
Lol sorry for the confusion
all good
google is leading me to believe it hasn't already happened
Xenia, do it!
easy hackaday fodder
And post it in #show-and-tell regardless of success!
well, you didn't throw the idea, makes sense it never came back to you
||Build a boomerang which lights up and starts flying when you fling it
||
Ah
honestly a CPX is probably a more exciting device to stick to a boomerang, but Pico is cheap and all the rage
I mean, you probably don't need to use a pico for that
Probably need an accelerometer, some leds, a motor driver, motors, and a lipo to power it all (plus power management board)
could use a pico to do some persistence of vision blinkery
Pico for all!
what is that strange twisty word coming at me, "duck"?
Oh yeah, @honest jolt , since we've stablished we both live on the same cost of the same country/continent, it might be feasible for me to ship Picos to you, lol
Payment method? Also how would I securely send you my address? (Probably could be solved with P.O. box or something like that)
pobox or diffie hellman :-)
PayPal or Venmo would be good for payment, and if you have a P.O. box, that works XD And if you just mean you don't want the entire world to see, you can DM me, lol
Haha that would be nice but it would probably be easier for both of us if I just buy one off Amazon/Adafruit next time I order something from them
Also can you guarantee 3 day shipping like Amazon 
Lol, that works too... if they're in stock...
Yea...
I can if you pay for it XD
is amazon not scalping the picos?
IDK
Amazon guarantees the shipping, but not the genuineness
haven't looked
Then again, they don't guarantee the shipping either
Shipping is a big part 
I can certify these are bone fide Pi Picos!
9-10 bucks a unit up there
If I want one in a hurry, I'll just go buy one at the store. Failing that, I'll just buy from DigiKey (overnight shipping if I want it).
I would go to Microcenter but it's such a long drive
I'm being literally scammed here 😂
lol
If you're buying more than a few, it's cheaper (and faster) from DigiKey (and you you don't get knockoffs). 
If you have a business you could set up a customer account with Raspberry Pi and order cheaper
Unit Price $4.00002
I’m planning to go through the process to be an authorized reseller for RPi
that swimming pool won't fill itsself
monsters!
A reel of Pico would probably be really expensive to ship
cheaper than boxed at same number I suppose
then again, someone randomly gave me an adafruit 2040, I think it came in a thin little baggie
I haven’t got an official quote on the basic unit price of the Pico, but I’m guessing it costs RPi like.. $1.25 to make
hmm, again, making sense on the whole 2x upsell front
I say this as I know what they sell the chips at when purchased on a 500 pc reel
seems like a darned fancy power management system on that board
Yeah
Which I’m telling you, the rp2040 is going to straight dominate the m0 market once they start selling mass market
It’s such a great chip
you don't have to tell me, I'm hopping around like a baby bird for these things
And I mean the chip itself, not even just the Pico
The Pico was how they gauged demand, I’m pretty sure of it
well, the chip is largely it, though they mounted it well
Oh yes
Pi reseller sounds fun
They used very high temp solder too
finally fails to grok something.
grok?
sleep is for the dead
Go hack!
I forget what cromulent means, lol
guessing 'valid'....
eh, the popular definition varies from mine, Simpsons made it up for this purpose though
Yeah, I know cromulent was a Simpsons word, lol. I know it's in the Oxford dictionary tho!
well, nearly, grok is an actual word
All words are made up
O R'lyeh?
yee
I like the RP2040 more than the Propeller, but it'll be a bit before I like it more than the M0.
Is Propeller still around? I remember seeing those years ago as the high power alternative to Arduino
They're still around, and only now starting to get away from "you have to learn a whole new language to use our subprocessors" mindset.
TBH, I've had issues with Parallax and their attitudes since the Basic Stamp.
Yyyyyeah... being entirely different and incompatible is why I avoided them. I'm now learning CircuitPython because I need to learn Python anyway, but it's totally compatible with all my hardware and Python isn't too far from what I know anyway
I wonder if microcontrollers will one day be as powerful as modern desktop processors...
Rp2040 is an M0, are you referring to other M0 MCU?
Well I guess it’s technically an M0+
Didn't realize it was an M0 core, I was referring to the Atmel SAMD21 used in many AdaFruit products
Dual M0+ core
Plus the PIOs
I have a lot of fun with the onboard DACs on the SAMD51
Yeah, I’m making a board with SAME51 that has one of the CAN bus lines broken out
It’ll probably be a while before I actually get to proto it
I’ve got the boards though so just a matter of getting the chips
And a small 32.768kHz crystal
I would expect the smol 32kHz crystals to be as common as dirt
Drawing on an antique scope using a SAMD51
People have been doing that. I've seen 50$+ for a Pico, couple of jumper wires, maybe some headers and a 1$ breadboard.
My cousin Vinny. "Deese two yoots"
Maybe I should make kits and sell them on Amazon... but not for $50, that's insane
At least for what you described
Oh, yeah, my Pico doing crazy math showed up on a Windows machine in bootloader, so I was able to nuke it and get CircuitPython up again :D
holy balls, i should get into that
@delicate stream Robert Anson Heinlein word, iirc: grok
Probably Stranger in a Strange Land
Vonnegut would be 2nd choice.
Ah, ok, that's it, sounded familiar
I don't have a searchable text to confirm. SIASL is like 150-170k words in length.
I haven't actually read Stranger in a Strange Land, but watched a video going over the plot, and remember now that they used that word
That's what I recall as well, and Wikipedia seems to confirm it
https://en.wikipedia.org/wiki/Grok
Grok is a neologism coined by American writer Robert A. Heinlein for his 1961 science fiction novel Stranger in a Strange Land. While the Oxford English Dictionary summarizes the meaning of grok as "to understand intuitively or by empathy, to establish rapport with" and "to empathize or communicate sympathetically (with); also, to experience en...
I was in a sci-fi book club long ago. They shipped a ridiculous amount of books for the entry fee. SIASL was likely one of them. Hardbound books, iirc.
After listening thru the plot of SIASL and that most of his work is in ways similar... I think Heinlein might be too lewd for me
At least his adult-targeted stuff
His early works were not lewd but, yes, he increasingly turned into a "dirty old man". Many of his works were entirely suitable for young adults,
Yeah, might read some of his early stuff... just... SIASL seemed to go from legitimately interesting SciFi question with a potential romance plot to 2lewd4me too fast
CircuitPython has RP2040 'trinkey' board support. ;)
The QT Py RP2040 is truly small.
Kind of hard to imagine how they got it that small.
I'm excited to get my QTPy
QT Py RP2040, I mean
I'M GETTING A NEW 3090 TONIGHT YEET
There's one mortgage payment!
I have a 2070
2070 good, I have one of those
People keep on saying Xena forgetting the I in my name
the peeps on the stream did, most recently
ah
🥳 lucky you!
how much did it cost 👀
also i jealous
i get stuck with integrated gpu
coughs almost half as much as the rest of the parts...
Gonna be replacing my fire-starter of an Intel workstation
What CPU do you use?
5950X
Oof
Now I get as many cores as my Threadripper.... but with higher clock speed and IPC XD
I'm jealous
my setup is decent, tho
What'cha got with the 2070?
3700X, 8gb RAM (absolutely need more though), 1TB SSD, 5GHz Wi-Fi card, 30 inch curved monitor (roommate gave it to me), and a floppy drive
Hehe, floppy... That's a good gaming machine, short the RAM, certainly need 16GB
it's for my cyberdeck
fun
I have an Athlon 3000G for that :D
I dunno why, but having that processor just makes me giggle with glee
how many computers is too many computers
no
No computers is too many computers? uhoh
Any computers is too many computers?! So there's just too many computers no matter what the number
oop that was flashy
There is n o limit
I need a bigger house
a funhouse?
A bigger funhouse... with a bouncy room
And a dungeon!
isn't that the name King Candy calls the dungeon in Wreck it Ralph?
Yiss
Oh. My. Gosh. Genius in the house! https://youtu.be/_E0PWQvW-14
On Saturday, I managed to dump the firmware of the newly released Apple AirTags - and in this video I'll show how I did it.
I won't share firmware dumps or so, so please don't ask :)
Links:
- Colin on Twitter: http://twitter.com/colinoflynn
- Colin on YouTube: https://www.youtube.com/channel/UCqc9MJwX_R1pQC6A353JmJg
- Colin's company: https://...
lol I keep getting recommended this video 😂
stacksmashing does really awesome videos
Just installed a numpad on my MacBook Air, very happy
But's upside down from a real numpad!
Wait lemme fix it
I added a useful key to my keyboard
I want to see how you gouged out the LCD so you can close the lid. ;)
That Option button reminds me of the USB connection symbol, and gave me part of an idea. ;)
All better!
Simple solution: I don't close the lid
@rare zinc I would like to see samples of your C programs for the use of 'extra' curly braces.
did you destroy a keypad?
This is an area that interests me keenly - been following too much of the learning-by-(bad)-example model wrt curly braces in the C programming language.
(also my forth word naming skills are .. what's that word .. like travesty. ;)
Simple to open, easily swapped around
doctor you could glue on spacers so that you can't crush the LCD glass.
(somebody recently said somthing about using glue as a bad habit)
(I have never once owned 'super glue' ever)
(because suspending myself from a construction hat glued to an underbeam was never my first priority, on any day)
OKAY so this is me (in the other room) imaging my new NOOBS SD card to hard disk drive. oi.
Disclaimer: I did not modify my MacBook Air, this was a joke XD
Is there any reason to buy a NOOBS card outside of convenience of being pre-flashed?
obtw unless I have things wrong, STM32F405 Express went up in price.
I use curly braces in C even for single statements, it avoids mistakes and makes changes easier to track. It's also clearer for null statements.
I thought EVERYTHING needed braces in C
Sadly no: many constructions (like if) act on a single statement, which can be a line of code, a semicolon, or multiple statements in braces.
So I'll often see ```c
while (!Serial);
or ```c
if (pressed)
digitalWrite(LED, HIGH);
But I dislike those constructions and prefer to always use braces.
To be fair, I am guilty of writing this atrocity when I was a beginner: ```c
while (*++*argv)
TIL
I always {} everything in C/C++/C# and related languages because I was told it was necessary
It's one of those things that's a good idea, but technically not strictly necessary.
Yeah I generally use { } when authoring single-line (one consequence) 'if' constructs, since I thought it up (whatever I wanted done).
I have sometimes conflated 'but it's on the same line!' thinking.
So I could do if $foo then $bar instead of if{$foo} then{$bar}?
The bigger discovery (for me) was empty braces.
void nop(void) {}
This allows what I think of as top down programming.
bran fart just... variable
The curly braces help in searches /{ type thing.
(the forward slash initiates a search, in some text editor environments)
One of my habits is to begin function names in column 1, so I can search for them with ^ but many people dislike the look of the resulting code.
vim provides delimiter matching (by changing the cursor shape or something like that). Pretty annoying when you need to edit that region, but very useful for catching enclosure errors).
Here's what my functions look like (for the curious): ```c
static struct coord
drawpoint(
int x,
int y,
char * label)
{
...
Oh boy
The second instance I cannot adjust to, and will take the trouble to make it the first instance, in borrowed code.
I used to do that, but reversed my stance after a while, so I'm "correcting" my own old code
;)
However, I do still use same-line braces on my if statements
Yeah it's an unsettled argument between the two nisses.
I always do
void
drawpoint(x, y, label)
int x, y;
char* label;
{
...
😛
@polar bloom That looks nice.
It's how you needed to do it once upon a time.
I think I tend to swap between { on its own line or not? having it on its own line can make it easier to see where the partner } is in, say, Notepad, but that also makes everything longer
aha. needed to do it may explain a lot of things I didn't understand when I saw them as variants.
I've switched coding styles more time than I remember. These days I just try to be consistent within a single code base.
Yeah I agree .. internal consistency in a given code base is what's really important.
I generally put one variable declaration per line, with a comment for each one explaining what (I think) it is.
I do all the things :D spaces, tabs, brackets on their own line vs. not....
On the gripping hand, I have been known to enter the IOCCC
My comments are .. an embarassment; they're why olden books usually began with an apology ;)
I generally do not keep the same indent on compound stuff; I can't resist indenting one more time.
Sometimes I make comments and then forget they're there, change something, add a new comment... and then realize I have a book of useless old comments, lol
I want the extra indents to say no, it's all part of one idea.
I like
// my comment
on a line by itself, so I can dd it in vim easily.
IOCCC?
It's a contest for writing really hard to read code.
ah, lol
Interesting typo between "bran" and "brain" in the context of that sentence!
I was typing earlier "I think I need one of those jug/boxes of coffee from Starbucks". Except I typed "jub" accidentally. I think that reinforced the point!
ooh i need Starbucks right now
braining with the thinker hard
sadly i am broke and it's also 2:30am
Starbucks too much work and money
I can get it delivered to my house
That still sounds like a lot of work
I just realised that I probably won't be able to get my JLCPCB order for a little while cause it accidentally got shipped to my previous place which is in a different state
If I were at the office, I'd have access to their fancy auto-grind-and-brew machines
Ouch, sorry @static flare - Moving sucks 😦
I moved out December last year, must have forgotten to update my address with JLCPCB, as this is my second PCB order ever (but hopefully not the last, if I end up making kits it definitely won't be)
I never want to move
eh, I'll probably move at least once more this year
Cause I moved to this place in March, and we're probably going to move again in July
Homelessness sucks sometimes
We should buy you a house
Used to have those. Then something died (pump? I dunno) and it wouldn't work anymore. This was before I got more seriously into electronics. So for now, it's pour-over, make a pot every morning, mostly
I think in-house barrista on call 24/7 would be optimal
Those are expensive and I am poor
We're on our second... We wasted SO much coffee with a pot maker
Expensive for sure. Especially the ones that make anything more than 8oz/240ml at a time
oh whoops
You can get cheap Keurig knockoffs :D
i did not mean that message
i mean, those are expensive
but i meant a house
houses are expensive
Yeah, those too
land is still expensive
We can make that too
No land, no problem! Anyone ever see the movie "Up"? I mean, I've seen the movie poster, but I think I get the gist of it!
Just north of Amsterdam’s most famous canals, there’s an island of fat bobbing up and down in the sea by a wharf in a former shipyard. Right now it’s the size of a Volkswagen Beetle and weighs a metric ton, but its creators, Mike Thompson and Arne Hendriks, say it will be big enough to walk on one day. Thompson and Hendriks are designers by tra...
This may be a bit more maker/eco friendly?
https://sobify.com/mans-floating-island-mexico-using-100000-plastic-bottles/
That's just a loooooot of Soda
Lava? Like volcano lava? The one with vinegar and baking soda? 🤔
No no, the hot melty rock kind
I'd think you mean magma
Before it's outside, yes, is magma
I'm designing a suit to swim in lava/magma
Sounds cool!
Hopefully it will be in the suit XD
Please replace the cap on the lava dispenser when you've used your allotment.
No. If I don't leave it running, it clogs.
Run everything 25/7
Hmmm... This channel keeps showing there's new messages, yet nothing new is there when I check...
I think Discord is derping again
hmm
I see you now... strangeness
Yeah, I meant that I saw the hmm, lol
👀 You all building an island? Keep me posted 😆
I wish
SoonTM
or we could all just become citizens of Sealand:
https://sealandgov.org/
I'm going to take over Sealand
@delicate streamyou won't be the first one - there was already an attempt to overthrow the legal government and seize Sealand by force
i think an idea like that would just be sad, they're just being neat over on their island
Actually y'know what I'mma just make my own bigger island, with blackjack and books
you know with all the parts we order as a whole we could make an island using plastic part bags and adafruit boxes 
everyone contribute 
When you need to add $10 to an order to get the 0% financing deal but NewEgg's DIY parts selection is crappy
Cue rando 20x2 LCD from Seiko
This is a chonkier boi than I expected
huh
I dunno what to do with it XD
Hook it to an Arduino?
Yeah, or a Pico, but like... What to do with it, y'know?
Monitor your water heater? Alien movie prop? Game of Life with a custom character set?
Game of Life on there sounds like a challenge!
I might have a STEMMA QT problem.
i too see it now
Iirc, i2c supports up to 255 devices on one bus...
I just burned myself by leaning on a battery and my watch shorted the contacts
owwww
there was smoke
oof
Life is danger
that's the fun of it though!
Catching fire isn't exactly what I consider fun XD
learning experience
yes... do not leave batteries where they can be leaned on
Thankfully it doesn't seem to have done any serious damage -- insulators on the battery cables melted, arm is burned, but I can replace cables and arm will heal
Soooo.... y'know that Seiko 2x20 LCD I got? Well, I went to go back to the product page to check for a datasheet [thought I saw one on there]... Seller is GONE! Looks like a fly-by-night operation!
Thankfully the datasheet is available
End of the week everyone. You've made it this far, and always remember, you're awesome.
If your spirit needs a bit of a boost to get you through, enjoy this song and video. And never forget - though you may not know by whom, you are loved ❤️
Stream or Download Here: https://GoldenCarrot.lnk.to/thisislove
Subscribe here! http://bit.ly/walkofftheearthsub
Watch and listen to our Greatest Hits!: http://bit.ly/WOTEgreatesthits
WOTE merch available here: https://walkofftheearth.myshopify.com/
We asked our WOTElings what love means to them. These are the videos they sent us! Thanks to all...
I only see a “too small of desk” problem.
Is it the "gotta collect them all" and availability problem? 🙂
I guess 255 is my new aspiration
Unless you start using a few of these: https://www.adafruit.com/product/2717
Need it anyways to get to 255
2 i2c buses is 254 😁
of course I'd have to use the STEMMA QT version https://www.adafruit.com/product/4704
I was just thinking that there had to be only so much variability in currently manufactured STEMMA devices addresses anyway, so you'd run out of address range before you ran out of devices you could hang off a bus. 🙂 And yeah, oops, 7-bit address space
Ah! There is a Qwiic version of that! My search-fu is weak this morning.
That is sparkfun heresy and I wont have it here
So my LCD here has 8 bus lines... but examples only generally use 4... should I bother wiring up those pins? Going to be using wire to connect to a row of pins for breadboard use
You don't really need all 8
It's a speed thing
4-bit mode is clock high-nibble/low-nibble of the character or control byte, so it's slower to use than clocking 8 bits at a time, but for most intents and purposes, 4 bits will work just fine.
so unless you REALLY like using up 8 contiguous I/O off your microcontroller, or want to get a shift register involved or something, there's not a lot of point.
at least IMHO
Ah... Yeah, it doesn't need to go ZOOM ZOOM, so as long as it's not a hugely noticeable difference, 4 should be fine. A few fractions of a second isn't a big deal, lol
Should it be bus lines 0-3, or 4-7?
This is the part where I say "what do the examples or docs show?" 🙂
(I mean, I'll tell you if you get stumped, just want to encourage answer finding. 🙂 )
They have "LCD Pin X" in the guide, but I'm not sure if it's the same pinout
Fair enough
as water pic was shared realier
So I need to plunk myself down on what is promising to be a long zoom call here in a minute, so I'll hook you up, it's D4-7.
Ok, cool. Thanks :D Godspeed!
anyone else want to share in the feels of apparently being the last name on the list to ship out the adabox? 😿
bummer
There's always next time
I was hoping it would be here for the weekend. Maybe next weekend....
My last Adafruit order was supposed to be delivered early this week, Friday at the latest... It's currently 4am on Saturday :(
Perhaps they need to stop everything and develop the transporter.
harder the things still is for transport deals as pandemic still is upon us all still
my relatives saw 2 vipers yesterday on they cabin
I'm working on a transporter, but so far have only gotten so far as non-explosive dematerialization... haven't gotten down patterns storage yet
I was sent this new Arduino board, no idea what to do with it 😆 Yes the black board is an official arduino board

The most annoying part of testing things is not having the things to test
mood
you know why I'm complaining
Indeed
Preparing for Shipment Shipment Order automatically generated for ADABOX_18
darn...
This probably means that more people than me are going to have to wait because something didn't show up in time.
Apparently I can still order in time to get box 18 :D
Reminded me of some old Honey Maid commercials, one about families of all shapes. That got some negative response, so they did another commercial where they did essentially an art installation with print outs of the bad responses and the overwhelmingly larger number of positive responses. The neg were used to spell out "Love" in the center of a large background of the positive responses. Searching "Honey Maid Commercial" on Youtube showed them (to me) as the #1 and #3 results.
All of my stuff is moved to where I live now!
I finally have access to my 3D printer
RAIN CATTO
Anyone know what this little oring is for?
@dusty citrus It looks like you'd place the bluish-white sticker on a servo, then drill a hole in the black piece, install the o-ring on the servo, then adhere the servo to the black piece. The screws are most likely to mount the black piece to your project in some way.
without knowing what everything else is for, it's kinda just a guess
Waiting patiently is haaaaarrrrrddddd
mooood
The biggest mood
I DUNNO IF I CAN MAKE IT TO TUESDAY
that's also assuming the original estimated delivery is correct, nobody has touched my order yet
Why didn't I order sooneerrrrrrrrr
I'm rubbish at waiting patiently - I know, I'll start another project!
Lol
I don’t appreciate getting called out like this lol
Accurate depiction of me finding a new product ideal I want to make
@late fulcrum is lol
I'm just gonna collect them
I got a pIRkey but I don't know what I'll do with it - maybe just "collect"
The sneaky easy way to get our muns: collectibles!
whoops
"do you think it still works?"
what is going on there
Extreme overclocking
Someone just reminded me of the whole USB 3.x renaming thing and I am very GRRRRR again
So... We had USB 3.0, 5GBPS. Then they came out with a 10GBPS version, but instead of calling it 3.1 [not enough to be 4.0], they renamed 3.0 to 3.1 Gen 1 and called the 10GBPS 3.1 Gen 2. Then they did it AGAIN when they developed a 20GBPS link, and renamed the 5GBPS a second time from 3.1 Gen 1 to 3.2 Gen 1, renamed the 10GBPS 3.1 Gen 2 to 3.2 Gen 2, and called the 20GBPS one 3.2 Gen 2x2! So they renamed one thing TWICE and another once, and then had a new name that made the least sense, instead of just having 5GBPS = 3.0, 10GBPS = 3.1, and 20GBPS = 3.2!
wait so with each iteration they rename the slower ones?
YES
but why
So USB 3.0, USB 3.1 Gen 1, and USB 3.2 Gen 1 are the same thing?
YES ISN'T THAT DUMB
And why is it USB 3.2 Gen 2x2?
Because it's 2 x 10GBPS pairs, but that's not obvious from just seeing all those numbers!
You should never rename a standard in the first place as far as I'm concerned
okay, I'm doing some reading up on it, it's still nonsense but it's at least misguided nonsense
And then there's also the next gen! USB4 NO SPACE IN THERE, WE'RE DONE WITH SPACES
I want to know what fumes they were breathing in during the naming meetings
Seriously... We had a great life. We had USB 1.0, then some improvements was 1.1; USB 2.0 was a HUGE difference in speed and all. USB 3.0 was another huge leap, made sense. Adding 3.1 for 10GBPS and 3.2 for 20GBPS would have been so simple... And then USB 4.0 for the next big revision
I ordered a day or so before the drop, got the email/order info on May 6 when 18 released and mine is still "preparing for shipment"
For AdaBox18? I'm not sure I'll get that at all -- I was referring to my regular order of all the things XD Which hasn't been touched because I ordered after they had left for the day
yep, adabox18
So about 9 days before me, not sure if I'm gonna get lucky XD
I have an AdaBox15 in my order tho!
Croutons first and then they’ll beautifully transform into breadcrumbs for chicken parm
Can u just borrow that pan with those on it and return it empty? 😂 croutons on salad are great
sounds yum
It will be 🙂
Did you do that in a proper reflow oven, following the temperature profile?
that's "chicken parm"?
and yes, i googled it, and it just looks like chicken with red sauce and a ton of different stuff :/
Croutons first and then they’ll beautifully transform into breadcrumbs for chicken parm
Chicken parmigiana, or chicken parmesan, is a dish that consists of breaded chicken breast covered in tomato sauce and mozzarella, parmesan, or provolone cheese. A quantity of ham or bacon is sometimes added.
There is a shop in front of my work that sells chicken parm in a sub roll, its carbs on top of carbs and I almost need to take a post lunch break nap but dang its good
Yummy, stop it I had wisdom teeth removed and cant eat much. You made me more hungry than I was a moment ago...
It’s anniversary night so no dishes 🙂
Haha
Well, plates anyway
Only the best reflow oven lol
25 minutes, tossed around 15 minutes in
i dislocated my jaw today!
fun times...
I went to breakfast in a restaurant
It was somewhat anxiety-ridden, but less so because I'm vaccinated
When you need a NeoPixel on a breadboard but don't have any breakouts
do they even sell breakouts?
Well, breadboard friendly ones
Yeah they do 🙂
I just can't afford to buy more after that order XD I haven't even gotten that one yet
makes sense
i'm going to make little neopixel thingys since i've got a bunch of them left lol
I have 200 coming, lol
i have like... 1350 left
lol
well, maybe 1368
or 1367 i am not 100% sure how many i've used.
i need to keep a spreadsheet going
Lol
It was designed for a first robotics competition, and it shoots dodgeballs
It can shoot them pretty hard
It has a 50psi pneumatic system for aiming
Nice! Nearly ready for war >:3
The biggest issue is overheating motors, but im not sure how to fix that
Ah... Any cooling right now? Are they encased?
Unrelated, I made risotto!
And surely the carpet has taken its cut as well
lol
I've somehow only lost 1 NeoPixel... which was a "huge" problem when I was working on a project where I needed 10 and only had 10
But I bought 100 replacements so it's ok
Surprisingly not lol
@zealous ermine nice!
Didn't know you are in FRC
Just ordered some beautiful afterdark boards for a product I’m bringing to my shop beginning of June
6 boards, $20.50. Will be the 5x10 PixelLeaf Branch RGB matrix
afterdark?
Changed it to have a single data line since I realize that trying to do something with a data line on each row just isn’t computationally productive
Afterdark PCB is black substrate with clear solder mask
ah, I like those
Noice
and they'll sell for $14.95 a piece
and should be compatible with existing neopixel matrix libraries
:D
Nice
there's also a jumper to bypass the data line resistor (you'll want to remove the resistor as well) to connect more than 1 in a row
your limit will obviously be your power supply
I want to have a billion NeoPixels
hehe, yeah
yeah! I'm in FRC!
FRC?
I am FTC coach
very cool!
First Robotics Competition
FTC is done for the season
same with FRC
all i do now is drive the robot around at school
and do demos for the freshmen
When I was in school we had this really short kid named carl who during off season turned the FRC robot into his personal tank to drive around school
Thing fit in the elevator so A+
ah
LOL that's what i did!
i got a desk chair and ratchet strapped it to the robot
That is basically what he did 😆 One of those stereotypical plastic flimsy blue ones
This video is about FRC 8604 RI3D Procastination Edition
here's our video
skip to the end to see my friend napping in a wheel chair after 4 hours of work
I think my MAX619 boards are finally going to arrive
Oh yay
I love getting shipping notices
Good news is my EPD displays will be here in the next few days
Bad news is I procrastinated and didn’t design any carrier prototypes
they're... smaller than I thought
what am i even going to do with the other 4 of these good lord
note to self: in future, don't make yourself solder in individual headers
For soldering individual headers, I put them into a solderless breadboard to hold them straight(ish) and at the proper spacing.
Bleah. They are appealing boards.
are you saying you like my design?
Yes, that is what I'm saying.
Machine pin DIP headers exist, I wonder if that would make it easier to solder.
thanks!
There is also this odd but useful product https://www.evilmadscientist.com/2016/fliptronics-flip-pins/
now is a great time for me to realise i dont know where my MAX619 chip actually is
proceeds to immediately find it
very tall once the chip, socket, and the electrolytic caps are in
now all i need to do, is to test it
Oh cool little board
i should have added an indicator or something to this
it's... very not doing anything
at least the capacitors aren't exploding
it's a charge pump
it works!
3.3v input, 5v output
Nice, I have a charge pump inverter that produces down to -5V
Only 50mA of current though
Usually enough to bias an op amp
i... don't know how much current i can draw from this
but I'd say at peak 330mA, if I draw from the regulator, or if I draw from VBAT, it'll be higher (and probably for longer, as I don't need to convert down to convert back up again)
I dunno what I'm most excited for in this order
But I do love the idea of using my old TFT LCD touch shield I'd gotten for Arduino on the Metro M0 Express, since I imagine I'll get better performance :D
I decided to attempt a power converter too, but for the first time, I'm going to attempt to wind my own transformer. I've long regarded magnetics as sort of a black art, and avoided anything where I needed to wind thousands of turns of fragile thin wire, but this design only needs a few dozen turns of fairly robust wire so I'm going to give it a try.
I’ve always wanted to make a crude step down transformer
120:5 winding pattern
Test it out on a GFCI circuit just in case I get the windings wrong
I was given some encouragement by an article in Elektor that specified which core and former to use, what kind of transformer tape and wire, how to wind it, and some of the background behind it. Turns out the parts are inexpensive and available via DigiKey so I figured I'd give it a try.
