#avr Logs

Mar 07 2017

#avr Calendar

12:33 AM arij_work is now known as arij
02:19 AM rue_house: I think I noticed a remote with a 6 pin isp today
02:19 AM rue_house: gonna tear it apart
11:16 AM sebus: http://obrazki.elektroda.pl/4390546000_1488348950.jpg want some cake? :D
11:33 AM antto: did that pass FCC regulations?
11:34 AM antto: how about RoHS
11:42 AM Casper: it passed the FCC regulation without issues, and also RoSH. It also passed the FDA regulations
12:21 PM NoHitWonder: does anyone know how do you set stm32fX to start from bootloader?
12:22 PM NoHitWonder: with AVR its one fuse if i remeber correctly
12:26 PM bss36504: What do we think of the SAMC20/21? Just got an email from digikey "announcing them". Seems ok, the 16 bit ADC is nice. Besides that I don't see much difference between the SAMC2x and SAMD2x chips
12:29 PM NoHitWonder: those are atmel ARM chips?
12:29 PM bss36504: I really wish Microshit would pick which website they want to host stuff on. Super annoying to be constantly and unexpectedly navigated away from the Atmel site
12:29 PM bss36504: NoHitWonder: Yeah
12:30 PM specing: Jan-: 2.8V is not too low
12:30 PM specing: Jan-: I have LCA and NMC cells that are rated to 2.5V
12:32 PM NoHitWonder: is ASF a good library?
12:32 PM NoHitWonder: do you guys use it?
12:33 PM NoHitWonder: with ARMs
12:34 PM NoHitWonder: it must be better than ST's
12:41 PM NoHitWonder: we have to do a bootloader at work for stm32f4 so that the new firmware can be uploaded from android app via bluetooth
12:41 PM NoHitWonder: i think its gonna be messy
12:44 PM Tachyon` is now known as Tachaway
02:36 PM Emil: NoHitWonder: but
02:36 PM Emil: why
02:36 PM Emil: why not use the serial bootloader ram
02:36 PM Emil: as in why even reimlement things?
02:38 PM Emil: All stm32s have a serial bootloader
03:09 PM Dan39: howdy \o
03:10 PM Dan39: i am trying to set efuse on atemga328p, but avrdude keeps telling me "avrdude: safemode: efuse changed! Was 5, and is now fd'
03:10 PM Dan39: using usbtinyisp
03:11 PM Dan39: here is some more of log: https://ptpb.pw/Fza5
03:11 PM Dan39: if i type y instead of n, it just hangs
03:37 PM NoHitWonder: Emil how do you use it with bluetooth?
03:38 PM NoHitWonder: we have considered it though, with our co-processor
03:41 PM NoHitWonder: it has to be bluetooth because we dont have usb/serial connections in the device
04:14 PM Brando753 is now known as Guest98025
04:53 PM Jartza: hallo
04:58 PM arij is now known as arij_work
06:37 PM Jan-: hihi avr people
06:37 PM * Jan- stretches until her back goes "CLICK"
06:39 PM * Tom_L wonders why Jan- is bent over hands and feet on floor
06:40 PM Jan-: Because bones
06:40 PM Jan-: how's Tom_L
06:40 PM * Jan- examines Tom_L for signs of damage
06:46 PM mickjc75: Hello
06:49 PM mickjc75: Hello Hello???
06:50 PM Jan-: hi there
06:50 PM mickjc75: Hi Jan
06:50 PM mickjc75: my first time on IRC
06:51 PM Jan-: oh well welcome then :)
06:52 PM mickjc75: actually, I'm looking at using it send send real time debug info from internet enabled devices to installers with IRC clients on their smartphones
06:52 PM mickjc75: because the protocol looks nice and simple :-)
06:52 PM Jan-: oh hehe
06:52 PM Jan-: well I think it's basically just telnet, isn't it?
06:53 PM mickjc75: yeah you can type it in manually
06:53 PM mickjc75: although I haven't tried yet, it's just line by line text
06:54 PM mickjc75: What are you into?
06:55 PM Jan-: right now I'm thinking about battery fuel gauging.
06:55 PM mickjc75: I used the AVR range for a while, although these days I'm using the STM32 range
06:55 PM Jan-: it's kind of a big topic
06:55 PM mickjc75: ahh
06:55 PM Jan-: I'm not an expert, though. Don't listen to me :)
06:55 PM mickjc75: me neither
06:56 PM mickjc75: I've never done anything more than measure the voltage under load
06:56 PM mickjc75: I'm good to bounce ideas of though
06:57 PM Jan-: I think if I write some code to observe the rate of fall in voltage I can get something workable
06:57 PM Jan-: I'd rather not have to add a current shunt and build a full coulomb counter.
06:58 PM Jan-: I think the small inaccuracies might actually make that pretty pointless anyway.
06:58 PM Jan-: But we'll see!
06:58 PM Jan-: What about you?
06:58 PM mickjc75: which battery chemistry?
06:58 PM mickjc75: Li-ion?
06:59 PM Jan-: yes lithium ion
06:59 PM Jan-: so it has quite a big voltage swing.
07:00 PM mickjc75: What's wrong with just using the voltage?
07:01 PM Jan-: well, nothing, but I'd like to be able to do time-to-empty and so on
07:03 PM mickjc75: what's your load like?
07:05 PM Jan-: Depends. It's a general-purpose battery.
07:05 PM Jan-: that's sort of what makes it tough.
07:05 PM Jan-: I suspect we will need current sensing just so as to be able to tell whether we're measuring on load or not.
07:05 PM Jan-: I'd like to avoid that thing where you take the load off, and the capacity meter jumps upward :)
07:05 PM * Jan- scratches her head
07:06 PM Jan-: But I'd rather not have to implement the full curve fitting, cell resistance calculating stuff. It's sort of a pain.
07:07 PM mickjc75: hmm, that is tough, if you don't have any control of the load
07:07 PM Jan-: no
07:08 PM Jan-: on the other hand, you can do time-to-empty because you care about when the cell hits (say) 3 volts, regardless of the circumstances
07:08 PM Jan-: so you can probably calculate that just from voltage.
07:08 PM Jan-: although again it's a bit nonlinear.
07:10 PM mickjc75: yeah, dv/dt should be ok for time to empty
07:11 PM mickjc75: but for remaining charge, I'd be looking at metering the current in/out rather than checking voltage
07:13 PM mickjc75: even smartphones don't do it very well
07:14 PM mickjc75: anyway good luck, gtg
07:16 PM Jan-: okay sorry I missed you, phone call.
07:16 PM Jan-: it's sorta quiet in here
07:16 PM * Jan- prods Tom_L to see what happens
10:25 PM Eszett: hi
11:28 PM arij_work is now known as arij
11:42 PM daey_ is now known as daey