#avr | Logs for 2015-09-29

Back
[01:09:20] <gorroth> https://github.com/grimwm/avr <== latest AVR code, along with a controlling program that can run from the RPi. the controller might also work from other PCs, but i've only been testing it on the RPi
[01:11:56] <gorroth> before too long, i'll have a more robust controller written that can send more structured data to the AVR for processing
[04:36:45] <osteri> maybe I should start using CMake, don't see it much in emb projects though...
[07:42:08] <twnqx> hm
[07:42:21] <twnqx> i need a USB to AT/PS2 adapter
[07:42:34] <twnqx> to retrofit USB devices to an AT-class PC
[07:44:56] <Haohmaru> any thoughts on decent and cheap wifi module with tcp/ip?
[07:46:45] <Haohmaru> the cheapest i've seen is this esp8266 but it kinda doesn't look very decent.. information is scattered all over the internet and kinda chinese..
[07:55:25] <tkoskine> cc3000 and cc3100 have been okay, but they are somewhat expensive.
[09:23:07] <guestavr> I'm looking for a small stand alone programmer for the AVR instead of Atmel studio for use on my production pc (Windows based). Any suggestion?
[09:40:06] <edmont> hi
[09:43:50] <tkoskine> guestavr: I guess any "isp" (usbtinyisp, arduinoisp, pololu avr programmer, etc.) together with avrdude should work if you need to program only one device at once and then swap it manually to other once programmed.
[09:57:55] <edmont> i'd like to make use of the drive strength control capability of Atmega256rfr2
[09:58:47] <edmont> according to the datasheet, it's possible to choose drive strength port-wise with some registers, among 2, 4, 6 or 8 mA, being 2 mA default
[10:01:30] <edmont> but when i connect a led to the pin, the total consumption of the board increases by 15 mA
[10:01:35] <edmont> at 3.3 V
[10:02:18] <edmont> is the microcontroller dissipating 15-2 = 13 mA?
[10:15:28] <tpw_rules> i'd double check the code
[10:15:33] <tpw_rules> but i'm completely unfamiliar with the feature
[10:15:47] <tpw_rules> guestavr: do you mean the hardware or the software?
[10:19:05] <guestavr> tpw_rules: the software to program. I need a small software instead of the full fledged atmel studio IDE
[10:19:21] <tpw_rules> avrdude for actually writing flash to the chips is good
[10:19:26] <tpw_rules> do you use assembly or c?
[10:20:57] <tpw_rules> for assembly, you could use the assembler 'avra'. it's supposed to be pretty compatible with atmel studio's assembler, but i don't like it much
[10:21:14] <tpw_rules> for c, you'd use avr-gcc for windows. it includes an assembler which i prefer
[10:22:55] <tpw_rules> guestavr: avrdude is the program which actually writes images to chips and sets flags and stuff. it's compatible with a huge variety of programmers
[10:25:30] <edmont> tpw_rules: there is no code, the default consumption should be 2 mA, and never higher than 8 mA
[10:31:33] <tpw_rules> do you have anything else attached to that port?
[10:31:49] <edmont> nope
[10:32:02] <edmont> just the green led
[10:33:50] <tpw_rules> have you checked that only 2ma is going through the led?
[10:35:17] <edmont> i can only measure voltage in the led
[10:35:31] <tpw_rules> what is it? i think it should be ~2v for a green led
[10:36:49] <edmont> yes, 2.04
[10:38:19] <tpw_rules> does the led get brighter if you turn up the current limit?
[10:38:40] <edmont> yes
[10:39:24] <tpw_rules> well i guess there's your answer. the power dissipation does seem high
[10:40:48] <edmont> then i'll need a polarization resistor for the led anyway
[10:42:26] <tpw_rules> i'm interested to see what happens if the led current consumption is only 1ma but the avr is in 2ma mode. put like a 1K resistor in series
[10:46:46] <pewpau> Hey, so I just learned about neuromorphic chips. Runs on 0.7W and 10.000 faster than a super computer that consumes megawatts and are doing the same thing (even less amount of neurons) the classical way. The neurochips are basically async clock-less neural nets directly on wafers. Million synapses (can be stacked) with trillions of synapses, faster than a brain (with the same amount of neurons) real time. So, what kind of competing intelligent AI can you
[10:46:46] <pewpau> do on a PC now? (one that speaks intelligently and all)? Seems like we're out of business.
[10:51:01] <edmont> cann't do it now, but i guess the consumption will be less
[10:51:43] <edmont> anyway, still don't know why the consumption in my case is 15 mA
[11:17:03] <guestavr> I don't see my part in avrdude. Is it not supported?
[11:40:11] <ferdna> offtopic: looking for a dvr system... looking at ebay... any recomendations?
[12:01:19] <edmont> guestavr: which one?
[12:01:46] <guestavr> edmont: atmega16m1
[12:02:11] <edmont> http://www.nongnu.org/avr-libc/NEWS.txt
[12:02:40] <edmont> *** Changes in avr-libc-1.7.0:
[12:02:46] <edmont> you need that version
[12:05:40] <guestavr> edmont: how is that related to the part number supported in avrdude?
[12:06:25] <edmont> i guess avrdude makes use of avr-libc
[12:06:39] <guestavr> I see
[12:06:51] <edmont> i had the same problem today, needed to install a newer version of all the avr packages
[12:07:36] <edmont> Linux Mint 17.2 comes with avr-libc 1.8.0 and my part is supported from 1.8.1
[12:09:29] <guestavr> I see
[12:09:45] <guestavr> Where can I find the latest windows binary for avrdude?
[12:10:43] <edmont> no idea regarding Windows, sorry
[12:12:00] <guestavr> Then I need to compile it from source?
[12:20:52] <edmont> don't think so
[12:21:06] <edmont> there must be some .exe avalaible somewhere
[12:25:32] <guestavr> I found avrdude 6.01 executable but still no support for 16m1
[13:30:46] <vpeter> Hi guys. I'm not sure if this is correct channel so excude me in this case.
[13:30:59] <vpeter> My friend has this problem: http://www.avrfreaks.net/forum/xmega256d3-rev-e-twic-problem
[13:31:04] <vpeter> Any thoughs?
[13:35:11] <RikusW> anything avr is welcome here
[13:35:19] <RikusW> though xmega isn't my strong point
[13:35:28] <RikusW> I've only used mega and tiny
[13:39:34] <vpeter> Maybe someone would know.
[14:13:12] <Jartza> heh
[14:13:54] <Jartza> https://drive.google.com/file/d/0B2dTzW9TMeBxeVhJMG8tcW8zUXc/view
[14:13:57] <Jartza> there :)
[14:59:42] <zulusbg> hello wich one is correct place of resistor before or after the LED .. meaning port -Led -Resitor -Ground or oposite - port -resistor -LED -ground
[15:00:38] <LeoNerd> Either way is identical
[15:00:52] <LeoNerd> It's just limiting current flow, so the current has to flow through both components equally anyway
[15:01:07] <LeoNerd> The total voltage drop appearing across the two is likewise, equal either way round
[15:02:10] <zulusbg> because i have some problem with power consumation
[15:35:29] <zulusbg> okay .. have another strange qustion . im trying to make AVR working on cell coin battery
[15:35:47] <zulusbg> when battery is about 2.5 volts is okay .. but when goes down to 2.4 starts to restarting
[15:35:59] <zulusbg> and BOD is disabled