#avr Logs

Jan 05 2018

#avr Calendar

12:00 AM nuxil: why do you need the number 2000 and not 2048 ?
12:03 AM anonnumberanon: servos get driven from 500 to 2500 so the difference is 2000, so that's what I need
12:15 AM nuxil: hmm.
12:15 AM nuxil: lol https://pastebin.com/qn4aLK0M
12:15 AM nuxil: use 3 registers :p`
12:16 AM nuxil: change "inc r18" to dec r18 and set value to 0xff :)
12:26 AM anonnumberanon: heh
12:34 AM rue_mohr: hey, anyone here implemented an fft on an avr?
12:36 AM Jartza: https://github.com/bradley219/avr_fft
12:38 AM Jartza: even if you're not making spectrum analyzer, there's still fft lib
12:38 AM Jartza: using fixed-point math, in asm
12:40 AM nuxil: Morning Jartza.
12:40 AM nuxil: I started messing a round a bit with the display now. :p
12:41 AM nuxil: I got most of my DDS box done. have to wait 3weeks for my parts, "opamps in my driver stage".
12:41 AM nuxil: so i got enuf time to mess around with the display. :p
12:41 AM Jartza: cool :)
12:41 AM Jartza: cool, meaning the display part :)
12:42 AM nuxil: yea. waiting 3weeks for parts inst cool :p
12:42 AM Thrashbarg: what sort of opamp are you going to use?
12:42 AM nuxil: just general purpose ones.
12:43 AM Thrashbarg: ok :/ why do you need to wait three weeks for common op-amps then? lol
12:43 AM nuxil: because, by they time they processed my order. they where out of stock. :(
12:43 AM Thrashbarg: shoot
12:43 AM Thrashbarg: can't get them anywhere else??
12:44 AM nuxil: sure i can. but i already payed for them :p so meh.
12:44 AM Thrashbarg: yeah hehe
12:44 AM Thrashbarg: I'd be too impatient to wait for that
12:44 AM Thrashbarg: hell I'd scrounge around for some to use off an old circuit board :/
12:49 AM rue_mohr: oh not THAT library again
12:49 AM rue_mohr: arg
12:50 AM rue_mohr: that might be the ONLY fft library out there
01:25 AM Jartza: maybe
03:49 AM rue_bed: I'm going to write one thats not optimized like that
04:56 AM polprog: anonnumberanon: nuxil: thats because avr are 8 bit. you need to check lower byte if its zero, dec higher byte, and dec lower byte or something like that
04:56 AM polprog: :P
04:57 AM polprog: thats why when you load to a 16bit *pair* (its a single register only when you use certain operations)
04:57 AM polprog: you use hi8 and lo8 pseudoops
04:58 AM polprog: i think
07:42 AM nuxil: polprog, oki. you know, i suck at asm :p
07:44 AM nuxil: mmm more parts arrived today :)
07:45 AM nuxil: still no opams tho. :p
07:45 AM nuxil: https://gyazo.com/3a2f9e2e266ed930554934658aeb66f4 these will be fun to play with :D
10:01 AM nohit_: i bought a chess computer
10:58 AM nohit_: do you guys know what cpu/mcu is 6301 ?
10:59 AM nohit_: could it be some version of this ? https://en.wikipedia.org/wiki/Hitachi_6309
11:53 AM mudkip908_ is now known as mudkip908
02:10 PM _ami_: oh god, its 5 am
02:10 PM _ami_: damn
02:10 PM Emil: _ami_: nothing out of the ordinary
02:35 PM Jartza: nohit_: you sure it's mcu?
02:35 PM Jartza: HIP6301 is at least power management chip
02:37 PM nohit_: yes https://www.schach-computer.info/wiki/index.php?title=Saitek_Team-Mate
02:38 PM nohit_: that's the chess computer i got
02:38 PM nohit_: https://www.jaapsch.net/psion/pdffiles/hd6301X_datasheet.pdf
02:39 PM Jartza: ah
02:39 PM Jartza: mmkay
02:40 PM Jartza: looks like powerful MCU :)
03:05 PM nohit_: yep
11:46 PM day__ is now known as day
11:47 PM nikomo_ is now known as nikomo