#avr | Logs for 2014-08-29

Back
[01:53:28] <WormFood> aandrew, the writing on the batter is probably the company name. The last 2 characters, “电池", means "battery". I can look up the other 2 characters for you. I don't recognize the 2nd one at all.
[02:07:07] <WormFood> the first 2 characters are 恒震, which together does not seem to have a meaning, but individually means "constant" and "shock/vibration"...probably means "shock proof"
[02:07:29] <WormFood> I mean, "shock", as in jar or vibration, not electrical shock :P (I think you know that)
[02:16:02] <twnqx> hey WormFood
[02:16:10] <twnqx> too bad we missed each other :X
[02:16:16] * twnqx is in tokyo now
[02:16:19] <WormFood> yeah. I got back about 11:15 am
[02:16:40] <WormFood> I figured you wouldn't have time, if you were still here, unless your flight left at 11 pm, or something crazy like that.
[02:16:45] <twnqx> but seems i'll spend all of october after that chinese celebrations in shnezhen :P
[02:16:52] <WormFood> that high speed train is great :D
[02:16:57] <WormFood> cool
[02:17:35] <twnqx> but we are currently making the schedule for that job and well
[02:17:39] <twnqx> it seems horrible
[02:17:43] <WormFood> have you taken the high speed trains in China before?
[02:17:52] <twnqx> no, only heard of them
[02:18:11] <twnqx> (they are same as we have in germany though, just with less stops and thus more constant speed)
[02:18:14] <WormFood> at 7:30 I was in changsha, and by 10:40 I'm in shenzhen
[02:18:26] <WormFood> it doesn't stop that often...maybe 5 stops
[02:18:36] <twnqx> i wish they'd run between shanghai and shenzhen, would have used it instead of flying :)
[02:18:46] <WormFood> yeah...they're working on it.
[02:19:05] <WormFood> I wanted to come back last night, but there were no available seats.
[02:19:20] <WormFood> and, I would have gotten in late, but not a big deal for me, I'd rather sleep in my own bed anyways.
[02:20:01] <WormFood> My translator asked me how I slept, I said "Not so well. That hooker kept me up all night long", and she said "WHAT?!?!?"...the look on her face was priceless
[02:20:02] <twnqx> yeah, we left from shenzhen 10:30 am, drove to hong kong, flew to tokyo, took the bus to hotel... suddenly, 22:20 japan time
[02:20:35] <WormFood> because when you get to the hotel, and open the door, a "hooker card", as I like to call it (collect them all), falls out of the door, and I was joking about calling them.
[02:20:35] <twnqx> oh, i took it you already speak chinese
[02:20:50] <WormFood> not well enough
[02:21:00] <WormFood> She is my partner on stage
[02:21:19] <WormFood> She translates what I say on stage. That is the only real reason she is there. My Chinese is good enough to get by in most cases.
[02:21:36] <twnqx> heh. could use her service one saturday in SEG plaza :P
[02:21:57] <WormFood> I can call on the telephone, and order a bottle of propane, years ago (I don't need to do that in the new apartment)
[02:22:36] <twnqx> so you're an actor?
[02:23:03] <WormFood> I can usually tell when a phone call is legit, or spam, with a fairly high degree of accuracy....but there was some hilarity involved, when the bank called me, thinking they made a mistake, and they can't speak englsh, and my chinese was much worse at the time
[02:23:06] <WormFood> no, I'm a tech
[02:23:26] <WormFood> For this job, I do use my technical skills, but I'm more of an announcer than anything else.
[02:23:47] <twnqx> sounds interesting
[02:24:03] <WormFood> unfortunately, not my electronics, and computer skills...just my general real-world skills at quantifying things.
[02:24:39] <WormFood> I frequently point out mistakes that they make, which could damage their credibility, so it's not just a "face job"
[02:24:56] <WormFood> you know what "face job" means, in this context, right (get porn out of your mind)
[02:24:57] <twnqx> sounds like... consultant
[02:25:05] <WormFood> yeah, and announcer ;)
[02:25:16] <twnqx> i don't quite get that announcer part, admittedly
[02:25:18] <WormFood> I've been on stage in front of at least 40,000 people before
[02:25:41] <WormFood> 3 trips ago, I met a famous (in China, of course) movie/tv actress
[02:26:03] <twnqx> yeah
[02:26:17] <WormFood> I posted a picture on my wechat of us together, and I got a LOT of responses from my Chinese friends. Only one or two didn't know who she was by the picture (I didn't say her name in my post, I asked people to guess)
[02:26:35] <WormFood> so, without a doubt, it is an interesting job.
[02:26:43] <twnqx> my boss held a presentationon secure software development in front of 10k employees, and being video broadcast (company internal) to another fewk...
[02:27:03] <WormFood> I get to travel all over China, and get paid for it. Sometimes the jobs are not so fun, and other times they're a lot of fun. This last one was a lot of fun.
[02:27:25] <WormFood> yeah, but that is different from standing in front of that many live people.
[02:28:04] <WormFood> I have no problems doing it. I've sorta been preparing for that kinda stuff all my life. I don't mind hearing myself talk (as most people do).
[02:29:07] <WormFood> I used to work on radios, years ago, and everyone wanted me to modify their radio, so they can hear themselves talk, on the external speaker, so I used to have to listen to myself talk, all the time...takes a few weeks for the "my voice sounds strange to me" part to wear off.
[02:30:41] <WormFood> twnqx, when we do get to meet in person, remind me, and I'll tell you about the project, that "forced" me to write my avr baud rate calculator.
[02:32:37] <twnqx> :)
[03:40:54] <hetii> Hi :>
[03:44:40] <Tom_itx> http://www.electronicproducts.com/Optoelectronics/Image_Sensors_and_Optical_Detectors/15_amazing_images_captured_by_Google_Earth_s_satellites.aspx
[03:48:10] <Thrashbarg> "zoom... enhance"
[05:55:46] <hetii> Do you know some USB hub IC with microsd car reader ? something on tqfp package or ssop/tssop ?
[06:12:02] <specing> hetii: mouser/farnell search?
[07:53:44] <Roter> Hey guys! I have a problem. I am using an atmega32 chip and trying to learn ADC, the problem is that ADCH is always 255, even when changing the resistance with a 1k pot at the adc0 pin
[07:54:08] <Roter> The code is here: http://pastebin.com/ns2pZPDt . I commented it, so it should be realy easy to read.
[07:54:38] <DigiGram> and ADCL?
[07:55:54] <Roter> Didnt check it, i just followed the tutorial to use ADCH, because i would have to do a extra step with ADCL
[07:56:01] <Roter> Checking right now
[07:56:11] <kastein_> do you have your pins configured right? and I forget if atmega32s do this, but is the jtag port enabled/the jtag debug fuse set?
[07:56:12] <DigiGram> how is your pin connected to the 1k pot?
[07:56:36] <specing> He probably has the pot directly from 5V
[07:56:42] <kastein_> yeah, no ground would cause that
[07:56:44] <DigiGram> adc0 pin goes through pot to where? GND? 5V?
[07:56:47] <specing> you need a pair of resistors Roter
[07:57:11] <DigiGram> add a resistor from ADC to GND also to make a voltage divider
[07:57:14] <specing> 5V ---> pot ----- 1k res ---- 0V
[07:57:18] <specing> ^
[07:57:22] <specing> ADC
[07:57:24] <kastein_> I ran into an issue where I was getting a junk reading constantly on 4 of my ADC inputs because those 4 were muxed with the jtag interface (at90can128) and I unwittingly had it enabled via a fuse
[07:57:38] <kastein_> forget if the value was 0xFF or 0 though
[07:57:52] <Roter> 1 moment, sending picture
[07:59:24] <Roter> http://imgur.com/SDXmNru
[08:01:38] <DigiGram> uhm what goes to your ADC?
[08:01:50] <specing> looks ok
[08:02:00] <specing> check if the pot is actually powered
[08:02:01] <DigiGram> I see one red wire from GND to pot
[08:02:15] <specing> I have one protoboard like that and it is of hideous quality
[08:02:30] <DigiGram> but where is the resistor from pot to 5V?
[08:03:35] <DigiGram> oh, sorry I see now you use both sides of the pot wiper as individual resistors. Is that right?
[08:05:08] <Roter> one side of the pot is connected to power the other to ground
[08:05:15] <Roter> the middle is connected to ADC0
[08:06:20] <Roter> the pot is powered
[08:06:35] <Roter> and when i turn it, i get 0-5v at ADC0 pin
[08:07:11] <DigiGram> does the atmega require a REF voltage for the ADC?
[08:08:41] <Roter> adding the 1k resistor brb
[08:09:56] <DigiGram> your pot already does the work of the 1k. The 1k would only make your analogue values more linear, thats all. Don't think that would make it workd
[08:12:05] <Roter> http://imgur.com/TSLn6Gw
[08:12:54] <Roter> http://pastebin.com/wQLMeCkL put this at the ISR for testing
[08:13:13] <Roter> doesnt light up when i turn the pot
[08:13:54] <aandrew> Roter: either give us a schematic or describe the connections. your picture doesn't work at all
[08:14:03] <aandrew> a rheostat has three pins. What are each of the three pins going to
[08:14:09] <aandrew> oh you did, apologies
[08:14:18] <aandrew> Roter: try doing it without interrupts
[08:14:40] <aandrew> i.e. start a conversion and wait in a tight loop for the ADC to signal completion
[08:19:30] <Roter> http://pastebin.com/YfUnkcRt like this?
[08:20:18] <Roter> i removed the ISR bit of code from this. but still doesnt work...
[08:21:16] <Roter> I have not set anything with fuses, so jtag shouldnt be a problem
[08:22:06] <aandrew> Roter: did you set the ADC pin as input and disable the digital buffer?
[08:23:54] <aandrew> DIDR0
[08:24:57] <Roter> like this: DDRA &= ~ 1 << PINA0; ?
[08:25:35] <DigiGram> atmega32 has AREF on pin32, GND on pin31 and AVCC on pin30 right? I seem to count it different on your photo?
[08:25:58] <aandrew> Roter: you are also trusting the POR values
[08:26:15] <aandrew> I always set the registers explicitly at least once after power on so I know what state they're in
[08:26:26] <aandrew> you always use |= and &= which is fine if you trust the initial value.
[08:27:00] <Roter> When couldnt i trust them? Like when can they be difrent?
[08:27:13] <Roter> Also looks like Digi is correct, fixing brb
[08:27:37] <aandrew> so I'd say ADMUX = (1 << ADLAR | 1 << REFS0). This explicitly sets the register to 0x60, which sets your input channel to 0 as well
[08:28:15] <aandrew> Roter: I've been in the industry long enough to never completely trust datasheets or silicon, especially when trying to get something working :-)
[08:32:01] * RikusW also likes to explicitly set registers, and only use &= |= when necessary
[08:32:13] <Roter> HELL YEAH, THANKS DIGI, IT WORKS
[08:32:22] <Roter> also all the other people also!
[08:32:40] <aandrew> I generally also do it &= ~(1 << PINA0). I never can keep C precedence right for all the operators
[08:32:44] <aandrew> Roter: congrats
[08:32:49] <Roter> well, i didnt realy see the difrence from setting one way or another
[08:33:16] <DigiGram> glad it helped
[08:33:17] <aandrew> There are many reasons to set it explicitly
[08:33:46] <aandrew> operator error, software glitch, even pure speed if you *really* want to get nit-picky
[08:33:50] * RikusW always assumes registers are in an unknown state....
[08:34:04] <aandrew> but the biggest reason I find is that most times the register is NOT at the value I thought it was
[08:34:22] <aandrew> setting it explicitly unless you really do need to manipulate only a few bits is saner
[08:34:43] <Roter> But why would the value be difrent then the one at the datasheet
[08:35:10] <RikusW> docs that are out of date
[08:35:11] <aandrew> 09:14 < aandrew> operator error, software glitch, even pure speed if you *really* want to get nit-picky
[08:35:27] <Roter> ohh
[08:35:46] <Roter> alright, thanks!
[08:35:51] <RikusW> or maybe you set it somewhere else in your code....
[08:36:17] <Roter> i havent made that big of a project, for now..
[08:36:59] <Roter> Well, now that i know how to use adc, after a few experiments, looks like i will be learning PWM
[08:37:10] <RikusW> (&= and |= is read modify write, so a bit slower than =)
[08:37:10] <Roter> soo for now thats all of the questions that i have
[08:37:36] <RikusW> PWM is easy just set the timer mode right
[08:38:08] <Roter> Well, if i dont come here in a week, i will probably have figured out pwm
[08:38:19] <Roter> its just that with the adc problem, i google a lot of tutorials
[08:38:31] <Roter> and read alot of the datasheet, and still couldnt find the problem
[10:40:54] <hetii> Maybe some of you know some hub usb that have sd card reader ??
[10:41:36] <hetii> something that i could disassembly and grab IC.
[10:44:30] <Fleck> http://www.aliexpress.com/item/Hot-Sale-3-port-usb-hub-2-0-HUB-with-Micro-multi-card-reader-for-SD/1822729813.html ?
[10:49:22] <learath_> why do you need a hub?
[14:36:01] <Jartza> putler is surely acting like few previously known leaders
[16:17:24] <vsync_> PUTLER11
[17:28:42] <Duality> does anyone here have experience with z80 ?
[17:36:45] <hetii> Duality: huh :)
[17:37:06] <hetii> fromwhere you got such vintage hardware :)
[17:38:35] <Lambda_Auriga_> oooo vintage hardware?
[17:38:41] <Lambda_Auriga_> I got piles of that around here.
[17:38:54] <vsync_> vladimir putler and adolf pittler
[17:39:01] <vsync_> i mean bradolph pittler
[17:46:05] <Duality> got some from a local hackerspace and decided to play with the z80
[17:46:48] <Duality> there is also a led board which doesn't work "for now" but i am planning on putting that z80 in there.
[17:50:43] <Thrashbarg> Duality: I've built a few Z80 machines...
[17:52:24] <Duality> it is just a curiousity but i was wondering if you could make the z80 address more then 64K of memory
[17:52:48] <Thrashbarg> yes. The easiest way is to use a 74LS640 register file
[17:53:40] <Thrashbarg> sorry LS670
[17:54:22] <Duality> ls?
[17:54:27] <Thrashbarg> 74LS670
[17:54:54] <Duality> i get lg optimus if i google that :)
[17:55:05] <Duality> (without the 74 infront :D)
[17:55:13] <Thrashbarg> http://www.datasheetcatalog.com/info_redirect/datasheet/motorola/SN54LS670J.pdf.shtml
[17:55:52] <Thrashbarg> it will split the RAM space into four pages of 16kB and allow you to map 256kB worth of pages to it
[17:56:15] <Thrashbarg> bootstrapping is tricky...
[17:57:27] <Duality> bootstrapping ?
[17:58:11] <Thrashbarg> when you reset the system, it can be tricky to get it to initialize because the register file isn't in a guaranteed state
[17:58:47] <Duality> oh i see
[17:59:03] <Thrashbarg> I did it on one of my systems by having an RS latch disable the register file and had resistors pull the outputs to a predetermined state until the register file was written to
[17:59:28] <Duality> yea i figured something like that :)
[18:00:14] <Duality> but the z80 can address all of it then ? all the 256KB of memmory ?
[18:00:36] <Thrashbarg> no, just 64k, but you switch the extra memory in and out of the 64k space as needed
[18:00:49] <Thrashbarg> it's not linear addressing
[18:01:42] <Duality> ok, so you would also have to implement it in software then, to use it when it needs it ?
[18:01:50] <Thrashbarg> yeah
[18:01:58] <Thrashbarg> or you could use CP/M 3 :P
[18:02:15] <Thrashbarg> or any other OS that can use bank switching... CP/M 3 isn't the only one
[18:02:20] <vsync_> why this extra bother? it doesn't even python???
[18:02:28] <vsync_> or ruby on rails??
[18:02:37] <Thrashbarg> ...yeees
[18:03:18] <vsync_> can i nodejs with it???
[18:03:33] <vsync_> i need twitter on it and foursquare?
[18:03:47] <Duality> Thrashbarg: oh it's an operatins system :) i though some kind of memmory card :)
[18:04:24] <Thrashbarg> heh
[18:04:32] <brabo> oh my
[18:04:41] <brabo> z80 and cp/m
[18:05:00] <brabo> i feel like a toddler again :)
[18:05:06] <Thrashbarg> lol
[18:05:34] <brabo> not kidding tho, that was the first computer i remember
[18:05:45] <Thrashbarg> what machine?
[18:05:45] <vsync_> is it iphone or macbook compatible? i really need facebook. rip steve jobs creator of facebook
[18:06:08] <Duality> lol these computers are before my time :) but i am so interested in them :)
[18:06:14] <Thrashbarg> same
[18:06:25] <brabo> Thrashbarg: i was very little then
[18:06:39] <Thrashbarg> yeah
[18:07:08] <brabo> another we had a bit longer, a 8086 with mm i think 640k ram and a 20mb hdd
[18:07:41] <Thrashbarg> cool
[18:07:51] <Thrashbarg> Duality: https://static.hackaday.io/images/9913651394857558368.png <-- feel free to help yourself :P
[18:08:12] <brabo> i remember at one point my dad finding doublespace or something and we doublespaced the 20mb hdd to 36 or so
[18:08:18] <Thrashbarg> hehe
[18:08:28] <Thrashbarg> at the cost of access speed
[18:08:47] <brabo> i remember us looking at each other like: how will we ever fill this up?!?!?
[18:08:52] <Thrashbarg> haha
[18:09:14] <brabo> looking back that's a fun perspective don't you think?
[18:09:21] <Thrashbarg> yeah
[18:09:47] <brabo> but it's for me what i find so attracting at learning to code for avrs
[18:09:58] <Thrashbarg> yeah absolutely
[18:10:03] <brabo> it's minimal, it's that basics
[18:10:10] <brabo> s/that/the
[18:10:26] <Duality> Thrashbarg: woo nice thanks for sharing that! this wil help me a lot trying to figure out how those register files work :)
[18:10:32] <Thrashbarg> np
[18:10:35] <brabo> no buzz, just deliver in a lower level way
[18:10:41] <Thrashbarg> Duality: http://hackaday.io/project/75-Z80-Microcomputer-System <-- that's my project page
[18:11:29] <brabo> wow Thrashbarg that's osme nice stuff :)
[18:11:39] <Thrashbarg> thanks :P
[18:11:43] <Duality> brabo: yea avr's are nice :) especially if you do asm on them.
[18:12:06] <Thrashbarg> I had to use assembler on the AVR on that system
[18:12:06] <brabo> Duality: hehe.. i haven't dared venture there just yet :)
[18:12:06] <Duality> Thrashbarg: thanks!
[18:12:13] <brabo> i know a little asm
[18:12:14] <Thrashbarg> because it's generating composite video
[18:13:58] <Thrashbarg> http://kaput.homeunix.org/spivideo/ <-- I'm using this hack I came up with
[18:16:28] <Lambda_Auriga_> I like the slave mode hack.
[18:16:45] <Lambda_Auriga_> that's what I'm doing with spi serial srams to get real graphic output.
[18:16:51] <Thrashbarg> yea
[18:17:13] <Thrashbarg> thing is I'm running it at 27MHz to get it to run with 80 columns. It gives me 16 cycles per character however
[18:18:22] <Duality> Thrashbarg: cool! hows the cpu load :)?
[18:18:46] <Lambda_Auriga_> I'm running at 20MHz and getting 400x600 graphics...although it's noisy as hell still but I'm still on solderless breadboards with it.
[18:18:51] <Thrashbarg> Duality: there's enough left over to implement an ADM3-A terminal and a slave serial port
[18:19:11] <Thrashbarg> Lambda_Auriga_: pretty cool still
[18:19:47] <Duality> does gcc assemble avra ?
[18:19:51] <Duality> avr-gcc
[18:19:51] <Thrashbarg> no
[18:20:04] <Duality> i meen the assembly file
[18:20:09] <Thrashbarg> yes I know, it won't
[18:20:14] <Duality> oh
[18:20:25] <Thrashbarg> avra is a clone of the Atmel assembler
[18:20:46] <Thrashbarg> it's available on Linux and Windows
[18:21:34] <Duality> yea i know :) i haven't gotten it to work yet. i used a different assembler i found on the web
[18:21:40] <Thrashbarg> ok sure
[18:21:58] <Thrashbarg> you need to use the define files that come with the Atmel assembler
[18:23:27] <Duality> i know :) was some kind of error with something else
[18:23:32] <Thrashbarg> ok
[18:23:34] <Duality> i don't remember been a while
[18:24:26] <Thrashbarg> yea
[18:24:33] <Thrashbarg> brb need breakfast
[18:26:52] <Duality> can't wait to studie the schematic you linked here :) but i've gotta go sleep now :) gn and thank you soo much!
[19:37:55] <tpw_rules> hey. i need some help reprogramming a chip i broke. it's an atmega168v and i think i accidentally zeroed all the fuse/lock/clock/etc bits. i'm using a usbtinyisp and i can't get it programmed again. i have +5V on AVCC and VCC, a 5MHz clock into XTAL1, and i think i hooked up the rest of the pins correctly. nothing else is connected
[19:38:46] <Lambda_Auriga_> if you horked the fuses then you will likely need a high voltage parallel programmer.
[19:38:49] <Tom_itx> you may have to HV program it if you don't know what fuses your borked
[19:38:53] <Lambda_Auriga_> your usbtinyisp won't hack it.
[19:38:58] <tpw_rules> i can't even detect it
[19:39:01] <Lambda_Auriga_> bingo.
[19:39:18] <Lambda_Auriga_> you screwed up the clock settings and possibly turned off the reset pin.
[19:39:26] <evil_dan2wik> tpw_rules, badly set fuse bits are bad
[19:39:26] <Lambda_Auriga_> so, you need a high voltage programmer to reset it.
[19:39:31] <evil_dan2wik> How did you zero them?
[19:39:50] <Lambda_Auriga_> get or build a fuse doctor...it rocks for resetting things you hork up like that.
[19:39:53] <tpw_rules> i ran a project's program fuse script, it failed, and then told avrdude to write zeros everywhere
[19:40:03] <tpw_rules> how high of voltages? and link?
[19:40:13] <Lambda_Auriga_> google.com
[19:40:22] <Lambda_Auriga_> search for avr fuse doctor
[19:40:26] <Lambda_Auriga_> there are several out there.
[19:41:03] <Lambda_Auriga_> for high voltage programming on the atmega168 you need a high voltage parallel programmer that provides 12V to the reset along with the 5V to the main power plus parallel programming.
[19:41:44] <tpw_rules> bah, that sounds like a real pain
[19:41:49] <tpw_rules> thanks though
[19:42:08] <evil_dan2wik> tpw_rules, if everthing was zeroed out, it appears that every single setting is enabled now
[19:42:36] <tpw_rules> even if i somehow jury rigged a clock and reset, i still can't unprogram them without HV right?
[19:42:59] <evil_dan2wik> tpw_rules, yes.
[19:43:11] <tpw_rules> bah, okay. i may just get a new chip and see
[19:43:33] <Lambda_Auriga_> tpw_rules, pretty much...you will need a High Voltage Parallel Programmer....your tinyisp thingie is a serial programmer...not enough pins to even begin to feed the data to that chip.
[19:43:46] <tpw_rules> well i have plenty of other micros with lots of pins
[19:43:49] <Lambda_Auriga_> if you have an avr dragon, it can do it.
[19:44:00] <tpw_rules> i'm new to the avr scene
[19:44:03] <Lambda_Auriga_> so google for that avr fuse doctor and built one for yourself.
[19:44:11] <Lambda_Auriga_> that's what I did.
[19:44:28] <evil_dan2wik> tpw_rules, even if the reset was enabled, all your clock settings are really screwed over
[19:45:01] <evil_dan2wik> it looks like the chip would be running from a 32khz external clock with all the clock dividers enabled.
[19:45:30] <evil_dan2wik> so, 4khz :\
[19:46:15] <evil_dan2wik> tpw_rules, but a HV programmer should be able to fix this
[19:47:05] <Lambda_Auriga_> evil_dan2wik, yup...that's what a fuse doctor is...just a hv programmer that knows the default settings for a bunch of chips..
[19:47:22] <tpw_rules> evil_dan2wik: according to the docs, 0000 is just straight external clock
[19:47:53] <tpw_rules> but i'll see if i can hax together my own. my favorite uc is the propeller and i've never had to deal with this sort of silliness before
[19:48:54] <evil_dan2wik> tpw_rules, but that clock setting rarely works for the MHz external clocks
[19:49:02] <evil_dan2wik> 32khz is usually what it works at
[19:49:13] <evil_dan2wik> but you also enabled the Divide clock by 8 internally; [CKDIV8=0] bit
[19:50:28] <tpw_rules> well i enabled reset anyway
[19:50:32] <tpw_rules> disabled*
[19:50:38] <tpw_rules> it's a variable clock source
[19:50:46] <tpw_rules> (using a propeller btw, took 4 seconds to code)
[19:51:11] <tpw_rules> well more research is needed. thanks
[19:51:21] <Lambda_Auriga_> that's because they isolated the real hardware from you.
[19:51:46] <tpw_rules> it has no real hardware
[19:51:53] <tpw_rules> you make whatever hardware you desire
[19:52:00] <Lambda_Auriga_> lots more configurability on an avr...more ability to do strange things...more ability to screw things up.
[19:52:27] <tpw_rules> can you change the amount and type of uarts without getting a different chip?
[19:52:44] * tpw_rules stops there
[19:52:46] <Lambda_Auriga_> nope..can't say as I can.
[19:53:01] <tpw_rules> if i just reset all the fuses to 1, will it be close enough?
[19:53:07] <tpw_rules> i suppose i can get the defaults
[19:53:09] <Lambda_Auriga_> nope.
[19:53:10] <evil_dan2wik> tpw_rules, you can get more uarts, yes.
[19:53:20] <evil_dan2wik> tpw_rules, no, the fuses must be correct
[19:53:45] <Lambda_Auriga_> I recommend reading the datasheet....fuses are little switches needed to tell it how to run...like dip switches you set by software.
[19:53:50] <tpw_rules> yeah i'm looking through it
[19:53:58] <tpw_rules> i'm just kind of lazy :P
[19:54:43] <Lambda_Auriga_> basic stamp is for you. :}
[19:54:58] <tpw_rules> that's how i started programming actually
[19:55:05] <evil_dan2wik> tpw_rules, http://www.engbedded.com/fusecalc/
[19:55:15] <Lambda_Auriga_> I started on a trs-80.
[19:55:24] <tpw_rules> is the V the same as a regular one?
[19:55:26] <tpw_rules> i wish i did
[19:55:36] <evil_dan2wik> tpw_rules, read the datasheet
[19:56:09] <tpw_rules> i have done apple ][ programming though
[19:56:27] <Lambda_Auriga_> did that too..that's where I first learned assembly on the 6502...and pascal.
[19:56:37] <Lambda_Auriga_> plus commodore vic-20
[19:56:39] <tpw_rules> have you used forth before?
[19:56:51] <Lambda_Auriga_> I've played with forth...didn't find it useful.
[19:57:05] <tpw_rules> it requires kind of a different mindset
[19:57:26] <Lambda_Auriga_> my mindset is kinda set on assembly and C these days.
[19:57:49] <tpw_rules> yeah. forth doesn't transfer over
[19:57:56] <tpw_rules> but ah well, i'll see if i can hack something together and get back to you
[19:57:57] <Lambda_Auriga_> though I can work in pascal, perl, php, fortran, visual basic(shudder), and about anything else I can get a syntax and reference manual for.
[19:58:19] <Tom_itx> i can work in my pajamas :D
[19:58:26] <Lambda_Auriga_> Tom_itx, I can't.
[19:58:30] <Lambda_Auriga_> I don't wear pajamas......
[19:58:35] <tpw_rules> anyway, bye for now
[19:58:38] <Tom_itx> just saying...
[19:58:43] * Tom_itx don't either
[20:05:06] <Valen> dont be hating on VB6
[20:05:10] <Valen> it was great ;->
[20:05:19] <Lambda_Auriga_> about the last VB that was useful.
[20:05:30] <Lambda_Auriga_> except for the real VB(victoria bitter) from australia.
[20:05:41] <Lambda_Auriga_> green can or red, either way works for me.
[20:05:58] <Valen> VB6 was good, they killed why it was good with .net
[20:06:10] <Valen> and I'm meh on VB the beer
[20:06:17] <Valen> at least you didn't say fosters
[20:06:21] <Lambda_Auriga_> bah
[20:06:25] <Lambda_Auriga_> fosters is a tourist beer.
[20:06:26] <Valen> nobody here drinks that stuff
[20:06:33] <Lambda_Auriga_> I'd rather drink budweiser.
[20:06:45] <Lambda_Auriga_> I spent a year and a half in Aussieland back in the late 80s.
[20:07:58] <Valen> it was nice back then
[20:08:17] <Lambda_Auriga_> I hear they implemented speed limits in the outback..that's gotta suck.
[20:08:31] <Lambda_Auriga_> was nice to get on the motorcycle and just open the throttle and go flat out.
[20:08:36] <Valen> they did, can't say that has bothered me too much
[20:08:39] <Valen> I live in sydney
[20:08:57] <Lambda_Auriga_> I was in Alice Springs.
[20:09:41] <Lambda_Auriga_> got to stay a week in Sydney on my way out of country though....some little problem with the airplane as we were taxiing out to take off so they paid for a bunch of us to stay in a hotel with meals paid.
[20:09:45] <Valen> yeah, that's about th emiddle of nowhere
[20:09:56] <Lambda_Auriga_> the outboard engine on the left wing of the 747 fell off..
[20:10:05] <Valen> I have been out to the woomera test range though
[20:10:09] <Valen> that is pretty damn remote
[20:10:45] <Valen> and of course it pissed down rain for 24 hours before we launched :-<
[20:11:35] <Lambda_Auriga_> was awesome to be able to go out and drive for hours and not see another living human being...or sign of humans other than a few fences and the road I was driving on.
[20:12:10] <Valen> I find that kinda creepy to be honest
[20:12:20] <Lambda_Auriga_> I loved it...would love to do it again.
[20:12:25] <Lambda_Auriga_> I'm not really a people person.
[20:12:41] <Valen> I cant stand being in the CBD, but I also get kinda creped out with total isolation
[20:12:49] <Valen> I think its the tinitus that does it
[20:12:57] <Valen> when people are around I can't hear it
[20:13:23] <Valen> Don't need to be packed in, missus and I are hoping to get 10-20 acres for our castle
[20:13:34] <Valen> but it'll be like 10 minutes drive from town
[20:14:04] <Lambda_Auriga_> I can stand to be away from any other humans for days, even weeks at a time....no tv, no radio, no music, no voices, just the sound of the crickets and the rocks talking to me.
[20:14:06] <Valen> (we might go down the coast to where her family is and get 300 acres, and still be 10 minutes from town lol)
[20:16:39] <Lambda_Auriga_> I did ride my motorcycle all over the outback though.
[20:16:47] <Lambda_Auriga_> camping all over.
[20:17:13] <Lambda_Auriga_> almost got trampled by a herd of feral horses once...they knocked my tent down with me in it.
[20:17:27] <Valen> I get bored doing long distance driving
[20:17:30] <Valen> puts me to sleep
[20:17:36] <Valen> its not really the best thing
[20:18:18] <Lambda_Auriga_> try it on a honda xr-250 with a narrow seat and 1 inch knobbies.
[20:18:31] <Lambda_Auriga_> good full body vibrating massage..
[20:18:44] <Lambda_Auriga_> smooths out at like 75mph or so.
[20:33:48] <aandrew> I'm pretty sure you shouldn't be doing 75mph with offroad tires
[20:45:39] <Lambda_Auriga_> aandrew, yup...I'm pretty sure of it now too...
[20:45:46] <Lambda_Auriga_> back then I was young and invincible.
[20:56:58] <tpw_rules> will the chip melt if i apply 12v before 5v? datasheet says to apply it after vcc but i don't have a way of doing it within 20-60us. ms perhaps, but not us
[20:57:40] <aandrew> :-)
[20:58:32] <Lambda_Auriga_> tpw_rules, you kinda gotta follow the procedure there for HVPP.