#avr Logs

Aug 26 2017

#avr Calendar

12:28 AM day_ is now known as daey
12:42 AM Thrashbarg_ is now known as Thrashbarg
03:54 AM _ami_: finally i got time to assemble my board: https://pbs.twimg.com/media/DIJDorbU0AA_CXj.jpg
04:06 AM Xark: _ami_: Nice. So, this turns "blue pill" into an AVR programmer?
04:07 AM _ami_: Xark: Yup. https://hackaday.io/project/21189-fastusbasp-programmer-for-avr
04:08 AM Xark: _ami_: Cool. I gave you a skull (or if you want to be boring, a like). :-)
04:10 AM MacGeek: is that a pro mini or a nano?
04:10 AM Xark: MacGeek: I think it is STM32
04:10 AM Xark: (ARM)
04:10 AM MacGeek: oh ok
04:11 AM Emil: polprog: hahhah :D
04:11 AM Xark: aka "Blue Pill"
04:13 AM Xark: _ami_: Are you considering selling these on Tindie or similar? Looks interesting...
04:14 AM MacGeek: btw, I finished designing my first circuit ever (completely on paper since I have no actual hardware yet). anyone care to take a look and tell me how badly it's going to blow up, which it probably will since I have no real electronics competence?
04:14 AM _ami_: Xark: nope. i don't have time to do that. :)
04:14 AM Xark: _ami_: No worries. :)
04:14 AM _ami_: although i am okay if someone else sell it and gimme a cut :)
04:16 AM _ami_: Xark: i wrote one blog on this http://amitesh-singh.github.io/stm32/2017/05/21/FASTUSBasp-programmer-avr.html
04:17 AM _ami_: oh you follow me now. thanks :)
04:18 AM Xark: _ami_: Indeed :)
04:18 AM Xark: _ami_: Nice blog entry.
04:20 AM _ami_: Xark: thanks
04:21 AM _ami_: default FASTUSBasp ISP clock frequency is 3 MHz
04:21 AM _ami_: it can support 3 MHz , 1.5 MHz , 750 KHz, 375 KHz, 187.5 KHz
04:21 AM Xark: Yeah, seems "crazy fast" (but nice if it works). :D
04:22 AM _ami_: Xark: it works :)
04:23 AM _ami_: someone from germany also uses it.. and he likes it very much. :)
04:25 AM Xark: Nice, I tend to have a lot of 32KB sketches, so faster is better. Stupid stuff like https://www.youtube.com/watch?v=Imk5ony8JHI
04:28 AM _ami_: :)
04:28 AM _ami_: Xark: i plan to make nes simulator for my kid.. is there any existing simulator exist on avr or other mcus?
04:29 AM Xark: _ami_: Hmm, I haven't seen one for MCUs, only FPGAs. It s tricky to do the custom video chips.
04:40 AM _ami_: ok
04:50 AM polprog: MacGeek: i could take a look, im curious
04:51 AM MacGeek: polprog: https://www.dropbox.com/s/o681xfo5atykvnn/New-Schematic.png?dl=0
04:54 AM polprog: MacGeek: what is it supposed to do?
04:56 AM MacGeek: polprog: it's supposed to go in a car, intercept the factory wiring to a switch panel, and simulate the press of a button in said switch panel every time the engine is started
04:56 AM MacGeek: hence the voltage divider on the unregulated input going into the attiny
04:56 AM MacGeek: so I can start the program only after the voltage reaches levels indicative of a running alternator
04:57 AM polprog: the optomos relay part look suspicios to me
04:57 AM MacGeek: could be because I took the design from a board that used an electromechanical relay and put the lcc120 instead :p
04:58 AM MacGeek: I mostly lifted the design from this: http://evilmadscience.s3.amazonaws.com/wiki/artcontrol/artcontrol_A_schematic.pdf
04:58 AM polprog: the schottky diode is polarized the wrong way, effectively putting all current via the diode in the relay. you need a current limiting resistor
04:58 AM polprog: yeah the diode there is to neglect the negative spike on the relay coil
04:58 AM polprog: since that optomos doesnt use a coil you dont need a diode there
04:58 AM MacGeek: substituted the 2313 for the 85, removed all superfluous stuff (dip switches, jumpers, leds, screw terminals)
05:01 AM polprog: get rid of D2 and put a resistor in serie with the optomos input. also check if you need current limiting resisotrs on 8-out and 8-in.
05:02 AM MacGeek: this thing would go between the female connector on the car's wiring loom and the male header on the switch panel, so you don't have to tap into the car's wires and stuff and it's completely reversible
05:02 AM polprog: R3 should be pointing upwards, convetionally current goes from top to bottom on schematics
05:02 AM MacGeek: I only put the male headers in the circuit because I figured I can simply solder the wires going to the female connector on the back of the headers, removing the need to route all pins
05:02 AM MacGeek: except for pin 8 which is the signal, hence the pad
05:03 AM MacGeek: on the car's electrical scheme that NO button is showed as a direct short to ground, I'll have to check with a multimeter what the resistance is
05:03 AM polprog: the schematic of the car system may be simplified
05:03 AM MacGeek: I tested a similar button of a similar switch panel of a similar car, and my cheapie multimeter showed between 2-3 ohms of resistance
05:04 AM polprog: that's typical for a switch
05:04 AM polprog: the optomos has a maximum on resistance of 20 ohms.
05:05 AM MacGeek: https://www.dropbox.com/s/lnchj8whq7rsv80/Screenshot%202017-07-21%2019.05.29.png?dl=0
05:05 AM MacGeek: that's the diagram for the starting system, H006 is the switch panel I need to tap into
05:05 AM MacGeek: on the bottom right
05:06 AM polprog: hmm
05:06 AM polprog: i dont have much experience in car systems
05:06 AM MacGeek: it looks like it's just a direct short between pin 8 and ground when you push the button
05:07 AM MacGeek: the led between 1 and 9 is a status led on that same button but it looks like it's driven independently directly by the car's body computer (M001)
05:07 AM MacGeek: so I don't think I need to worry about it
05:07 AM polprog: just in case i would measure the current going through the switch when you push it
05:08 AM polprog: looks like it is
05:09 AM MacGeek: the entire purpose of this thing is to automatically disable engine stop&start
05:09 AM MacGeek: which is active by default every time
05:09 AM MacGeek: and can't be turned off once for all without access to the car's software, which I don't have
05:10 AM MacGeek: it could be sabotaged in a number of other ways, but they'd all anger the car's computers in one way or another and trigger DTCs
05:10 AM MacGeek: so I figured out just simulating the button press would be the best option
05:10 AM MacGeek: least intrusive, least likely to cause issues
05:12 AM polprog: good idea
05:18 AM polprog: ok, i changed the schematic a bit. if you have any questions about it feel free to ask
05:18 AM polprog: https://puu.sh/xjTh7/9b187f599b.png
05:19 AM MacGeek: ok, thanks, I already applied a couple changes on easyEDA, will continue to tweak
05:20 AM polprog: do you understand those changes?
05:24 AM MacGeek: I think so, the capacitor on the attiny85's vcc is for bypass, correct?
05:24 AM polprog: yeah
05:25 AM MacGeek: I've also been advised I may remove U1 from the input as it's probably not needed in a car
05:25 AM polprog: i'd leave it
05:27 AM MacGeek: also I guess the 7805 may be oversized for the application and I could probably get away with a smaller voltage regulator in a to-92 package
05:28 AM polprog: probably
05:29 AM polprog: sot-223 package for example
05:29 AM polprog: it's smd
05:31 AM MacGeek: I'm not sure I can solder smd without making a mess, I'm a clumsy fella
05:31 AM polprog: it's easy
05:31 AM polprog: even with a normal iron
05:31 AM polprog: you just need some flux
05:31 AM MacGeek: it sure would cut down significantly on board area
05:33 AM Snert__: smd turned out to be alot easier than I thought. I'd have solderwick around though
05:44 AM Emil: I find it super annoying how people are afraid of SMD
05:44 AM Emil: SMD, especially when diying, is super kawaii
05:44 AM Emil: And when you have them fabbed, they save cost
05:45 AM _ami_: MacGeek: SMD is easy! :)
05:47 AM Snert__: I would think that pcb layout is easier with less throo holes.
05:55 AM polprog: i was afraid of smd too before i tried
05:56 AM polprog: i remember redesigning my first smd pcb from 2512 to 1206 beacuse initially i tought 1206 would be to small to hand solder
05:56 AM polprog: now i know 1206 is huge and 0603 is still comfortable
05:57 AM _ami_: polprog: :)
05:57 AM MacGeek: and here I am accidentally ordering SOIC 555 chips and thinking "holy shit this thing is tiny I could never solder it"
05:57 AM _ami_: 0603 is adequate size for me too now :)
05:59 AM polprog: btw, my first even pcb to be fabbed
05:59 AM polprog: https://puu.sh/xjUcP/9587d74b8f.jpg
05:59 AM polprog: ever*
06:00 AM MacGeek: any particular reason for smd resistors and pdip chips?
06:00 AM polprog: it was the pcb that initially had 2512 because i was afraid of smd
06:01 AM polprog: later project has everything smd
06:01 AM polprog: it's smaller and cheaper
06:01 AM polprog: smd resistor costs ~ 10 cents
06:02 AM polprog: wait, duh, 0.10 eurocents :P
06:02 AM MacGeek: I'm in europe myself so no confusion for me there :p
06:02 AM polprog: i operate in PLN
06:03 AM MacGeek: italy here
06:04 AM polprog: like this one: http://pl.mouser.com/ProductDetail/Panasonic/ERJ-3GEYJ272V/?qs=sGAEpiMZZMvdGkrng054tw5/FYq5P/Do1QNxauZrLUw=
06:04 AM polprog: 10 cents for 10 pcs
06:04 AM Emil: polprog: you buy some damn expensive resistors
06:04 AM MacGeek: is that because out of 10 you're going to lose 8 every time you breathe a bit too hard? :p
06:04 AM polprog: Emil: it's not me whos paying
06:04 AM polprog: :P
06:05 AM Emil: polprog: smd resistors are often cheaper than a cent
06:05 AM polprog: MacGeek: youre laughing and that's a problem, i lost two 0603 leds that way!
06:05 AM MacGeek: heh
06:05 AM _ami_: although arranging smd parts before you solder can become a challenge sometimes
06:06 AM _ami_: especially for caps
06:06 AM MacGeek: *if* I tried smd, I'm sure I'd go for the biggest ones available
06:06 AM Emil: polprog: the fuck are you buying smd resistors for 10 cents a piece?
06:07 AM polprog: this is a good question
06:07 AM polprog: honestly
06:07 AM polprog: i dont remember, i think TME was cheaper
06:08 AM MacGeek: .it mouser page for that resistor says they cost 8 cents a piece only if you buy less than 10
06:08 AM MacGeek: 1 cent if you buy between 10 and 100
06:08 AM Emil: _Quickly_ checking from farnell, even in 100 quantities basic 0805 1k resistors go under 1 cent per piece
06:08 AM MacGeek: 0.3 cents if you buy >1000
06:08 AM Emil: and if you buy like 5k they go under a 1m€
06:09 AM Emil: Sorry, misread
06:09 AM polprog: maybe i made a mistake when calculating ..:|
06:09 AM Emil: but yeah, around 1m€
06:09 AM Emil: https://emil.fi/jako/kuvat/2017-08-26_13-38-34_gK2fAj8d.png
06:10 AM Emil: 14m€ in 5k quantities
06:10 AM Emil: 7€ per reel
06:11 AM polprog: mouser is just expensive...
06:11 AM Emil: I mean sure, you can get some expensive non standard value smd resistors and pay for them dearly
06:11 AM Emil: but basic
06:11 AM Emil: why
06:11 AM Emil: shit
06:12 AM polprog: what the fuck mouser
06:13 AM Emil: polprog: you have no excuse: https://emil.fi/jako/kuvat/2017-08-26_13-41-56_A7QFbrFj.png
06:13 AM polprog: ggt
06:13 AM polprog: gtg
06:13 AM Emil: But yeah they are more expensive at mouser
06:13 AM Emil: cya
06:13 AM Emil: I have to clean, too
06:14 AM MacGeek: fuck, laptop just randomly went to sleep while using it X_X
06:17 AM _ami_: Is mojo board good start for doing FPGAs? Xark ^
06:18 AM Emil: _ami_: get an incestick
06:18 AM Emil: icestick*
06:19 AM Emil: https://www.youtube.com/watch?v=rdLgLCIDSk0
06:19 AM _ami_: Emil: from where? Ali?
06:19 AM Emil: Project Icestorm
06:19 AM Emil: _ami_: from the manufacturer website
06:19 AM Emil: those sticks cost like 15€
06:22 AM Emil: http://www.latticestore.com/searchresults/tabid/463/searchid/1/searchvalue/ice40hx1k-stick-evn/default.aspx
06:23 AM Emil: I should put an order for one for myself, too
06:23 AM Emil: Perhaps the 8k version
06:24 AM _ami_: Emil it looks good.. but i wonder where are the other interfaces like usb/hdmi which i eventually do later when i get good at it.
06:36 AM Emil: lol
06:36 AM Emil: "I want to get started with FPGAs"
06:36 AM Emil: "I want HDMI"
06:39 AM Emil: https://www.onsemi.com/pub/Collateral/AND8005-D.PDF
06:39 AM Emil: I'm considering doing that directly
06:39 AM Emil: or using an avr
06:41 AM Emil: https://emil.fi/jako/kuvat/2017-08-26_14-10-02_9uampMkJ.png
06:41 AM Emil: Perhaps like this, with a smps powering the avr and relayt
06:41 AM Emil: or ssr
07:10 AM _ami_: Emil: i am thinking abt the future.. when i get good at it, i would do advanced stuffs.. like i did with AVRs and then stm32s
09:09 AM polprog: what do you think about bitbucket?
09:09 AM polprog: i need some place to back up the code
09:11 AM theBear: i think it fits nicely into the generic-sounding-name thing that all them paste-stuff websites and their offspring seem to follow
09:26 AM Emil: polprog: gitlab
09:27 AM Emil: polprog: but
09:27 AM Emil: polprog: you have your vps
09:27 AM Emil: polprog: why not just use git on that?
09:27 AM Emil: Whatcha need another service for it?
09:28 AM NoHitWonder: i like bitbucket, unlimited private repos
09:28 AM Emil: Just install git-all
09:28 AM Thrashbarg: what about ungit
09:29 AM Emil: I just want command line git that's user friendly
09:29 AM Emil: eww
09:29 AM Emil: ungit's some node project
09:30 AM Thrashbarg: I though you git stuff to upload it and ungit stuff to download it
09:30 AM Thrashbarg: maybe I should go to bed
09:30 AM Emil: https://www.gigantti.fi/product/tietokoneet/tietokonekomponentit/RASPI3MODB1GB/raspberry-pi-3-model-b-yhden-piirilevyn-tietokone
09:30 AM Emil: That's a pretty sweet offer
09:31 AM polprog: im short on HDDs
09:32 AM polprog: all hdds we have are older than 2 yrs
09:32 AM polprog: i guess ill just go and buy two to make a raid on some spare computer
09:32 AM polprog: we have that oldie compaq, about 10 years old (i remember playing flash games on it when i was 7 :D )
09:33 AM tpw_rules: quality: low
09:34 AM polprog: hmm, i could mirror the image from my laptop and run it on that compaq. it would make a great workshop pc
09:35 AM theBear: old, 2 years, hd ? surely i'm having a stroke, this can't be right
09:36 AM polprog: yes i know this is IT suicide
09:36 AM theBear: pfft ! i've got root fs's that claimed they had died of old age longer than 2 years ago !
09:38 AM polprog: maybe i overestimated..
09:38 AM polprog: the workstation disks are from nov 16
09:39 AM Tom_L: polprog start buying up ssds
09:39 AM Tom_L: hdds are old tech now ya know
09:40 AM polprog: i know
09:40 AM polprog: but i dont trust flash memory
09:40 AM polprog: and i dont need speed
09:40 AM Tom_L: i've had real good luck with samsung so far
09:41 AM polprog: brb
09:41 AM theBear: polprog ? hmmm, he's some kinda military dude from a country with lots of deserts right ? oh, pol pot, close <grin>
09:41 AM Tom_L: i had a brand new hdd go south very quick from sitting
09:43 AM theBear: Tom_L, i found all non-trauma-induced death hd's i seen over all the years and various/improving tech in the suckers, is within 48or 60 hours of new/install, i always figured same reason as classic mtbf kinda curves, due to manuf. error/issues or transport/pre-sale accidental damage, cos if they make it past those first few days, and don't get absolutely smashed by someone or thing, they seem to last forever and ever
09:56 AM Emil: polprog: ssds are way better
09:58 AM Tom_L: i agree early on they were flakey but have come a long ways
10:14 AM day_ is now known as daey
10:20 AM enh: hi
10:36 AM polprog: Emil: i'll see
10:37 AM polprog: maybe ill go for ssd due to physical size
10:39 AM Tom_L: polprog check out samsung evo
10:58 AM enh: bss36504: https://www.youtube.com/watch?v=nJu2IVze-8U
10:58 AM enh: IpadRehab masters say this is the true disease cause.
11:43 AM enh: Can you guys think of a reason for SDA on atmega328p be kept constantly high despite a transfer of data that should be hapenning?
11:43 AM LeoNerd: I forget if you have to DDRx it
11:44 AM LeoNerd: Hmm.. seems I don't do that and it works for me
11:45 AM theBear: hmmmmm.... i too forget, but i woulda thought any pullups or direction stuff would be auto-not-applied in i2c/whatever mode got sda, they all sound the same these days
11:46 AM enh: This module was working fine. I must have done some sh*t on the code... I can see the pulses on SCL, but SDA is at 3.3V and the scope captures nothing but that voltage
11:52 AM JanC is now known as Guest55602
11:52 AM JanC_ is now known as JanC
11:52 AM enh: The pull-ups are 10k
12:02 PM theBear: enh, you sure it isn't something external to the micro ? anything from a solder/wire speck or bridge somewhere thru maybe other chips on the shared line etc ?
12:03 PM enh: I 'm afraid it can be a HW problem, indeed. I used a USBtiny ISP programmer *cloce* twice and I'm afraid it could have damaged the module.
12:03 PM theBear: enh, also worth having a quick scan that you haven't accidentally knocked it outta the appropriate mode, only takes a teeny single letter/number typo sometimes to pop yer from a fancy mode back to yer standard gpio kinda pin functions
12:04 PM enh: theBear: I'll check that too.
12:04 PM theBear: i'd be surprised, hmm, what kinda module/circuit we talking, and is that *clock* or *close* ?
12:04 PM theBear: heh, speaking of single character of typo throwing everything into confusion :)
12:05 PM enh: https://hackaday.io/project/11724-yauvec-yet-another-unmanned-vehicle-controller
12:06 PM enh: The sensor module is the one I'm talking about. accel, gyro, pressure and magnetometer. Two SPI sensors and two TWI sensors. The last ones are not responding. SCL line is OK, but SDA is high.
12:07 PM enh: I bet that programmer fried the MCU
12:22 PM enh: Nope! Found! I reflowed the ATMega328p and now SDA is working!
12:22 PM enh: Probably a stupid bad solder
12:23 PM enh: Thanks a lot, theBear and LeoNerd
12:24 PM enh: The spectrum of problems in electronics is amazing.
12:25 PM enh: Just one step below the spectrum of problems in experimental physics
12:26 PM theBear: in my experience avr's are pretty darned hard to kill via anything remotely sane voltage-wise on i/o pins, to the extent that they'd rather fill up yer bypass/filter caps via the protectey internal clamp diodes and start running off that (parasitically powered by maybe your incoming serial data or something equally unsuited for the job) quite happily long before it'll get grumpified about something like 5v into a 3.3v supply/designed setup, or even ya
12:26 PM theBear: know, +-10v serial crap into a chip with no psu/battery present, and do the same thing
12:26 PM theBear: enh, and i suspect as the time passes that it's like philosophy.... the more you learn, the more you are aware of not-knowing because of it :)
12:27 PM enh: I must agree
12:27 PM enh: The volume of the sphere grows with the third power of the radius. Imagine a sphere of knowledge...
12:28 PM enh: I live near the sea. Probably bad contacts grow worse with time here
12:29 PM enh: At least now I have a tube of solder paste to help me. Befor I was tinning all by hand before soldering with hot air.
12:34 PM enh: https://filebin.ca/3YELSAdIbzeT/IMG_3472.JPG
12:35 PM enh: mess...
12:37 PM enh: Have you ever looked at an object near your monitor and your fingers tried to move the mouse cursor out of the screen to touch the object?
12:37 PM enh: I 'm probably getting old.
12:58 PM Fahrradkette: hi guys. is this the right channel for STM32F related stuff?
12:58 PM enh: there is a ##stm32 channel
12:59 PM enh: but most people here probably know how to handle both
12:59 PM enh: I don't
12:59 PM remkooo1 is now known as remkooo
12:59 PM Emil: Fahrradkette: how can you even ask such a thing? :D
01:00 PM Fahrradkette: :)
01:02 PM polprog: fi you use foss toolchain ask here :P
01:03 PM polprog: s/fi/if
01:08 PM Fahrradkette: I do...host runs on debian, ide is qtcretor, compiler is gcc, programmer is openocd, debugger is gdm
01:10 PM Fahrradkette: right now I'd like to figure out what's needed for my project. I plan to use 2 accerelometers (one is soldered on the 32f4 disco board, another will be accessed by i2c)
01:10 PM theBear: also err, ##microcontrollers exists, people from here and others with general micro interest hang around there, can be very dead or very alive at any given time
01:12 PM Fahrradkette: theBear: thanks for the pointer
01:13 PM enh: Amazing how the monitor image improves when the connector is well connected!
01:15 PM theBear: Fahrradkette, people round here pretty casual, but often a topic-named channel like avr/math/gcc etc some people get super grumpy if yer ask about ya know, an direct competitor/alternative/whatever subject in there, but ya know, us avr guys are way more awesome than those of the pure sciences, or who follow the philosophy of the coder and the neckbeard <cheeky grin>
01:15 PM Emil: Yeah we are super chill
01:17 PM Fahrradkette: philosophy of the coder? like beeing right?
01:17 PM theBear: Emil, don't forget interesting and all err, laden with excessive street-cred and at least 2.787 distinct flavours of swag <grin>
01:19 PM theBear: Fahrradkette, heh, if i was trying to pissoff a coder, i might say "and being convinced that your right is righter than EVERYONE else's" heh, but we're all so awesome and cool round here, and ya know, may have dabbled in code on occasion, when noone was around of course
01:42 PM remkooo1 is now known as remkooo
01:45 PM Emil: theBear: hm?
01:46 PM Emil: Oh yeah, we are chill about subjects
01:46 PM Emil: but we have varying levels of chill when compared against doing things :D
03:59 PM Lambda_Aurigae: just, whatever you do, don't mention microchip...those nasty guys...horrid corporate thugs!
04:01 PM Fahrradkette: so one should never considering using a pic?
04:02 PM Lambda_Aurigae: didn't say that.
04:02 PM Lambda_Aurigae: I use them all the time..specially pic32
04:03 PM Lambda_Aurigae: but microchip bought atmel some time back.
04:03 PM Lambda_Aurigae: horrid corporate takeover!
04:03 PM Lambda_Aurigae: so, Fahrradkette, what's your specific question anyhow?
04:04 PM Fahrradkette: oh didn't know atmel got bought by microchip
04:04 PM Lambda_Aurigae: yup.
04:04 PM Lambda_Aurigae: one big dysfunctional family now.
04:05 PM Fahrradkette: thought they were on the opposite side of the spectrum...atmel having the all inclusive chips while microchip having the cheap/stripped down ones
04:05 PM Lambda_Aurigae: not even
04:06 PM Lambda_Aurigae: 8bit pic and 8bit avr are pretty similar in peripherals.
04:06 PM Lambda_Aurigae: mostly avr being easier to use and faster clock for clock.
04:06 PM Lambda_Aurigae: avr being about 4 times the speed of a comparable pic at the same clock speed.
04:07 PM Lambda_Aurigae: pic has some nicer peripherals in my opinion.
04:07 PM Lambda_Aurigae: avr is easier to use and has a nicer open source toolchain.
04:07 PM Fahrradkette: like phys included?
04:07 PM Lambda_Aurigae: phys?
04:08 PM Fahrradkette: physical like rdy to go usb/ethernet
04:08 PM Lambda_Aurigae: oh...no.
04:08 PM Lambda_Aurigae: although, some pic chips do have that but they are usually higher end.
04:08 PM Fahrradkette: but better adc's?
04:08 PM Lambda_Aurigae: they include a built in version of the enc28j60 sometimes.
04:09 PM Lambda_Aurigae: new pick chips have DACs
04:09 PM Lambda_Aurigae: they have more chips with USB hardware...including several dip package chips.
04:09 PM Fahrradkette: that's nice for breadboard fun
04:09 PM Lambda_Aurigae: they have a 32bit chip in dip..and with usb hardware.
04:09 PM Lambda_Aurigae: many chips have built in CTMU now
04:09 PM Fahrradkette: CTMU?
04:09 PM Lambda_Aurigae: they have the PMP.
04:09 PM Lambda_Aurigae: charge time measurement unit.
04:09 PM Lambda_Aurigae: for doing touch sensors/buttons/sliders
04:10 PM Fahrradkette: like measuring a capacitor?
04:10 PM Lambda_Aurigae: cap sense
04:10 PM Lambda_Aurigae: yeah
04:10 PM Fahrradkette: so one could build a theremin? :)
04:10 PM Lambda_Aurigae: yup.
04:11 PM Lambda_Aurigae: I think that requires dropping the IQ about 20 points though.
04:12 PM Fahrradkette: coz nowadays one measures distances using a stereo camera setup?
04:13 PM Lambda_Aurigae: no.
04:13 PM Lambda_Aurigae: because theremin is music crap stuff.
04:13 PM Lambda_Aurigae: [:
04:13 PM Lambda_Aurigae: and I'm a bastard.
04:15 PM Fahrradkette: music is just the low stuff
04:15 PM Fahrradkette: frequency wise
04:15 PM Fahrradkette: :)
04:16 PM Lambda_Aurigae: I consider the theremin to be a musical instrument for people who can't play the guitar or fiddle.
04:29 PM enh: Hi. I'm back. Not that it matters much.
04:38 PM Tom_L: meh
05:06 PM enh: Can any music come out of a theremin?
05:15 PM polprog: depends what you call music
05:17 PM polprog: you can as well bash a phone keypad trying to play some melody
05:17 PM polprog: and it would probably sound better
05:29 PM polprog: night
05:43 PM Fahrradkette: I'd rather hook the keyboard event on /dev/input to the bios beeper :)
05:49 PM theBear: pfft, real men program .com files in olden times dos using that horrible debug util, then run those files which create interference on a nearby portable radio receiver, thusly making the sounds they wish to make <grin> nah, even 20 or 30 years ago very few real men did anything that silly with their time
05:52 PM Tom_L: i use copy con for my editor too
05:53 PM polprog: i use butterflies
05:54 PM Tom_L: u r too young to know about copy con
05:55 PM theBear: man that used to drive me mental, the lack of un-enter and in at least debug, maybe not copy con:, the lack of even an effing backspace !
05:55 PM theBear: too young my ass ;-)
05:55 PM Tom_L: not you silly bear
05:55 PM theBear: ahh, that's more like it, silly bear, not too young to have used computers when they were basically un-usable <grin>
05:56 PM Tom_L: bear metal heaven
05:57 PM theBear: heh, i think we should probably not ask the wide world of web for anything related to those 3 words at once :)
05:57 PM theBear: i think we'll probly be happier all day if we don't <grin>
06:01 PM enh: Have you ever heard of this: https://stackoverflow.com/questions/2219829/how-to-prevent-gcc-optimizing-some-statements-in-c?
06:01 PM enh: third answer
06:07 PM theBear: hmmm, is 3rd the pragma >v4.4.x or the volatile one ? either way, pretty sure volatile will equate to different subtleties depending on arch/env you aiming the code/compile at, tho it been a long time and most of that stuff didn't exist or get used when i really learned and actively programmed, cos ya know, no os's, no gui's, only wacky early adopter types even tried OO languages <grin> and if it the pragma stuff, i seen similar stuff done with it, but
06:07 PM theBear: never really needed it since it existed :-)
09:37 PM JanC_ is now known as JanC