|
i think for my purposes i'll just use the arduino autotune library.
|
# ? Aug 21, 2013 16:25 |
|
|
# ? Jun 10, 2024 12:42 |
|
are you afraid of c?
|
# ? Aug 21, 2013 16:25 |
|
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?
|
# ? Aug 21, 2013 16:27 |
|
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.
|
# ? Aug 21, 2013 16:28 |
|
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
|
# ? Aug 21, 2013 16:28 |
|
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
|
# ? Aug 21, 2013 16:31 |
|
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
|
# ? Aug 21, 2013 16:33 |
|
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...
|
# ? Aug 21, 2013 16:43 |
|
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.
|
# ? Aug 21, 2013 16:47 |
|
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
|
# ? Aug 21, 2013 16:51 |
|
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
|
# ? Aug 21, 2013 16:51 |
|
oh and i also found this which actually looks like it fits the bill but who uses a PIC in the year 2013
|
# ? Aug 21, 2013 16:51 |
|
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"
|
# ? Aug 21, 2013 16:52 |
|
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.
|
# ? Aug 21, 2013 16:54 |
|
ol qwerty bastard posted:more python graphics stuff: can u make it draw goatse?
|
# ? Aug 21, 2013 16:55 |
|
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
|
# ? Aug 21, 2013 16:56 |
|
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!
|
# ? Aug 21, 2013 17:00 |
|
ol qwerty bastard posted:more python graphics stuff: this owns
|
# ? Aug 21, 2013 17:08 |
|
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
|
# ? Aug 21, 2013 18:49 |
|
Mido posted:dorkbodPDX? im in portland maybe ill just pop in no don't it's a hackerspace u've been warned
|
# ? Aug 21, 2013 18:54 |
|
lmao it's literally an arduino and some rgb leds Editor's Choice
|
# ? Aug 21, 2013 18:55 |
|
hm okay clearly my ball collision algorithm needs work i hate vector math
|
# ? Aug 21, 2013 19:20 |
|
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)
|
# ? Aug 21, 2013 19:28 |
|
ol qwerty bastard posted:i hate vector math loving same
|
# ? Aug 21, 2013 19:30 |
|
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
|
# ? Aug 21, 2013 19:37 |
|
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 |
# ? Aug 21, 2013 19:38 |
|
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
|
# ? Aug 21, 2013 19:43 |
|
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
|
# ? Aug 21, 2013 20:04 |
|
yessssssss
|
# ? Aug 21, 2013 20:14 |
|
ol qwerty bastard posted:yessssssss nice balls
|
# ? Aug 21, 2013 20:24 |
|
ol qwerty bastard posted:yessssssss very well done
|
# ? Aug 21, 2013 21:12 |
|
ol qwerty bastard posted:yessssssss NICE!
|
# ? Aug 21, 2013 21:15 |
|
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 |
# ? Aug 21, 2013 21:18 |
|
ol qwerty bastard posted:add gravitational attraction between the two balls kerbal space balls program
|
# ? Aug 21, 2013 21:21 |
|
Cold on a Cob posted:kerbal space balls program i knew it! im surrounded by kermans!
|
# ? Aug 21, 2013 21:25 |
|
rip jebediah kerman 2013
|
# ? Aug 21, 2013 21:27 |
|
Mido posted:i knew it! im surrounded by kermans! something something Kerbal Spaceballs Program DLC: The Search for More Money eh
|
# ? Aug 21, 2013 21:30 |
|
ol qwerty bastard posted:yessssssss nice balls nice balls
|
# ? Aug 21, 2013 21:30 |
|
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
|
# ? Aug 21, 2013 21:32 |
|
|
# ? Jun 10, 2024 12:42 |
|
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)
|
# ? Aug 21, 2013 21:33 |