#avr Logs

Jun 24 2017

#avr Calendar

01:46 AM rue_bed: the assembly code in the apple IIe rom is awesome
01:48 AM rue_bed: (its implementation)
01:48 AM Casper: back then people knew how to code
02:10 AM Emil: rue_house: for hetii
02:10 AM Emil: rue_house: context, play the mentioned game
02:35 AM rue_house: dont do games
02:35 AM rue_house: with few excetptions
02:35 AM rue_house: KEEP ME AWAY FROM TETRIS
03:48 AM Emil: look above
06:29 AM Emil: https://emil.fi/jako/kuvat/2017-06-24_13-58-23_cpnCi66f.png
06:29 AM Emil: I wonder if this is enough filtering or if I should perhaps tune it back a tiny bit :D
06:37 AM cehteh: on what regulator?
06:37 AM cehteh: note that many regulators put some constraints on the output min and max capacity and ESR
06:37 AM cehteh: failing that may oscillate and perform poorly
06:39 AM cehteh: old regulators often cant handle low ESR and dont work with ceramics, modern ones foten require low ESR
06:41 AM Emil: Hmm
06:41 AM Emil: You got me checking the datasheet
06:41 AM Emil: I simplified the design
06:41 AM Emil: https://emil.fi/jako/kuvat/2017-06-24_14-11-18_KnMPxLB2.png
06:42 AM cehteh: just check datasheet
06:42 AM Emil: I did
06:42 AM cehteh: ok
06:43 AM cehteh: also datasheet for the regulator which provides the 5V :D
06:43 AM cehteh: ok the capacitances there are not so high
06:46 AM Emil: Comes from usb
07:11 AM Emil: Favourite pcb connector? I'm tired of the basic 2.54mm headers
10:59 AM rue_bed: but the 2.54mm connectors are available and work for everyting
10:59 AM rue_bed: go for 1.27mm if you dare
11:00 AM rue_bed: makes using ribbon cable easy
11:24 AM Emil: yeah
11:24 AM Emil: 1.27 get
11:25 AM learath: Emil: I like to go for 1mm instead of 0.1", just confuse myself :P
11:29 AM kre10s: I'm writing a bit of a protocol. In it there are 16bit integers used I want to specify endianess explicitly in a way that will allow an avr to cast packets directly. something like uint8_t buff[] = {0x00,0x34,0x12}; struct pkt {uint8_t type, uint16_t val} *p = (struct pkt *)buff;
11:30 AM kre10s: Is that endieaness there correct such tht p->cal == 0x1234;?
11:30 AM kre10s: *val...
11:34 AM Emil: avrs are little endian
11:34 AM kre10s: right. so will it cast?
11:35 AM Emil: And sounds like an api
11:35 AM Emil: instead of protocol
11:36 AM kre10s: why would it matter?
11:37 AM Emil: Anycase, that should work
11:38 AM Emil: it's not portable in any way, but that might not matter to you
11:40 AM Emil: In general data casting is quite annoying in c
12:21 PM Emil: http://aviationweek.com/blog/we-didn-t-know-what-90-percent-switches-did
12:21 PM Emil: >That proved to be a very important test. "In 1987 we had the AIM-9P, which was designed to reject flares, and when we used US flares against it would ignore them and go straight for the target. We had the Soviet flares – they were dirty, and none of them looked the same – and the AIM-9P said 'I love that flare'.
12:38 PM robinak is now known as robink
01:31 PM kre10s: spm page erase sets the bytes to 0xff right?
01:44 PM LeoNerd: Erased EEPROM has all-bits-high, yes
01:45 PM LeoNerd: Er.. flash
02:38 PM evil_dan2wik is now known as dan2wik
06:11 PM kre10s: Any idea why on the atmega168pb SNOBRn is arranged in such a strange order?
06:28 PM LeoNerd: What's that register do? Is it on the 328PB too?
07:39 PM kre10s: LeoNerd: its the serial number. but the addresses are strange. they are not sequential
09:03 PM enhering: Hi
10:33 PM Thrashbarg_ is now known as Thrashbarg
11:01 PM ColdKeyboard: Is there a (online?) tool that allows you to paste 8 bit array and then it "renders" an image that is represented by that byte array?
11:38 PM enhering: Project news: https://hackaday.io/project/11724-yauvc-yet-another-unmanned-vehicle-controller/log/62129-servo-module-tests
11:42 PM day_ is now known as daey
11:51 PM enhering: It was so stupid to forget the I2C pull-ups...
11:54 PM enhering: ColdKeyboard: What type of image have you got in mind?
11:54 PM ColdKeyboard: enhering: I found what I was looking for -> http://javl.github.io/image2cpp/
11:56 PM enhering: interesting