#avr | Logs for 2013-03-02

Back
[00:00:51] <Casper> actually, it does follow it too well
[00:05:32] <Funklord> Casper: have you shorted D+ and D- ?
[00:06:00] <Casper> my 2 chargers don't work with it
[00:14:30] <Funklord> just tried it, it's one of those crappy devices that needs constant usb communication to charge
[00:17:51] <Funklord> well, at least these controllers are standard compliant in every other conceivable way
[00:18:01] <Funklord> small price to pay
[00:18:52] <Casper> it's probably only so they can sell their own charger
[00:18:56] <Funklord> Casper: you can get cheap chargers for PS3 from dealextreme
[00:19:00] <Casper> which is quite annoying
[00:19:12] <Funklord> I use one
[00:19:26] <Casper> mind you... they don't sell charger with wires... they sell charging station that only accept some type of controls...
[00:20:28] <Casper> I would basically need 3 bases...
[00:21:10] <Funklord> Casper: mine has a place for two controllers at the top and two usb ports for charging any PS3 peripheral
[00:22:07] <Casper> interresting
[00:22:34] <Casper> (but if I install that... I'll need a third powerbar or something...)
[00:22:47] <Casper> too many wires... and plugs...
[00:23:02] <Casper> hi das bear
[00:24:35] <Funklord> hmm.. seems they don't sell mine anymore
[00:24:51] <creep> Casper<< just disconect the +5V and connect your adapter.
[00:24:52] <Funklord> but there's bound to be similar ones
[00:25:16] <creep> an usb charger adapter will do
[00:25:47] <Casper> creep: the usb charger do not work with sony's controllers...
[00:25:56] <creep> 5V ?
[00:26:12] <creep> i know sony is retarded btw
[00:26:17] <Casper> it require an usb host that allow the charge
[00:26:37] <creep> what kind of sony usb device you have?
[00:26:46] <Casper> ps3 controllers
[00:27:12] <creep> it is pc compatible?
[00:27:43] <creep> why are you hacking it?
[00:28:06] <Casper> did I said I was hacking it?
[00:28:11] <creep> yes
[00:28:13] <Casper> and I can charge on pc
[00:28:15] <Casper> and no I did not
[00:28:45] <creep> i don't know what you are talking about now
[00:28:59] <creep> totally lost
[00:29:33] <Casper> I was saying if someone know if anybody succeded to enumerate many usb devices thru a hub on non-native usb devices
[00:29:42] <Casper> like a plain atmega8
[00:30:17] <creep> an usb hub would require much more processing power i think.
[00:30:43] <creep> and you can get an usb hub for like $3
[00:31:11] <Casper> I do have the hub
[00:31:33] <Casper> I just don't have an "enumerator" to connect it as a host
[00:31:40] <Casper> that would allow the current on all port
[00:32:26] <creep> use a piece of wire to "allow" current then.
[00:32:35] <creep> preferably solder them
[00:33:36] <creep> or make it allow current from an 5V external adapter
[00:33:38] <Casper> you don't understand usb at all don't you?
[00:33:56] <creep> ok i'm gone bye
[00:41:42] <Funklord> Casper: why don't you just get this and plug it into your usb charger? http://dx.com/p/usb-charging-cradle-dock-for-dual-ps3-remote-controls-move-controls-black-103570
[00:42:59] <Funklord> or just strip the innards and build whatever you need
[04:17:15] <Xiph> Hi, can anyone tell me if I can leave RO-pin on MAX485 unsoldered if I don't want to receive any data anyway?
[04:17:50] <Xiph> currently connected to USART rx on my xmega
[04:18:05] <Xiph> afraid that it will put 5V to it
[07:00:47] <grummund> Xiph: sure
[07:01:52] <grummund> Xiph: or you could connect via a series resisistor if you are afraid that the avr pin might accidentally be configured as output
[10:37:32] <moushira> Hola, I need some help with setting up avr tools on linuxmint11. Anyone would like to help with troubleshooting?
[10:40:21] <Tom_itx> wtf is that?
[10:43:08] <moushira> meaning setting up and installing gcc.
[10:44:48] <Tom_itx> http://www.micahcarrick.com/installing-gnu-tools-avr-gcc.html
[10:45:29] <Tom_itx> http://www.tldp.org/HOWTO/Avr-Microcontrollers-in-Linux-Howto/x207.html
[10:46:10] <Tom_itx> http://www.ladyada.net/learn/avr/setup-unix.html
[10:47:28] <moushira> Yes, am following the ladyada steps..but I have a configuration problem.
[10:48:23] <Tom_itx> ask more specific quesionts
[10:48:31] <Tom_itx> ask more specific questions
[10:53:21] <moushira> when I try to configure gcc for avr
[10:53:47] <moushira> it asks for extra packages mpc gmp and mpfr
[10:54:06] <moushira> i install them , but still problem persists
[10:54:27] <Tom_itx> someone here will help if you hang around long enough
[10:55:02] <LoRez> the ladyada steps? is 'apt-get install build-essential gcc-avr' not enough?
[10:56:06] <moushira> nope
[10:56:19] <LoRez> should be pretty damn close. you might want avrdude too
[10:56:49] <LoRez> what version of debian is mint11 based on?
[10:57:05] <moushira> I have arduino IDE installed to the avrdude is there, but can't compile from terminal. Might be a root access problem?
[10:57:26] <LoRez> no. you don't need to be root to compile, unless you've f'd up your permissions on your source
[10:58:11] <LoRez> what's your actual problem?
[10:59:59] <moushira> trying to program avr without arduino (for the first time!). I created a small hello program and tried to compile it, but had problems
[11:00:33] <moushira> such as (hello.c:1:9: error: #include expects "FILENAME" or <FILENAME>
[11:00:56] <LoRez> well, that's a problem with your code.
[11:03:34] <moushira> ok, one step behind: now apt-get install gcc says that I have the latest version installed, same for avrdude. Is this enough or I still need to configure gcc for avr?
[11:03:53] <moushira> because this is where I stopped with @ ada steps..
[11:07:00] <Malinuss> moushira, what the hell are you including, since you get that error ;D?
[11:07:24] <OndraSter> you need not just apt-get install gcc, but apt-get install avr-gcc... lol
[11:07:39] <OndraSter> or gcc-avr or whatever is the name on debian
[11:08:01] <Tom_itx> yeah, i installed it; being a total linux noob and it works
[11:08:43] <OndraSter> Tom_itx, I thought you were linux user... for some reason :)
[11:09:17] <Tom_itx> not really but i do use it for a few things
[11:09:26] <Tom_itx> linuxcnc and my server for two
[11:09:34] * moushira checking the stupid stuff she did yesterday
[11:09:40] <Tom_itx> debian and ubuntu
[11:09:56] <Tom_itx> btw, how's OndraSter been?
[11:10:10] <OndraSter> schooly...
[11:10:53] <OndraSter> we got semestral project from programming few days ago
[11:11:03] <OndraSter> I was chosen to make a "small" text based RPG game
[11:25:53] <moushira> running simple lines from gedit, I get: Gtk-WARNING **: Locale not supported by C library.
[11:26:48] <prpplague> anyone using DipTrace on a regular basis?
[11:29:03] <OndraSter> what do you use to write bigger projects in C++ on linux?
[11:29:18] <OndraSter> (I need something to prooftest my school stuff and visual studio is not the choice on linux :D)
[11:29:39] <r00t^home> moushira: you just ignore that
[11:32:15] <moushira> OndraSter, I dont use anything actually. And I wana move from Arduino IDE to avr programming. Can I compile on eclipse and use avr plugin?
[11:32:18] <moushira> would that be easier?
[11:32:30] <OndraSter> moushira, linux?
[11:32:35] <OndraSter> no idea
[11:32:43] <moushira> OK :)
[11:32:49] <OndraSter> if there is eclipse plugin - yes
[11:40:40] <Tom_itx> don't use eclipse
[11:40:58] <Tom_itx> unless you like problems
[11:42:26] <OndraSter> :D
[11:42:32] <OndraSter> Atmel Studio ... not yet beaten
[11:42:43] <OndraSter> is there any better version of Microchip's "IDE" than the v8 one?
[11:42:48] <OndraSter> it is an awful abomination
[11:42:58] <BJFreeman> OndraSter I use eclipse for all code projects including C
[11:43:06] <Tom_itx> i haven't looked at microchip stuff in years
[11:43:26] <Tom_itx> BJFreeman, first time i tried it, it locked up
[11:43:35] <OndraSter> haha
[11:43:37] <OndraSter> that is because it is java
[11:43:43] <Tom_itx> that was the last too
[11:43:45] <OndraSter> but the only option I can think of is netbeans
[11:43:48] <OndraSter> which is java too :(
[11:43:58] <BJFreeman> I run a lot of Java no problems
[11:44:08] <LoRez> just wide open security holes
[11:44:20] <OndraSter> indeed
[11:44:26] <OndraSter> that is why the java stuff is always in VM for me :)
[11:45:02] <BJFreeman> using openJDK lets me solve problems
[11:45:30] <BJFreeman> any way I am happy with it
[11:49:22] <phryk> Yay. This channel exists.
[11:50:55] <phryk> Hey there, I've built some simple hardware with 4 bright rgb leds but can't get avr-libc installed. http://npaste.de/p/vw/ This is where it fails. OS is FreeBSD, I tried building the devel/avr-libc port.
[11:51:48] <phryk> If you need any more data about this, don't hesitate to ask, have been trying to get this thing working since wednesday and have no damn clue on how I might be able to fix it.
[11:51:51] <LoRez> sounds like a #freebsd question
[11:52:24] <phryk> LoRez: Already asked in #freebsd, talked with the guys more than half an hour, nobody could help me.
[11:52:41] <phryk> #avr is my last resort, so to say.
[11:53:31] <LoRez> your build tools not building is sorta outside the scope of this channel
[11:54:02] <phryk> And where wouldn't it be?
[11:55:18] <LoRez> probably with the people that make those releases
[11:55:54] <BJFreeman> tools to build avr-libc are outside since they are distrubition specific but if arv-libc is giving you fits then that is here
[11:56:25] <phryk> LoRez: Oh right, I could mail the port maintainer…
[11:57:24] <BJFreeman> well you can keep asking and see if someone has freebsd experience
[11:57:30] <phryk> BJFreeman: Well, building it from a downloaded tarball fails too, but… differently^^
[11:58:04] <BJFreeman> mine is centos
[12:03:10] <yunta> creep: did you consider "kicad" ? I found it better than geda, but don't remember why any more :)
[12:03:45] <Funklord> phryk: sounds like you are building on some weird arch?
[12:04:39] <phryk> Funklord: This is getting built by avr-gcc. The only thing looking like it's setting the architecture says "avr2"
[12:05:01] <phryk> The arch of this machine is amd64
[12:06:16] <Funklord> kicad is very good, geda too, but since it's incomplete you still need kicad as well
[12:06:45] <Funklord> think it's better than some of the commercial offerings out there
[12:07:55] <Funklord> phryk: what arch is your system built as? x86_32? x86_64? x32?
[12:08:45] <phryk> amd64
[12:08:57] <phryk> so x86_64
[12:12:30] <Funklord> phryk: I was on the wrong track there
[12:13:34] <Funklord> phryk: clearly this seems to be a case of typical linux/bsd system incompatibility, some path that's wrong etc.
[12:14:13] <Funklord> it seems to be defining symbols twice etc. once for system and once for target.
[12:15:04] <phryk> So it fails because my laptop has different sizes for int and short?
[12:15:19] <Funklord> no, that's irrelevant
[12:15:54] <Funklord> it fails because your laptop has one size int and the AVR has a different size short
[12:16:15] <moushira> ok, so just for the records, all these links are super confusing and the command lines vary from distro to another. Best stick to the steps here http://www.instructables.com/id/How-to-get-started-with-Eclipse-and-AVR..et voila. Done.
[12:16:23] <Funklord> it's mixing up host/target definitions
[12:16:30] <moushira> Thanks for your help though, folks.
[12:17:51] <creep> yunta<< no i have sorted that out more than a year ago, and i don't have time for it now
[12:18:11] <Funklord> more confusing is the fact that anyone would willingly use eclipse
[12:18:25] <phryk> Funklord: How is that even possible o_O Don't the SHRT_MAX and INT_MAX come from some header file?
[12:19:10] <Funklord> phryk: different header files apparently, and for different cpus
[12:19:27] <creep> yunta<< btw how did you know i was coming? you saw me to arrive? ;>
[12:19:50] <Funklord> phryk: it's probably something very simple like a wrong path or variable in the initial build script
[12:20:01] <Funklord> or a name clash with the files
[12:20:11] <Funklord> *on your system
[12:22:12] <Funklord> are you sure you configured it right?
[12:22:47] <yunta> creep: coming where ? :)
[12:23:24] <creep> here
[12:23:28] <yunta> Funklord: what is missing in geda btw?
[12:23:42] <phryk> Funklord: the port configured itself, pretty much. I also tried downloading a tarball and build that, it fails too but without any kind of verbose error message, just a few [all-recursive] Error code 1
[12:24:05] <creep> yunta<< i left about 10hrs ago
[12:24:14] <phryk> So I don't know if it's the same issue…
[12:26:51] <phryk> Ah, but I can see that both fail with the avr2 thing.
[12:28:53] <Funklord> yunta: umm.. nothing, seems like pcb is part of geda now :)
[12:29:59] <creep> [143254] <DGMurdockIII> i need to make a 650nm red laser for a cancer treatment thing im doing any help where can i get a good laser or maybe even one pre built
[12:30:20] <creep> i don't use geda btw, i just draw schematics with gsch
[12:32:46] <phryk> I just mailed the port maintainer. Hopefully he can help me make this thing build…
[12:34:23] <vsync_> creep: wtf
[12:34:51] <creep> vsync_<< that was some lol from sparkfun ;>>
[12:35:03] <vsync_> is that guy for real lol
[12:35:09] <creep> probably
[12:35:17] <vsync_> wouldn't be surprised though if it's sparkfun
[12:35:23] <creep> he is gonna treat cancer with a red laser diode
[12:35:26] <vsync_> little software engineers wet dreams of electronics
[12:35:48] <vsync_> what the fuck is red laser diode
[12:36:07] <vsync_> leds come in laser flavor now? ;D
[12:36:40] <creep> that is a device emitting 650nm electromagnetic radiation in a coherent beam that can be focused down to a few micrometer spot - this is how your dvd disc is written
[12:37:07] <vsync_> ... quote?
[12:37:18] <creep> no
[12:37:24] <creep> but you can google it
[12:37:40] <vsync_> o lnow what it is
[12:37:43] <vsync_> ***
[12:37:45] <vsync_> i know
[12:38:44] <creep> so it is definitely possible to treat cancer with a laser beam powerful enough to burn tissue
[12:39:26] <creep> and cut the patients apart
[12:39:40] <vsync_> that is actually an idea
[12:39:55] <vsync_> i could start making my own medical laser stuff
[12:40:05] <creep> 500W red laser ?
[12:40:08] <vsync_> e.g. eye surgery
[12:41:21] <creep> btw 10mW of laser radiation will blind you in a second
[12:41:38] <creep> 100mW - instantly
[12:42:11] <creep> that is what guys are plawing on youtube ^^
[12:42:19] <phryk> wow the port maintainer already answered.
[12:42:19] <creep> *playing with
[12:42:45] <vsync_> creep: but you don't understand
[12:43:01] <vsync_> i'd do high freq pwm
[12:43:11] <vsync_> you oughta come to me when you start needing a cataract surgery
[12:43:29] <vsync_> though i do know, it's not treatable with laser, but you can make the slit with a laser
[12:43:44] <creep> no thanks
[12:43:55] <vsync_> why
[12:45:15] <BJFreeman> laser will coterize the cut
[12:46:01] <vsync_> oh and i changed bearings and a few other modifications on my china bldcs and now it hogs up way less current
[12:46:21] <vsync_> so i wont burn the transistors on the speed controller
[12:46:55] <vsync_> next time i'll use european bldcs if i need it for something where it actually matters how they run
[12:57:19] <creep> vsync_<< you will use european bldcs made in china ^^
[13:08:56] <vsync_> creep: nah :) there are good manufacturers still left in eu
[13:09:16] <vsync_> double prices tho
[13:14:21] <creep> vsync_<< why use a motor?
[13:14:28] <vsync_> because i need thrust
[13:14:35] <vsync_> rite?
[13:14:39] <creep> oh, why not spacetime propulsion then?
[13:15:02] <creep> warp drive
[13:15:21] <vsync_> you need negative energy
[13:15:30] <vsync_> which is kinda hard to come by with
[13:15:37] <vsync_> knowmsayin?
[13:15:37] <creep> negative mass?
[13:15:51] <vsync_> yes
[13:16:06] <vsync_> or well
[13:16:09] <vsync_> not really
[13:16:31] <vsync_> there are other ways
[13:16:48] <creep> yea just create a wormhole
[13:16:56] <vsync_> that's no warp drive
[13:17:13] <creep> step through it and ther eyou go
[13:17:31] <rue_shop2> !assist tutorials/prog/
[13:17:32] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/tutorials/prog/
[13:17:59] <creep> !assist nice young women
[13:17:59] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/nice young women
[13:18:19] <vsync_> that's cool
[13:18:38] <Horologium> get 404 on that last one.
[13:18:47] <creep> :(
[13:18:54] <vsync_> 404, young women do not exist in the internet
[13:18:56] <vsync_> anyway creep
[13:19:12] <vsync_> modern physics speculate that negative energy might be needed to maintain a stable wormhole
[13:19:41] <vsync_> though also, that it might render unstable nevertheless when one would enter
[13:20:04] <creep> a black hole is quite stable for example
[13:20:19] <Horologium> I prefer inertial induction...good stable reactionless drive.
[13:20:44] <vsync_> yes but we are talking wormholes not just black holes
[13:21:58] <vsync_> anyway, point being, motors are needed
[13:22:13] <vsync_> it's funny how they are brushless dc because in reality they are kinda ac
[13:22:28] <creep> they are the same, AC :(
[13:22:40] <creep> but run off a DC source
[13:22:54] <vsync_> true but still
[13:23:09] <creep> no, still bothe requires commutation
[13:23:48] <creep> proper excitation of electromagnetic fields to create angular acceleration
[13:24:40] <creep> a bldc is just not brush commutated, it is electronically commutated
[13:27:40] <vsync_> yes, and?
[13:28:00] <vsync_> that's beside the point
[13:50:09] <creep> haha http://hem.bredband.net/bersyn/VCO/vco_complex.htm
[13:50:35] <creep> check out the board pics
[14:02:34] <BJFreeman> Yes DC source that is changed via PWM to AC
[14:09:36] <BJFreeman> the tricky part is to know where the rotar is, phase wise, to the stator
[14:09:38] <rue_mohr> someone making a vco?
[14:40:27] <creep> rue_shop2<< for what ? no, but i made one a few weeks ago
[14:56:11] <rue_house> ah
[14:56:53] <rue_house> recycling!
[14:56:57] * Horologium wants to wget rue_house's site.
[15:09:06] <Steffanx> You think he is going to stop you Horologium :)
[15:09:37] <Tom_itx> i've got most of it
[15:09:58] <Tom_itx> except the last 3 yrs or so
[15:10:08] <Steffanx> time for an update Tom_itx
[15:12:14] <Horologium> he might.
[15:12:32] <abcminiuser_> So who wants to see some horrible hacky code?
[15:12:39] <Horologium> not knowing his bandwidth limitations and all, I wouldn't want to just suck it all down and overload him.
[15:12:42] <Horologium> mememe!
[15:12:45] <abcminiuser_> http://pastebin.com/z1YL2TWa
[15:13:09] * abcminiuser_ waits for someone to identify it...
[15:13:46] <abcminiuser_> (ignore comments - they are left over from the LUFA demo I hacked this into)
[15:14:01] <Horologium> not digging that deep into it but I've seen worse.
[15:14:09] <abcminiuser_> Guess what it does....
[15:14:14] <Steffanx> I know it abcminiuser_
[15:14:19] <Steffanx> everyone who follows you on twitter does
[15:14:29] <abcminiuser_> Steffanx, don't give away the suprise
[15:14:40] <abcminiuser_> Wait, people read that??
[15:14:51] <Tom_itx> just Steffanx
[15:15:06] <Steffanx> When I am bored in the train back home..
[15:15:12] <Tom_itx> usb printer bootloader
[15:15:17] <abcminiuser_> Tom_itx, you told :P
[15:15:23] <Tom_itx> no
[15:15:25] <Tom_itx> i can read
[15:15:30] <abcminiuser_> It bloody works, on Windows and Linux
[15:15:32] <abcminiuser_> Plug and play
[15:15:42] <abcminiuser_> Literally print your HEX file to it, and voila
[15:15:54] <Tom_itx> on xmega?
[15:16:10] * Tom_itx waits for it..
[15:16:28] <Steffanx> The code doesn't look very xmega specific ..
[15:16:42] <Steffanx> And lufa doesn't support xmega, sooo.. :P
[15:16:49] <abcminiuser_> Nei, mega
[15:16:57] <abcminiuser_> Steffanx, it's supported, but experimental
[15:17:01] <einball> someone did a shoutout? :>
[15:17:02] <Steffanx> So not supported
[15:17:09] <abcminiuser_> Highly, highly experimental
[15:17:17] <abcminiuser_> einball, holy crap that was quick
[15:17:27] <einball> abcminiuser_: Well, yes ... kinda
[15:17:27] <Steffanx> You can't repeat that often enough can you?
[15:17:45] <abcminiuser_> Steffanx, no, not after the support thread on it...
[15:17:45] <einball> abcminiuser_: I'm alone and depressed and have nothing else to do
[15:17:53] <abcminiuser_> einball, you've come to the right place then
[15:18:00] <abcminiuser_> We're all poking fun at my new abomination
[15:18:05] <Tom_itx> for what?
[15:18:21] <abcminiuser_> Tom_itx, check Twitter
[15:18:22] <Steffanx> are you one hackaday yet abcminiuser_ ?
[15:18:24] <einball> your new what? Did you get dirty with avr cpus abcminiuser_ ?
[15:18:55] <abcminiuser_> Steffanx, I'm going to do a LUFA beta release tomorrow to mark the Atmel Studio 6.1 extension release, then do a write up and submit to Hackaday
[15:19:00] <abcminiuser_> einball, http://pastebin.com/z1YL2TWa
[15:19:31] * einball is too dumb to be able to understand lufa or usb at all
[15:19:35] <Horologium> how reliable is that thing abcminiuser_ ?
[15:19:42] <Horologium> and how much space does it take up?
[15:19:49] * einball is only a small light on a huge sky
[15:20:10] <abcminiuser_> einball, it's a bootloader....that appears to the host as a printer. You "print" a hex file to it and it load it into the chip
[15:20:16] <abcminiuser_> Horologium, suprisingly very, and 3KB
[15:20:18] <einball> oh okay
[15:20:22] <abcminiuser_> 3106 bytes at the moment
[15:20:25] <Horologium> kewl...might have to play with it.
[15:20:39] <Tom_itx> abcminiuser_, did you see rue's BF code for avr?
[15:20:53] <Steffanx> How fast is it and does it make the good old matrix printer sound abcminiuser_ ?
[15:20:57] <abcminiuser_> Oh whoops, still got the debug serial code linked in
[15:21:05] <abcminiuser_> 2946 bytes rather
[15:21:09] <abcminiuser_> Tom_itx, no?
[15:21:17] <Tom_itx> http://hackaday.com/2013/02/27/interpreting-brainfk-on-an-avr/
[15:21:20] <abcminiuser_> Steffanx, suprisingly it's faster than DFU
[15:21:27] <abcminiuser_> Really, really fast
[15:21:29] <Steffanx> wut
[15:21:44] * einball never used DFU either because it is too complex for me :P
[15:22:03] <abcminiuser_> I'll comment it and then commit so people can play with it -- BUT DON'T PUT IT IN A SHIPPING PRODUCT
[15:22:11] <abcminiuser_> einball, new AVR user?
[15:22:14] <Horologium> abcminiuser_, how are you sending the print job? with lpr or something?
[15:22:40] <abcminiuser_> Yeah only works with lpr under Linux (cat MyFile.hex | lpr) but Windows I print from Notepad
[15:22:58] <einball> abcminiuser_: not really. I just don't do very much programming because I don't like sitting in front of the computer all day. I already do so studying ...
[15:23:02] <abcminiuser_> Apparently Linux apps don't like printing to a text only printer device, so CUPS rejects it
[15:23:16] <abcminiuser_> Aww programming's fun
[15:23:20] <einball> not really
[15:23:23] <einball> It was back then
[15:23:25] <abcminiuser_> Sadface
[15:23:46] <abcminiuser_> einball, "back then"?
[15:23:48] <Tom_itx> abcminiuser_, http://eds.dyndns.org/~ircjunk/tutorials/prog/avrbf/main.html
[15:23:56] <einball> html -> php -> Python -> C -> Cpp -> java -> lisp -> resignation
[15:24:20] <einball> I learned them in this order when I was 13 I learned html.
[15:24:34] * einball slaps himself because he did not use any punctuation
[15:24:47] <Horologium> let's see.
[15:24:49] <Horologium> in order,,
[15:25:19] <abcminiuser_> Tom_itx, bwahahaha
[15:25:21] <einball> I'm at that point where I don't know what to do with my life in the future
[15:25:49] <abcminiuser_> einball, LISP would definetely prompt me to resign from whatever job I had
[15:25:57] <Horologium> basic-trs80, basic-apple, basic-vic20, assembly(6502 on apple and vic), pascal, fortran, C, ADA, C++, JAVA, and everything else....
[15:26:12] <Tom_itx> english?
[15:26:14] <Horologium> somewhere in there was COBOL too.
[15:26:18] <einball> lisp was back then in school .. I should mention that I also learned delphi
[15:26:20] <abcminiuser_> Day-um, way to make me feel the yong'un here
[15:26:29] * einball is no older than 20
[15:26:34] <abcminiuser_> ((((((((def-fun sadface)))))))))))))))))))))))
[15:26:50] <Horologium> I started programming at the age of 13...32 years ago.
[15:27:21] <abcminiuser_> I think most programmers start early
[15:27:22] <Steffanx> Ha grandpa!
[15:27:28] <Horologium> damned right!
[15:27:29] <abcminiuser_> At least, the ones that enjoy programming
[15:27:31] <Horologium> and get off my lawn!
[15:27:34] <Tom_itx> Steffanx ?
[15:27:58] <einball> abcminiuser_: how old are you?
[15:28:03] <abcminiuser_> xoriath, authenticate: Is this Spain?
[15:28:06] <abcminiuser_> einball, 24
[15:28:13] <Tom_itx> abcminiuser_ should update his age on his page
[15:28:19] <einball> abcminiuser_: so not significant older than me ... You are also an EE student?
[15:28:21] <abcminiuser_> Tom_itx, which one?
[15:28:28] <abcminiuser_> einball, Atmel employee
[15:28:42] <Tom_itx> oh i guess you did
[15:28:47] <Steffanx> I was talking to mr Horologium, not you Tom_itx :)
[15:28:49] <einball> That makes me feel quite uncomfortable ..
[15:29:09] <Tom_itx> einball, abcminiuser_'s just a crazy aussie
[15:29:15] <OndraSter> :P
[15:29:20] <Malinuss> Tom_itx, wait, that hack a day were your project?
[15:29:21] <OndraSter> abcminiuser_, wow you are not that much older than me
[15:29:26] <OndraSter> I was expecting 26 or 27
[15:29:27] <Tom_itx> Malinuss, no
[15:29:28] <Malinuss> Tom_itx, or just using your programmer?
[15:29:29] <einball> Everybody around me evolves and I'm stuck in university learning not a damn thing about the real world.
[15:29:30] <Tom_itx> rue_mohr
[15:29:41] <abcminiuser_> How old did you all *think* I was?
[15:29:46] <OndraSter> 26/27 :)
[15:29:59] <OndraSter> einball, I have got 2nd semester at uni -- my semestral programming project (C++) is RPG text game...
[15:30:05] <xoriath> 18
[15:30:09] <Tom_itx> old enough to belly up to a Norwegian pub
[15:30:15] <OndraSter> hehe
[15:30:20] <OndraSter> I can't go this summer to the US
[15:30:23] <OndraSter> I would not be allowed to drink a beer!
[15:30:31] <einball> OndraSter: Whow .. As an electrical engineer I learned nothing new in those two semesters.
[15:30:34] <Steffanx> and you need beer? OndraSter ?
[15:30:35] <OndraSter> but in the winter - sure!
[15:30:44] <OndraSter> Steffanx, being a czech -- yes, I need a beer
[15:31:00] <einball> Tom_itx: I know him thru twitter.
[15:31:42] <Tom_itx> you claim to know him?
[15:31:53] <Steffanx> Hey, this is 2013 Tom_itx
[15:32:02] <einball> Not in person.
[15:32:07] <Steffanx> when you follow someone on twitter you KNOW that person
[15:32:10] * Tom_itx is just messin
[15:32:16] <Steffanx> That's how it works nowadays
[15:32:22] <einball> I know so many awesome people >_>
[15:33:05] <abcminiuser_> einball, plus me
[15:33:19] <einball> Steffanx likes sarkasm, doesn't he?
[15:33:31] <abcminiuser_> einball, Twitter handle?
[15:33:31] <einball> abcminiuser_: you are one of those awesome
[15:33:35] <einball> same
[15:33:59] <Steffanx> isn't that how irc works einball ?
[15:34:42] <abcminiuser_> einball, oh god, you use VHDL
[15:34:46] * abcminiuser_ is getting flashbacks
[15:34:58] <einball> Steffanx: IRC is a standard for communication and not for sarcasm
[15:35:06] <abcminiuser_> ARCHITECTURE X IS PORT()
[15:35:16] <creep> abcminiuser_<< too much LSD ?
[15:35:20] <einball> abcminiuser_: nope, I don't .. I need to learn it for a new semester ... But I really don't want to, because it's boring
[15:35:46] <abcminiuser_> einball, same here - I like the way I could "program" hardware (although the parallelism broke my brain)
[15:35:59] <abcminiuser_> It's just that, well, hardware description languages are all hideous
[15:36:10] <abcminiuser_> VHDL from my University, and the Verilog at work
[15:36:13] * abcminiuser_ shudders
[15:36:23] <Malinuss> creep, saying you get flashbacks from LSD is like claiming going to war will give you flashbacks...
[15:36:37] <einball> It's not even that I don't like VHDL or Verilog. It just became so boring to sit in front of my pc and not doing a damn thing .. not getting anything done .. working without achieving something.
[15:37:18] <abcminiuser_> I prefer that more than anything
[15:37:20] <creep> Malinuss<< it can be stored in your fat and eventually get back into your bloodstream
[15:37:29] <abcminiuser_> But thanks to the internet, I get nothing done these days
[15:37:34] <abcminiuser_> Stupid Reddit :(
[15:37:43] <einball> I was all positive about EE when I started. After I started to study and everybody got a job and has fun I feel like I did the wrong thing.
[15:37:48] <Malinuss> creep, hahahaha my sides into space
[15:38:01] <Malinuss> creep, did a 8 year old tell you that ;D?
[15:38:23] <creep> Malinuss<< i didn't ask id ;< maybe 6
[15:38:56] <Tom_itx> abcminiuser_, you don't like vhdl?
[15:39:22] <Malinuss> creep, guess he just got his minor in toxicology, eh ;D?
[15:39:50] <abcminiuser_> Tom_itx, I like the idea, it's just that it's more verbose than freaking JAVA, yet so damn awkward to use
[15:40:21] <abcminiuser_> I realise I'm describing hardware with it, but it's still damned, damned ugly code no matter what you do with it
[15:40:41] <abcminiuser_> Ok guys, we have a lurker here by the name of Morten
[15:40:44] <abcminiuser_> FIND HIM
[15:41:10] <Malinuss> Morten? Sounds danish
[15:41:15] <creep> Malinuss<< ok does this sound legit ? http://www.lsdaddiction.us/content/acid-flashbacks.html
[15:41:23] <abcminiuser_> He's a Linux hippy
[15:41:30] <Horologium> hmmmm...LSD in the koolaid at a good holy roller southern baptist revival!
[15:41:34] <abcminiuser_> But he works with me, so I'll forgive him for it
[15:41:40] <Tom_itx> ~morten@unaffiliated/mo519
[15:41:55] <abcminiuser_> Ah, found him
[15:42:02] <abcminiuser_> Hey Morten, lange tid no see deg
[15:42:10] <Malinuss> creep, dat name"lsdaddiction"... implying you can even actually get addicted to lsd ;D my sides
[15:42:17] * einball gets back to the birthdayparty he should be and tries to play happy.
[15:42:35] <creep> Malinuss<< i have no idea, humans can get addicted to anything...
[15:42:42] <abcminiuser_> Tom_itx, hviken heter er han?
[15:43:43] <Tom_itx> hviken?
[15:44:34] <abcminiuser_> Sorry, I wanted to know his username
[15:44:40] <Tom_itx> dunno
[15:44:41] <abcminiuser_> He's xoriath, everybody get him
[15:45:08] <Malinuss> creep, because, lets say you really like playing world of warcraft, that doesn't make you an addict, you are not "really" addicted.. Otherwise you could conclude that everyone is addicted to a almost unlimited number of things, and the word stops making sense. Neverless - I never stated that you can't get "flashbacks" after experiencing a LSD trip. But it just doesn't make sense to make that conclusion
[15:45:14] <Tom_itx> sure?
[15:45:50] <creep> you are all addicted to eating, breathing...!
[15:46:53] <abcminiuser_> Bacon
[15:46:54] <Malinuss> creep, yeah exactly, if that what you define as addiction - it won't make sense.. Especially not when talking about drugs, where there is actually a physiological thing called adduction
[15:47:02] <Horologium> Malinuss, that happens all the time...people claim to be addicted to everything under the sun these days.
[15:47:22] <Malinuss> "I'm addicted too food that's why I'm fat"... nope
[15:47:54] <creep> i'm eating brown rice right now
[15:48:03] <creep> tastes like corn
[15:48:25] <creep> even smells like corn
[15:49:15] <Malinuss> maybe it's just brown corn?
[15:49:59] <creep> maybe it is GM rice :(
[15:50:43] <creep> or GM corn, looking like rice
[15:51:24] <OndraSter> http://www.youtube.com/watch?v=-wgLmWT0m_A
[15:51:26] <OndraSter> that dude
[15:52:54] <Malinuss> creep, haha I saw a interview in the news one day, the reporter were asking people about their opinion on GM food. And a women stated "I don't wanna eat no food or feed my children with food, with genes in it!".. Pretty much sums up all the people against GM ;D
[15:53:05] <BJFreeman> Malinuss there are many forms of addiction and each is dealt with differently
[15:53:50] <creep> Malinuss<< no, it just sums up humans in general :)
[15:54:10] <Malinuss> I did laugh though
[15:55:48] <creep> Malinuss<< humans will buy your cookies if you paint them green, yellow, pink... just because their color even if they didn't want to eat a cookie
[15:56:58] <creep> food test -> fail
[15:58:02] <creep> animals eat more food than humans i'm sure
[15:59:00] <Malinuss> Tom_itx, I didn't know your programmer was so popular btw. ;P
[16:01:08] <Tom_itx> the hackaday thing?
[16:01:13] <Tom_itx> that's just rue
[16:02:47] <Malinuss> Tom_itx, oh rue_bed ?
[16:02:50] <creep> "Excess Food" hahaha
[16:03:39] <Tom_itx> rue_something
[16:03:48] <Malinuss> I see hehe
[16:04:57] <creep> what is the simplest cheapest switched mode led driver you know for 1-10W led ? input = 10V-20V
[16:11:35] <creep> Malinuss<< they put talc in candy ^^
[16:12:31] <creep> http://en.wikipedia.org/wiki/Baby_powder
[17:04:56] <turutk> i am making a 24x16 led matrix. when i set ocr1a below a number no leds light up. i cannot see why
[17:06:13] <einball> turutk: LED treshold voltage maybe
[17:08:07] <turutk> when it was a 24x8 matrix it was working fine. then i added more less and decreased ocr and now it doesn't work
[17:08:50] <einball> did you put those leds in series?
[17:09:12] <turutk> i used 8x8 dot matrixes
[17:09:13] <einball> uhm .. nevermind .. I'm too tired to troubleshoot problems
[17:09:37] <turutk> thanks anyway
[17:09:49] <turutk> my multimeter reads 0.45 volt which seems pretty low
[17:09:53] <Malinuss> turutk, are you pulling all the current out of one little pin?
[17:10:03] <Malinuss> I sure hope not RIP avr
[17:10:26] <turutk> Malinuss: i have 6 74hc595 s
[17:10:34] <turutk> shift registers
[17:11:13] <Malinuss> schematic?
[17:11:58] <turutk> Malinuss: there's none
[17:12:18] <turutk> i bought a protoboard and soldered everything
[17:12:44] <turutk> 4 8x8 matrices were working fine with 75 frames per second
[17:13:01] <turutk> i added the fifth and nothing works
[17:13:14] <turutk> i had to change a variable to 64bits. could that be the reason
[17:13:20] <Malinuss> turutk, you should make one ;D
[17:14:06] <turutk> Malinuss: i tried but couldn't find a eagle library that had led matrices i was looking for
[17:14:22] <turutk> Malinuss: so i gave up on making a pcb
[17:14:36] <turutk> so also didn't make a schematic
[17:15:03] <Malinuss> turutk, schematic!=pcb... you should make a schematic for each bigger setup, even on breadboard :)
[17:20:15] <creep> this is s schematic... did this in 15 mins with geda gschem :) http://tinypic.com/view.php?pic=2iu2sgl&s=6
[17:21:00] <turutk> after waiting 1-2 mins some leds light up but not very visible
[17:24:11] <john_f> you put one resistor per led instead of one per row/column?
[17:25:54] <john_f> ...probably a stupid answer
[17:27:47] <turutk> one per column
[17:43:30] <Tom_itx> turutk, make the part youself in eagle
[17:43:32] <Tom_itx> it's simple
[22:16:19] <cxz_> what is the difference between uart and usart?
[22:17:14] <Horologium> s
[22:17:46] <Horologium> one is asynchronous only and the other can be either synchronous or asynchronous.
[22:19:19] <Horologium> asynchronous comms only needs data lines...tx and rx....
[22:19:28] <cxz_> I read that atmega168 has usart interface. I would like to connect it to an embedded board that has uart interface. it should not be any problem to connect each other, right?
[22:19:29] <Horologium> synchronous adds a clock line
[22:19:52] <Casper> in other words, usart is a more versatile version of the uart, and you will probably only use the uart part of the usart
[22:19:57] <Horologium> shouldn't be a problem....usart generally means it can be used for spi as well as rs232 type comms.
[22:20:41] <Casper> standard serial port (uart) is self clocked, it start to count the time when it get the start bit, and clock in the data as it see it on the line...
[22:21:10] <Casper> synchronious have a clock line, which fix the issue of both issue that may not have the same clock speed, causing issues at time
[22:23:03] <cxz_> thank you
[22:28:05] <cxz_> is it possible to set boud rate to 1200 on usart of atmega168?
[22:33:05] <Horologium> no, but you can probably set the baud rate to 1200
[22:34:34] <cxz_> do you mean I can set it to 1200 but it will not output at 1200?
[22:35:17] <Horologium> no....I was attempting humor....the term is "baud rate" not "boud rate"
[22:35:36] <Horologium> what is the speed of your main clock? what crystal are you using?
[22:35:51] <cxz_> :)
[22:35:57] <cxz_> I am using the internet crystal at 8 MHz
[22:36:30] <Horologium> internet crystal?
[22:36:38] <Horologium> you mean the internal RC oscillator?
[22:36:39] <cxz_> internal
[22:36:54] <cxz_> yes
[22:36:58] <Horologium> that is not a crystal and is not exactly stable...
[22:37:18] <Horologium> the clock speed varies with VCC and temperature changes.
[22:37:36] <Horologium> that being said, I have gotten 14.4K stable out of an atmega32 on the internal RC oscillator.
[22:38:24] <Horologium> setting UBRR to 416 should give you 1200 bits per second.
[22:39:01] <Horologium> with U2X set to 0
[22:40:14] <cxz_> thank you
[22:40:57] <cxz_> do you know how much would vary over the temperature?
[22:41:19] <cxz_> would it be significant if it changes from 10 C to -15C?
[22:41:36] <Horologium> not sure....would have to test it.
[22:42:22] <Horologium> lower baud rate isn't quite as bad as higher baud rates are...
[22:42:44] <Horologium> and I understand the newer chips are more stable with temperature changes but haven't tested that.
[22:43:37] <cxz_> actually I found a crystal at 16 MHz, I will use it. thank you for warning about it
[22:45:34] <Horologium> in that case, UBRR of 832
[22:47:07] <cxz_> thank you very much
[22:47:17] <Horologium> welcome.
[22:47:27] <Horologium> I might suggest you read the relevant section of the datasheet.
[22:47:39] <Horologium> it tells all about the USART and how to configure it and all.
[22:53:51] <cxz_> thank you, I know it is good to read the datasheet but I read documents on https://sites.google.com/site/qeewiki/books/avr-guide/usart they are very good summaries
[22:54:40] <cxz_> I also take a look explanation of register bits on datasheet
[23:25:04] <cxz_> Horologium, do you think it is necessary to use capacitor when the external crystal is connected to the PB6 &7 ?