lordpil's blog


wtf safe this is why i call it spinny death
like, before i did demo for class prof is like WHY NOT BRING IT UP FOR THE CLASS TO SEE! im like because very danger
because way further from my 12 year old wifi ap
i still this is way better solution than spending $40 on a shit slip ring
or having a cable hanging off like that shit on wikipedia
gotta unwind your pendulum pusher

Posted by renesis at 12:30 | permalink | 0 comments


blackmoon: pi is embedded so i can use globals like whatever for all the things right!?

Posted by renesis at 12:22 | permalink | 0 comments


like, theres a few degrees slack in the gear box, and that ends up being about same as a half motor rev
so like, is almost dead stall not switching coils and pwm dir is all nuts in both direction

Posted by renesis at 12:00 | permalink | 0 comments


blackmoon: 0.5x0.5x0.125 aluminum angle beam spinning at blurry speeds vs aluminum chainstay and plastic pedals
spinny death maybe had a chance
also i got it to buzz around with pendulum straight up, like it would rotate around vertical axis as fast as i pushed it and keep beam up, and would be fine with me stopping in

Posted by renesis at 11:55 | permalink | 0 comments


timecop: mfkr everything working now
because hal uart dma wanted the uart global interrupt enabled

Posted by renesis at 11:45 | permalink | 0 comments


i dunno
i was just gonna bring drugs and hope someone thought to bring food

Posted by renesis at 10:18 | permalink | 0 comments


like, you have to set gpio modes to use art, spi
but if you have linux hax, theres very little learning curve
shrug, i can ssh into it and it works and theyre cheap
and now my thing has ssh estop and control
why?
toggles relay over uart!
eh this thing small enough i can kick it and stomp it out if it gets too nuts
it attacked my front door, almost got my bike
but yeah, so far pi has been ultra stable

Posted by renesis at 08:39 | permalink | 0 comments


johnjones: so why are you showing us
er
joellama: ^^
pi->stm32->pi cmd/ack w/ dma uart is success
\o/\o/\o/\/o\o/\/o\/o\/
yeah a zero 1.3
control spinny death
so i have a c app on pi that toggles the estop pin and toggles relay
and will soon do logging and live pid update
you can just code it with normal serial libs, im using wiringPi
wiringSerial is a pretty shallow wrapper
but shit works
ive gotten spi working too w/ a heat sensor
sure same same

Posted by renesis at 08:34 | permalink | 0 comments


w00t
i needed to enable uart interrupts in cubemx
run dead trace ground shields
if the ground shield can loop current its not a very good shield
so like, run a trace alongside sense that doesnt go anywhere but blocks everything
still no opamp cap
jero = china

Posted by renesis at 07:51 | permalink | 0 comments


oh maybe because not volatile
wtf compiler

Posted by renesis at 07:31 | permalink | 0 comments


timecop: wtfuuuuuuuuu
while(tx_ready != 1);
debugger says tx_ready = 0x00000001
its still while looping
i dont even
how does this not work!?

Posted by renesis at 07:26 | permalink | 0 comments


guys there is $6 organic cream-top (non homogonized?) gallon whole milk, so fuckin tasty
and it comes in glass bottles and if you give the bottle back you get $2 deposit back
so like, awesome milk is $4, same price as normal grocery store factory cow milk

Posted by renesis at 05:12 | permalink | 0 comments


like that injection molded glass wood they sell on the radio

Posted by renesis at 01:36 | permalink | 0 comments


eh i thought we tripped out over this in here years ago
id be more worried about the insulator
i think they do a lot but its because of corrossioin
dude its china
it could be wood
thats not wood

Posted by renesis at 01:28 | permalink | 0 comments


sculptor: that sucks

Posted by renesis at 01:14 | permalink | 0 comments


neat, things been on all night, couple pi power cycles, stm32 still receiving fine without a sync signal

Posted by renesis at 01:02 | permalink | 0 comments


Top | Add to Technorati Favorites


© 2007 lordpil.   XHTML 1.0! CSS! Site design by GNAA  Blog Engine by pbx | MULTI2 | ian hanschen | lolwat