#avr Logs

Oct 23 2017

#avr Calendar

12:21 AM day__ is now known as daey
12:35 AM day__ is now known as daey
12:50 AM rue_bed: #define SetBit(BIT, PORT) (PORT |= (1<<BIT))
12:50 AM rue_bed: #define ClearBit(BIT, PORT) (PORT &= ~(1<<BIT))
12:53 AM Casper: you repeat yourself quite often nowadays...
01:04 AM doppler: how do you guys organize your I/O defines
01:11 AM Casper: in a block!
01:12 AM Jartza: I use magic macros
01:12 AM Jartza: https://gist.github.com/Jartza/56d006504316ef5fe5a3db1b3e438ca9
01:14 AM doppler: handy
01:14 AM doppler: I've been using more or less this: http://www.avrfreaks.net/forum/code-c-simplifying-port-and-ddr-defines-portability
01:14 AM Ameisen: I don't use defines.
01:14 AM doppler: but yours is cleaner
01:14 AM doppler: also, my preprocessor is segfaulting atm... >:(
01:15 AM doppler: Ameisen: you just hardcode the ports and pins?
01:16 AM Ameisen: I use C++. I have better ways of doing it.
01:16 AM Ameisen: :}
01:16 AM doppler: haha okay
01:17 AM Ameisen: I'm presently forking a project that was written in some weird C99/C++03/C++11 hybrid
01:17 AM Ameisen: the best parts of none
01:18 AM Ameisen: been migrating it to just proper C++17, so I've taken a lot of macros and such out - lots of oddities like making macros which are then used to populate initializer lists...
01:19 AM Jartza: not very portable then
01:19 AM doppler: sounds like a headache
01:19 AM Jartza: writing code for draft version of language
01:19 AM Ameisen: C++17 is not a draft
01:19 AM Ameisen: C++2a is
01:20 AM Ameisen: well, it's technically a draft
01:20 AM Jartza: it's not a final standard either
01:20 AM Ameisen: but no major changes are expected at this point
01:20 AM Ameisen: gcc, clang, and msvc have all standardized their implementations of it, at least
01:20 AM Ameisen: plus, I mean, I'm writing for AVR
01:20 AM Ameisen: portability can't really be that much of a concern, given that harvard architectures aren't really supported by the C++ VM specified in the spec in the first place
01:20 AM Ameisen: the idea of separate address spaces doesn't play nice
01:21 AM Jartza: we just switched to c++11 in our projects because we want compatibility outside gcc/clang too
01:21 AM Ameisen: outside meaning what? MSVC, ICC, GCC, and Clang all support C++14 at a minimum, and have C++17 implementations
01:21 AM Ameisen: not sure what else you're targeting
01:22 AM Jartza: IAR does not support C++14 for all platforms
01:22 AM Ameisen: ah
01:22 AM Jartza: green hills only supports C++11
01:23 AM Ameisen: well that's frustrating
01:23 AM Ameisen: C++14 is basically 'fixes' for C++11 which are useful
01:23 AM Ameisen: and C++17 has a ton of useful things
01:23 AM Ameisen: which I'd miss terribly
01:25 AM Jartza: IAR shaves about 20% off from binary compared to gcc on certain platforms
01:25 AM Ameisen: Not bad.
01:25 AM Jartza: well, not "about", let's say 10-20% but 20% in good case
01:25 AM Jartza: and in our case, the binary size is playing important role now :)
01:25 AM Ameisen: I'm actually hoping AVR development picks up on Clang
01:26 AM Jartza: unless we switch to next generation hardware, but it will happen in year or two
01:26 AM Ameisen: it seems to have stalled on GCC, and if anything, has regressed
01:26 AM Ameisen: That, and the lack of a lot of core extensions for C in C++, like __flash
01:35 AM Ameisen: Jartza - I spent my day fighting GCC's source, anyways, trying to add more AVR functionality
01:35 AM Ameisen: man, it's a convoluted codebase
01:35 AM Ameisen: trying to add a simple builtin is difficult, even
02:03 AM day__ is now known as daey
02:14 AM Jartza: I spend my days fighting with low-level stuff like drivers for different sensors and making sure code is portable between multiple products :)
02:14 AM day__ is now known as daey
02:14 AM Jartza: and power saving and such
02:15 AM Jartza: making sport watches, sport sensors, dive products
02:19 AM day__ is now known as daey
02:24 AM doppler: cool
02:38 AM JanC is now known as Guest95859
02:38 AM JanC_ is now known as JanC
03:16 AM Jartza: yeah, currently working with these for now: http://www.suunto.com/
03:18 AM Jartza: there's actually my code delivered with every package, even though some watches might not have my code in them
03:18 AM Jartza: but charging cable has firmware that's made 100% by me :D
04:45 AM polprog: Jartza: ni e
04:45 AM polprog: nice*
04:45 AM Thrashbarg: ni!
04:45 AM polprog: charging cable firmware - has technology gone too far? :P
04:46 AM Thrashbarg: it has xD
04:46 AM polprog: hope my project will be published someday
04:46 AM polprog: ill post it if it will
04:46 AM Thrashbarg: cool
04:47 AM Thrashbarg: my current project is editing Simpsons mashups on U-Matic videotape
04:48 AM Thrashbarg: so totally unrelated :P
04:57 AM Emil: I'm trying to debug an issue with my webshit library
04:58 AM Emil: "Address is in some other stack"
04:58 AM Emil: wtf
04:58 AM Emil: 129 bytes below stack pointer
04:59 AM Emil: I cant understand how since each thread has a fixed buffer
04:59 AM Emil: and I pass that pointer around without modificatiobs
06:38 AM Guest93120 is now known as A001
08:15 AM MrFahrenheit: gotta love ebay, AD9850 $6.18, board with an AD9850, an oscillator and some other components $5.72, legit AD9850 price - $16-19
08:35 AM thardin: do I have to do something special to get 64-bit support in vsnprintf() in avr-libc?
08:35 AM thardin: like you have to for float support
08:35 AM thardin: for %llu and friends
08:37 AM LeoNerd: MrFahrenheit: That kind of thing appears all over eBay. It's most weird
08:37 AM LeoNerd: If you want an LM2596 switching DC-DC converter controller chip, again much cheaper to buy it on a board.
08:38 AM LeoNerd: Ditto the SSD1306 OLED modules
08:38 AM MrFahrenheit: looks like the module isn't that bad, fake or not, gonna buy it and make a sweep generator
08:39 AM LeoNerd: The 9850? Yah it's reasonable
08:56 AM Jartza: polprog: well, charging cable firmware prevents shorts in cable pins and makes sure watch is connected before allowing power through
08:57 AM polprog: good
08:57 AM polprog: :0
08:57 AM polprog: ;)
08:57 AM Jartza: as the watches are watertight to 100 meters, it's pretty hard to put some kind of plug there. watch only has 4 pads in the back and the charging cable attaches via spring pins & magnet
08:58 AM Jartza: downside is, you can of course throw the cable to some metal plate, knife, scissors... you name it :)
08:58 AM Jartza: if it's just straight cable, you would short your usb-port
08:58 AM polprog: very nice, i hope ill het a job in EE as well
08:59 AM Jartza: so there's very tiny attiny preventing shorts
10:21 AM polprog: https://www.youtube.com/watch?v=bZ7CPRpJvHI
10:21 AM polprog: that's not that hard as it seems
11:02 AM Lambda_Aurigae: I was teaching highschool freshmen to do it back in about 1998
11:02 AM Lambda_Aurigae: putting rj45 ends on cat5/cat6 is simple enough too.
11:03 AM Lambda_Aurigae: I've messed up one in the last 9 years at this job and I make a couple just about every day.
11:03 AM Lambda_Aurigae: you want the fun ones, twinax or thicknet ethernet.
11:03 AM Lambda_Aurigae: twinax requires soldering
11:04 AM Lambda_Aurigae: thicknet requires a drill and vampire tap...and if you drill too far you cut the cable core and have to split the cable there and put a hundred dollar splice in.
11:04 AM doppler: yeah, modular connectors are baby play compared to what ppl used to deal with
11:05 AM doppler: also fiber sounds like a pita
11:15 AM polprog: i know, i had to punch down wall jacks at home and recently crimpeds some rj45s. useful skill
11:49 AM merethan_: xboot has this nice crc function. But what algorith is it exactly? It is programmed using inline ASM and I cannot read avr ASM.
11:51 AM polprog: most likely a lookup table
11:51 AM Casper: I'm about to pass 2x cat6 here + 1x coax
11:51 AM polprog: that's the fastest crc for 8 bit values
11:51 AM polprog: merethan_: you can paste the asm somewhere
11:53 AM Casper: also, I avoided punch stuff for years... I had to do alot of them at once, toolless are kinda expensive, it was cheaper to get a good punch and punch keystone than just toolless keystones. It ended up easier to do too..
11:53 AM merethan_: Heh, it´s part of the gcc toolchain :P
11:53 AM merethan_: Missed that on first glance
11:54 AM * merethan_ is a bad reader
11:54 AM merethan_: nvm, got it
12:10 PM polprog: Casper: i punched down my wall jacks with a flathead driver, not sure if it's OK, but it works ;)
12:11 PM Ameisen: screwdriver is likely to damage the actual metal contacts on the jack
12:11 PM Casper: before that I used the back of an utility knife (snappable blade kind)
12:11 PM polprog: i was careful,
12:11 PM polprog: also, ill probably get a punch tool if i ever need to do that again
12:11 PM Casper: the blade is thin enought to fit between the connector pins
12:18 PM enh: I need help... I plugged a 12V 60A power supply in the battery plug of the tricopter to test my system, but the amount of noise that was injected by the power supply through the ground was quite high. Is there a way to reduce this noise?
12:21 PM doppler: sixty amps? good lord
12:21 PM enh: indeed
12:22 PM enh: I have to think twice before measuring the terminals...
12:22 PM enh: But I will use less than 15A
12:22 PM Casper: enh: series inductor with low esr capacitor, and hope it do something
12:22 PM Casper: common mode choke also work
12:23 PM Casper: and make sure the outlet have a working earth ground
12:23 PM enh: it has
12:23 PM enh: a capacitor in parallel has any use?
12:25 PM Casper: if low esr of course
12:25 PM Casper: a capacitor stabilise the voltage, thru kill noise... However it may not do much, depending on how the psu is made
12:27 PM enh: It should be a clean psu, as people buy it to feed those big speakers that they install into their vehicles
12:27 PM enh: As you live in a decent place, you probably have not heard about this plague.
12:27 PM Lambda_Aurigae: polprog, punchdown with a tiny screwdriver is doable...better to use 2 of them, one on either side of the contact...you don't get the best connection that way though as the punch tool holds the contact closed somewhat while punching,,,and also cuts.
12:30 PM Casper: car environnement is very noisy, car ampli are made to deal with dirty, noisy supply
12:31 PM Casper: if one day you are bored, take a scope and check your car supply, you will be surprised by the noise
12:31 PM Lambda_Aurigae: but audio noise and noise to affect RF can be three different things.
12:32 PM enh: My second monitor showed noticeable noise on the screen when the system ground was connected through the usb-serial converter
12:32 PM Lambda_Aurigae: best low noise 12V high amperage source would be just a plain car battery I would think.
12:33 PM enh: makes sense
12:33 PM Lambda_Aurigae: or, just shut the car off.
12:33 PM Lambda_Aurigae: but, note, you will run the battery down pretty quickly.
12:34 PM enh: I'm using it to power the tricopter
12:34 PM Lambda_Aurigae: long ass extension cord.
12:34 PM enh: just engine and servo control testd
12:34 PM enh: tests
12:34 PM Lambda_Aurigae: or limited flight range.
12:35 PM Lambda_Aurigae: I would think best to test that using the actual power source it would use for flight.
12:35 PM Lambda_Aurigae: have a second, and maybe third, battery on charge and ready to swap out while testing.
12:35 PM enh: recharging lipos take time
12:36 PM Lambda_Aurigae: then keep a spare car or motorcycle battery handy for powering it.
12:36 PM Lambda_Aurigae: or a stack of 12V SLAs
12:37 PM Lambda_Aurigae: I recently acquired 6 battery packs from UPSs and all of them moderate to good shape.
12:37 PM Lambda_Aurigae: these are from big rackmount UPSs.
12:37 PM Lambda_Aurigae: they are going to become a 12V solar charged power source for my workshop.
12:39 PM Lambda_Aurigae: between 4 have 6 batteries, 2 have 12.
12:41 PM Lambda_Aurigae: the company was refreshing the batteries in all the UPSs, whether they were good or not...
12:41 PM polprog: Lambda_Aurigae: thanks for the tip
12:41 PM Lambda_Aurigae: they were just gonna throw them out.
12:41 PM Lambda_Aurigae: I threw them in the back of my truck, with my boss' permission.
12:42 PM Lambda_Aurigae: polprog, I've gotten cheap punchdown tools for under 10 dollars that work...no clickysnap cut mode but they wrk.
12:42 PM Lambda_Aurigae: I've also gotten high end ones with interchangeable bits that cost 70 dollars...
12:49 PM enh: Thanks a lot!
12:50 PM Lambda_Aurigae: I helped somehow?
12:50 PM Lambda_Aurigae: what the fuck is wrong with me?
12:50 PM polprog: off the meds
12:51 PM Lambda_Aurigae: probably.
12:51 PM Lambda_Aurigae: maybe I haven't been licking enough frogs lately.
12:51 PM enh: Sorry, Lambda_Aurigae. You helped.
12:51 PM enh: You too, Casper.
12:51 PM Tom_L: non perscription meds
12:51 PM Lambda_Aurigae: Tom_L, taking enough of those as it is.
12:52 PM Lambda_Aurigae: and prescription ones too for that matter.
12:52 PM Lambda_Aurigae: need to think outside the straight jacket.
12:52 PM Lambda_Aurigae: ok...lunchy over...back to breaking copiers.
12:56 PM enh: https://www.youtube.com/watch?v=2zegjkz3qe8
01:00 PM enh: Messy work bench
01:00 PM polprog: enh: nice
01:00 PM polprog: 0:18 im famous look mom
01:01 PM polprog: what exactly are you testing there?
01:01 PM enh: The servo control module
01:02 PM enh: http://www.youtube.com/watch?v=Vr98i_W43Z0
01:02 PM enh: This one shows telemetry
01:06 PM polprog: i was thinking about getting into dwarf fortress
01:09 PM enh: Are you small enough?
01:13 PM polprog: :P
01:16 PM doppler: haha
01:19 PM JanC_ is now known as JanC
02:51 PM hetii: Hi :)
03:02 PM pebble`_ is now known as pebble`
03:24 PM hetii: I found such PSU controled by atmega8: http://www.tuxgraphics.org/common/src2/article379/powersupply_upd3.pdf my plan is to use instead it attiny85 with PWM instead this R2R dac. To get 10bit resolution my plan is to use way described here: http://www.technoblogy.com/show?1NGL
03:25 PM hetii: Is all of that good idea?
03:31 PM polprog: if you can smooth out the output signal
03:31 PM polprog: keep in min dhat the main tranny setting the output voltage is bjt so it takes some current
03:32 PM polprog: in mind that*
03:37 PM polprog: if i am understanding the output stage right... Q1's emitter will "set" the output voltage 3*0.7V (pn jct "loss") than the voltage at base of Q4?
03:37 PM polprog: it's very spaghettious out there
03:38 PM hetii: well to smooth it I plan to use low pass filet like it is here http://www.linuxfocus.org/common/images/article251/schematic.gif I talk about R6+R9+C10+C3
03:38 PM hetii: but in my case it will be without opamp
03:38 PM polprog: well, i guess i would leave tve opamp
03:39 PM polprog: it "resets" the output impedance to a known, fixable value
03:39 PM polprog: or even consider an active filter
03:40 PM polprog: dont take my word for granted though, im still learning
03:40 PM hetii: well but if I decide to use opamp then need to have negative voltage to be able control my voltage from 0v
03:40 PM hetii: as well as current
03:40 PM polprog: depends really... there are opamps that can go very close to the negative rail
03:41 PM polprog: gimme a sec
03:41 PM hetii: yep but also have limited space and need to put two such control units
03:41 PM polprog: you can get smd dual opamp chips
03:42 PM hetii: also in my psu I will change polarity of one input to have possibility to connect two power supply in one series
03:42 PM polprog: nowadays you can fit an entire computer into an altoids can, so i guess it's safe to assume any small signal electronics will be available in tiny packages
03:42 PM polprog: you want series?
03:43 PM polprog: id say isolate it with a builtin transformer power supply
03:43 PM polprog: because you dont want an smps in the plugpack
03:43 PM hetii: in fact it will work in different modes, so like dual positive voltage, or dual symmetrical voltage or one in-series
03:43 PM polprog: just to be sure that the output ground is floating
03:43 PM hetii: so all configuration will be possible
03:43 PM polprog: hmm
03:45 PM hetii: so my plan was to use two attiny85 that will control current/voltage and then talk via uart to single stm32 or esp8266 or orange pi zero
03:46 PM hetii: depend what I chose as my frontend
03:46 PM polprog: ald1701 and ald1702 those can pull their output to +/- supply
03:46 PM polprog: orange pi zero?
03:46 PM polprog: you sure you want a whole linux in your PSU?
03:46 PM polprog: :DD
03:46 PM polprog: stay with rs232
03:46 PM polprog: ;)
03:47 PM hetii: yep, cause it will not be just psu, but also I will expose over it a sealogic, usb blaster, stlinkv2 etc...
03:48 PM polprog: so a whole /kombajn/
03:48 PM polprog: one device to rule them all ;)
03:49 PM hetii: yep
03:49 PM polprog: i think i could try to make a psu
03:49 PM polprog: small power but programmable
03:52 PM hetii: So this is what I build till now: https://snag.gy/r6BbAH.jpg https://snag.gy/EcKXGZ.jpg
03:52 PM polprog: i love the 16 seg displays
03:52 PM polprog: expensive though
03:52 PM polprog: in retail
03:53 PM polprog: what does the nuke knob do?
03:53 PM hetii: so at the end I also plan to add web interface where I could set scripting language that will describe with current/voltage I want to have in time, so by that I be able to use this as a charger for different accumulators
03:53 PM polprog: on the other pic i can see that the display is a premade module
03:53 PM polprog: cool project ;)
03:54 PM hetii: yep its a 16lf01ua3 samsung vfd display
03:54 PM polprog: vfd?
03:54 PM polprog: i thought those were leds
03:55 PM hetii: no, its VFD :)
03:55 PM hetii: but very easy to control, just via two wire
03:55 PM polprog: ah, yeah, i can see those characteristical commas, and wires inside
03:55 PM polprog: awesome
03:55 PM polprog: i love vfds, better than nixies imo
03:55 PM hetii: hehe :)
03:56 PM hetii: yep, its very bright and nice
03:58 PM polprog: are you by any chance near warsaw?
03:58 PM hetii: so as you can see, it will do a lot of different things, and implementing all types of connecting those two power output complicate things a bit
03:58 PM doppler: oh shit, that's actual 16-seg
03:59 PM doppler: you hardly ever see those
03:59 PM doppler: hnnnng
03:59 PM polprog: i have some led ones
03:59 PM polprog: and some other "exotic" led ones
04:00 PM hetii: yep, one guys sell it on my local street market, maybe he have more of them, need to ask if you need one.
04:00 PM polprog: local street market?
04:00 PM polprog: sounds familiar
04:02 PM polprog: very familiar
04:02 PM polprog: i bought a serial vfd on a street market in warsaw
04:03 PM doppler: all my serial VFDs are character cell dot matrix
04:03 PM polprog: yeah, mine is too
04:05 PM hetii: polprog, Cannot find proper picture but its a similar:) http://images28.fotosik.pl/190/e7b8ea6d96dc1898.jpg
04:05 PM polprog: Not Wolumen market then
04:06 PM hetii: polprog, btw i`m from Wrocław :)
04:06 PM polprog: cool
04:06 PM polprog: :)
04:06 PM polprog: im from warsaw as you may have known :)
04:07 PM polprog: we have this with electronic oddities: http://fotopolska.eu/foto/473/473177.jpg
04:08 PM hetii: hehe, yep, our place is not like 10 years ago unfortunately ;(
04:08 PM polprog: ours too
04:08 PM polprog: :(
04:09 PM hetii: polprog, so what with this VFD? should I ask about one for you?
04:10 PM polprog: i think i'll pass now, i have a ton of displays ;)
04:10 PM hetii: I see, ok :)
04:10 PM polprog: if i need one i will just grab a dead cash register/weight
04:11 PM hetii: true,if you have such, then why not :)
04:11 PM polprog: also they have mechanical switches and keys: http://wir.net.pl/upload/images/elzab-alfa-super.jpg
04:13 PM hetii: but they are small as I see.
04:13 PM hetii: I mean the displays from it...
04:15 PM polprog: those particular ones use lcd, proably hd44780
04:15 PM polprog: older ones use vfds
04:22 PM hetii: sure, worth to keep it :)
04:23 PM hetii: my probably is dismounted from some old game.
04:29 PM polprog: http://picpaste.com/IMG_20171023_225456-3USPMdHf.jpg
04:29 PM polprog: serial vfd on top
04:29 PM polprog: rest are regular hd44780
04:30 PM polprog: i also have two huge hd44780 lcds, like 25 cm wide an 5 cm tall
04:30 PM doppler: oh nice! 40×1
04:30 PM polprog: yeah, managed to make a bash script that used it's escape codes to make a ticker out of it
04:31 PM polprog: maybe i have a video somewhere
04:31 PM polprog: let me see
04:31 PM doppler: the firmware on a few of my displays supports scrolling but it's a pretty awful implementation
04:32 PM doppler: like, with these one might as well do it manually w/ escape seqs
04:32 PM doppler: *ones
04:32 PM doppler: er
04:32 PM doppler: had it right the first time
04:33 PM polprog: now that i have rs232 "cracked" i could see if there is some miltiline vfd, like some 6 or 4 line ones in wincor-nixdorf cash desk displays
04:34 PM polprog: unfortunately they are expensive as *hell*
04:38 PM doppler: I bet!
04:38 PM doppler: I can't even be sure I've ever seen one with more than two lines
04:39 PM polprog: most cases a black-on-green text lcd (god forbid white on blue, eww!) is sufficient
04:39 PM polprog: i see 6 line vfds every time i go shopping to the supermarket
04:39 PM polprog: i should see if they have some electronic goods to recycle ;)
04:40 PM polprog: maybe something on the market i posted a pic of.
04:40 PM hetii: I see one week ago in the hospital
04:40 PM doppler: wow, what the hell
04:40 PM doppler: those just aren't a thing here, I guess
04:40 PM hetii: 4 or 6 lines and probably 24 chars
04:41 PM hetii: and this hole machine is to recycle
04:42 PM hetii: similar to http://i.ebayimg.com/images/i/152701824450-0-1/s-l1000.jpg
04:42 PM hetii: but more lines
04:42 PM * polprog is doing hardcore interwebz search to find a photo of a cash register desk in L'eclerc
04:43 PM polprog: you can barely see it on a pole here: http://www.radom24.pl/zarzadzanie/uploads/artykuly/duze_eleclercKasa.jpg
04:43 PM polprog: over the keyboard
04:43 PM polprog: id take suck a keyboard and anytime
04:43 PM polprog: suck*
04:43 PM polprog: such*
04:43 PM polprog: lol
04:44 PM Lambda_Aurigae: polprog, I have some 40x2 hd44780 displays too.
04:44 PM polprog: they seem to be common
04:45 PM polprog: i know that those with more characters than a single hd44780 can handle are in fact two chips with common data bus and separate enable lines
04:45 PM doppler: neato
04:45 PM Lambda_Aurigae: used a bunch to get a 40x10 character display some years ago.
04:45 PM doppler: 10?!
04:45 PM doppler: omg
04:46 PM Lambda_Aurigae: 2 lines per unit..5 units.
04:46 PM doppler: ah :)
04:46 PM polprog: 40x10, you can play Nethack on that beast
04:46 PM Lambda_Aurigae: I wanted to go 80x25 with a spare line at the bottom for status but that was a bit much.
04:46 PM polprog: yeah, that would be overkill ;D
04:46 PM Lambda_Aurigae: it was a word processor.
04:47 PM Lambda_Aurigae: built around an atmega32 with a ps/2 keyboard and an external 128Kx8bit nvsram,,,with an sd card for file storage and transfer.
04:47 PM polprog: i remember being so happy when i got a hd44780 running under raspi gpio for the first time
04:47 PM doppler: "yeah, I feed my VFD multiple amps"
04:48 PM Lambda_Aurigae: used pcf8574 chips to drive the 5 displays....i2c interface!
04:48 PM Lambda_Aurigae: wrapped the whole thing in a wooden case with a pair of 12V clips for driving from a car battery.
04:49 PM polprog: crude but cool
04:49 PM Lambda_Aurigae: it worked for the customer.
04:49 PM hetii: Lambda_Aurigae, any photos ?:)
04:49 PM Lambda_Aurigae: we also made a cash register with similar setup, including wooden keycaps and all for the custom register keypad.
04:49 PM polprog: https://koscis.files.wordpress.com/2016/12/img_20161231_182227.jpg?w=620
04:49 PM polprog: this monster
04:49 PM polprog: i wanna use it as a serial console
04:49 PM Lambda_Aurigae: trying to find them but it was not my project...I just did the microcontroller interface.
04:50 PM polprog: thinking about getting a tiny olde
04:50 PM polprog: oled*
04:50 PM Lambda_Aurigae: this guy was working with some progressive amish types.
04:50 PM polprog: "progressive amish"
04:50 PM Lambda_Aurigae: they could use electronics if they didn't work off the main power grid..they had 12V for things but that's bout it.
04:50 PM polprog: lol
04:51 PM Lambda_Aurigae: wind generator to charge batteries, that kinda thing.
04:51 PM Lambda_Aurigae: damnit..can't find the pictures. was before google drive so didn't have them online.
04:52 PM Lambda_Aurigae: I did the electronic back end and wrote the code for the mega32 and got paid 1500 dollars for it.
04:52 PM polprog: wow
04:52 PM Lambda_Aurigae: that was for the two devices.
04:52 PM Lambda_Aurigae: I understand they made several of them for various locations.
04:53 PM Lambda_Aurigae: glub..that was back in,,,2004 I think.
04:53 PM polprog: couldnt they use a standard atx PC? those can run of a car battery with a bit of trickery
04:53 PM polprog: and monitors too
04:53 PM Lambda_Aurigae: https://www.monoprice.com/pages/sitewide1?AID=11552490&PID=8335291&ref=cj&utm_source=cj&utm_medium=11552490&utm_term=Gizmodo+Media+Group%2C+LLC-3953125
04:53 PM Lambda_Aurigae: 20% off everything at monoprice today!
04:54 PM Lambda_Aurigae: they didn't want anything as complex or modern as a full PC, not even a hidden laptop.
04:54 PM polprog: whatever, money talks
04:54 PM Lambda_Aurigae: cash register was a simple project...that took me a couple hours to write.
04:55 PM Lambda_Aurigae: word processor was more complex, that took me a whole weekend.
04:55 PM Lambda_Aurigae: I really want to get my cnc rebuilt so I can make a custom laptop case and keycaps out of cherry.
04:56 PM Lambda_Aurigae: I have an i5 just waiting for a new case.
04:57 PM hetii: I probably need a second life to build all cool device that waiting for me :)
04:57 PM Tom_L: Lambda_Aurigae what cnc do you have?
05:01 PM polprog: should pact for school tomorrow
05:02 PM polprog: pack*
05:03 PM Lambda_Aurigae: Tom_L, home made, 2nd gen mostly rebuilt, totally from scratch thingie.
05:03 PM Tom_L: working on a layout for one here
05:03 PM Lambda_Aurigae: hetii, 2nd and 3rd lives...
05:04 PM Lambda_Aurigae: first gen was built around iron pipe frame.
05:04 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/Mill_base.jpg
05:04 PM Lambda_Aurigae: it worked but just didn't do what I wanted.
05:04 PM Tom_L: 2" sq tube
05:04 PM Tom_L: i've got a sherline right now
05:04 PM Tom_L: want something a big heavier
05:04 PM Lambda_Aurigae: I had a chance at one that was considerably larger and heavie.
05:04 PM Lambda_Aurigae: r
05:05 PM Lambda_Aurigae: but,
05:05 PM Lambda_Aurigae: didn't have the truck to haul the multi-thousand pound unit
05:05 PM Lambda_Aurigae: and, it would have fallen through the floor in my workshop.
05:05 PM Tom_L: don't know if i'll ever build it but just messin
05:05 PM Lambda_Aurigae: nor did I have a forklift to get it off said missing truck once I got it home.
05:05 PM Lambda_Aurigae: actually, technically, I'm on 3rd gen
05:06 PM Tom_L: i helped a bud in his shop for a while
05:06 PM Tom_L: ~60k sq ft full of cnc
05:06 PM Lambda_Aurigae: first gen was pvc frame...worked for the most part but had some flex to it when cutting hard stuff
05:06 PM Lambda_Aurigae: then I rebuilt the frame with 1/2 inch iron pipe.
05:06 PM Tom_L: don't know how much warpage i'll get from it
05:06 PM Lambda_Aurigae: no flex on the iron pipe.
05:07 PM Tom_L: the sherline is just too light
05:07 PM Lambda_Aurigae: I want to get some real lead screws for the next build.
05:07 PM Lambda_Aurigae: but probably will go just with a larger allthread and my custom anti-backlash setup.
05:07 PM Tom_L: https://www.ebay.com/itm/US-Ship-4pcs-High-Torque-Nema23-Stepper-Motor-425oz-in-2-8N-m-4-Lead-DIY-CNC-Kit/263268354293?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m1438.l2649
05:07 PM Tom_L: looking at those
05:07 PM Tom_L: a bit long but can be cut down
05:08 PM Tom_L: woops wrong link
05:08 PM Tom_L: https://www.ebay.com/itm/US-20mm-Square-Block-Linear-guide-rail-3-Ballscrew-1605-400-700-1000-BK-BF-HGH20/263268341882?_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20160727114228%26meid%3D88deceb6d8504804a266f6dfd0d1b51c%26pid%3D100290%26rk%3D3%26rkt%3D4%26sd%3D263268354293&_trksid=p2060778.c100290.m3507
05:09 PM Tom_L: acme is better than allthread
05:09 PM Tom_L: those are cheap screws but better than what i've got
05:10 PM Lambda_Aurigae: http://www.ebay.ie/itm/XEROX-ColorQube-Motor-STE-59D5001-01-147-0155-/253047203627?hash=item3aeac9e72b:g:dcYAAOSwo4pYPFps
05:10 PM Lambda_Aurigae: I have a bunch of those.
05:10 PM Lambda_Aurigae: they have some kind of rotary encoder on the back end.
05:10 PM Tom_L: nice
05:10 PM Tom_L: servo or stepper?
05:10 PM Lambda_Aurigae: stepper.
05:11 PM Tom_L: steppers are getting cheap
05:11 PM Lambda_Aurigae: the rotary encoder is the plastic disc with the thousands of little black lines on it type.
05:12 PM * aczid read "strippers are getting cheap"
05:12 PM Tom_L: bbiab, gotta reset the router
05:12 PM Tom_L: aczid those have been cheap all along
05:12 PM aczid: :)
05:21 PM hetii: have a nice day/night and see U soon :)
05:21 PM polprog: i think ill go to sleep too
05:21 PM polprog: night
05:24 PM Lambda_Aurigae: only one old fax?
05:25 PM Lambda_Aurigae: I have 6 old xerox phaser copiers waiting to be stripped.
05:25 PM polprog: well, i dont work in printer tech
05:25 PM polprog: that fax, like most old junk i have, was givem to me
05:25 PM polprog: or bought for nothing
05:55 PM polprog: goodnight
05:56 PM enh: Sllep well, polprog
06:44 PM kpo: join #music
06:44 PM Lambda_Aurigae: no
06:44 PM Lambda_Aurigae: music is evil.
06:44 PM enh: Me neither
06:44 PM kpo: lol :D
06:44 PM Lambda_Aurigae: it needs to be outlawed...along with religion.
06:44 PM kpo: omitted slash somehow
06:45 PM enh: and politics
06:45 PM Lambda_Aurigae: politics...derived from poly-meaning many, and ticks-meaning small bloodsucking parasites.
06:47 PM enh: join #fart
06:47 PM enh: Sorry. Could not avoid it.
06:47 PM Lambda_Aurigae: should be #old-fart
06:48 PM Lambda_Aurigae: on that note, this old fart is heading to bed.
06:48 PM enh: Sleep well
08:31 PM Tom_itx is now known as Tom_L
09:07 PM Ameisen: What's the proper way to dump the flash/data size from an ELF?
09:10 PM cehteh: avr-size
09:11 PM Ameisen: well, today I learned something new.
10:02 PM Ameisen: odd. -fno-short-enums substantially reduced code-size
10:02 PM Ameisen: which is odd: it's supposed to pack enumerators down to the smallest size that fits them