|
i think for my purposes i'll just use the arduino autotune library.
|
![]() |
|
![]()
|
# ? Jun 6, 2023 19:47 |
|
are you afraid of c?
|
![]() |
|
Bloody posted:are you afraid of c? yes, i am afraid of c. i'm not afraid to admit it... you guys know that the most coding i've ever done was html when i was like 9?
|
![]() |
|
c is the simplest thing. i think everybody understands pointers at this bit, then its p much enums, structs and dont forget to break out of your cases. its just that ppl take a look at linux.c and freak out cause macros? idk.
|
![]() |
|
if you wanna actually learn from your idiot spare time project do it in c it won't be that bad and you'll learn a whole bunch if you're using msp430s which i think you said you were then its quite easy how to do embedded development: 10 read the datasheet 20 goto 10
|
![]() |
|
Bloody posted:if you wanna actually learn from your idiot spare time project do it in c it won't be that bad and you'll learn a whole bunch sometimes i browse datasheets for random chips ive discovered a lot of nifty ICs that way or ill find one member of a new line of chips and go look up the whole line, see what it does maxim and analog devices make some cool poo poo
|
![]() |
|
Bloody posted:if you wanna actually learn from your idiot spare time project do it in c it won't be that bad and you'll learn a whole bunch i was gonna go for the atmega328p
|
![]() |
|
i really want to be cool and awesome and etch my own pcb and surface mount everything cause i deserve the best techmology has to offer. ![]() i had the idea of adding an rfid reader and labelling my sealed food with rfid stickers so you could just tap the sticker on the machine and it would set itself to the right temperature. one can dream... ![]()
|
![]() |
|
WorkingPeer posted:i was gonna go for the atmega328p oh okay. also a reasonable choice, also pretty harmless in c. WorkingPeer posted:i really want to be cool and awesome and etch my own pcb and surface mount everything cause i deserve the best techmology has to offer. don't bother etching your own because getting good-looking pcbs done elsewhere is insanely cheap and the results are way better than you can do yourself, particularly when you need SMD tolerances. also, soldering smd by hand really is not difficult, the only bits i avoid are 0201s, packages without leads (eg QFN), and physically inaccessible packages (eg BGA). pretty much everything else is really not particularly difficult even with lovely equipment. surface tension is kinda magical.
|
![]() |
|
oh cool we're onto electronics projects i had an idea for a big ol' button i could whack to make a noise. searched the internet and all i got was a bunch of idiot makers "hacking" a radio shack voice recorder into a staples easy button. what's the easiest/smallest/cheapest way to make a small circuit that just plays back a sound file
|
![]() |
|
WorkingPeer posted:i really want to be cool and awesome and etch my own pcb and surface mount everything cause i deserve the best techmology has to offer. pcb etching is super easy and p cool if you wanna do that. you can get everything you need from as common a place as radio shack but yeah like bloody said its a bit unnecessary and you can get everything elsewhere easily
|
![]() |
|
oh and i also found this which actually looks like it fits the bill but who uses a PIC in the year 2013
|
![]() |
|
more python graphics stuff: i modified the langton's ant algorithm so that the trail would fade slowly, which was interesting but it always still ended up in the same pattern so then i added random cell activations to disrupt that ![]() i call it "ant in a rainstorm"
|
![]() |
|
Bloody posted:don't bother etching your own because getting good-looking pcbs done elsewhere is insanely cheap and the results are way better than you can do yourself, particularly when you need SMD tolerances. also, soldering smd by hand really is not difficult, the only bits i avoid are 0201s, packages without leads (eg QFN), and physically inaccessible packages (eg BGA). pretty much everything else is really not particularly difficult even with lovely equipment. surface tension is kinda magical. yeah, i guess i'll stop short of etching it myself. although the hackspace does have a proper etching tank i wouldn't trust myself to be able to produce anything to smd tolerances. we have a real reflow oven though, so that's good. none of this pid-controlled toaster oven bs.
|
![]() |
|
ol qwerty bastard posted:more python graphics stuff: can u make it draw goatse?
|
![]() |
|
my dirt cheap board shop of choice is http://dorkbotpdx.org/wiki/pcb_order because you get excellent quality boards for dirt cheap if you can sometimes wait a week or two
|
![]() |
|
Bloody posted:my dirt cheap board shop of choice is http://dorkbotpdx.org/wiki/pcb_order because you get excellent quality boards for dirt cheap if you can sometimes wait a week or two i'm onto you shill!
|
![]() |
|
ol qwerty bastard posted:more python graphics stuff: this owns
|
![]() |
|
Bloody posted:my dirt cheap board shop of choice is http://dorkbotpdx.org/wiki/pcb_order because you get excellent quality boards for dirt cheap if you can sometimes wait a week or two dorkbodPDX? im in portland maybe ill just pop in ![]()
|
![]() |
|
Mido posted:dorkbodPDX? im in portland maybe ill just pop in no don't it's a hackerspace ![]() u've been warned
|
![]() |
|
lmao it's literally an arduino and some rgb leds![]() Editor's Choice
|
![]() |
|
hm okay clearly my ball collision algorithm needs work![]() i hate vector math
|
![]() |
|
ol qwerty bastard posted:hm okay clearly my ball collision algorithm needs work i like your version of physics. it's more fun. (by any chance did you design it so collision boundaries strongly repel eachother? because then if two boundaries are found to be intersecting at the end of a time step, the repulsion would force one ball into the other)
|
![]() |
|
ol qwerty bastard posted:i hate vector math loving same
|
![]() |
|
coffeetable posted:i like your version of physics. it's more fun. it's supposed to detect when the distance is less than (r1+r2) and then apply a force to each based on their velocities and masses but i'm getting some weird negative numbers in a place that should only have positive numbers (i.e. under a square root) and i don't know if it's because i hosed up somewhere or because floating point handling in python is apparently lovely this would be a lot easier if i just said that both balls have the same mass and made the system symmetrical but that's kind of boring
|
![]() |
|
dur posted:how much does it cost to go there and use their stuff? $125 a month, classes are open to anyone tho, so i am taking all the safety cert classes before i join and sperg out on nerd projects it's 175 month to month but 125 if you auto-renew EIDE Van Hagar fucked around with this message at 19:44 on Aug 21, 2013 |
![]() |
|
ol qwerty bastard posted:it's supposed to detect when the distance is less than (r1+r2) and then apply a force to each based on their velocities and masses post yr code
|
![]() |
|
hah it totally was just a sign that i had flipped, and also i'd forgotten to divide by 2 when figuring out the kinetic energy so it was doubling in energy upon every collision
|
![]() |
|
yessssssss![]()
|
![]() |
|
ol qwerty bastard posted:yessssssss nice balls
|
![]() |
|
ol qwerty bastard posted:yessssssss very well done
|
![]() |
|
ol qwerty bastard posted:yessssssss NICE!
|
![]() |
|
looks cool if you add gravitational attraction between the two balls and then plot the paths too![]() awww yeahh sexy patterns e: ![]() ol qwerty bastard fucked around with this message at 21:21 on Aug 21, 2013 |
![]() |
|
ol qwerty bastard posted:add gravitational attraction between the two balls kerbal space balls program
|
![]() |
|
Cold on a Cob posted:kerbal space balls program i knew it! im surrounded by kermans!
|
![]() |
|
rip jebediah kerman 2013
|
![]() |
|
Mido posted:i knew it! im surrounded by kermans! something something Kerbal Spaceballs Program DLC: The Search for More Money eh
|
![]() |
|
ol qwerty bastard posted:yessssssss nice balls nice balls
|
![]() |
|
i figured out that KSP only has such bad lag with big structures because the physics calculations on the unity engine only happen on one core. wish i was a big enough badass to come up with a workaround
|
![]() |
|
![]()
|
# ? Jun 6, 2023 19:47 |
|
the workaround is to wait for them to port it to the newer version of unity (they are planning this for the next major update)
|
![]() |