#avr | Logs for 2016-12-30

Back
[00:00:11] <theBear> i believe it was a common label for such things some years before i was born, certainly seems to fit
[00:02:32] <carabia> for what? for dropping acid and being a dipshit? There might be a causality there, but certainly no casualties.
[00:03:21] <Tigzee> So, hows a bout that local hockey team
[00:03:41] <carabia> where i come from we have a myriad of labels for such things, and i've just given some insight on them
[00:19:35] <theBear> oh nah, there was an accident with an eyedropper on a crowded dancefloor one night, there was some heavy noise between me and various persons i did and didn't know, and some birds and even the odd chair or tree or footpath, then some kinda hard to describe/comprehend hours, then someone who cares finally found me and heavilyh sedated me so i could stop being all super-every inch of my body tenssed and unable top stop moving and mumbling all sorts of things,
[00:19:35] <theBear> then i couldn't put a sentence together for about 3 weeks, like, not even close, no matter how clear it seemed in my head when i opened my mouth... i pretty sure i been more than a little different in various regards ever since, of course, it's kinda hard to be sure in such cases
[00:20:45] <Snert> sounds like bad acid
[00:21:38] <carabia> there's the all-important question of chicken and egg, and the as-important question of the dipshit and acid. Chicken problem might remain unresolved but I guess this answers the other one
[00:22:37] <theBear> nah, it was fine acid... had it before, had it again later, just FAR too much... when it fairly concentrated in whatever liquid it lives in, and a single pipette "drop" is way more than a beginner or occasional tripper would ever wanna have, a little bump and accidental over-squeeze into an open mouth is ya know, SERIOUS amount of mind bending chemicals and already too late to consider doing anything about
[00:22:42] <Snert> yeah. stick to shrooms instead.
[00:23:19] <carabia> acid induced psychosis by the virtue of an eyedropper seemingly acting upon its own free will
[00:23:38] <theBear> i don't regret it for a moment, i'm a psychonaut b y nature, still regularyl have way more acid/schrooms/dmt than any mind should ever be subjected to, just seems relevant to mention in some cases
[00:24:24] <theBear> not psychosis, well, except the first few hours, depending on yer pov/wording, just amazingly scrambled mind-tank afterwards
[00:25:02] <carabia> it's not that relevant, i've gathered your brain was most likely toasted already the moment you popped out at the back of the trailer
[00:26:08] <theBear> there's a trailer now ?
[00:26:57] <carabia> i'm thinking there was, a long time ago
[00:27:30] <theBear> but yeah, not much more to say about itall... except of course to mention that you should be a bit careful with dosage and situation when taking strong psychadelics ;-)
[00:29:23] <carabia> i'm not sure if it's the hillbilliness or the acid, or both, complementing eachother to produce the ultimate redneck
[00:30:04] <rue_shop3> this si PAINFULL
[00:30:12] <rue_shop3> its WAY too cold outside for propane!
[00:30:35] <rue_shop3> taking forever to melt this aluminum
[00:32:27] <_ami_> A,i_baba123
[00:32:59] <_ami_> stupid synergy
[00:35:21] <carabia> quick, you know what to do
[00:35:49] <carabia> i'm going on all the web auctions, you go through public email services
[00:36:10] <carabia> someone check pornhub and brazzers.
[00:38:18] <theBear> way ahead of yer <grin>
[00:38:33] <theBear> as yet, nothing unusual to report, heh
[00:39:07] <theBear> oooh, i gotta move, back been grumpy last few days and sittin here fer a couple horus ain't helpin things
[00:43:16] <rue_shop3> well I'm an idiot, I cant cast a cnc machine bed tonight, I only have enough casting sand for the one mould
[00:58:07] <Tigzee> rue_shop3, are you still melting away?
[00:58:48] <rue_shop3> finished pouring it, took the rest and made muffins, which is ok, I'm converting all the stock to smaller stuff
[00:59:53] <rue_shop3> ok , back to a spindle controller
[01:08:09] <rue_shop3> I'm only gonna let that cool a few hours....
[01:08:34] <rue_shop3> I hope it works, the form didn't seperate right when I was making it, which is ok if it goes back togethor right
[01:11:12] <rue_shop3> ooooh
[01:11:17] <rue_shop3> I see a problem here
[01:11:38] <rue_shop3> I'm trying to use a timer to count the pulse rate, but I want the timer for the pwm
[01:16:41] <rue_shop3> ... the watchdog has an interrupt
[03:33:22] <Tigzee> rue_shop3, which is why I was suggesting to do it the other way (you only have the one timer)
[06:20:36] <mcastillo> Hi... how a microcontroller know where is the entry point of my code, the main() function? I'm programming an atmega2560 with a ICSP programmer. I'm using winavr (gcc). The microcontroller does not have a bootloader.
[06:29:02] <specing> mcastillo: you are telling it where it is
[06:29:29] <specing> if you want to know more, check out the boot/memory map part of the datasheet
[06:37:06] <mcastillo> specing: Do you mean this section? http://www.atmel.com/Images/Atmel-2549-8-bit-AVR-Microcontroller-ATmega640-1280-1281-2560-2561_datasheet.pdf#page=20&zoom=auto,-266,792
[06:45:22] <antto> it starts either from 0 or from the boot sector (which itself is one of a few places, set in the fuse bits)
[06:47:04] <mcastillo> antto: that means that the main() function will be in address 0 or it will be at the start of the boot sector, right?
[06:47:12] <specing> nope
[06:47:23] <antto> not exactly
[06:47:31] <specing> mcastillo: it would also help if you ran a disassembly on your code
[06:48:16] <antto> mcastillo your C/C++ compiler would put additional stuff to prepare varios things before your main() function, like initialize variables..
[06:49:22] <mcastillo> I see.
[06:49:42] <mcastillo> Disassembly of section .text: \n 00000000 <__vectors>: \n 0: 71 c0 rjmp .+226 ; 0xe4 <__ctors_end>
[06:49:49] <Lambda_Aurigae> at address 0 is a jump to the beginning of your code...that is calculated during the compile process
[06:50:24] <mcastillo> thanks specing, antto, and lambda_auriagae
[06:50:26] <Lambda_Aurigae> there is a jump table starting at address 0. that table contains jumps to various things...the first one is the boot vector.
[06:50:46] <Lambda_Aurigae> it's all in the datasheet.
[06:55:00] <mcastillo> if I understand correctly, if i do a bootloader that is in the boot memory section, and want to run an user app, that resides in the app section, I just neet to jump to address 0, right?
[06:55:27] <antto> yup
[06:55:31] <mcastillo> :)
[06:55:32] <Lambda_Aurigae> well
[06:55:34] <Lambda_Aurigae> not just
[06:55:43] <antto> but you need to also configure the fuse bits
[06:55:45] <Lambda_Aurigae> depends on whether you use interrupts in your bootloader
[06:56:03] <Lambda_Aurigae> there are two jump tables when running bootloader mode..
[06:56:19] <Lambda_Aurigae> and you have to switch to the main jump table when exiting the bootloader.
[06:58:19] <mcastillo> thanks, I think that I have read about that
[06:58:43] <Lambda_Aurigae> read the datasheet...read the datasheet....then,,,ummmm...read the datasheet.
[06:59:06] <Lambda_Aurigae> yeah, it's 400+ pages
[06:59:19] <Lambda_Aurigae> avr datasheets are short compared to some microcontrollers.
[06:59:27] <mcastillo> :D
[06:59:34] <antto> xmega datasheets are shorter
[06:59:46] <Lambda_Aurigae> I've been reading stm32 datasheets and appnotes for a week now.
[07:00:12] <mcastillo> :o
[07:00:30] <Lambda_Aurigae> and I taught myself to speed read in the 4th grade.
[07:00:37] <Lambda_Aurigae> granted, I've been doing other things too, but...
[07:01:02] <specing> antto: those are not self-contained, though
[07:01:51] <antto> they are shorter because the common stuff is in one big datasheet, and the specific stuff is in another one
[07:09:57] <deshipu> any idea why it's reading the same value all the time? http://paste.sheep.art.pl/2ad5e04d-3e0e-48f5-946a-bdc3cd58f84f
[07:10:12] <deshipu> do I have to reset the adc after a measurement somehow?
[07:57:33] <mcastillo> this is the way to relocate a code to the bootloader section? http://www.atmel.com/webdoc/AVRLibcReferenceManual/FAQ_1faq_reloc_code.html
[08:16:56] <mcastillo> looks like is not working
[08:22:06] <Lambda_Aurigae> https://forum.pololu.com/t/super-simple-bootloader/525/2
[08:22:14] <Lambda_Aurigae> there's a sample in there.
[08:26:22] <Lambda_Aurigae> read the comments further down too.
[08:27:47] <Lambda_Aurigae> http://www.electroschematics.com/10850/working-bootloaders-build-bootloader-1/
[08:28:14] <Lambda_Aurigae> there is a link for avrusbboot on there..it uses vusb like the usbasp but it includes makefile and all for reference.
[08:29:18] <Lambda_Aurigae> specially look at the makefile as it shows how to set the location the program gets written to the avr for bootloader.
[08:32:58] <mcastillo> Lambda_Aurigae: Thanks. your first link was really helpful.
[08:37:01] <Lambda_Aurigae> second has makefile and such for reference too.
[08:37:54] <Lambda_Aurigae> maybe I should start charging for google searches?
[08:49:11] <Tigzee> deshipu, I'm not familiar with c...I don't see the line that is reading ADCL and ADCH in
[08:49:30] <Tigzee> deshipu, in assembly, it does matter which one you read first
[08:50:40] <Tigzee> deshipu, you didn't specify which chip you are using, registers bits are in different registers and places on different chips
[08:51:36] <Tigzee> deshipu, does the compiler know which atmel you are programming for? if not, it won't know how to properly map the constant names (ie ADCSRA)
[08:53:42] <deshipu> Tigzee: ah, sorry, that's attiny85
[08:53:57] <deshipu> Tigzee: they are read in " return ADCH<<8 | ADCL;
[08:54:32] <deshipu> Tigzee: and yes, i have to pass the chip name to the compiler, so it knows
[08:54:36] <Tigzee> deshipu, are you sure? because if I did that in assembly, that would be returning the register addresses of ADCH and adcl
[08:55:06] <Tigzee> which would explain the numbers always being the same
[08:56:39] <deshipu> I guess the macro contains a & operator, because that's the way you do it, apparently
[08:56:53] <deshipu> all the examples I can find do it that way, like here: http://www.marcelpost.com/wiki/index.php/ATtiny85_ADC
[08:57:40] <Tigzee> deshipu, are you getting a decimal response of 1284?
[08:59:04] <deshipu> no, it's a random value around 512, different at each reset
[08:59:22] <deshipu> now that you mentioned the order, if I read ADCL first, the values at least started to change
[08:59:44] <deshipu> but they don't seem to care if I connect the pin to gnd or vcc
[08:59:50] <Tigzee> in assembly you HAVE to read ADCL first
[09:00:06] <Lambda_Aurigae> same in C.
[09:00:21] <Lambda_Aurigae> it's how the registers there work.
[09:00:59] <deshipu> ok, so that's one mistake found, thanks
[09:01:51] <deshipu> now why is this not measuring anything...
[09:02:45] <Lambda_Aurigae> you have selected the right pin for the ADC to connect to?
[09:03:12] <Lambda_Aurigae> what is your reference voltage source?
[09:04:40] <Tigzee> looks like line PB3
[09:05:43] <deshipu> yeah, I'm using ADC3 which is PB3, and I'm using VCC as the reference
[09:05:59] <deshipu> at least that's the intention
[09:07:36] <Lambda_Aurigae> adc(int8_t pin) probably should be uint8_t ?
[09:08:07] <Lambda_Aurigae> shouldn't make a difference, but it is cleaner.
[09:08:35] <deshipu> yeah, right now I moved the whole mux setup outside
[09:08:46] <deshipu> so it doesn't even take a paremeter
[09:08:59] <Lambda_Aurigae> parameter, but,,,
[09:09:26] <deshipu> http://paste.sheep.art.pl/26f4093b-7314-46c6-ac63-e87c9969915a
[09:09:32] <deshipu> this is my current code
[09:09:42] <deshipu> it gives me random readings, which is some progress :)
[09:11:07] <Lambda_Aurigae> try just returning ADCH or ADCL and see what happens.
[09:12:32] <deshipu> turns out I can just return ADC
[09:12:50] <deshipu> and the macro takes care of reafing the registers in the right order
[09:13:10] <Lambda_Aurigae> that works too.
[09:15:47] <deshipu> could it be that I damaged the adc?
[09:16:51] <Lambda_Aurigae> it is possible but not likely
[09:17:00] <Lambda_Aurigae> how are you using VCC as the reference?
[09:17:05] <Lambda_Aurigae> you have it tied to AVCC?
[09:17:11] <Lambda_Aurigae> and GND tied to AGND?
[09:17:18] <Lambda_Aurigae> any filter between VCC and AVCC?
[09:18:13] <deshipu> no, I just have REFS1 and REFS0 set to 0
[09:18:41] <deshipu> Table 17-3 in the datasheet tells me that's correct
[09:19:34] <Lambda_Aurigae> what chip was it?
[09:19:38] <deshipu> attiny85
[09:19:48] <Lambda_Aurigae> I'm looking at the atmega328 doc.
[09:20:40] <deshipu> I also added clearing of ADIF flag now, but that didn't help
[09:21:27] <Lambda_Aurigae> have you tried the internal references?
[09:21:56] <deshipu> no, let me see
[09:23:56] <deshipu> with 2.56V it's reading 1024 all the time
[09:24:05] <deshipu> even if I tie the pin to gnd
[09:24:30] <deshipu> I didn't know it can read 1024, I thought it's 10 bit
[09:24:44] <Lambda_Aurigae> you set to 110 ?
[09:26:04] <Tigzee> deshipu, 10 bit is 1023...hmm
[09:26:27] <deshipu> Lambda_Aurigae: yes
[09:26:28] <Lambda_Aurigae> Tigzee, it's possible he has it shifted, then it could read that and higher.
[09:26:44] <Lambda_Aurigae> I didn't even look at that...the reading can be left or right justified.
[09:26:46] <deshipu> Lambda_Aurigae: I think it has an overflow flag in there
[09:27:10] <Lambda_Aurigae> I haven't screwed with adc in a long time.
[09:27:10] <deshipu> no, sorry, it was 1023
[09:27:17] <deshipu> I guess I should take a break
[09:27:34] <deshipu> I've been trying this for several hours now, sorry for mistakes
[09:34:59] <deshipu> someone tells me to wait for the ADIF flagm not the ADSC
[09:44:03] <deshipu> ok, as improbable as it seems to be, I tried the same program on another attiny85 and it works -- so I really must have damaged the adc
[09:44:12] <deshipu> thank you for your help Tigzee and Lambda_Aurigae!
[09:48:44] <Lambda_Aurigae> you feed a higher voltage to the adc than the reference?
[09:53:41] <Tigzee> I would compare fuse bits between the avrs (or just reprogram them)
[09:54:05] <Tigzee> worst case: maybe you only lost the adc adn the chip is still usable for other purposes
[09:54:45] <deshipu> Lambda_Aurigae: this is a chip I was using for testing for the last 2 years
[09:55:01] <deshipu> Lambda_Aurigae: I honestly don't remember what happened to it, but it was a lot :)
[10:54:08] <_ami_> has any of you used bluetooth with avr chip using serial uart?
[10:57:10] <deshipu> maybe ask your real question?
[10:59:48] <_ami_> i mean.. is there any already available library for this?
[11:00:05] <_ami_> deshipu: i don't want to reinvent wheel
[11:02:01] <_ami_> deshipu: i want a library for avr which uses software serial uart for communicating with BT module
[11:05:27] <deshipu> well, what would the library do?
[11:05:35] <deshipu> you basically just write to the serial
[11:31:04] <carabia> _ami_: what's the bt chip?
[11:31:28] <_ami_> carabia: hc05
[11:38:56] <carabia> _ami_: yeah there seems to be a few, if not downright fully implemented libs, at least something to get a demo up and running
[11:39:16] <_ami_> carabia: link plz?
[11:39:24] <carabia> and there's bound to be a whole host of arduino ones that you can port over relatively easy
[11:40:05] <_ami_> that hc05 arduino library has this feature but the pain to port SoftwareSerial class to AVR is too much of a TASK :P
[11:40:30] <_ami_> never mind, i gonna write or modify an existing soft serial lib for avr
[11:42:16] <carabia> does it have to be soft serial=
[11:42:35] <_ami_> yeah, hw serial is not available.
[11:44:40] <carabia> as in, the library or the chip itself?
[11:48:26] <carabia> perhaps you want something like https://github.com/akc185/AVRLibraryForBluetoothModule
[14:26:04] <_ami_> carabia: ported! :)
[14:26:08] <_ami_> and it seems to work!
[14:26:09] <_ami_> ;)
[14:26:24] <_ami_> gonna crash. nn!
[14:37:27] <arij> has anyone changed fuse bits on atmega32u2 using atmel studio?
[15:09:08] <arij> new question
[15:09:26] <arij> how to power the board while ice is plugged into it
[15:09:35] <arij> normally i would power it over usb
[16:09:21] <kre10s> ice is jtag? Jtag is not powered by the programmer. the target must be powered from elsewhere... so connect usb, a power adapter, or tell your hamster powered electric generator to up production.
[16:10:48] <arij> usb
[16:10:56] <arij> okey dokey
[16:12:09] <arij> kres
[16:12:11] <arij> kre10s:
[16:12:20] <arij> i am 90 % sure i just saw smoke
[16:12:22] <arij> y u do
[16:13:14] <arij> and its ISP
[16:14:39] <arij> did anyone see this
[16:14:44] <arij> kre10s: just tried to murder me
[16:18:48] <Emil> arij: it is up to you to check the connections
[16:19:45] <Emil> Abd like all jtag ports also have vcc
[16:26:27] <arij> No
[16:26:39] <arij> kre10s tried to murder me
[16:38:52] <DKordic> Hamster melted?!
[16:43:05] <arij> it powers it with .3
[16:43:07] <arij> i need 5
[16:43:09] <arij> wat do
[16:55:36] <specing> lol
[17:17:32] <arij> specing:
[17:17:33] <kre10s> The output voltage produced by your hamster power plant will depend on the output regulator. since hamster power is spurious at best you may need multiple units capable of load sharing, and possibly an energy storage system to cover outages.
[17:17:36] <arij> wat do
[17:17:42] <Tigzee> How much current do those hc05's consume?
[17:17:57] <arij> some one hlp without burning my house down pls
[17:18:07] <arij> you say usb im gonna plug it into usb
[17:19:28] <Tigzee> arij, don't do it with a good machien if you aren't confident
[17:19:33] <kre10s> hc05's, the hamster cage 2005 model, should produce power not consume it. If this is not the case, there is something wrong with you hamster, the instalation, or both.
[17:19:36] <arij> too late
[17:19:37] <arij> what do
[17:19:41] <arij> damnit
[17:19:46] <arij> i dont own a hamster
[17:20:06] <kre10s> this is your first problem.
[17:20:49] <arij> kre youtried to murder me
[17:20:58] <arij> at least you can help me now
[17:21:06] <arij> wat do
[17:23:42] <kre10s> you are alive are you not?
[17:37:27] <arij> i am
[17:37:31] <arij> i was scared
[17:41:08] <Lambda_Aurigae> did you burn your widdle finger?
[17:44:27] <arij> no
[17:44:28] <arij> i didnt
[17:44:35] <arij> i just want to get it working
[17:44:40] <arij> y u troll me
[17:46:23] <Lambda_Aurigae> because you use the letters "y" and "u" as words
[17:47:07] <Lambda_Aurigae> does your programmer provide power to the device?
[17:47:13] <Lambda_Aurigae> if not, you must provide power some other way.
[18:06:04] <kre10s_> Beware of ground loops.
[18:26:30] <arij> so i should remove the gnd pin from the programmer?>
[18:27:17] <specing> oh deer
[18:27:21] <Lambda_Aurigae> that would break the programmer.
[18:27:23] * specing gets the shotgun
[18:27:24] <Lambda_Aurigae> it has to have ground.
[18:27:29] <arij> listen
[18:27:29] <Lambda_Aurigae> look up ground loop.
[18:27:35] <arij> im a poor college student
[18:27:38] <Lambda_Aurigae> so?
[18:27:45] <arij> i need haz halp
[18:27:46] <arij> pls
[18:27:54] <Lambda_Aurigae> what does that mean?
[18:28:05] <arij> pls2help
[18:28:07] <Lambda_Aurigae> what language is it?
[18:28:09] <arij> 3help even
[18:28:21] <Lambda_Aurigae> we are attempting to help.
[18:28:29] <specing> As a rich college student...I remain unfazed
[18:28:46] <Lambda_Aurigae> you have given us almost nothing to work on.
[18:28:54] <arij> so you do understand me
[18:28:55] <arij> i knew it
[18:29:01] <Lambda_Aurigae> like calling your doctor and saying, "It hurts"
[18:29:13] <arij> in trying to change the fusebits on my
[18:29:21] <arij> atmega 32u2 using my atmel ice
[18:29:38] <arij> atmel ice doesnt power the target device so how could i power the target device
[18:29:43] <arij> usually it is powerd via usb
[18:30:00] <arij> but when i power it via usb when atmel ice is wired up to it i see smoke
[18:30:05] <arij> what should I do?
[18:30:10] <Lambda_Aurigae> then you have something screwed up.
[18:30:20] <Lambda_Aurigae> once you see smoke, it's broke.
[18:30:20] <specing> isn't atmel ice kinda expensive?
[18:30:30] <specing> is this why you became a poor college student?
[18:30:31] <Lambda_Aurigae> you have not said where the smoke came from
[18:30:48] <arij> i think the cable
[18:30:55] <arij> between the pcb and atmel ice
[18:31:00] <arij> ju,pers
[18:31:00] <Lambda_Aurigae> is it possible you connected the atmel-ice to the atmega32u2 board improperly?
[18:31:14] <arij> nope i triple checked this
[18:31:21] <arij> it sees something
[18:31:25] <Lambda_Aurigae> well, something is hooked up wrong.
[18:31:31] <arij> hodl
[18:31:42] <Lambda_Aurigae> with that we can not help you as we have NO IDEA what hardware you are working with.
[18:32:10] <arij> https://usercontent.irccloud-cdn.com/file/kBdWlraN/
[18:32:22] <arij> https://usercontent.irccloud-cdn.com/file/hDvamHIJ/
[18:32:40] <arij> target voltage 0.3 V
[18:32:43] <arij> shouldnt it be 5
[18:33:13] <Lambda_Aurigae> well, what does the datasheet say about that chip?
[18:33:48] <Lambda_Aurigae> and how is it powered?
[18:34:18] <arij> im not exactly sure this is a new area for me
[18:34:23] <arij> im kind of walking around in the dark
[18:34:34] <Lambda_Aurigae> well,,,step one...learn basic electronics
[18:34:48] <arij> thats your advice?
[18:34:55] <arij> :'(
[18:35:03] <Lambda_Aurigae> well, you have not shown any hardware or schematics or anything
[18:35:13] <arij> i can show both
[18:35:20] <Lambda_Aurigae> just some screenshots of some software I've never seen before.
[18:35:29] <arij> atmel studio
[18:35:35] <Lambda_Aurigae> as I said
[18:35:41] <Lambda_Aurigae> some software I've never seen before.
[18:35:44] <Lambda_Aurigae> it doesn't run on linux
[18:35:49] <Lambda_Aurigae> and I don't run windows
[18:35:53] <arij> https://usercontent.irccloud-cdn.com/file/ZbLQCHRO/
[18:36:20] <arij> https://usercontent.irccloud-cdn.com/file/feYWiK1x/
[18:36:26] <arij> does that help at all
[18:37:03] <Lambda_Aurigae> now, are you feeding 5V back into the atmel ice?
[18:38:13] <arij> i plugged in a micro usb into the ice
[18:40:00] <Lambda_Aurigae> if your schematic is correct and you plugged the ICE into the board in the right orientation then it should work.
[18:40:12] <Lambda_Aurigae> if, however, you plugged it backwards, you could have problems.
[18:40:17] <arij> the pcb works as a keyboard
[18:40:21] <arij> i know that it does that
[18:42:53] <Lambda_Aurigae> next question
[18:43:03] <arij> ask away
[18:43:09] <Lambda_Aurigae> why the hell do you power that through VCC and not through UVCC off the USB port?
[18:43:22] <arij> what
[18:43:34] <Lambda_Aurigae> nevermind.
[18:43:39] <Lambda_Aurigae> still looking at your schematic.
[18:43:40] <arij> im a noob
[18:43:45] <Lambda_Aurigae> something just doesn't look right.
[18:43:49] <arij> sorry if i dont understand some of these things
[18:44:01] <arij> the pcb does work as a keyboard tho
[18:44:03] <arij> thats what it was meant to do
[18:44:13] <arij> i can type on it so yea
[18:45:00] <Lambda_Aurigae> ok.
[18:45:20] <Lambda_Aurigae> does it still do so even after the smoke escaped?
[18:45:35] <arij> i have 5 identical pcbs
[18:45:43] <arij> so no worries if that ones broken
[18:45:59] <Lambda_Aurigae> my ultimate question is, why do people try to do intermediate electronics when they don't understand basic electronics concepts?
[18:46:14] <Lambda_Aurigae> yes, worries if it's broken, because you don't know what caused it.
[18:46:23] <arij> sorry
[18:46:34] <arij> go easy on me
[18:47:01] <Lambda_Aurigae> you wouldn't go pulling apart your car engine to upgrade the injectors without knowing something about auto mechanics.
[18:47:21] <Lambda_Aurigae> sorry, pet peeve of mine.
[18:48:32] <Lambda_Aurigae> I would verify that the plug where the ICE connects to is in the correct orientation.
[18:48:37] <Lambda_Aurigae> that's the start.
[18:48:52] <Lambda_Aurigae> having smoke come out of the device "somewhere" is usually very bad.
[18:49:12] <Lambda_Aurigae> do you know how to find pin 1 on the plug from the ICE?
[18:49:28] <carabia> smoke signifies the abrupt end of funzies
[18:50:35] <Lambda_Aurigae> carabia, usually, yes. sometimes a wire burns to protect everything else...sometimes everything else burns to protect the wire.
[18:51:09] <carabia> the obvious solution is thicker wires
[18:52:27] <Lambda_Aurigae> arij, do you know how to find pin 1 on the plug from the ICE?
[18:52:54] <carabia> fuses can be replaced with minimum m20 bolts
[18:53:29] <kre10s_> O_o M20?!
[18:54:06] <arij> Lambda_Aurigae: I think I can figure that out
[18:54:18] <carabia> yes, or as we professionals in the trade call them - "slow blow"
[18:54:26] <arij> Google ice pinout?
[18:54:32] <Lambda_Aurigae> arij, then find pin 1 on your circuit board.
[18:54:55] <Lambda_Aurigae> carabia, I prefer using 9mm hollow point rounds as fuses.
[18:55:09] <Lambda_Aurigae> that way you have an audible feedback when the fuse blows.
[18:55:26] <specing> and then have to replace the fuse box as well?
[18:55:35] <Lambda_Aurigae> arij, pinout does you no good if you don't know which pin is pin1!
[18:55:57] <Lambda_Aurigae> specing, that's what cast iron boxes are for.
[18:56:15] <carabia> i was just about to say that, however it's too small. something like a .50 would be better
[18:57:01] <Lambda_Aurigae> 30mm HE rounds are best....guessing somewhere in the area of 200A
[18:57:16] <carabia> make it a tracer while you're at it for enhanced visual feedback
[18:57:33] <Lambda_Aurigae> oh, with the HE, there is no doubt of a "visual feedback"
[18:57:38] <Lambda_Aurigae> HE=High Explosive
[18:57:50] <carabia> yeah, however that's too drastic
[18:57:50] <specing> yeah but it can't escape the box
[18:57:54] <specing> you'd need 30mm AP
[18:58:13] <carabia> you have quite the boxes
[18:58:17] <Lambda_Aurigae> now, for real good visual effects, 40mm WP rounds
[18:58:22] <Lambda_Aurigae> but that's just getting silly.
[18:59:05] <Lambda_Aurigae> arij, you need to make damned sure that pin 1 on that cable is at pin 1 on that connector on the board.
[19:01:13] <Lambda_Aurigae> arij, also, make sure you are in the AVR port on the ICE and not the SAM port.
[19:09:49] <carabia> and a feverish comparison of pinouts follows, apparently