#avr | Logs for 2016-01-31

Back
[02:59:36] <tekkkz> Hello! Where can I get makefile support?
[03:03:55] <tekkkz> I have a makefile for an AVR project, where I use a library (u8glib) which sources I have in a seperate folder (./lib/u8glib). I can compile it to an .elf file via their suggested command: »$(LINK.o) ....« this is defined by MAKE, not by anyone's makefile. The problem is it gives a lot of output and I don't wanna use it, I want to convert it to my own commands, e.g. generating the .o's and merge them to a .a, what LINK
[03:03:56] <tekkkz> .o is also doing ... CAn anybody maybe help? I would give more details then.
[03:56:00] <Xark> tekkkz: Umm, so you have something that works but you want to roll your own, but have no idea how? Sounds like Google is in order (some makefile examples/tutorials).
[03:56:59] <Xark> You might just be able to precede there spammy command with "@" to suppress output (IIRC).
[03:57:06] <Xark> their*
[03:59:22] <tekkkz> nope, @ is not working
[03:59:28] <tekkkz> the LINK.o is a pain
[03:59:35] <tekkkz> im searching for help since 2 days
[03:59:41] <tekkkz> noone knows it and noone can help ..
[04:00:14] <Xark> Hmm, @ usually works. E.g., https://stackoverflow.com/questions/11871921/suppress-and-ignore-output-for-makefile
[04:04:35] <tekkkz> but not at LINK.o cause idk why it is doing so much
[04:04:45] <tekkkz> i also dont understand its defining at make -p
[04:04:50] <tekkkz> can you explain me how it works?
[04:19:20] <sebus> Xark already I posted it here yesterday ^
[04:19:24] * sebus waves
[04:29:06] <tekkkz> I found my mistake
[04:29:12] <tekkkz> $(Q)$(CC) $(CFLAGS) -c -o $@ $<
[04:29:31] <tekkkz> the $< at the end gave only the first element of $(SRCS) to this function
[04:29:40] <tekkkz> so not all got compiled
[04:29:43] <tekkkz> lulz
[04:30:45] <Xark> Sounds like "fun" with makefiles. :)
[04:31:20] <Xark> Powerful and useful, but subtle and quick to anger. :D
[05:30:53] <Mikael> Hi! In my bootloader I would like to fix my "main" bootloader function to a specific memory address, how do I go about to do that?
[09:05:41] <WormFood> hhhmmm....this channel has been unusually quiet
[09:10:50] <Lambda_Aurigae> sunday morning
[09:11:02] <Lambda_Aurigae> everybody is praying they didn't fuck up their chips.
[10:26:42] <Mikael> Hi! In my bootloader I would like to fix my "main" bootloader function to a specific memory address, how do I go about to do that?
[10:27:14] <Lambda_Aurigae> why?
[10:27:21] <Lambda_Aurigae> why not just use the bootloader entry?
[10:28:01] <Mikael> It resets to application by default and I jump to the bootloader from there.
[10:28:42] <Lambda_Aurigae> again
[10:28:55] <Lambda_Aurigae> why not jump to the bootloader entry rather than directly to main()?
[10:30:47] <Lambda_Aurigae> http://www.fourwalledcubicle.com/files/LUFA/Doc/120730/html/_page__software_bootloader_start.html
[10:31:30] <Mikael> I prefer it that way. Why should I do it the other way around?
[10:31:33] <Lambda_Aurigae> that uses the watchdog timer.
[10:32:12] <Lambda_Aurigae> #asm("rjmp 0x0E00");
[10:32:25] <Lambda_Aurigae> assuming your bootloader section starts at 0x0e00 that is.
[10:32:58] <Lambda_Aurigae> just a bit of inline assembly, jump to the beginning of bootloader space.
[10:33:13] <Mikael> That's the thing, jumping to bootloader isn't the problem. The problem is that my bootloader has several functions and those are located before the main bootloader function.
[10:33:37] <Lambda_Aurigae> but it has a jump at the beginning to the main.
[10:33:47] <Lambda_Aurigae> that's how the chip starts the bootloader anyhow.
[10:34:20] <Mikael> The problem is how do I control what is located at the address I'm jumping to.
[10:34:23] <Mikael> That is the question.
[10:34:23] <Lambda_Aurigae> when set to boot from the bootloader by default it just starts execution at the beginning of bootloader memory, I do believe.
[10:34:26] <Mikael> Not how to jump.
[10:36:42] <Lambda_Aurigae> you want to start your bootloader, yes? basically starting at the main().
[10:36:51] <Mikael> Yes.
[10:37:04] <Lambda_Aurigae> you start it the same way the chip would if it was programmed to go to bootloader on powerup.
[10:37:06] <Mikael> My bootloader has function a(), b(), c() etc and main().
[10:37:15] <Lambda_Aurigae> start execution at the beginning of bootloader memory.
[10:37:31] <Lambda_Aurigae> that will jump you to the bootloader main..
[10:37:32] <Mikael> The thing is that a() is located at the start of the bootloader section, then b and then c etc.
[10:37:45] <Lambda_Aurigae> yes.
[10:38:05] <Lambda_Aurigae> but at the beginning of bootloader memory there is a jump to the main...well, to the startup code that takes you to main.
[10:38:11] <Mikael> So If I jump to bootloader section (in memory) I will end up in the first function which isn't what I want.
[10:38:16] <Lambda_Aurigae> so you just jump to the beginning of bootloader memory.
[10:38:22] <Mikael> No
[10:38:24] <Lambda_Aurigae> no....it won't
[10:38:34] <Mikael> I'm giving up.
[10:38:38] <Lambda_Aurigae> it will go to the C startup code which will then drop into main.
[10:38:39] <Mikael> Thanks for trying to help.
[10:38:54] <Lambda_Aurigae> the same as if the chip was programmed to start in bootloader mode..
[10:39:03] <Lambda_Aurigae> then the chip starts at bootloader memory start..
[10:39:25] <Mikael> Thanks.
[10:39:27] <Mikael> Cya
[10:39:34] <Lambda_Aurigae> avr109
[10:39:36] <Lambda_Aurigae> page 2
[10:39:41] <Lambda_Aurigae> bottom of the page
[10:39:47] <Lambda_Aurigae> it talks about that exact thing.
[10:59:22] <WormFood> Lambda_Aurigae, some people just can't be helped.
[11:00:39] <WormFood> I wonder if this guy really understands the basic concepts behind a bootloader.
[11:44:24] <phinxy> is there another good oled display suitable for AVR other than the ssd13xx ?
[11:45:08] <phinxy> a miniature "ink" display would be neat
[12:46:04] <Lambda_Aurigae> WormFood, probably not...I messaged him the atmel appnote info on his question but never heard back from him.
[12:46:24] <Lambda_Aurigae> he was still online but didn't reply.
[12:46:31] <WormFood> He knows everything.
[12:46:46] <WormFood> he doesn't need your help, because you're not telling him what he wants to hear.
[12:46:55] <Lambda_Aurigae> yeah.
[12:47:03] <Lambda_Aurigae> I even double checked what I was telling him.
[12:47:30] <WormFood> I've seen that type of person before. They just don't understand what they're even asking for, of if they do, they don't understand how bad of an idea it is....and they still want to continue, even after being told they have a terrible idea
[12:48:16] <WormFood> Some dude was asking about connecting iptables to a database, like mysql. There was no way we could convince him, that was a horrible idea.
[12:49:14] <WormFood> It'd be so funny, if he just kept plowing away, making the perfect thing he sees in his mind, only to find out it really is a horrible idea.
[12:50:19] <Lambda_Aurigae> if your iptables table is that big,,,,oh man.
[13:00:12] <Casper> there is some usage of iptables to mysql, but only for opening the connection: what address is allowed to connect, not for the full table
[15:24:49] <coded1> I'm looking around on AliExpress and I came across a failrly good deal on an Arduino Uno ($8CDN) but now I'm wondering if there is something that is more versatile as far as programming AVR/IC's of a wider variety
[15:25:05] <coded1> any suggestions?
[15:28:48] <Lambda_Aurigae> stk200, avarice,
[15:28:56] <Lambda_Aurigae> Tom_itx's programmer
[15:29:14] <Lambda_Aurigae> just don't waste the time and effort on anything v-usb based like usbasp
[15:34:53] <coded1> hrm, this is the only thing I get back for searching stk200
[15:34:54] <coded1> http://www.aliexpress.com/item/AVR-P40N-8535-8MHz-Olimex-PROTOTYPE-BRD-FOR-STK200-10PIN/32337975921.html?ws_ab_test=searchweb201556_3,searchweb201644_2_505_506_503_504_502_10001_10002_10016_10005_10006_10003_10004,searchweb201560_1,searchweb1451318400_-1,searchweb1451318411_6452&btsid=f9d2f7dc-1b48-4a9c-a9ba-1fbc6e88fc2d
[15:35:02] <coded1> I don't think that's it
[15:35:47] <Lambda_Aurigae> http://denilson.sa.nom.br/blog/images/avr/AVR-bsd.png
[15:35:52] <Lambda_Aurigae> stk200 avr programmer.
[15:36:20] <Lambda_Aurigae> 4 330ohm resistors, a parallel port, and some wire.
[15:36:42] <coded1> kicking it old school I see
[15:36:49] <Lambda_Aurigae> it works.
[15:37:05] <Lambda_Aurigae> https://sites.google.com/site/emrirc/avrstuff
[15:37:09] <coded1> how about using an Arduino UNO to do the same?
[15:37:33] <Lambda_Aurigae> go for it.
[15:37:42] <Lambda_Aurigae> I refuse to use or assist with anything arduino, however.
[15:37:52] <coded1> why is that?
[15:38:14] <coded1> just a personal preference ?
[15:38:26] <coded1> I'm new to the AVR thing
[15:38:29] <Lambda_Aurigae> I find the arduino system to be,,,abborant.
[15:38:51] <Lambda_Aurigae> abberant..
[15:38:54] <Lambda_Aurigae> something like that.
[15:38:57] <coded1> lol
[15:39:07] <Lambda_Aurigae> horrid in many ways.
[15:39:17] <coded1> isn't the arduino just a glorified breakout board for the Atmega?
[15:39:26] <Lambda_Aurigae> hardware wise, yes.
[15:39:31] <TechChristoph__> coded1: it is
[15:39:33] <Lambda_Aurigae> software wise, ardweeny sucks.
[15:39:44] <TechChristoph__> software wise well
[15:39:48] <Lambda_Aurigae> but supporting one supports the other.
[15:39:50] <TechChristoph__> it could be
[15:40:26] <coded1> OK
[15:40:37] <TechChristoph__> it makes some things easyer
[15:40:41] <TechChristoph__> in some ways
[15:40:54] <TechChristoph__> but it depends on what yout want
[15:41:02] <TechChristoph__> as in most things
[15:41:16] <TechChristoph__> its what you see in it
[15:41:24] <coded1> the idea of the "Shield" makes a lot of functions cheaper to acquire
[15:41:32] <TechChristoph__> but thats more philosophical
[15:41:58] <Lambda_Aurigae> for me it's just a personal preference.
[15:42:07] <TechChristoph__> Lambda_Aurigae: yep
[15:42:13] <Lambda_Aurigae> like microsoft products.
[15:42:19] <TechChristoph__> Lambda_Aurigae: its all about that
[15:42:29] <Lambda_Aurigae> I refuse to pay for microsoft products in any way, shape, or form...
[15:42:34] <Lambda_Aurigae> I'm forced to use them at work.
[15:42:40] <Lambda_Aurigae> in my personal time,,,,no fucking way.
[15:42:41] <TechChristoph__> Lambda_Aurigae: well i use only linux
[15:42:49] <coded1> if I wanted a sensor IC with gyro,barometer,etc I could find the IC solder it on to some protoboard wire it up and route the traces, or I could get the whole thing silk screened and ready to go for a fraction of the cost
[15:42:52] <Lambda_Aurigae> linux and freebsd and solaris here.
[15:43:09] <Lambda_Aurigae> coded1, go for it.
[15:43:15] <TechChristoph__> but not because windows is better or linux is better
[15:43:22] <TechChristoph__> its just my personal preference
[15:43:37] <Lambda_Aurigae> I hate microsoft as a company...which comes from me not getting a job there.
[15:43:42] <Lambda_Aurigae> for an idiot reason.
[15:43:46] <TechChristoph__> well i hate bill gates
[15:44:00] <Lambda_Aurigae> I flew out there twice.
[15:44:07] <Lambda_Aurigae> interviewed, passed everything with flying colors
[15:44:14] <TechChristoph__> ok
[15:44:15] <Lambda_Aurigae> the manager wanted to hire me on the spot.
[15:44:24] <Lambda_Aurigae> the HR droid asked me where I got my degree.
[15:44:30] <Lambda_Aurigae> told them I didn't have a degree...
[15:44:39] <Lambda_Aurigae> hr droid said, you can't do this job without a degree.
[15:44:41] <TechChristoph__> and i think i can program in a more free way on linux machines
[15:45:03] <Lambda_Aurigae> the position was advertised as a 4 year degree or equivalent.
[15:45:11] <TechChristoph__> and therefore i prefer linux and its distributions
[15:45:14] <Lambda_Aurigae> I proved I had an equivalent with their tests.
[15:45:31] <TechChristoph__> ok
[15:45:34] <Lambda_Aurigae> their idea of equivalent was having a 2 year degree and several years experience.
[15:45:41] <TechChristoph__> mhm
[15:45:50] <TechChristoph__> and now ?
[15:45:52] <Lambda_Aurigae> that job would have started at 80K USD a year in 1997.
[15:46:08] <Lambda_Aurigae> now I'm a systems analyst for xerox making 45K a year.
[15:46:21] <TechChristoph__> and you love your job?
[15:46:32] <Lambda_Aurigae> like hell.
[15:46:50] <TechChristoph__> like hell or is it hell ?
[15:46:56] <Lambda_Aurigae> I want to shove every fucking copier in the world up the collective asses of the so called engineers who designed them.
[15:47:16] <Lambda_Aurigae> and dealing with customers is worse yet.
[15:47:20] <antto> copiers are kinda.. big >:)
[15:47:25] <Lambda_Aurigae> problem is, I'm damned good at my job.
[15:47:44] <Lambda_Aurigae> antto, I do copiers, printers, scanners, and all those paper handling systems.
[15:47:56] <Lambda_Aurigae> install, repair, etc.
[15:48:01] <coded1> like I said I'm new
[15:48:08] <antto> i mean.. for shoving them in such small holes ;P~
[15:48:08] <TechChristoph__> well what customers need and what designers make is sometimes weired
[15:48:22] <Lambda_Aurigae> antto, makes it just a bit more difficult.
[15:48:40] <antto> u won't use lube, would you >:)
[15:49:09] <TechChristoph__> :)
[15:49:24] <Lambda_Aurigae> TechChristoph_, when a printer shows on screen, "Load Letter" and the customer is screaming at you because their printer doesn't work and you have to explain to this 60+ year old twit that it means letter size paper while she is saying, "But I'm printing invoices, not letters!"
[15:49:54] <Lambda_Aurigae> antto, of course....a mixture of vicks vapor rub and texas pete hot sauce.
[15:49:58] <TechChristoph__> well i would send the customer to hell :)
[15:50:07] <antto> huehue
[15:50:15] <TechChristoph__> wuahaha
[15:50:34] <TechChristoph__> or give a linux machine
[15:50:47] <TechChristoph__> instead of a microsoft tool
[15:50:53] <Lambda_Aurigae> coded1, I started with avr back around 2001 or so...way before arduino existed...and this channel wasn't around,,,or at least I hadn't found it yet.
[15:51:16] <Lambda_Aurigae> I started with pic, then jumped to avr.
[15:51:21] <Lambda_Aurigae> inside of a few months.
[15:51:28] <TechChristoph__> but yeah i also thought that i know much about computers
[15:51:36] <TechChristoph__> and then 2002 i switched to linux
[15:51:55] <TechChristoph__> and now i know much :)
[15:52:10] <Lambda_Aurigae> TechChristoph_, I started playing with linux in 1995 with a nice early slackware distro downloaded from cdrom.com
[15:52:10] <TechChristoph__> lol
[15:52:17] <TechChristoph__> wow
[15:52:34] <Lambda_Aurigae> back when my connect speed was 57.6K
[15:52:38] <Lambda_Aurigae> dialup.
[15:52:45] <antto> i had slackware 9.. installed it the "manual" way
[15:52:46] <TechChristoph__> ok modem ?
[15:52:47] <antto> x_x
[15:52:54] <Lambda_Aurigae> took most of a week to download all the floppy images.
[15:53:00] <TechChristoph__> then im too young :)
[15:53:04] <Lambda_Aurigae> yeah...modem.
[15:53:25] <TechChristoph__> damn
[15:53:32] <TechChristoph__> time goes by
[15:53:58] <Lambda_Aurigae> then I ordered a slack CD along with a freebsd CD from cdrom.com
[15:54:20] <TechChristoph__> Lambda_Aurigae: does cdrom.com still exist
[15:54:25] <TechChristoph__> ?
[15:54:36] <Lambda_Aurigae> apparently not.
[15:54:47] <Lambda_Aurigae> site is down if it does.
[15:54:54] <TechChristoph__> so it was before "Internet"
[15:54:58] <Lambda_Aurigae> lots of shareware collection CDs.
[15:55:05] <Lambda_Aurigae> no...it was early internet.
[15:55:14] <TechChristoph__> ok
[15:55:15] <Lambda_Aurigae> back when everybody was on dialup except universities.
[15:55:24] <TechChristoph__> well i was born 1983
[15:55:30] <Lambda_Aurigae> it was before high speed internet.
[15:56:07] <Lambda_Aurigae> I remember installing the first internet service provider in St. Joseph Missouri back in 1995.
[15:56:18] <TechChristoph__> wow
[15:56:44] <Lambda_Aurigae> they had a T1 connection and 12 56K modems.
[15:56:44] <TechChristoph__> and what did you use before slackware ?
[15:56:56] <Lambda_Aurigae> before slack I was a windows user...only thing I had back then.
[15:57:07] <TechChristoph__> windows 3.1
[15:57:18] <Lambda_Aurigae> I started with dos in the dos 3.2 days and have worked with everything from microsoft since then.
[15:57:23] <TechChristoph__> ok
[15:57:24] <antto> win98, when windows didn't suck so much ;P~
[15:57:41] <TechChristoph__> i quit with windows nt
[15:57:48] <Lambda_Aurigae> including windows 3.1, wfw 3.11, win95, win98, win98se, winme, win2k, nt3.5, nt4.0 and forward.
[15:57:57] <Lambda_Aurigae> I have to work with it for what I do for a living.
[15:58:03] <TechChristoph__> ok
[15:58:06] <Lambda_Aurigae> I just chose not to deal with it at home.
[15:58:09] <TechChristoph__> me too
[15:58:12] <TechChristoph__> its a shame
[15:58:20] <Lambda_Aurigae> even my wife and mother-n-law run linux or I don't work on their machines.
[15:58:30] <TechChristoph__> :)
[15:59:14] <TechChristoph__> well my whole family work with windows
[15:59:28] <TechChristoph__> all with win 7
[15:59:39] <Lambda_Aurigae> I also go back through the old unix systems and all the way back to mini-computers and mainframes.
[15:59:55] <TechChristoph__> minix too ?
[16:00:06] <Lambda_Aurigae> am looking for a functional sun 3/260 workstation to play with,,,
[16:00:14] <Lambda_Aurigae> I've played with minix...not much but have been on it.
[16:00:32] <TechChristoph__> Lambda_Aurigae: do you know a site where i can download the original unix ?
[16:00:37] <coded1> NT was one of the better OS's from microsoft though
[16:00:41] <Lambda_Aurigae> microvax, pdp-11.
[16:00:41] <TechChristoph__> searched with google
[16:01:00] <TechChristoph__> but didn't found
[16:01:03] <Lambda_Aurigae> coded1, nt 4.0 was the most stable of all microsoft's gui operating systems.
[16:01:13] <coded1> I started with DOS 3.2 in the mid 80's
[16:01:17] <Lambda_Aurigae> TechChristoph_, hard to find the "original"
[16:01:24] <TechChristoph__> ok
[16:01:28] <TechChristoph__> mhm
[16:01:38] <coded1> my trusty old 8088 8MHz and 640K of ram goodness
[16:02:05] <Lambda_Aurigae> coded1, I have a pair of fully functional commodore vic-20 machines.
[16:02:12] <coded1> wow
[16:02:15] <Lambda_Aurigae> 1MHz 6502 processor with 5K of ram.
[16:02:28] <coded1> that's a throw back
[16:02:40] <Lambda_Aurigae> I play games on them still.
[16:03:02] <Lambda_Aurigae> hook them up to the projector and play omega race and lunar lander on a 15 foot diagonal screen with 1inch square pixels.
[16:03:19] <coded1> the 6502 is still alive this day, I think you can buy it in a DIP package for like $10
[16:03:33] <antto> stop playin around and fix these printers! ;P~
[16:04:02] <Lambda_Aurigae> coded1, not sure those can be bought anymore new...but there is an advanced version of the 6502 available...not in dip though.
[16:04:18] <TechChristoph__> i go to bed
[16:04:27] <TechChristoph__> good night
[16:04:28] <Lambda_Aurigae> http://www.tech-faq.com/where-to-download-unix.html
[16:04:32] <Lambda_Aurigae> nighters TechChristoph_
[16:04:47] <TechChristoph__> thanks Lambda_Aurigae for the link
[16:04:58] <Lambda_Aurigae> http://www.unix.org/
[16:05:06] <coded1> http://www.ebay.com/bhp/6502-cpu
[16:05:09] <coded1> :)
[16:05:19] <coded1> $5
[16:05:36] <Lambda_Aurigae> coded1, I doubt those are current production.
[16:06:39] <coded1> still cool how something that used to cost > $1000 is now a couple of bucks
[16:06:49] <Lambda_Aurigae> yup.
[16:07:41] <Lambda_Aurigae> I actually fell into AVR because of its assembly similarities with the 6502...
[16:07:54] <Lambda_Aurigae> I learned 6502 assembly back in 1984.
[16:08:12] <coded1> that was almost around the time I started on BASIC
[16:08:26] <coded1> didn't get into assembly until the early 90s
[16:08:44] <coded1> on my blazing fast 48625-SX
[16:08:46] <Lambda_Aurigae> I was doing basic on apple-II and trs-80 in 1981 or 1982 or so.
[16:08:59] <coded1> with 4MB of RAM!
[16:09:06] <Lambda_Aurigae> MB...bah
[16:09:16] <Lambda_Aurigae> try working with 5KB of ram.
[16:09:29] <coded1> depends on what you're doing ;)
[16:09:31] <Lambda_Aurigae> a computer with less processing power than an attiny85.
[16:10:07] <coded1> the 486 was 32bit
[16:10:12] <Lambda_Aurigae> yup.
[16:10:26] <antto> wow.. so many bits..
[16:10:28] <coded1> the attiny is 8bit isn't it?
[16:10:30] <Lambda_Aurigae> x86 is horribly backward compatible too.
[16:10:35] <coded1> true
[16:10:44] <Lambda_Aurigae> yes, avr attiny and atmega are 8bit.
[16:10:53] <antto> and xmega ;P~
[16:10:54] <Lambda_Aurigae> atxmega is almost 16bit I think..
[16:11:06] <Lambda_Aurigae> it's 8bit with 16bit wannabe issues.
[16:11:25] <antto> uh.. i haven't noticed
[16:11:49] <antto> it's like a better organized atmega
[16:11:58] <Lambda_Aurigae> I haven't worked with it,,,just what I've seen in bits and pieces of datasheets I've read.
[16:12:41] <coded1> From my limited reading of the 328p data sheet I think the chip can Address 16 bits but not operate them in one Clock
[16:12:49] <Lambda_Aurigae> going up from the atmega chips I jumped ship and went to the pic32 series.
[16:18:01] <Lambda_Aurigae> far more powerful chip, hardware usb, able to execute code from flash or sram, in a dip package that's breadboard friendly.
[16:23:23] <Lambda_Aurigae> aaand, time to make more sawdust...glue should be setup on the door now.
[16:42:25] <julius> hi
[16:43:54] <Emil> Hello
[16:45:01] <Emil> Does anyone have a good guide to using the nrf24l01+? Like the good parts of what to shout to it to get it working (the actual data bytes)?
[17:08:07] <m3chanical> Emil, I've only used the NFR24 libraries for the arduino so I don't think I'll be any help. However, I do recall seeing a few AVR libraries tossed around on avrfreaks.net
[17:08:35] <m3chanical> The datasheet for the NRF24 is a huge help as well
[17:08:58] <m3chanical> At the end it has all the commands used to transfer data, receive, etc. all through the SPI
[17:16:19] <Emil> m3chanical: trying to avoid reading the datasheet :D
[17:16:24] <Emil> but I found a couple of good sites
[17:23:06] <LeoNerd> Emil: The datasheet is good. Also I have a bunch of code on ATtiny that works nicely
[17:23:25] <Emil> LeoNerd: I know but it's still tedious :D
[17:23:37] <Emil> if you'd like to share that code I'd appreciate it!
[17:24:00] <Emil> Probably end up writing my own thing but looking for references
[17:24:23] <Lambda_Aurigae> read the datasheet.
[17:24:26] <Lambda_Aurigae> it's worth the read.
[17:24:34] <LeoNerd> Yup, definitely
[17:25:02] <LeoNerd> If you have specific questions after that then try asking in here... highlight me if you want
[17:26:36] <Lambda_Aurigae> http://www.tinkerer.eu/AVRLib/nRF24L01/
[17:27:02] <Lambda_Aurigae> I also don't mind helping but you gotta do the homework first.
[17:27:18] <m3chanical> Becoming proficient in reading datasheets is a huge benefit to learning how to use AVRs.
[17:27:49] <m3chanical> I feel like one does a disservice to themselves by avoiding it
[17:27:50] <Lambda_Aurigae> heck, it's beneficial in using any electronic devices...microcontroller or otherwise.
[17:27:58] <m3chanical> Truly
[17:28:24] <Lambda_Aurigae> first datasheet I ever read was on the 741 opamp
[17:28:30] <Lambda_Aurigae> in the late 70s
[17:29:09] <apo_> mine was the atmega8's, I think
[17:29:18] <apo_> But I'm young, I only started 10 years ago ;)
[17:30:11] <apo_> and yeah, you won't get far without the datasheet
[17:30:18] <apo_> unless you have an IRC channel to spoonfeed you
[17:30:36] <Lambda_Aurigae> I prefer to teach people to learn rather than hand them all the answers.
[17:31:59] <m3chanical> I think that's wise. I've noticed many people seem to have the notion that "learning is hard," or that they simply don't know how to do it
[17:32:09] <Lambda_Aurigae> m3chanical, yup...
[17:32:24] <m3chanical> Makes me recall a Muad'dib quote I really enjoy
[17:32:41] <Lambda_Aurigae> because our schools don't teach kids how to learn...they teach kids how to memorize data.
[17:32:58] <m3chanical> It's upsetting >.>
[17:33:28] <m3chanical> Ah, here it is: "Muad'Dib learned rapidly because his first training was in how to learn. And the first lesson of all was the basic trust that he could learn. It's shocking to find how many people do not believe they can learn, and how many more believe learning to be difficult. Muad'Dib knew that every experience carries its lesson."
[17:33:43] <Lambda_Aurigae> which is why I teach electronics, microcontrollers, and robotics to kids in the summer as a funzie project.
[17:34:16] <m3chanical> And another one I like: "I hear and I forget. I see and I remember. I do and I understand"
[17:34:18] <m3chanical> Anyway...
[17:34:18] <Lambda_Aurigae> only have 3 signed up for this summer so far...usually I have twice that by now.
[17:34:28] <m3chanical> That sounds like lots of fun
[17:34:33] <m3chanical> I bet the kids love it
[17:34:49] <Lambda_Aurigae> it's all voluntary, so, yeah.
[17:35:50] <Lambda_Aurigae> I don't charge anything and get a lot of free samples and free bits-n-pieces from work and by dumpster diving and such.
[17:37:10] <Lambda_Aurigae> I just got 9 identical okidata microline 320 printers to use for building a 3d milling machine this spring.
[17:37:29] <Lambda_Aurigae> lots of good motors and precision positioning system and solid rails and such.
[17:37:50] <m3chanical> sounds like quite a project
[17:37:55] <Lambda_Aurigae> should be.
[17:38:11] <Lambda_Aurigae> I've never gotten that many identical machines before.
[17:38:19] <Lambda_Aurigae> they were being thrown out by a bank, one of my customers.
[17:38:33] <Lambda_Aurigae> I offered to haul them off for free rather than them taking up dumpster space.
[17:38:54] <m3chanical> wow nice.
[17:39:33] <Lambda_Aurigae> fixing copiers and printers for a living makes for good scavenging.
[17:40:04] <m3chanical> I bet. Probably lots of good stuff for a milling machine. or 3d printer, i suppose
[17:40:22] <Lambda_Aurigae> pretty much the same basic frame with different head.
[17:40:43] <Lambda_Aurigae> in fact, I plan on doing exactly that,,,making both milling and printing heads.
[17:45:32] <m3chanical> That's pretty cool. My fiancee and I are presently saving up for a new 3D printer. Our last one required about 80% maintenance, 20% printing. Tinkering is fun, but I want to print stuff. I want to be able to print cases for the random AVR stuff I make
[17:45:58] <Lambda_Aurigae> I'm also collecting the stuff to make an extruder.
[17:46:24] <Lambda_Aurigae> I've done some experiments with various materials and found that milk jugs make decent meltable plastic...
[17:46:41] <Lambda_Aurigae> I can get hold of 8 to 10 milk jugs a week easily.
[17:47:18] <Lambda_Aurigae> wash good, cut out the section with the label, then run the rest through a heavy crosscut shredder(acquired from work with a bad motor)
[17:47:38] <m3chanical> fascinating. does that render it extrudable?
[17:48:07] <Lambda_Aurigae> melt and run through an extruder to make filament.
[17:48:22] <Lambda_Aurigae> that's my plan anyhow.
[17:48:57] <Lambda_Aurigae> I have a couple of 30 gallon garbage bags full of shredded milkjugs already.
[17:49:56] <Lambda_Aurigae> just have to make the extruder and printer now.
[17:51:23] <Lambda_Aurigae> my shredder doesn't have any safety on it anymore...I did a bad thing.
[17:51:29] <Lambda_Aurigae> put a weedwacker motor on it.
[17:57:45] <Emil> Lambda_Aurigae: image dying now :D someone just goes "why the fuck did he have a 30 gallon garbage bag full of shredded milkjugs
[17:57:56] <Lambda_Aurigae> hehe
[17:58:01] <Lambda_Aurigae> much less 2 of them.
[17:58:22] <Emil> oh lawd :D
[17:58:24] <Lambda_Aurigae> goes along with the 1 pound bottle of medical grade mercury.
[17:58:46] <Lambda_Aurigae> that's in an upper drawer way in the back.
[17:58:53] <Emil> bonk is best, bonk is life, bonk is universal.
[17:58:59] <Lambda_Aurigae> bonk?
[18:00:04] <Emil> Lambda_Aurigae: I'm not sure where the term comes originally and I'm having a hard time explaining it properly :D
[18:00:26] <Lambda_Aurigae> seeing something about "the curious coupling of science and sex"
[18:00:29] <Lambda_Aurigae> on google.
[18:01:19] <Emil> but (in Finnish) bonk (or actually bonkki) it means everything you can collect, dumbster dive, get inexpensively that you kind of want
[18:01:32] <Emil> of course there's good bonkki and bad bonkki
[18:01:35] <Lambda_Aurigae> scavenging
[18:01:48] <Emil> yeah, scavenge
[18:02:00] <Lambda_Aurigae> I'm a master scavenger
[18:02:12] <Lambda_Aurigae> been doing it as long as I can remember.
[18:02:43] <Lambda_Aurigae> first electronic scavenging was a radio when I was 8 years old...I dug it out of the garbage and fixed it,,,after my father had tried to fix, failed, and threw it away.
[18:03:09] <Emil> yeah but it's not the act of scavenging :D it's still bonk even after you have scavenged it
[18:03:15] <Emil> and there's a negative connotation to it, also
[18:03:23] <Emil> like, "too much bonk"
[18:03:31] <Lambda_Aurigae> junk collector
[18:03:52] <Lambda_Aurigae> that's me.
[18:03:54] <Emil> but it's not junk :D it's bonk
[18:04:04] <Lambda_Aurigae> it is,,,,STUFF
[18:05:37] <Emil> The bonk field never goes to zero but the bonk constant varies with location. It's usually abnormally high in close proximity to universities.
[18:05:37] <Lambda_Aurigae> I have a 48 x 24 foot shed full of STUFF
[18:06:04] <Lambda_Aurigae> and about half that much of a basement too.
[18:07:04] <Lambda_Aurigae> every bit of it has a use, if I ever get around to using it.
[18:07:14] <Lambda_Aurigae> I do, slowly.
[18:07:24] <Lambda_Aurigae> mostly I collect stuff faster than I use it though.
[18:07:34] <Emil> Yap
[18:10:53] <Lambda_Aurigae> used half my supply of heavy duty drawer slides in the last 3 weeks though.
[18:11:11] <Lambda_Aurigae> building an island for the kitchen with lots of drawers.
[18:12:32] <Lambda_Aurigae> need to find another source of them but they are hard to find cheaply.
[18:16:51] <m3chanical> disappeared for a bit - Lambda_Aurigae, i'd certainly like to hear how your 3d printer / milling machine adventures go. it sounds like a brilliant 'ol time
[18:45:47] <Lambda_Aurigae> it will be a fun adventure.
[18:45:59] <Lambda_Aurigae> I plan on recording it for posterity,,,and laughs.