#avr | Logs for 2014-05-06

Back
[01:12:43] <rue_more> why are you using c++!?
[01:14:11] <rue_more> when you can use java
[01:14:53] <rue_more> running in a jre
[01:15:04] <rue_more> on an emulated 486
[01:15:09] <rue_more> running dos
[01:18:39] <dgriffi> when does Thrashbarg usually drop in here?
[01:19:00] <rue_more> havn't had my bot in here in years
[01:19:08] <rue_more> zlog, seen thrashbarg
[01:19:12] <rue_more> yea
[01:19:14] <rue_more> anyhow
[01:20:04] <dgriffi> nice.. that yielded my question
[01:20:30] <dgriffi> oh well, it looks like he's been idling for 24 hours
[01:59:09] <dgriffi> what sort of data type is something like PORTD? I want to pass PORTA, PORTB, PORTC, or PORTD to a function.
[02:09:05] <dgriffi> never mind
[06:24:01] <clixxIO> Evening
[06:40:35] <clixxIO> has anyone used the internal temperature sensor inside an Attiny85 or other much?
[06:41:24] <clixxIO> I'm wondering why, by changing the CKDIV8 fuse, it drastically affects the value being read by the ADC
[06:42:20] <clixxIO> before I was getting about 274, now I'm getting 231
[06:48:10] <kizzap> increased speed = increased heat? alternately are you in air-con? or just general warm day?
[06:50:41] <Lambda_Aurigae> that thing is on the die I bet...which means as the thing runs faster it will get hotter and read hotter.
[07:17:36] <clixxIO> strange thing is - running faster, giving a colder measurement
[07:18:12] <Tom_itx> maybe it's internally clock compensated
[07:19:48] <clixxIO> It doesn't really matter that much, I should try on some 'fresh' hardware
[07:20:08] <clixxIO> there's no aircon or heating here
[07:20:45] <clixxIO> [otherwise there wouldn't be any need for a temperature sensor]
[07:20:59] <clixxIO> [just set the thermostat to 24 degrees]
[07:22:59] <clixxIO> and where did they get these "Turbo" mode clock things - they're so '80s
[07:23:31] <clixxIO> no, '90s. Every computer came out with an 8mhz or 16mhz switch on the front
[07:23:50] <clixxIO> what the idea of running it slow, I never knew
[07:54:44] <malinus> it looks like a attiny13 doesn't break when connected to 9V. It won't run though
[08:00:40] <megal0maniac_afk> malinus: The reset pin is 12V tolerant. Connecting anything more than 5.5V anywhere else is just stupid
[08:00:58] <megal0maniac_afk> So stop doing that
[08:04:00] <malinus> megal0maniac_afk, it was a mistake. I was running from a 9V battery, but forgot the voltage regulator
[08:05:51] <clixxIO> ok - so here is the temperature reporter - https://github.com/clixx-io/clixx.io/blob/master/examples_attiny/tempreporter/tempreporter.cpp
[08:06:32] <clixxIO> There's still lots to trim I guess..
[08:07:34] <malinus> clixxIO, are you reading that from external thermistor or the build in one?
[08:07:46] <clixxIO> the built-in one
[08:08:24] <clixxIO> I've learnt that it's not very accurate
[08:09:25] <clixxIO> It wouldn't be so hard to change to an external temp sensor
[08:12:55] <clixxIO> today's achievement was getting the 'Serial' and 'loop()' constructs working
[08:13:27] <clixxIO> and that's not Arduino, it's avr-gcc !
[08:27:59] <clixxIO> ok - it's a bit more cleaned up now - https://github.com/clixx-io/clixx.io/blob/master/examples_attiny/tempreporter/tempreporter.cpp
[08:38:18] <clixxIO> ok - I'm off to bed, long day 5:00am -> 23:20pm
[09:36:49] <stisi> Hi, I want to fake a Printer with a Arduino UNO / 8U2 and LUFA, then capture the output on the Serial port of the Arduino
[10:31:29] <malinus> I'm reading the datasheet about my atmega328p, and it says that "By default, the Internal RC Oscillator provides an approximate 8.0MHz clock.". But when I defined F_CPU to 8000000UL, and later use _delay_ms() from util/delay.h, it seems like a second takes exactly 8 seconds, just like if it was actually running at 1MHz and not 8MHz like claimed by the datasheet
[10:31:56] <Thrashbarg> malinus: check your fuses, there's a divide by eight fuse there
[10:32:42] <malinus> oh right, I forgot about that one, thanks.
[12:58:03] <Daulity> hi anyone worked with multisim before ?
[13:13:20] <Daulity> I can't seem to be able to select if if my clock is on or of.
[14:00:26] <malinus> ehh I'm tired of trying to make the nRF24L01 work using the avr-library I was able to find. I'm gonna see what the arduino libraries can do for me. I guess the easiest way is just to use the arduino IDE, and then flash the .hex it produces
[14:00:52] <malinus> that should work I guess.
[14:02:58] <malinus> I'm sorry :(
[14:13:08] <Daulity> malinus: where are you sorry for
[14:13:56] <malinus> using arduino I guess. Well at least their IDE and libraries.
[14:14:33] <Daulity> malinus: maybe you could see how the librarie does it :) and write your own code, or see where the librarie you found goes wrong/doesn't work
[14:15:44] <malinus> I *could*, but I just want it to work®
[14:15:51] <Daulity> it isn't wrong to look at arduino code. everybody has thier oppions about arduino :) but if it helps you make your project work .. :)
[14:16:27] <Daulity> and when it works you could "condense" and make it more efficient :)
[14:16:36] <Daulity> if needed offcourse
[14:18:13] <malinus> good point. But making it work is always first priority
[14:18:36] <Daulity> so don't appologize for making it work :) or trying a different method.
[14:18:50] <Daulity> happy prototyping though! :)
[14:21:14] <malinus> thaks. I've used my own protocol simply using the 433mhz receiver/sender, but it was extremly slow, inefficient and had low range. So I'm trying the more popular approach
[14:22:29] <Daulity> malinus: I don't know your reasons for doing this, but imho (and this is for me) working with avr's and other hardware projects, is in the firstplace to be fun :)
[14:23:08] <malinus> true
[14:23:26] <Daulity> if i have no fun i am no productive at all :D
[18:36:18] <jadew> haha, best arduino shield: http://oceancontrols.com.au/KTA-292.html
[18:38:35] <malinus> jadew, too cheap
[18:38:51] <malinus> that has to be a joke
[18:39:29] <jadew> I think it's the recommended shield for any arduino
[18:39:43] <jadew> can probably be used as a solder dispenser too!
[18:40:05] <malinus> hehe
[20:59:27] <clixxIO> morning
[21:06:50] <clixxIO> hi funky1, any projects?