#avr | Logs for 2016-05-22

Back
[00:01:19] <rue_shop5> is arduino a programmer type in avrdude?
[00:02:27] <Casper> yes
[00:02:45] <rue_shop5> do I have to write my code special?
[00:02:58] <rue_shop5> I accenedtly used an arduino without an isp port
[00:03:03] <rue_shop5> I'm squiming now
[00:03:49] <rue_shop5> arg, I keep reaching for my isp cable
[00:06:25] <Casper> it use the serial bootloader afaik
[00:08:09] <rue_shop5> do I have to put an arduino sketch on it to do it?
[00:08:12] <rue_shop5> (its not working)
[00:08:53] <rue_shop5> ooh I cant connect the serial to THAT pin...
[00:09:57] <rue_shop5> or... wtf
[00:11:28] <rue_shop5> avrdude: stk500_recv(): programmer is not responding
[00:11:35] <rue_shop5> somthing is wrong with this error message
[00:13:05] <rue_shop5> aha! got it
[00:13:21] <rue_shop5> ok
[00:13:26] <rue_shop5> avrdude -carduino -pm328P -P/dev/ttyUSB0 -b57600 -D -Uflash:w:main.hex
[00:13:50] <rue_shop5> not I just need to write some code to put on it
[00:14:24] <rue_shop5> hmm, might need to pull off that pins led...
[00:30:14] <rue_shop5> who knows the default speed of a pro mini? 1 8?
[00:34:50] <rue_shop5> WormFood, did you ever do a timer rate calcuator?
[00:43:47] <rue_shop5> ah its 16M
[00:45:13] <rue_shop5> well ok
[00:45:31] <rue_shop5> that was less painfull than things I'v feared less
[01:20:51] <rue_shop5> ok I just have to print a centronics to usb knockout adapter and I'm done
[01:45:40] <eszett> morning
[01:59:30] <Casper> NOOO!
[01:59:35] <Casper> Not morning! Night!
[01:59:49] <Casper> 2:33am... still night, m'kay?
[02:00:07] * Casper goes to bed, while there is still some night left
[02:01:25] <cehteh> light at 2:33?
[02:01:31] <cehteh> err night :D
[02:01:32] <cehteh> ok
[02:01:39] <cehteh> not awake yet :D
[02:04:03] <eszett> hi
[02:04:16] <eszett> ok good nite
[02:07:19] <eszett> I have a question. on this illustration there are three markings for "pin1" on a QFN footprint, one "Silkscreen pin1", one "Assemble pin1", and one "dot located by pin1 after assembly". why is all that necessary? Wouldnt be one dot visible after assembly suffcient for everything?
[02:07:27] <eszett> https://s3.amazonaws.com/s3-blogs.mentor.com/tom-hausherr/files/2010/10/anatony-of-a-land-pattern-520x292.png
[02:20:05] <Casper> eszett: most likelly so it get identified the easiest way possible. Pin1 is kinda.. important
[02:20:56] <eszett> yes but why three markings if one would be sufficient?
[02:21:18] <eszett> and why markings inside of courtyard, if a marking outside courtyard would be better, since it is visible after assembly!
[02:23:13] <Casper> pick and place machine look from under the chip
[02:23:35] <Casper> so a marking there must be visible (usually the 45° corner)
[02:23:54] <Casper> but such corner is kinda hard to see for us, human
[02:24:12] <Casper> so a top marking is also quite welcome
[02:24:56] <eszett> look from under? the markings are all with PCB's top silkscreen
[02:25:35] <Casper> oh I mischecked the pic
[02:26:05] <Casper> I do not think all the markings are present on all boards
[02:26:34] <Casper> having more than 1 possible marking help with silkscreening of the board
[02:26:43] <Casper> for denselly populated boards
[02:27:19] <Casper> but bed time, nite
[02:27:26] <eszett> Casper alright wish you pleasant dreams
[03:50:25] <eszett> A lil question, a header pin is squarish pole with 0.65 x 0.65mm right?
[03:58:25] <eszett> So according to Pythagoras' theorem the lead diameter is 0,92mm. How much must a drill hole be for a tight snug fit?
[04:35:54] <Fleck> http://pastebin.com/FTY6JPYi << is this a good thing to do? (creating variables in loop instead of before loop and just assign/change values inside loop)
[06:13:59] * WormFood doesn't use pastebin, because it's blocked in China ;P
[06:14:53] <WormFood> Fleck, I can't see your code, but if you really want to know how it handles variable assignment within a loop, then look at the asm code it generates, and see if it's doing what you want/expect it to do.
[07:49:10] <LeoNerd> Anyone have any experience using the socalled MPCM- multiprocessor communication mode, of the USART? It looks simple enough in principle, except for one bit of wording in the datasheet (328P) that worries me:
[07:49:19] <LeoNerd> Do not use Read-Modify-Write instructions (SBI and CBI) to set or clear the MPCMn bit. The MPCMn bit shares
[07:49:19] <LeoNerd> the same I/O location as the TXCn Flag and this might accidentally be cleared when using SBI or CBI
[07:49:20] <LeoNerd> instructions.
[07:49:48] <LeoNerd> OK, so if I shouldn't use those, what should I use?
[07:54:03] <LeoNerd> Ohwait I think I see what it's saying.. that if I do UCRSnA |= _BV(MPCMn); then if the TXCn flag happened to be set, then I'd write that back in to clear it
[07:54:52] <LeoNerd> So what I need to do is UCRSnA = (UCRSnA & ~_BV(TXCn)) | _BV(MPCMn);
[07:55:23] <LeoNerd> and possibly the other flags too
[07:56:09] <LeoNerd> Aaactually, only the bottom two bits in UCSRnA are config flags; the rest are event bitflags. And since the only other config bit is U2Xn which I'm not even using, I'm quite safe to just write in 0 or _BV(MPCMn) as I see fit
[08:06:17] <LeoNerd> Actually, I might not even use MPCM itself. That just seems to be a way to reduce interrupt load, but that's not a problem for me. I'll just use the 9th bit to indicate start-of-frame
[08:40:56] <liwakura> cehteh: im having a project now where i know my requirements well enough to make it all interrupt-based:
[08:40:59] <liwakura> https://github.com/liwakura/avr-rgbstrip/blob/master/main.c
[09:10:57] <kamo> AVR chips have interrupts like PIC MCus?
[09:12:34] <LeoNerd> I can't imagine any sort of MCU not having at least /some/ kind of interrupt ability
[09:13:01] <LeoNerd> E.g. the ATmega328P which I'm working on currently has 26 of them
[09:13:20] <liwakura> i need new arduino nano clones
[09:13:55] <liwakura> they are basically atmega328p breakout boards with integrated usb programmer
[09:14:28] <LeoNerd> Well, with integrated USB-CDC bridge, yes
[09:14:48] <LeoNerd> I usually tend to wipe the bootloader on those and do programming via the ISP6 header directly
[09:15:33] <LeoNerd> Though annoyingly on the current board I'm working on I need the hardware UART for an RS-485 bus, so I'm writing debug serial console via a software serial solution to a different GPIO pin
[09:15:46] <Chillum> even the scrappy little attiny85 has interrupts
[09:15:48] <LeoNerd> I don't fancy rewiring the bridge chip to account for that
[09:17:05] * LeoNerd wonders if anyone makes a simple USB-CDC bridge breakout board with onboard USB mini/microB socket, instead of A plug
[09:17:10] <LeoNerd> Could be useful for mounting inside a case
[09:17:48] <LeoNerd> Ooh https://www.amazon.co.uk/PL2303-Serial-Converter-Adapter-XYGStudy/dp/B019DYEY0A/ref=sr_1_fkmr0_1?ie=UTF8&qid=1463925059&sr=8-1-fkmr0&keywords=usb+uart+adapter+micro+B
[09:23:33] * LeoNerd finds an even cheaper/smaller one on eBay
[09:26:03] <LeoNerd> All surface mount with a totally smooth back to the board too, so this will glue nicely onto a block for case mounting
[09:37:03] <Chillum> I do try to keep one side of a board flat for that reason
[09:37:22] <Chillum> though pin headers tend to be okay if the double sided tape is thicker than they protrude
[11:06:59] <WormFood> I don't understand Windows. It tells me it's gonna take 6 hours, and 30 seconds. Who the fuck cares about 30 seconds, when it takes 6 fuckin' hours?
[11:35:31] <theBear> hehe
[11:35:55] <theBear> don't worry, it'll radically change that number up and down, and i mean RADICALLY, many times before it gets close to the end
[11:36:31] <theBear> it entertains me how recent windows actaully hesistate and say they calculating those estimate times, and are still at least as hopeless as they always were
[11:48:28] * Casper pokes theBear
[11:48:48] <Casper> hi ya, how good are you at repairing tv CCFL backlight?
[11:49:14] <theBear> how good does the pope wear half a beanie ? like him, i'm the only one, and pretty accomplished by now :)
[11:52:05] <Casper> there is 24 tubes splitted across 4 boards, 2 contain only transfo, 1 is a slave and the last is a master (master + board, master to slave, slave + board). If I disconnect the slave, the backlight sometime work. If I connect it, atbest I get some "sinewave" pulse in the backlight for 2-3 seconds, then the tv fall into protection mode, sometime the relay buzz
[11:52:34] <Casper> initial trouble was that the master board had 2 short mosfet, replaced by a used one...
[11:54:28] <theBear> you got a hv megger/leakage meter ?
[11:54:34] <Casper> do you think the tubes are dead? Also, at turn on, the master side current ramp to 1.7A then drop to 0.6 to 0.8A
[11:54:35] <theBear> 500vdc should be more than enough
[11:54:57] <Casper> only have scope and multimeter
[11:55:05] <Casper> mine goes to 1000VDC
[11:55:18] <theBear> mmm.... is it "easy" to test the tubes on a rubber mat or something that isn't the tv chassis ?
[11:55:53] <Casper> nope
[11:55:56] <Casper> 54" tv
[11:56:09] <theBear> and re: meter, it's not a max voltage deal, it's the test-voltage, like your meter does maybe 2-4v, leakage/fancy-"megger" meters test at 100's
[11:57:09] <theBear> mmmm.... dead tubes almost never kill power devices, specially if there all kinds of sensible/basic over/under current/voltage/not-on kinda protections, but leaking/arcing to chassis, particularly during higher-than-running-voltage startup times often will
[11:57:34] <theBear> is it many-sockets hanging off the transformer board and tubes mounted in C clips or what ?
[11:58:38] <theBear> and of coruse you confirmed that the tv is steadily telling the inverter to "be on now" and that the rails coming from there to power the inverter stuff aren't dropping to hell when it tries to startup
[11:58:41] <Casper> 12 sockets per side of the tv, seems to be internally connected to ground as there is no "return" point that I can see
[11:59:04] <Casper> all power rail are stable
[11:59:31] <theBear> usually no ground, just transformers driving opposite to each other
[11:59:47] <theBear> sockets are soldered to pcb ?
[12:00:03] <GeneralStupid> maybe...
[12:00:10] <Casper> if I connect the signal to the inverter board at an angle so the protect pin do not make contact, then the backlight turn on, then off... I disconnect and reconnect, same.. until it turn on, then it stay on
[12:00:23] <Casper> but only if the master side only is connected...
[12:00:36] <Casper> the pcb have a 1 contact socket
[12:01:13] <Casper> there really seems to be no real return path, or they linked 2 tubes together internally
[12:01:38] <Casper> 12 connectors per side, 12 transformer per side
[12:02:29] <Lambda-Aurigae> frame ground?
[12:02:35] <theBear> hmmm, it's one of those things that tricky at best without stuff to substiture for testing/confirmation, wait, hmm, fascinating
[12:02:45] <theBear> you haven't looked inside at the bare tubes yet then ?
[12:03:08] <Casper> not yet, will be a pain to get to it
[12:03:11] <theBear> yeah it is :)
[12:03:20] <theBear> you sure it 24 and not 12 tubes tho ?
[12:03:41] <Casper> but there seems to be TON of noise in the metal frame
[12:04:11] <Casper> well, the service manual say: BL: 46: 22 52: 24
[12:04:20] <Casper> exactly like that
[12:04:34] <theBear> physical or electrical noise ?
[12:04:41] <Casper> electrical
[12:04:47] <theBear> is the frame grounded ?
[12:04:50] <Casper> no
[12:04:56] <Casper> but HF noise
[12:05:03] <theBear> that's err, unusual, very unusual
[12:05:14] <theBear> not even via the digital/lcd side pcbs ?
[12:05:59] <theBear> or metal soldered screw washer things on the main pcb moutns ?
[12:06:34] <Casper> when you say ground, you say earth ground on main?
[12:06:46] <Casper> if so, it's those "8" plug
[12:06:53] <theBear> i mean something 0v in relation to the lcd electronics mostly
[12:07:12] <Casper> the frame is connected to the board via metal screw mounts
[12:07:28] <theBear> mmm, and you using that as your ref when measuring the excessive noise ?
[12:08:32] <Casper> yes, the screw on the bl board, also, I made a loop with the scope probe to make an "AM" loop, to see if the transfo work, and there is quite lot of noise when I get near the metal
[12:08:47] <Casper> which could be an indication that the backlight return is via it
[12:10:04] <theBear> i spose, very unusual tho.. can you actually see the end of the fluoros ? maybe there is a 2nd hidden pcb in there linking things one way or the other
[12:10:40] <Casper> nope... but I guess I'll open it next week (it is at work)
[12:10:47] <theBear> shouldn't really matter tho... like i say, it's literally impossible to be sure of this end of thigns without something equivalent to swap for testing
[12:11:05] <Casper> also, trying to figure out the normal running current of those tubes...
[12:11:18] <Casper> if it is the tubes, then we might convert to led
[12:11:47] <theBear> my big tip for general work on this stuff is "tv fixing easel" BUT when you get past the first or 2nd "layer" of taking apart the metal lcd assembly, best to lay it flat cos sometimes the tube mountings do dumb stuff without something holding them firm/down
[12:12:17] <theBear> from memory normal current is 5-8mA and tubes that long would probly be in the 1000-1200v AFTER starting kinda region
[12:12:57] <Casper> W/ft?
[12:13:56] <Casper> the tv seems to be rated 230W, but currently I mesured 60V 0.7A per side, so 60V 1.4A = 84W... which seems wayyy too low
[12:14:04] <Casper> hence why I think the tubes are dead
[12:14:09] <Casper> also, the current ain't stable
[12:14:32] <Casper> and the transfo temperature change from one to the other
[12:15:37] <theBear> i spose you don't know how many been lighting, tho in my experience dead ccfls is a starting/any consistant on-ness issue, not a power one so much
[12:16:42] <theBear> mmm, see i'd be erring towards arcing issues from all symptoms, but beyond what we just been over, it really impossible to be sure in-situ, and a real tv guy wouldn't have even thought,m he'd just swap driver board(s) and maybe hookup to a set of test tubes and be sure in minutes
[12:17:23] <theBear> partly cos they can't do real "component-level" as they call it now (we called it just "repairs") repairs and partly cos it's the only remotely practical approach timewise or sure-wise
[12:17:47] <Casper> yeah...
[12:18:03] <Casper> ow well, will check next week, if I have time...
[12:18:06] <Casper> time to go
[12:18:07] <theBear> but arcing issues aren't uncommon, between hv breakdown/pinholing which apparently happens to hv insulators over time, and physical/manuf.-fault issues, and the silly voltages and small clearances..
[12:18:09] <theBear> me too :)
[12:18:25] <Casper> will also bring a current resistor shunt at work, will be usefull to see if there is some huge spikes
[12:18:38] <Casper> see ya
[12:21:37] <theBear> :)
[12:47:40] <carabia> theBear: a "tv guy" would swap out boards -> test. A _real_ tv guy would debug it manually. My local tv-guy is really godsent.
[12:49:07] <carabia> I can't remember all the things he's pulled off for me. He even did some board reworking for me, not related to tvs. He's the shit.
[12:49:21] <_ami_> is irc.freenode.net down? i am not able to login via irc client (pidgin)
[12:50:43] <Lambda-Aurigae> _ami_, I'm logged in via irc client hexchat.
[12:51:57] <_ami_> Lambda-Aurigae: hrm, then some issue with my router or settings. it used to work before i upgraded to 16.10 from 15.10 (ubuntu)
[12:53:11] <_ami_> tryiing with reinstalling pidgin app
[12:53:53] <Lambda-Aurigae> I just popped up a new server tab and it's connecting fine
[12:58:20] <_ami_> Lambda-Aurigae: worked now. ISP DNS server had gone bad. it did not know irc.freenode.net. Set it to google dns server 8.8.8.8 to resolve it.
[12:59:18] <_ami_> thanks for checking though :)
[13:00:17] <Lambda-Aurigae> no worries.
[13:00:51] <_ami_> Lambda-Aurigae: btw, whats up? what are you hacking now?
[13:04:41] <Lambda-Aurigae> haven't hacked much of anything lately.
[13:04:52] <Lambda-Aurigae> been too busy with woodware projects.
[13:09:14] <Lambda-Aurigae> and just took our "new" camper out for the first time this weekend.
[13:09:47] <Lambda-Aurigae> spent most of my relaxing camping weekend fixing things on the camper.
[13:10:39] <ami_> nice :)
[13:11:52] <Lambda-Aurigae> is a 21 foot 1992 gulfstream innsbruck travel trailer.
[13:12:08] <_ami_> ?
[13:12:19] <Lambda-Aurigae> my "new" camper
[13:12:33] <Lambda-Aurigae> is new to me but not to the world.
[13:40:36] <_ami_> cehteh, therE?
[13:41:08] <_ami_> one q regarding avr timers. what does it mean by using external clock source with TIMER0?
[13:41:46] <_ami_> does it mean crystal oscillator on T0 or T1 pin?
[13:52:21] <WormFood> [13:08:28] <rue_shop5> WormFood, did you ever do a timer rate calcuator? <-- I did not, but tell me what features you'd like to see in a timer calculator.
[13:53:10] <antto> it should calculate how much time is left till i get rich
[13:53:11] <antto> pls
[13:53:19] <antto> it should fit in a uint16_t
[13:55:01] <WormFood> if time is measured in years, then i can fit it into a uint16_t variable
[13:55:25] <antto> then ur doin it wrong! >:(
[13:55:56] <antto> if you ever do any online calculator thing, be it for timers or bitrate or whatever - it's highly useful to print the actual formulas..
[13:56:07] <WormFood> you need to use the right sized variable to hold the data you're looking for.
[13:57:39] <WormFood> antto, it would also be useful, to look at the formulas in the datasheet.
[13:58:06] <antto> yes.. which is sometimes hard to do
[13:58:50] <antto> microchip datasheets suck sometimes..
[13:58:55] <WormFood> my new bit rate calculator page, which isn't online (technically it is, but not publicly known), has all the formulas on it, that I use.
[13:59:29] <antto> you mean written on the actual page, and not "somewhere in the page source code" ?
[13:59:40] <WormFood> yes
[13:59:45] <antto> gud
[14:00:03] <WormFood> actually, my source isn't public
[14:00:48] <antto> it wouldn't help me, as i don't understand webpage languages at all
[14:02:07] <WormFood> it's php. Very Cish
[14:02:40] <antto> isaidno.gif
[14:02:41] <WormFood> I used some math markup language to make the formulas for my new page.
[14:10:58] <mindw0rk> hey guys, anyone have an idea where I could buy 25-100meter reels of 4 conductor (usb colored) cable? I’ve been really strugling to find anything reasonable.
[14:11:45] <theBear> nup ,wtf you wanna do with that many usb cables ?
[14:12:20] <theBear> and there is no standard colours i think, certainly see different ones here and there, found out yesterday nokia ones got a whole bunch of colours i can't distinguish :)
[14:12:22] <WormFood> mindw0rk, I can get that locally, I bet.
[14:12:42] <WormFood> There are 2 color coded standards for USB wiring
[14:12:54] <WormFood> red, black, white, green is the one I know, and is most common
[14:12:55] <theBear> wowee
[14:13:04] <theBear> that is common, but you sure it's a standard ?
[14:13:06] <mindw0rk> damn it, I forgot to mention that I want the outside diameter of the cable to be around 3mm
[14:13:13] <WormFood> Yes theBear
[14:13:25] <theBear> mindw0rk, what for ? starting to sound a lot like "alarm cable"
[14:13:59] <mindw0rk> well making custom sleved usb cables with paracord for a few friends
[14:14:22] <theBear> us colourblinds don't remember these things so good, but on reflection alarm cable is probly quite similar, 4 conductor, flex(many strand), heavy duty, black and red and somethihng
[14:14:45] <theBear> of course you know about the length limits ? they ain't just suggestions in usb land
[14:15:19] <mindw0rk> of I’ll cut up the reel in 1-3m cables
[14:15:21] <WormFood> mindw0rk, if I give you the address, you can make your way there, right? Address: 中国广东深圳市福田区华强北
[14:16:09] <mindw0rk> yeah I was red, black, white, green would be preferable
[14:16:13] <WormFood> lots of places have lots of wire there. I'm sure you can find what you're looking for
[14:16:28] <WormFood> Does it needs to be made to usb specs?
[14:16:42] <WormFood> or, you just want those colors?
[14:16:49] <theBear> mmm, i say go to yer local electrical suppliers (where electricians buy stuff) and ask to checkout the "cable you use to wire up alarm system sensors and crap"
[14:16:51] <mindw0rk> usb specs
[14:16:58] <mindw0rk> well I’m making usb cables here
[14:16:59] <theBear> oh, that won't be twisted/usb spec
[14:17:37] <theBear> farnells traditionally good for various common cable in decent quality, often noname, but good noname quality (sometimes crazy good)(
[14:17:50] <WormFood> how much do you think a 100 meter spool of usb cable should cost?
[14:18:09] <theBear> pfft, probly TINY bit more than cat style
[14:18:19] <theBear> well under $1/meter
[14:18:22] <mindw0rk> yeah guys, I mean i checked most big suppliers (digikey, farnell, mouser etc.) most fall short on atleast one of the criteria
[14:18:30] <WormFood> even tho cat is not shielded, and usb is?
[14:19:15] <theBear> some cat is shielded, and it's got double as many conductors with accurate twists, but usually not stranded, but both are very common which tends to have more influence on price i found
[14:20:33] <WormFood> usb is bigger sized cable.
[14:21:19] <mindw0rk> I got this apple lightning cable
[14:21:20] <theBear> it is ? i am back in pre cat5e times in this area for reference, maybe things changed in other ways
[14:21:31] <theBear> i got one of them here, stupid expensive rare as balls things
[14:21:44] <WormFood> balls are rare now?
[14:21:51] <mindw0rk> which is about 3mm and shielded, etc.
[14:23:00] <theBear> i certainly don't see a lot of them <grin>
[14:23:17] <WormFood> just because you don't see them, doesn't mean they're rare
[14:23:22] <theBear> oh maybe i mean stupid thunderbolt, one of them is way stupider than the other
[14:23:44] <theBear> maybe not the balls, but the cables named after a giant spark of some kind, they are RARE here
[14:24:01] <theBear> hard to even find a shop in the state with one in stock, letalone one to something else
[14:24:15] <WormFood> I'll bet I'm walking distance, to 50 places that sell them.
[14:24:32] <WormFood> and by "walking distance", I mean less than 20 minute walk.
[14:25:28] <theBear> what, balls ?
[14:25:51] <WormFood> thunderbolt cables...and balls
[14:25:58] <theBear> and ya gotta remember this is the backwardsest state of the backwardsest country, both physically and practically distant from all markets
[14:26:21] <theBear> lemme clarify, they both got stupid names, but i mean the one that doesn't plug into modern pads or fones
[14:26:44] <mindw0rk> yes that’s thunderbolt, pci over a wire which your talking about
[14:27:07] <mindw0rk> I was talking about lightning which is probably just the name of the connector
[14:27:13] <theBear> not just pci, but just checking...
[14:27:17] <mindw0rk> But I had the cable itself in mind
[14:27:47] <mindw0rk> not just pci, also display port.
[14:27:48] <theBear> if that fancy one is thunder, then lightning is the skinny flippable iphone >4 ipad >somethingver usb one
[14:27:57] <mindw0rk> yes
[14:28:02] <theBear> stupid confusing effers
[14:28:21] <mindw0rk> regardless, I just had the diameter of the cable in mind.
[14:28:57] <mindw0rk> but after checking its spec online I found out that the it’s some kind of 3 + 3 smaller conductors wire
[14:29:04] <theBear> that's cool, a lot of words/sentences trigger certain knee-jerk rants/comments with me, one of the downsides of acid-casualty status i suspect
[14:29:19] <theBear> heh, can't all be gravy i spose
[14:29:32] <mindw0rk> well anyway, I had a micro usb cable at about same diameter from an amazon kindle which I reporpused and it worked awesome
[14:29:41] <WormFood> I heard the gravy train was all gravy
[14:29:46] <theBear> hooray
[14:29:59] <theBear> i didn't mean everything, just things with "casualty" in the name
[14:30:09] <theBear> hmm, not sure about gravy-casualty
[14:30:25] <WormFood> Do you guys know what hippie sex is like? It's fuckin' in tents (intense).
[14:30:36] <mindw0rk> oh man
[14:30:39] <theBear> hehehe
[14:30:50] <theBear> gold
[14:32:07] <WormFood> I am so pissed off! My girlfriend's parents called me a pedophile, because she's 18, and I'm 30. Their negative energy totally ruined our 10th anniversary dinner.
[14:33:18] <mindw0rk> oh man, it’s not a pretty sight here in sunday
[14:33:21] <Tom_itx> if she were 24-25 it wouldn't have mattered near as much
[14:33:27] <mindw0rk> I don’t think I can handle any more jokes
[14:33:40] <WormFood> It's Monday here
[14:34:07] <WormFood> I'm not seeing any spools of USB grade cable, online.
[14:35:48] <mindw0rk> man, “spools” that’s the word I needed
[14:35:50] <mindw0rk> http://www.l-com.com/usb-usb-rev-20-compliant-28-28awg-bulk-cable-100-ft-spool
[14:36:07] <mindw0rk> here we go, this looks good enough
[14:37:05] <theBear> looks good
[14:37:41] <WormFood> just don't get the "p" mixed up with a "t", because that has a totally different meaning
[14:38:13] <WormFood> that is not the right colors
[14:38:23] <WormFood> that is brown/orange/blue/white
[14:38:37] <WormFood> Which, IIRC, is the alternate color set
[14:39:15] <mindw0rk> hm?
[14:39:16] <mindw0rk> http://www.l-com.com/multimedia/eng_drawings/CBL-USB2-2828.pdf
[14:39:28] <mindw0rk> acording to the spec it’s white green black red
[14:39:34] <WormFood> The USB cable I'm using, has brown/black/red/orange
[14:39:45] <WormFood> mindw0rk, that's what I said, a while ago
[14:40:20] <WormFood> [02:46:30] <WormFood> red, black, white, green is the one I know, and is most common <-- almost 30 minutes ago
[14:40:48] <mindw0rk> yeah, WormFood, I though you said the cable I linked was the alternate color set
[14:42:02] <WormFood> https://en.wikipedia.org/wiki/USB#Pinouts <-- this has 2 color codes
[14:43:10] <WormFood> http://www.l-com.com/product_images/detail/PWD_CBL-USB2-2828-_.JPG <-- that is the cable in your link. That does not appear to be white/gree/red/black
[14:43:31] <mindw0rk> WormFood, check the spec I linked
[14:43:59] <mindw0rk> I find that suaully the picture is wrong on these supplier websites
[14:44:10] <WormFood> ok. That's quite likely
[14:44:23] <WormFood> If their specs say it's different then I'd go with that.
[14:45:41] <mindw0rk> yep, I’m kinda amazed that the outer diameter is also 3.20, which is what I need
[14:46:03] <mindw0rk> consider how hard it was to find this stuff with different keywords
[15:23:11] <rue_shop5> WormFood, the thought would be to make a calculator for compare rates on the different timers. one would have to select the crystal freq, divider, and top value
[18:23:43] <liwakura> check out my current project: https://github.com/liwakura/avr-rgbstrip
[18:26:10] <liwakura> guerilla-soldering an arduino nano into an existing device to replace its controller
[18:27:38] <liwakura> https://github.com/liwakura/avr-rgbstrip
[18:27:42] <liwakura> *attention whoring*
[19:31:50] <attiny85challeng> how do i see attiny output from adc with tiny avr programmer or rpi please help
[19:34:37] <LeoNerd> What sort of ATtiny? There's plenty of them
[19:34:41] <LeoNerd> if it has a UART that might be easiest
[19:36:27] <attiny85challeng> attiny85
[19:42:24] <rue_shop5> did you come across a library for software serial using seperate rx and tx pins?
[19:43:16] <LeoNerd> Not so far. I wrote a TX-only one
[19:43:39] <LeoNerd> It uses a timer unit, but not interrupts. 'cause I tried to write an interrupt-driven one and it crashed because I want to use it during early boot, beforeI have interrupts up. Oopsie
[19:43:48] <rue_shop5> timers are prolly good enough to use an irq for rx
[19:43:55] <LeoNerd> I might give it two implementations, and let it switch
[19:43:58] <attiny85challeng> how do i see attiny85 output from adc with tiny avr programmer or rpi please help
[19:44:10] <LeoNerd> Nah; I would like a proper interrupted one... including an outbound buffer of 32 characters or so
[19:44:26] <rue_shop5> attiny85challeng, what are you trying to debug?
[19:45:37] <attiny85challeng> are there any good books to get started on attiny programming
[19:46:32] <Tom_itx> data sheets
[19:46:39] <Tom_itx> but you gotta stick around for an answer
[19:47:09] <rue_shop5> dont start with a tiny is a good tip
[19:47:19] <rue_shop5> start with something that has more pins
[19:49:46] <carabia> attiny85challeng.
[19:49:53] <carabia> it's a challenge
[19:50:19] * LeoNerd ponders AThuge
[19:50:29] <LeoNerd> ATmahoosive
[19:50:33] <LeoNerd> ATyo'mamma
[21:01:16] <ne0phyte> attiny85 lol
[21:01:30] <ne0phyte> I'm fighting/regret using an atmega20 haha
[21:01:34] <ne0phyte> uh
[21:01:38] <ne0phyte> *attiny20 of course
[21:04:30] <Tom_itx> TPI programmed
[21:04:54] <Tom_itx> from the attiny 4 5 9 10 family iirc
[21:32:29] <ne0phyte> Tom_itx: yeah, had to buy a TPI capable programmer first
[21:34:37] <ne0phyte> picked the attiny20 because it was cheap and had just enough ram/flash. I didn't even know that TPI was a thing until I assembled the first pcb and wondered why it wouldn't program over ISP lol
[21:35:59] <Tom_itx> i made one
[21:36:27] <ne0phyte> I couldn't find any open source TPI programmers
[21:36:59] <Tom_itx> http://tom-itx.no-ip.biz:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
[21:37:14] <Tom_itx> they are out there
[21:37:45] <ne0phyte> oh
[21:38:08] <ne0phyte> well, that's too late for me. I bought an olimex mk2 clone https://www.olimex.com/Products/AVR/Programmers/AVR-ISP-MK2/open-source-hardware
[21:38:12] <Tom_itx> i leave that up for reference nowdays
[21:40:43] <Tom_itx> the attiny 40 was the same iirc
[21:44:18] <ne0phyte> my problem right now is that I can't figure out what's wrong. the tiny stopped responding to i2c all of a sudden. either the atmega32u4 I'm using as master for testing is acting up or I broke something on the tiny