#Qwiic-QT-Stemma-Prototyping

1 messages · Page 1 of 1 (latest)

worldly notch
#

then from there I tend to stick that into an enclosure from Polycase usually... they're cheap, and you can get outdoors/waterproof enclosures for cheap

#

what's even more exciting than these concepts is that we can now write Python instead of C!

left elk
#

Wait

#

Polycase

#

You’re exploding my brain here

#

You can just get a case for the feather?

#

See I purchased a funhouse but I’m not satisfied with the shape and size

worldly notch
#

you can get a case for just the feather, sure, but, when you have some other stuff with it, it won't fit

left elk
#

So I think I’m gonna buy a feather and some other stuff

worldly notch
#

and you can also get stuff with battery compartments from polycase

#

I am hoping I am not breaking server policy by talking about this? BRB, gotta check

#

yup, I think this is safe enough, it's not really an advertisement, just an option for how to put Adafruit QT components together on a base plate in a case

#

I find that OpenSCAD is the definite fastest for generating a plate with mount holes for sure

left elk
#

Holy cow

#

This is going to be a game changer I think

worldly notch
#

give me a sec, lemme find an SCAD file I made... give you an idea

left elk
#

Because some of my criticism has been enclosures

worldly notch
#

get an Ender 3-V2 printer, they're < $300 and great for stuff like this

#

I prefer to not print the enclosures themselves, I'd rather spend $3 on an enclosure than wait 6 hours for one to print 😉

left elk
#

I have an ender

worldly notch
#

so I just print the base plates with mounts

left elk
#

Idk if it’s v2

#

Maybe I should get a new one

worldly notch
#

either way, it'll work!

left elk
#

I had relatively good success with my ender actually

#

But I’m an adult also with some industrial experience. So

#

That changes it

worldly notch
left elk
#

I’ll check those out

worldly notch
left elk
#

Interesting.

#

See I’m more likely to buy a poly case. Time is precious and I work a lot

worldly notch
#

makes creating a plate super easy, then all you need is to create one screw stem, difference it with an actual 2.5mm screw (which it has function generators for) and then use a spreadx/y function to place that stem in a square

#

then you even have threaded holes

#

or, you can make the stem a little wider and make a hole that's 0.7-1mm smaller and actually put in a knurled insert with a soldering iron

left elk
#

Wow

#

Could use nutserts also

worldly notch
#

that's what I was talking about

#

so... this code:

difference()
{
    cuboid(size=flatten([plate_size, [plate_thickness]]), fillet=2.5, edges=EDGES_Z_ALL, $fn=24);
    grid2d(size=[plate_size[0]-20,plate_size[1]-20],
            spacing=switch_size[0]+switch_gap, cols=colunms, rows=rows, stagger=false)
        cuboid(size=flatten([switch_size, [plate_thickness+0.1]]));
}

creates this

#

I tried to learn Fusion 360 and stuff, but it just never spoke to me as OpenSCAD does. It's such a wonderful tool to prototype things with for 3D printers.

left elk
#

I didn’t care for fusion 360

#

At all

worldly notch
#

totally went down a rabbit hole here, glad I created a thread, hahaaha

#

let me know if you ever need any help with OpenSCAD.

left elk
#

Lololol

#

If I ever get there

#

Trying to understand all that python can do is overwhelming

#

Let alone arduino

worldly notch
#

you might ¯_(ツ)_/¯

left elk
#

Or the block logic at work, or Allen Bradley ladder

worldly notch
#

it becomes easier with practice

left elk
#

Or electricity in general

worldly notch
#

I never learn anything by just reading crap... I gotta dig in

left elk
#

It’s why I bought this board in the first place

worldly notch
#

I am currently playing with LoRa 433MHz radios, encryption, and e-ink screens

#

switched to CircuitPython from a proof of concept in Arduino/C

left elk
#

Oh the eink looks interesting to me

#

Well arduino isn’t terrible I don’t think

#

The idea behind me learning anything about python was it supposedly being easier to deal with

worldly notch
#

