#avr | Logs for 2014-04-24

Back
[01:12:02] <Timmy> Mustafa__: RISC
[08:07:21] <tzanger> myself: ahh. That creates problems because now you ahve to try to supply a variety of adapters
[10:39:35] <Daulity> i need help I can't seem to get my j-k flipflops to work in multisim
[10:39:43] <Daulity> anyone used that program before ?
[11:00:42] <dingbat> Daulity: I have a bit of Multisim experience. Which JK flipflops are you using?
[12:42:30] <Fleck> hey, anyone got software UART example for attiny13?
[13:48:35] <Daulity> dingbat: i am building them my self with logic gate, but mine won't toggle when i pull J and K high. and toggle clock.
[13:48:55] <Daulity> but I think it's multisim that's the problem though somehow :)
[14:38:48] <dingbat> Daulity: first make sure your design doesn't have any race conditions or timing issues, then try
[14:39:37] <dingbat> *try checking all the logic lines with a logic analyzer. Also, if you've got pullups or pulldowns or floating pins, multisim tends to dislike those.
[14:41:45] <dingbat> Fleck: see AVR application notes 304 and 305, that may help you out.
[14:45:23] <guanche> has anybody ever used an universal motor and can tell me about these motor characteristics? if it can be driven with pwm, torque at low revs, wheter AC is better or worse than DC, etc
[14:46:36] <kastein> universal motor?
[14:47:03] <guanche> yes, those with brushes and no magnets
[14:47:17] <guanche> where both, stator and rotor are wound
[14:47:21] <kastein> ahhhhh
[14:47:28] <guanche> same as used on power drills
[14:47:30] <kastein> I had never heard them called that
[14:47:53] <guanche> apparently these are called universal because can be driven by AC or DC
[14:49:18] <guanche> the one I have is 230V/170W and comes from a working hand blender I've been given
[14:56:27] <specing> hand blender? how many hands did it blend?
[14:57:13] <guanche> a portable blender, don't know how it's called in english
[15:01:07] <Jordan_U> Sometimes your stomach has the rumbleys that only hands can satisfy.
[15:04:56] <Fleck> dingbat: yeah I did, before asked! :D there's theory!
[18:24:29] <Roklobsta> if doing interrupt driven uart transmits it is better to rely on a TX complete IRQ or TX Buffer Empty IRQ?
[18:41:22] <Casper> I'ld say tx complete
[18:41:37] <Casper> because you have 1 byte being sent + 1 byte buffer
[18:41:47] <Casper> you probably don't want to rely on the buffer
[18:41:51] <Casper> or
[18:42:00] <Casper> you want to, depending on what you want actually
[18:57:02] <Roklobsta> ok, i am using a software FIFO and empty irq but seem to get out of sync on the last char
[18:58:55] <Roklobsta> got abc's tutorial. writtne with latex. what a nerd.
[19:03:04] <Lambda_Aurigae> I prefer writing in wax or carbon myself.
[19:05:16] <Lambda_Aurigae> latex is so,,,,housepaintyish.
[20:25:22] <Jordan_U> What considerations are there when using the programming pins for other IO when not programming? Where can I find a good description of the process of initiating programming of the chip?
[20:26:27] <Casper> Jordan_U: the programmer must be able to control the pins without issues, and care must be taken that it will NOT cause a malfunction of whatever is connected to those pins
[20:26:34] <Casper> i.e. must be safe
[20:27:07] <Casper> ex of unsafe: connect them to a motor controller that can not be powered off... imagine the trouble you'ld get :D
[20:27:24] <Casper> but you could connect leds there, who care if they blink while programming
[20:30:07] <Jordan_U> Casper: Right now we're leaning toward connecting a (powered down during programming) display to the pins. Is there any way that having the display drive those pins could accidentally initiate programming during normal operation?
[20:30:35] <Casper> no
[20:30:43] <Casper> programming is done while in reset
[20:31:16] <Casper> and it's a "complex" protocol
[20:31:33] <Casper> simple, but too complex for random noise to cause anything
[20:36:18] <Jordan_U> Casper: So programming is only done while the RESET pin is pulled high?
[20:36:22] <Casper> rue_house: I'll soon install power in the backyard shed, need to pass an underground wire. That one will be of course nmwu, but I may need to actually do a junction somewhere... can I use standard wire to go thru the wall, then make the junction on that 90" elbow with that "door"? or it is not allowed? trying to see what's best since one day I'll redo the electricity here, whatever I can save is a good...
[20:36:27] <Casper> Jordan_U: pulled low
[20:36:41] <Casper> reset is inverted
[20:38:18] <Casper> rue_house: trying to see what's cheaper... burriable wires is not cheap
[21:55:23] <rue_house> the burried span will usually be different
[21:55:28] <rue_house> junction on either end
[21:55:48] <rue_house> you can burry pvc pipe (electrical) and pull wire thru it
[22:21:55] <N2TOH> just keep in mind you can pull romex or BX inside or conduit
[22:25:33] <Casper> http://www.doityourself.com/forum/attachments/electrical-ac-dc/14620d1372728820-how-turn-sharp-90-electrical-conduit-lb.jpg
[22:25:38] <Casper> can you make a junction in that?
[22:26:11] <LoRez> how many cubic inches is it rated?
[22:26:34] <Casper> no idea
[22:26:52] <Casper> maybe 3-4?
[22:30:01] <Casper> the junction goes with the cubic inch?
[22:31:20] <LoRez> you can only have so many wires and nuts per in^3
[22:32:53] <Casper> I've seen it done, but I also seen it done on suspiciously looking installation... so I wonder
[22:38:44] <voxadam> I'm looking at some avrtinys for a little project I'm thinking about. What's confusing me is why the avrtiny26 is twice as expensive as the 261, 461, and 861 devices.
[22:44:13] <LoRez> Casper: https://www.inkling.com/read/national-electrical-code-2014-fire-protection-association/chapter-3/ch03-reader-8
[23:09:10] <rue_house> dont put bx underground, the result isn't pretty
[23:09:24] <rue_house> remember that any pipe underground *will* fill with water
[23:11:51] <Casper> not underground
[23:12:08] <Casper> basically, currently the ceiling isn't finished, so I could put a junction box there
[23:12:11] <Casper> and actually need to
[23:12:28] <Casper> but one day I'll fix the ceiling, and will need to remove all junction box
[23:12:38] <Roklobsta> silly me. got the uart irq thing working.
[23:12:50] <LoRez> you can point the jboxes up into the attic space
[23:13:02] <Roklobsta> round robin multitasker is working nice.
[23:13:57] <Casper> basement to ceiling....
[23:14:24] <Casper> ow well, will put the box inside, and if I need to make the junction I'll check...
[23:16:19] <LoRez> make the junction where a light would be
[23:17:36] <Casper> I'm actually considering to install a more permanant panel in the work area...
[23:17:47] <Casper> like bring a 120/240 60A
[23:18:00] <Casper> and start to wire stuff from there...