#avr | Logs for 2015-09-25

Back
[01:52:04] <ferdna> hmmm...
[01:52:27] <ferdna> anyone knows where i can get round linear rails?
[01:53:11] <Snert> no, but I'd like to know what they are
[01:54:11] <ferdna> Snert, http://www.ebay.com/itm/2-Curved-Round-Linear-Bearing-Guide-Rails-Curved-THK-HSR35-Circular-Motion-/151310014482
[01:54:44] <Snert> kool.
[01:56:41] <Snert> just a thought might try #robotics
[01:56:59] <Snert> seems like those people mighta seen those and use them somewhere.
[01:57:07] <ferdna> cool
[02:28:15] <Valen> Snert: http://stores.ebay.com.au/linearmotionbearings is normally a pretty good guy
[02:30:08] <Snert> ic so those are for pivoting heavy equipment
[02:33:09] <Valen> ferdna's one is a curved linear profile rail from a top notch company
[02:33:20] <Valen> the one I posted is cheap round rail from china
[02:33:38] <Valen> still designed for linear motion
[08:53:46] <rue_mohr> 3k, wow
[09:00:24] <twnqx> 3kV on your AVR?
[09:00:33] <twnqx> 3kW THROUGH your AVR?
[09:02:24] <LeoNerd> Spicy
[09:04:14] <rue_mohr> for the bearing
[12:09:38] <Kobboi> i have a problem understanding something in the atmegaX8P datasheet
[12:09:59] <LeoNerd> Well this is likely the right place.. go on
[12:10:48] <Kobboi> 14.2.3 Switching Between Input and OutputWhen switching between tri-state ({DDxn, PORTxn} = 0b00) and output high ({DDxn, PORTxn} = 0b11), an intermediate state with either pull-up enabled {DDxn, PORTxn} = 0b01) or output low ({DDxn, PORTxn} = 0b10) must occur.
[12:11:09] <Kobboi> I have a problem understanding how it *could not* occur
[12:11:30] <Kobboi> my first impression is, how would I change both bits with one instruction?
[12:14:40] <Kobboi> i.e. how could I not go via an intermediate state?
[12:19:17] <LeoNerd> You can't, on a mega
[12:19:31] <LeoNerd> You literally can't. That's one of the features of the fancier PORT hardware on an XMEGA
[12:19:39] <LeoNerd> It can do an atomic transition there
[12:20:58] <Kobboi> oh
[12:21:07] <Kobboi> so it's not "make sure you go via a transition"
[12:21:18] <Kobboi> it's "there is no other way"
[12:22:06] <LeoNerd> It's "be aware that you must change one or other bit first, so consider carefully which bit to set first in your application"
[12:22:24] <Kobboi> got it
[12:22:26] <Kobboi> thanks!
[13:01:27] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxMnhscHF2Vi1VVUU/view
[14:03:55] <Arch-TK> So I've assembled a crappy little protoboard programmer for this attiny85 for use with 10 pin connectors and this shitty chinese remake of the usbasp still has trouble flashing, I decided to say screw it and bought a real usbasp.
[14:04:11] <Arch-TK> I have to say, although "you buy cheap, you buy twice" is wrong almost 99% of the time, it was right this one time.
[14:14:01] <Jartza> Arch-TK: I also have very cheap chinese usbasp programmers. they are "ok", when I updated the firmware to them and use -B4 when programming (a bit slower speed)
[14:14:01] <Arch-TK> Jartza: yes well, unless I want to screw around with this odroid C1's gpio to flash this thing with updated firmware.. I have nothing to update it with.,
[14:29:30] <Jartza> Arch-TK: that's why I bought several of them :) First updated them with each other with slow speed :)
[16:53:47] <Lambda_Aurigae> Arch-TK, a "real" usbasp?
[16:53:49] <Lambda_Aurigae> no such thing.
[16:54:55] <Lambda_Aurigae> usbasp is a hack toy programmer built on top of the open source v-usb software....everybody and their mother makes them it seems and very few are worth the shipping cost.
[16:55:39] <Arch-TK> Lambda_Aurigae: what would you recommend then?
[16:56:14] <Lambda_Aurigae> well, my stk200 clone I built 15 years ago still works for all but the smallest attiny chips, and all atmega chips.
[16:56:31] <Arch-TK> "but the smallest" like attiny85?
[16:56:41] <Lambda_Aurigae> I think Tom_itx might have some of his usb interfaced programmers that do isp, tpi, and pdi for about 30 bucks or so.
[16:56:49] <Lambda_Aurigae> works fine for the tiny85.
[16:56:59] <Lambda_Aurigae> just not the tiny11 and tiny10
[16:57:06] <LeoNerd> tiny10/11 are weeeeeird
[16:57:07] <Lambda_Aurigae> those need tpi as I recall.
[16:57:24] <LeoNerd> Tiny little 6pin jobbies. Truely live up to the name of "ATtiny"
[16:57:31] <Lambda_Aurigae> yup.
[16:57:40] <Lambda_Aurigae> I don't have any of those either so no need for it.
[16:57:51] <Lambda_Aurigae> stk200 needs a parallel port though.
[16:58:29] <Lambda_Aurigae> 4 resistors, a couple of wires, and a 25pin connector and you have a programmer.
[16:58:33] <Arch-TK> Well, this laptop doesn't have one. sadly.
[16:59:12] <Lambda_Aurigae> avrisp mkII is what I would recommend and would love to have, but what I have works great for me.
[16:59:27] <Lambda_Aurigae> atavrisp2 goes for under 40USD on ebay.
[16:59:56] <Lambda_Aurigae> I've found that v-usb based gear works on only about 70 to 80 percent of the USB ports on my various computers.
[16:59:57] <LeoNerd> If I need something that small, I just use a SOIC8 'tiny85.. I can't imagine what I'd need at the size of a tiny10
[17:00:37] <LeoNerd> I believe they might be available even smaller but then I'd have trouble soldering it
[17:00:47] <Lambda_Aurigae> and that kinda changes depending on which method the particular v-usb based device uses to get the proper voltage levels on the USB pins too.
[17:00:58] <Lambda_Aurigae> LeoNerd, you can get them in bare chip if you want.
[17:01:06] <LeoNerd> .. having enough trouble with this QFN32-sized mega88
[17:01:43] <Lambda_Aurigae> so you can spot weld gold wires to the plates on the chip then put an epoxy blob on top of it all.
[17:02:25] <Arch-TK> Lambda_Aurigae: I only need something that can program attiny85 and maybe some bigger attiny chips in the future, and then even maybe an atmega8 at somepoint, I only do this as a hobby, I don't need something fancy.
[17:02:37] <Arch-TK> Lambda_Aurigae: however, an avrisp mkii does seem to be decently priced
[17:02:52] <Lambda_Aurigae> Arch-TK, yeah...check out tom's programmer too..I think he might have a few left..
[17:03:11] <Lambda_Aurigae> http://tom-itx.no-ip.biz:81/~webpage/boards/USBTiny_Mkii/USBTiny_Mkii_index.php
[17:03:28] <Lambda_Aurigae> usbAVR based....the chip has hardware usb onboard rather than the v-usb bitbanged usb.
[17:05:06] <Lambda_Aurigae> Jartza, looking good,,,even if it does have that ardweeny growing out its ass...
[17:10:22] <Jartza> :)
[17:11:11] <Jartza> Lambda_Aurigae: https://drive.google.com/file/d/0B2dTzW9TMeBxZ0d2Q0RtVmY2aUE/view
[17:11:48] <Jartza> that has stm32/nucleo in its ass
[17:12:09] <Lambda_Aurigae> hehe.
[17:12:14] <Jartza> works, even with 3.3V IO because I did put level shifter there
[17:13:35] <Jartza> also works with atmega328p xplained mini and atmel sam L22 xplained pro ;)
[17:14:08] <Jartza> or just by providing 5V, GND and uart tx
[17:16:21] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxR3V6MDU5VkE3ODQ/view :)
[17:19:07] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxU3FSUnNMcF9kRjQ/view