so, when you get the color e-ink... don't expect them to be fast like a kindle or something... they're slow... like 15 seconds to render

#

(unless you buy a really expensive e-ink panel)

#

the black/white ones are faster

#

Pimoroni makes some cool ones, Adafruit should sell them

left elk
#

For what its worth

#

I appreciate you showing me new stuff

#

I don't know what I don't know

worldly notch
#

me neither, I love all this stuff, and I don't get to talk to people about it very often

#

used to have coworkers that were way into this stuff, but these days, with WFH and such, I don't talk about it very often

left elk
#

Hey

worldly notch
#

had a coworker that completely automated a plant watering/nutrition/solar/temperature project. Then he hooked it up to Twitter so it could send status updates. Then he got bored and let people control it through Twitter. People obviously killed it within a few days, because... Internet.

left elk
#

I actually have a question for you

#

I'm going from Mu to pycharm

#

and for whatever reason its not letting me save it directly to my board.

worldly notch
#

Did you turn off auto-save?

left elk
worldly notch
#

And, have you closed down Mu and any other programs that might have that file open?

left elk
#

Yeah

#

looks like nothing is open

worldly notch
#

sans all that, I would safely unmount the CIRCUITPY drive, disconnect and reconnect the board and see if that helps

#

the good old "jiggle the cable" trick

left elk
#

I see. Actually that help guide is going to be helpful

#

heres another question

#

have you found that circuitpython is less advantageous to learn vs regular full blown python?

worldly notch
#

nope, it's the same dang thing, basically

#

you learn circuitpython and you'll have a leg up on other developers that don't have microcontroller experience

#

next step: machine learning

left elk
#

I've seen mention of that

worldly notch
#

3D print rocket engines that send 3D printers into space and the 3D printers print more 3D printers and then we have Skynet. Check mate.

left elk
#

Once I have a healthy grasp on python that would be cool to try and do

#

say, have a machine learn what a banana is

worldly notch
#

yeah, the video stuff is cool

#

there's plenty of awesome cameras from Adafruit. I really want a thermal camera

#

best I've got right now is a Raspberry Pi mounted to my 3D printer with a camera that records time lapses

left elk
#

We have a really high dollar one at work...in the 15-20k$ range. Its awesome. I take it out on midnights and just look off into the woods. Amazing.

worldly notch
#

wow

#

we're doing some cool stuff with high speed cameras at work

#

(and machine learning)

left elk
#

That would be cool

#

I work in high voltage utilities and sadly I don’t do a lot with stuff like that. Mostly I deal with collecting pixies and sending them to homes

#

holy that link was great for settings

#

I was sort of overwhelmed with pycharm

worldly notch
#

yeah, it's an IDEA product

#

as such, it's the kitchen sink... and the house it's attached to... with part of the town that house sits in... and a slice of sky with a half moon

#

meanwhile I'm like... Can I just go back to Vim?

#

But getting intellisense in Vim was even tricker

#

(for CircuitPython)

left elk
#

I thought mu was about all a person could want

#

then you go from driving a 1960s car to driving a f16 jet

worldly notch
#

yeah

#

Mu doesn't give you intellisense, makes it take longer to write stuff because you have to hop back to a reference guide

#

so if you're using stuff you're not intimately familiar with, IntelliSense is great

#

because you can directly explore each class/object

left elk
#

Wait

#

maybe I'm not using this thing right

#

are you saying I can type in a command and then it will give me options and data?

#

well

#

no

#

it does that in pycharm

#

however does it hot link to actual help files?!

worldly notch
#

yeah, if you follow that tutorial with the project layout and all, you'll get IntelliSense

#

hotlinks... I am unsure

#

I have used PyCharm for exactly 4 hours.

left elk
#

well

#

If it makes you feel better. I'm crap at writing code, not my occupation, and I'm newwww like joe dirte

worldly notch
#

I don't think it does

#

there might be plugins for it, though

#

from my cursory exploration just now, it doesn't do that, like vscode does

#

(I use VSCode for work, and a bunch of other projects)

worldly notch
left elk
#

Oh dang

#

That’s awesome