#avr | Logs for 2015-02-09

Back
[00:51:08] <anonnumberanon> I can't watch the video on that evil web page can somebody help me please? http://www.photographybay.com/2015/02/07/fox-news-guest-crashes-drone-while-talking-about-drone-safety/
[02:16:43] <DO9XE> Yay :) finally got my SPI the way it needs to be :) and i got an amazing picture for the Doku :3
[02:16:44] <DO9XE> http://labor19.net/Hendrik/K0012.PNG
[02:20:28] <twnqx> and you still don't know C/C++?
[02:20:44] <megal0maniac> lololol
[02:21:31] <DO9XE> what? why? :D
[02:21:50] <twnqx> not mentioned under "Programmiersprachen & besondere Kenntnisse"
[02:22:25] <DO9XE> ahhh :D somone, who is able to google :D
[02:22:51] <DO9XE> yeah, I havent changed it yet ;) I'll do in about 15 Minutes :D im hungry :D
[02:35:16] <Ebola-C> hello I need to get this thing working between 2 cars:
[02:35:23] <Ebola-C> http://www.ebay.co.uk/itm/1Pcs-2-4G-1100m-NRF24L01-PA-LNA-SMA-Antenna-Wireless-Transceiver-Module-/271579992158?pt=LH_DefaultDomain_3&hash=item3f3b6dd05e
[02:35:54] <Ebola-C> car cover will weaken signal so I thought I can use extension cord to get antena above cover:
[02:36:04] <Ebola-C> http://www.ebay.co.uk/itm/1Pcs-2-4G-2-5dBI-Wireless-RP-SMA-Antenna-with-Extension-Cord-for-NRF24L01-CC2500-/271648293939?pt=LH_DefaultDomain_3&hash=item3f3f800433
[02:36:23] <Ebola-C> question is: do these extension cords realy work?
[02:37:40] <Ebola-C> Hello I lost connection one time.. sorry for repeating
[02:37:58] <Ebola-C> I need to get these modules to work between 2 cars:
[02:38:13] <Ebola-C> http://www.ebay.co.uk/itm/1Pcs-2-4G-1100m-NRF24L01-PA-LNA-SMA-Antenna-Wireless-Transceiver-Module-/271579992158?pt=LH_DefaultDomain_3&hash=item3f3b6dd05e
[02:38:42] <Ebola-C> car cover wil weaken signal so I thought I can use these extension cord for antena:
[02:38:55] <Ebola-C> http://www.ebay.co.uk/itm/1Pcs-2-4G-2-5dBI-Wireless-RP-SMA-Antenna-with-Extension-Cord-for-NRF24L01-CC2500-/271648293939?pt=LH_DefaultDomain_3&hash=item3f3f800433
[02:39:36] <Ebola-C> question is do these extension cords realy work because I don't see shielding and don't know will they work because they are longer than wave lenght
[02:40:09] <Ebola-C> ?
[02:41:37] <DO9XE> twnqx, u happy now? :D
[08:01:16] <jaggzt> sigh..
[08:03:02] <jaggzt> I can't figure out how to compile LUFA.. :/
[08:03:30] <jaggzt> or how to use it..
[08:06:53] <rue_bed> did you see the exaples?
[08:08:28] <malinus> did you read the docs?
[08:08:45] <DO9XE> jaggzt are u using windows?
[08:09:03] <jaggzt> I can't find a document on it either.. is it compiled as a library or do you build a project and it sort of includes the library code it needs?
[08:09:06] <jaggzt> sorry, I'm in linux
[08:09:15] <jaggzt> trying to use avr-gcc
[08:09:22] <DO9XE> jaggzt, Linux is the best ;)
[08:09:45] <DO9XE> clone the git repo https://github.com/abcminiuser/lufa
[08:09:50] <jaggzt> I'm familiar with "normal" projects, makefiles, .. autoconf stuff :)
[08:09:57] <DO9XE> then go onto the lufa folder
[08:10:06] <DO9XE> and simply run make and get a coffee :)
[08:10:19] <malinus> read the doc first though :D
[08:10:24] <malinus> it's very well made
[08:10:29] <malinus> based abcminiuser
[08:10:41] <DO9XE> yes, lufa is really awesome :)
[08:11:25] <jaggzt> which doc?
[08:12:18] <DO9XE> this doch: http://www.fourwalledcubicle.com/files/LUFA/Doc/130901/html/
[08:12:45] <malinus> yeah, it's just doxygen genererated
[08:12:49] <malinus> *re
[08:13:06] <malinus> so it's in the source
[08:13:37] <malinus> jaggzt: if you read it, it explain that you can use it as a compiled library or just build and include tc.
[08:13:40] <malinus> *Etc.
[08:14:15] <jaggzt> you know when sometimes you don't think to google something when you encounter an error?
[08:14:38] <jaggzt> and you're looking around the docs to try to find what is the proper way to compile and use this thing, when the make fails
[08:19:09] <jaggzt> malinus, thanks .. been reading them.. thanks
[08:19:11] <jaggzt> thank you guys
[08:22:14] <DO9XE> Another Question; Different Topic: has anyone encountered with an Output Signal on the AD9833 which looks like this: http://labor19.net/Hendrik/K0017.PNG
[08:23:29] <rue_bed> it looks like the pwm osc
[08:23:44] <DO9XE> is it possible, that this happens, when i set the reserved bits in the ad9833's controll register? I just tryed different ways to programm it. At first it worked fine, then suddelnly it went this way :P
[08:24:02] <DO9XE> well, this thing doesn't have PWM. Its an DDS IC
[08:24:31] <rue_bed> oh, must have mixed it up with the
[08:25:59] <rue_bed> A4988
[08:26:43] <malinus> jaggzt: yeah np. Have fun with lufa. It's pretty cool.
[08:28:16] <jaggzt> I'm compiling KeyboardMouse for an atmega32u4 .. I compiled all of lufa, then went and changed the MCU and BOARD, etc. in the individual project (LowLevel/KeyboardMouse/makefile) ..
[08:28:38] <jaggzt> then I did a make clean (not sure if that's necessary) ..
[08:29:31] <jaggzt> it's not able to compile anymore though.. not yet sure why: ../../../../LUFA/../LUFA/Drivers/Board/Joystick.h:125:31: fatal error: Board/Joystick.h: No such file or directory
[08:29:54] <jaggzt> In file included from KeyboardMouse.h:46:0,
[08:29:54] <jaggzt> from KeyboardMouse.c:38:
[08:30:59] <rue_bed> well where is it
[08:31:12] <rue_bed> find |grep Joystick.h
[08:33:02] <jaggzt> it's getting other errors too though, if I make in the lufa base dir. Is there an incompatibility issue with changing defines within an individual project?
[08:33:19] <rue_bed> only pay attention to the first error
[08:33:23] <rue_bed> not warning, error
[08:33:33] <rue_bed> not that I know of
[08:33:42] <jaggzt> I notice the grand make is passing -DARCH=ARCH_AVR8 -DBOARD=BOARD_USBKEY -DF_USB=8000000UL to each file
[08:34:34] <jaggzt> whereas I'm supposed to use leonardo for my board
[08:36:10] <rue_bed> there is no avr called leonardo
[08:36:17] <rue_bed> pretty sure there is an arduino called one
[08:36:29] <rue_bed> if your using lufa, its not an arduino anymore
[08:36:46] <rue_bed> usbkey is odd tho
[08:37:13] <rue_bed> its 6:15 and I'v not slept yet
[08:37:15] <rue_bed> am
[08:37:34] <jaggzt> http://fourwalledcubicle.com/blog/2012/08/lufa-and-the-arduino-leonardo/
[08:37:46] <rue_bed> and I'm stressed out cause I think they just threw out a $1000 computer I put 40 hours of work into at work
[08:37:52] <rue_bed> ah
[08:37:55] <jaggzt> rue_bed, at.. 6:15am here too.. got up at 5am :)
[08:37:56] <rue_bed> never heard of it
[08:38:02] <jaggzt> threw out?
[08:38:05] <rue_bed> yea
[08:38:10] <jaggzt> where do you live?
[08:38:13] <rue_bed> canada
[08:38:17] <rue_bed> dosn't matter
[08:38:32] <rue_bed> its just picking at me
[08:38:36] <rue_bed> long story
[08:38:56] <jaggzt> there are worse things in life
[08:39:02] <jaggzt> and worse people
[08:39:28] <jaggzt> but it really sucks
[08:39:40] <jaggzt> I get bothered when I'm doing things and people "undo" what I've done
[08:39:58] <jaggzt> moreso because it's a repeated thing.. "I did that for a reason."
[08:40:06] <jaggzt> anyway
[08:41:00] <jaggzt> the leonardo's pretty nice... providing the atmega32u4 with usb .. minimal extras on the board
[11:01:32] <Jartza> evening
[11:02:07] <Bright> morning
[11:06:39] <woodyj21> morning
[13:16:40] <jaggzt> morning
[13:21:40] * Casper throws a snowball at jaggzt
[13:58:06] <malinus> jaggzt: that's why you use version control software.
[13:58:22] <malinus> (re - people undoing your shit)
[14:09:56] <N1njaneer> It's Monday! Do you know where your AVR is?
[14:41:40] <jaggzt> malinus, :)
[14:41:42] <jaggzt> nod
[17:40:48] <garulf> Hi, some of you is a avrdude developer?
[17:42:34] <malinus> hahaha
[17:42:45] <garulf> malinus,
[17:42:47] <garulf> ?
[17:43:33] <malinus> garulf: just ask your question
[17:44:41] <garulf> malinus: Just notify that I'll submit a patch to the bugs tracker regarding avrdude not working on rPi 2
[17:45:28] <malinus> are you sure it's an issue with the rPi2? iirc it's the same ethernet/usb controller
[17:46:13] <garulf> malinus, I think so. Using linuxgpio programmer
[17:46:29] <garulf> malinus, using rpi2 gpio directly
[17:53:38] <garulf> http://savannah.nongnu.org/bugs/?44218
[21:29:10] <jaggzt> what do you change when you want to compile a lufa demo for a particular chip/board?
[21:30:05] <jaggzt> I changed what the documents said, just in the makefile of KeyboardMouse, but then had compile errors (that did not seem to be related to mistakes in my changes, but possibly a change in dependencies?)
[21:30:37] <jaggzt> I noticed the global 'make' passes defines which are not the same as those I used in the KeyboardMouse makefile
[21:32:16] <jaggzt> For example, I have to change the F_CPU from 8000000 to 16000000. the global make shows the 8... value
[21:32:26] <jaggzt> but, again, I'm only changing it in KeyboardMouse
[21:36:34] <jaggzt> from KeyboardMouse.c:38: ../../../../LUFA/../LUFA/Drivers/Board/Joystick.h:125:31: fatal error: Board/Joystick.h: No such file or directory
[21:36:40] <jaggzt> I get that once I change the values
[21:36:48] <jaggzt> http://fourwalledcubicle.com/blog/2012/08/lufa-and-the-arduino-leonardo/
[21:42:14] <jaggzt> oh you know what, I never tested a compile in that directory alone before anyway
[21:43:14] <jaggzt> yeah.. compiles fine if I leave the original values
[21:43:59] <jaggzt> He says, "you’ll need to alter the project makefile that you want to compile"
[22:28:50] <jaggzt> i don't get it
[22:29:04] <jaggzt> spent a couple days just on this
[22:30:32] <jaggzt> i have ran make, by the way, and NOT the 'make avrdude' command he mentions
[22:31:02] <jaggzt> (as I didn't want the default kb/mouse code, but wanted to begin modifying it, and didn't think I was ready to program the chip yet)