#avr Logs

Apr 15 2018

#avr Calendar

12:26 AM tyzoid_ is now known as tyzoid
01:21 AM rue_shop3: polprog, you might be awake soon
02:03 AM polprog: Thats true rue_shop3
02:03 AM polprog: Whats up?
02:03 AM Casper: you!
02:04 AM polprog: Ha!
02:24 AM polprog: https://youtu.be/OfDseoRMlfw :D
02:39 AM Casper: you should have set up pxe booting
02:49 AM polprog: I mounted it in the chassis and boited Hiren's to see if it works and do a memtest
02:50 AM polprog: booted*
02:52 AM Casper: it's annoying that hiren did not made a newer one
02:53 AM Casper: still looking for something like a small win10 one... something smaller than 1GB
03:07 AM polprog: True
03:08 AM polprog: But mini XP is so cute :D
03:08 AM polprog: I think there is also something called Ultimate Boot CD
03:08 AM polprog: Meant to supersede hiren
03:16 AM athos_: hello
03:18 AM polprog: Friendly chap
03:19 AM Thrashbarg: yup
05:03 AM polprog: Got freecad to work with two parts being connected together
05:10 AM cehteh: freecad just likes to crash on me too bad
05:11 AM cehteh: gone with onshape online/cloud cad now, slightly pita but at least gets the job done
05:29 AM nuxil: polprog, what are you doing with freecad? did you get a 3dprinter | a cnc mill ?
05:30 AM cehteh: https://matrix-irc.snt.utwente.nl/_matrix/media/v1/download/ghostdub.de/WELHdhbmNhwjTXnrsbEAvfHi :)
05:31 AM nuxil: oh, a quadcopter
05:31 AM cehteh: friend just printing the prototype
05:31 AM nuxil: what plastic are you using
05:31 AM nuxil: pla ?
05:32 AM cehteh: i'll build a mold from that, the copter frame then will be carbon fiber
05:32 AM cehteh: the print is pla
05:33 AM nuxil: is that the cr10 printer ?
05:33 AM nuxil: or tevo tornado
05:33 AM cehteh: dunno
05:33 AM cehteh: some modded china printer
05:33 AM nuxil: aint them all :p
05:34 AM cehteh: yeah
05:34 AM cehteh: http://public.pipapo.org/copter250.png
05:34 AM cehteh: my first 3D cad thingy :D
05:35 AM nuxil: not bad
05:37 AM polprog: nuxil: no, just messing aroubd
05:37 AM polprog: Around*
05:38 AM polprog: Modeled a funny small box in freecad
05:38 AM nuxil: lol.. that what i just did :p
05:38 AM nuxil: https://gyazo.com/4eaee9aedccf96afc7e6b475de952d7d :D
05:38 AM nuxil: for my pcb
05:39 AM nuxil: now printing the lit.
05:39 AM polprog: Heh nice
05:39 AM polprog: I need to get a 3d printer or find one close here
05:40 AM nuxil: tarantula you can build verry cheap
05:42 AM polprog: /dev/room: No space left on device
05:42 AM polprog: Lol nuxil you forgot the screw holes!
05:42 AM nuxil: polprog, nop.
05:43 AM polprog: Quick! Grab a soldering iron and make them!
05:43 AM nuxil: i did that on purpose.
05:43 AM polprog: Why?
05:43 AM nuxil: cos i dont gonna have screws on the lit. im gonna use small magnets.
05:44 AM polprog: So where are the magnet mounts?
05:45 AM nuxil: i have them drilled.
05:45 AM polprog: Whats the PCB inside it?
05:45 AM nuxil: the fan controller
05:46 AM nuxil: for my printer.
05:47 AM polprog: Ah that
05:47 AM polprog: Neat
05:49 AM polprog: This is gonna be my mixer http://allegro.pl/obudowa-aluminiowa-z-panelami-alug704rd110-gainta-i6114974438.html
05:49 AM polprog: Chassis
05:49 AM polprog: Ill put the front and back panel on the pcb so i have it ready made, drilled and labeled
05:49 AM nuxil: dude. you know mcdonnals advertisment for hamburger.
05:49 AM polprog: Which one?
05:49 AM nuxil: how big the look on tv.
05:49 AM nuxil: *they
05:49 AM polprog: Yeah
05:50 AM nuxil: well. i ordered some like that from ebay. then i got them they where tiny tiny boxes :p
05:50 AM polprog: Dont worry i measured all the stuff. I need at least 120mm width
05:50 AM nuxil: i just said to myself. they been watching way to many mc donnals adverts :p
05:50 AM nuxil: cos it feelt like that,
05:50 AM polprog: And for the height i need to think about changing the switches
05:51 AM nuxil: Wymiary profilu aluminiowego : 108,50 x 30 x 110mm.
05:51 AM nuxil: youre screwed
05:51 AM nuxil: :p
05:54 AM polprog: Ikr.. It will fit ;)
05:55 AM nuxil: like.. if it doesnt fit. make it fit :p
05:55 AM polprog: Hence freecad. Ill model that alu beam and see if it fits (kicad can export a 3d model)
05:55 AM polprog: Well... I could add an uart interface to it and make it all computer controlled but wheres the fun in that
05:55 AM polprog: I found a mixer that looks just like i want mine to look
05:56 AM polprog: https://www.studiocare.com/media/catalog/product/cache/1/image/2000x/040ec09b1e35df139433887a97daa66f/s/h/shure-fp33-inputs.jpg
05:56 AM polprog: Look at this
05:56 AM polprog: Want
05:58 AM nuxil: whats that pin for? secret grenade in it? incase the music is so awefull you want to commit suicide ?
05:58 AM nuxil: :p
06:01 AM polprog: Thats for a lanyard so you can put it on your neck and show everyone your cool mixer
06:01 AM polprog: But i like your idea
06:02 AM polprog: "In case of country music, pull firmly"
06:02 AM nuxil: :D
06:03 AM polprog: New version would have a neural network loaded with country samples and do that automatically.
06:06 AM polprog: Off to making waffles
07:52 AM MrFahrenheit: nuxil, my printer finally left china
07:52 AM nuxil: :)
07:54 AM nuxil: so in 3-4 weeks you have it
07:55 AM MrFahrenheit: no, 2 weeks is my guess
07:55 AM MrFahrenheit: it'll probably be in my country in a week, and then the customs office gets to drag their feet
07:56 AM nuxil: what contry do you live in
07:57 AM MrFahrenheit: I don't wanna say
07:58 AM nuxil: oki.
07:58 AM MrFahrenheit: don't worry, it's not the netherlands
07:59 AM nuxil: so some place in europa
07:59 AM MrFahrenheit: yeah, but not the netherlands
08:00 AM nuxil: why do you say that ? i would not guessed that.. so i guess its somewhere close to netherland :p
08:01 AM * nuxil is homeing in on MrFahrenheit location
08:01 AM MrFahrenheit: I don't want you to think I'm dutch
08:01 AM nuxil: LOL
08:01 AM nuxil: is that bad?
08:01 AM MrFahrenheit: being dutch? oh, yeah
08:01 AM MrFahrenheit: it's something I wouldn't wish upon my biggest enemy
08:02 AM nuxil: haha
08:06 AM polprog: Lol
08:06 AM polprog: I noticed that this pringles can looks kinda like a wave guide
08:07 AM polprog: In theory if i put an antenna in the right distance from the metal bottom i could boost the signal
08:09 AM polprog: Or i could try and make my own low power 433mhz transceiver. I could attach the serial module on the back of the can
08:11 AM polprog: 433 mhz is only 68 cm long
08:11 AM polprog: Hmm
08:12 AM polprog: 2.4 wifi is only 12.5 cm long. This can is about 20 cm
08:13 AM polprog: MrFahrenheit: now you see why i need that analyzer ;)
08:15 AM MrFahrenheit: sure
08:18 AM MrFahrenheit: the linux kernel is one of the few good parts of android, and google seems to be pushing on with this new mobile os of theirs
08:30 AM theBear: mmm... i ain't gonna try to suggest possible reasons why, but them google folk sure do seem to like taking good things or ideas and then using their IMMENSE resources to make those good things worse than yer average mind could possibly have imagined was possible...
08:32 AM MrFahrenheit: well if they stick with this fuchsia thing, get ready for a fully proprietary mobile world
08:42 AM theBear: i wouldn't know about, i'd guess it's either a colour i can't appreciate with my glasballs, or a stupid name for their next big stupid droid related idea, either way, i think i'd rather not find out for a little bit more, cos ya know, i'm having a not-terrible day so far :)
09:48 AM polprog: Haha. True!
11:23 AM MrFahrenheit: theBear, that's the name for their new from-scratch microkernel os that's MIT licensed
11:24 AM MrFahrenheit: "getting manufacturers to comply with the GPL is hard, so let's use MIT"
11:24 AM Emil: :D
11:31 AM polprog: >not using beerware
11:31 AM polprog: amateurs
11:35 AM Emil: imagine making beerware
11:35 AM Emil: and then millions of people use it
11:35 AM Emil: And then you start to enforce the license
11:35 AM Emil: :D
11:36 AM polprog: thats one beautiful death
11:41 AM rue_bed: like minecraft
11:41 AM rue_bed: !
11:43 AM polprog: hey rue
11:43 AM polprog: what did you want in [my] morning?
11:44 AM polprog: https://www.youtube.com/watch?v=PthKuuXh6qY
11:44 AM polprog: lol ^
11:52 AM polprog: rue_bed:
12:16 PM rue_mohr: I'm up
12:17 PM polprog: yeah
12:17 PM rue_mohr: your making something
12:17 PM polprog: all the time!
12:17 PM rue_mohr: a mixer?
12:18 PM polprog: trying to get some free time, decide on the enclosure, order it and make a PCB for it
12:19 PM rue_mohr: it works!
12:19 PM polprog: i hope so
12:20 PM rue_mohr: ah, your going to throw money at a pcb that dosn't work, and then try to hack it till it does
12:20 PM rue_mohr: or end up doing 3 lots of pcbs
12:20 PM polprog: well. i was thinking about making a raster board proto
12:20 PM rue_mohr: and try to work out what to do with all the ones that disn't work
12:20 PM rue_mohr: for fft or scope?
12:21 PM polprog: actually ive got a nice stripboard that will make putting the mixer together easy
12:21 PM rue_mohr: k
12:21 PM rue_mohr: what circuit did you settle on?
12:22 PM polprog: current amplifier on the output, added some slight filtering
12:23 PM polprog: http://polprog.net/rozne1/mixer-rev-D.pdf
12:24 PM polprog: should have renamed labels from presum to preout
12:25 PM rue_mohr: nice
12:25 PM polprog: me from before a month would barely recognize the voltage follower
12:26 PM rue_mohr: no issues with max 232 ripple then?
12:26 PM rue_mohr: I can pull that trick later too?
12:26 PM polprog: so far the most that i had connected to it were, umm.. 2 amps in chain. maybe 3
12:27 PM polprog: so, ill tell you later :x
12:27 PM polprog: when i do the rasterboard proto
12:27 PM polprog: bbl
12:28 PM rue_mohr: why does the sum have filters?
12:30 PM rue_mohr: polprog, thing volume buying, instead of 20k, use 2 10k in series
12:31 PM rue_mohr: so
12:31 PM rue_mohr: all that mute stuff ends up going to a switch, no logic control
12:31 PM polprog: I added the filters to the output stage to remove hf noise.
12:32 PM rue_mohr: I'd mention usb power, but I'v noticed that on average is REALLY HORRIDLY NOISY
12:32 PM polprog: I was looking at mixer schematics (mackie) and noticed that every single amp there has them
12:32 PM polprog: No usb power lol
12:32 PM rue_mohr: huh
12:32 PM polprog: This is the first proto so i think i will add some logic later
12:33 PM rue_mohr: if you were to use AC input, you could use a cap mult to generate your +- voltages
12:33 PM polprog: If i had a bit bigger thing id use a center tapped transformer
12:34 PM rue_mohr: you dont need a center tap
12:34 PM rue_mohr: hmm, how fast can I draw...
12:34 PM polprog: I know but its easier
12:34 PM rue_mohr: take a H bridge
12:35 PM rue_mohr: for one leg of the AC remove the diodes and replace with capacitors
12:35 PM rue_mohr: that ac leg becomes ground
12:35 PM rue_mohr: the + and - of the 'bridge' become v+ and v-
12:35 PM rue_mohr: ?
12:35 PM polprog: Hm?
12:38 PM rue_shop3: did that work?
12:38 PM polprog: You mean did i test it?
12:39 PM rue_shop3: http://ruemohr.org/~ircjunk/images/pi/IMG15Apr2018_173656.jpg
12:39 PM rue_shop3: there is no viewfinder on the posts-to-internet picam
12:39 PM polprog: I see.
12:39 PM polprog: Okay
12:40 PM polprog: Might give it a try
12:40 PM rue_shop3: its just another idea
12:40 PM polprog: I think i have an lv transformer
12:40 PM polprog: 33vac
12:40 PM rue_shop3: it'll double it
12:40 PM rue_shop3: so 33vac will be
12:40 PM rue_shop3: + 46 and -46V
12:41 PM rue_shop3: about 9vac would be ~ + - 12V
12:41 PM rue_shop3: its two half bridge rects
12:42 PM polprog: double it?
12:43 PM rue_mohr: 33vac will recult in +46V and -46V
12:43 PM polprog: right i see
12:43 PM rue_mohr: 9vac will result in about +12V and -12V
12:43 PM polprog: let me put the amp together
12:43 PM polprog: on this rasterboard
02:34 PM polprog: Mute stage for 1 channel done
02:59 PM polprog: 2 fuckin hours
03:19 PM JanC_ is now known as JanC
03:50 PM n0m: anyone got ideas why this pin isnt PWMing? https://paste.debian.net/1020468/
03:55 PM Emil: n0m: did you set DDRx and PORTx?
03:55 PM Emil: also you sure it's all on TCCR0B?
03:55 PM nuxil: sei();
03:55 PM nuxil: OCR0A = 0x7f; // half
03:55 PM nuxil: OCR0B = 0x40; // kvart duty
03:55 PM nuxil: TCCR0A = (0<<COM0A1) | (0<<COM0A0) | (1<<COM0B1) | (0<<COM0B0) | (1<<WGM01) | (1<<WGM00);
03:55 PM nuxil: TCCR0B = (1<<WGM02) | (1<<CS02) | (0<<CS01) | (0<<CS00);
03:55 PM Emil: And not in TCCR0A, TCCR0B and TCCR0C?
03:56 PM Emil: nuxil: pls
03:56 PM nuxil: _D
04:04 PM n0m: Here's the full setup code: https://paste.debian.net/1020469/
04:05 PM n0m: so, i thought you could use both timers
04:05 PM n0m: my goal is to generate a 1kHz, 5% duty cycle on two separate pins, with 500us of delay between them
04:08 PM n0m: Emil: nuxil: any ideas?
04:15 PM nuxil: n0m, what chip ?
04:16 PM n0m: nuxil: atmega 328p
04:17 PM nuxil: was looking at. TCCR0B |= _BV(COM0B1); that doesnt look right..
04:17 PM nuxil: but i dont have the datasheet for atmega 238
04:18 PM nuxil: yea dont think you should use COM0B1 for TCCR0B. thats for TCCR0A
04:19 PM n0m: wait really?
04:19 PM nuxil: check your datasheet :)
04:19 PM n0m: so, given what i want to achieve (same pwm signal w/ 180 degrees of phase), how would you do it?
04:20 PM nuxil: https://www.avrfreaks.net/forum/tut-c-pwm-complete-idiots
04:20 PM Emil: n0m: rtfm
04:20 PM Emil: n0m: the settings are in two registers
04:21 PM Emil: TCCR0A and TCCR0B
04:21 PM Emil: for a single timer
04:21 PM Emil: 0 means the timer here, A and B (and C) denote what register for that timer
04:22 PM n0m: oooo
04:22 PM n0m: okay i see that now
04:22 PM n0m: thanks
04:22 PM Emil: n0m: take the datasheet in hand
04:22 PM Emil: it is 100% clear
04:22 PM Emil: and drop your arduino code
04:22 PM n0m: lol
04:22 PM * nuxil agrees :D
04:23 PM Emil: unless you know what you are doing your arduino code will interfere
04:24 PM Emil: besides, DDRx=somethig and PORTx=something is so much nicer to user
04:24 PM Emil: s/user/use
04:25 PM n0m: okay yeah so i'm now seeing the pwm, but no phase delay (which is what that delayMicro is supposed to accomplish)
04:25 PM n0m: should I use the inverting PWM and set my compare to be a different value?
04:27 PM Emil: n0m: post your code
04:27 PM Emil: also don't knowwhat you are exactly after
04:28 PM n0m: from earlier: my goal is to generate a 1kHz, 5% duty cycle on two separate pins, with 500us of delay between them
04:28 PM n0m: here's the up to date code: https://paste.debian.net/1020470/
04:31 PM Emil: ...
04:31 PM Emil: mate
04:31 PM Emil: what
04:31 PM Emil: did
04:31 PM Emil: I
04:31 PM Emil: say
04:32 PM polprog: Read about timer modes caerfully. There are like 16 of them, one will probably fit your need
04:32 PM polprog: And mixing low level c and high level arduino code is a bad idea :D
04:32 PM Emil: n0m: the fookin settings are in *A and *B registers
04:33 PM polprog: Oi!
04:34 PM Emil: There is no CS0n in TCCR0A
04:34 PM Emil: "atmega328p datasheet" to your favourite search engine
04:36 PM n0m: ooooooooooooooh i see now
04:36 PM n0m: the settings are spread across two registers
04:36 PM n0m: cool
04:37 PM Emil: tat's the second "oooo okay i see that now"
04:37 PM Emil: My trust in you seeing it now is greatly diminished
04:39 PM n0m: yo, there's really no reason to be a jerk
04:40 PM n0m: you learned this too at one point
04:40 PM n0m: also, it's possible to learn two things in a day
04:40 PM n0m: believe it or not
04:40 PM Emil: if you want help stop complaining and whining
04:42 PM n0m: i mean, all you've told me to do is rtfm
04:42 PM n0m: so
04:43 PM n0m: just don't respond if that's what you're going to say, cause that's what i've been doing
04:43 PM Emil: n0m: ...
04:43 PM Emil: n0m: fuck off if you can't read
04:43 PM n0m: i come here with hope that somebody who may have experienced this problem before may be able to offer advice
04:43 PM n0m: alright
04:44 PM Emil: God damn the entitlement
04:44 PM n0m: my apologies
04:45 PM Emil: share your fixed code
04:46 PM n0m: will do, currently fixing
04:46 PM Emil: Also to explain further on ditching Arduino code: unless you know what the libs do they might very well change timer settings and introduce interrupts or whatever
04:46 PM polprog: Open up the timer mode table (WGM bits) and see what each setting does, check COMx bits, and make sure you have pin DDRs set properly
04:46 PM Emil: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-42735-8-bit-AVR-Microcontroller-ATmega328-328P_Datasheet.pdf
04:47 PM polprog: You can check if the timer is running with a simple pin toggle in one of the ISRs. Thats a good way to debug it
04:47 PM polprog: Set up a compare interrupt (comparator controls PWM) and see if it triggers
04:47 PM polprog: Thats for the experience part, rest is RTFM...
04:48 PM n0m: using the FC bits?
04:48 PM Emil: the only parts that really matter for most work is register descriptions
04:49 PM polprog: Yes
05:16 PM rue_mohr: n0m, would you like some known-good code to check your hardware with?
05:18 PM n0m: absolutely!
05:18 PM rue_mohr: any pin ok?
05:18 PM n0m: i tried changing to the phase correct pwm and it's giving me these curves that look like RC charge/discharge curves
05:18 PM n0m: yep
05:19 PM rue_mohr: let me dig
05:20 PM polprog: Rc charge and discharge curves? Are you sure you dont actually have any load on those?
05:20 PM rue_mohr: huh, dosn't look like I ahve an isolated example...
05:21 PM n0m: yes it's straight into the scope
05:21 PM n0m: TCCR2B |= _BV(CS21) | _BV(CS20); // CS = 0b011 -> clk / 64
05:21 PM n0m: oops
05:21 PM n0m: https://photos.app.goo.gl/ob63ZCNKtw6A8W2U2
05:21 PM polprog: I should upload some of my creations as well. Maybe someone will make use odnit
05:22 PM n0m: okay that's fine
05:22 PM polprog: This looks good.. Whats the bottom trace? Add a 10k to ground and uta gonna be cool
05:22 PM n0m: the bottom is the other pwm
05:22 PM n0m: hardware setup: https://photos.app.goo.gl/2JZPB6N5EnwPXTX82
05:22 PM n0m: and it's booking across the screen
05:23 PM n0m: like sliding past
05:23 PM n0m: i think its just a triggering issue
05:23 PM rue_mohr: Pin D6
05:26 PM n0m: here's the code: https://paste.debian.net/1020474/
05:26 PM polprog: Yeah thats triggering. Ground the scope better
05:26 PM polprog: Should help
05:26 PM n0m: also i removed and reintroduced the probes and got a much nicer looking signal, though the top pwm has twice the period I was expecting
05:26 PM n0m: sec
05:26 PM polprog: That may mean one of the modes is not in fast pwm
05:26 PM rue_mohr: n0m, do you have gcc-avr and avrdude?
05:26 PM n0m: https://photos.app.goo.gl/ancSbRE0SfmG6hI73
05:26 PM rue_mohr: n0m, what kind of programmer do you have?
05:26 PM polprog: Yeah you seem to have one on fast and one in phase correct
05:26 PM n0m: i should given that i have the arduino IDE
05:26 PM n0m: yes i do
05:27 PM n0m: should both be in phase correct?
05:27 PM rue_mohr: this isn't written in arduino
05:27 PM rue_mohr: its C with a makefile
05:27 PM n0m: i can work w that
05:27 PM polprog: Yeah. Both should be in the same mode
05:27 PM rue_mohr: if it wont compile, I'll give you the .hex
05:27 PM n0m: ahhh ok
05:27 PM n0m: ya just link me a zip
05:28 PM polprog: Take a look at the plots showing fast pwm and phase correct pwm and youll see why one is twice the speed
05:29 PM rue_mohr: packaging...
05:29 PM polprog: Tar czvf ircjunk.tgz ircjunk/ :p
05:30 PM rue_mohr: http://ruemohr.org/~ircjunk/avr/basicpwm328.tgz
05:30 PM n0m: got it
05:30 PM n0m: :)
05:30 PM rue_mohr: its actaully, /morfiles/programming/c/avr/atmega328/basicpwm/
05:30 PM rue_mohr: I'm going to test it now :)
05:31 PM n0m: polprog: yeah i've seen the triangle wave guy. It has something to do wiht the up and down counting iirc?
05:31 PM rue_mohr: make sure I didn't just break it
05:31 PM polprog: Yeah
05:33 PM n0m: hmm okay
05:34 PM polprog: You know how to open a tgz? ;)
05:35 PM n0m: i use gentoo so
05:35 PM n0m: i know a bit about that
05:35 PM polprog: :)
05:36 PM n0m: ok gents, i'm gonna go get food
05:36 PM n0m: thats for the help so far
05:36 PM n0m: i'll be back if the phase correct stuff proved challenging
05:47 PM nuxil: polprog, what u still doing up :p
05:47 PM polprog: Being bored
05:47 PM rue_shop3: arg
05:47 PM rue_shop3: did it work?
05:48 PM polprog: Thinking what stuff i have to get to finish the mixer rasterbaord tomorrow
05:49 PM polprog: Rue, so far i put together the supply, 1 input jack (resoldered from a shit rasterboard), and the muting circuit for one stereo channel
05:49 PM polprog: I also notuced i should take a pen and plan the rasterboard layout ahaead. Hihihi
06:00 PM rue_shop3: did n0m get it working?
06:00 PM rue_shop3: I was distracted
06:10 PM polprog: No he went to get a snack
06:18 PM polprog: I think ill go to sleep now
06:18 PM polprog: The cat came here
06:18 PM polprog: Niters
06:19 PM polprog: 0117. And i have to be up at 0600
06:19 PM polprog: Damn
06:19 PM polprog: Cya
06:28 PM Emil: polprog: good night
06:28 PM Emil: I'm also off to bed
07:14 PM n0m: polprog: Yo so I got the PWM to work with a phase offset, the only thing left to fix is the fact that the output on AVR pin 11 (digital PWM pin 5 on arduino) has a max voltage of 500mV instead of 5V like the one on pin 17
07:14 PM n0m: getting you a picture of the scope, just a sec
07:16 PM n0m: https://photos.app.goo.gl/WpgPz8paZ1Fkjfw12
07:16 PM n0m: Pin 11 is blue, 17 is purple
07:19 PM n0m: also, the code: https://paste.debian.net/1020482/
07:20 PM n0m: I believe the noisiness on blue is due to different probes
07:23 PM n0m: anyone else know why the pwm may be outputting 500mV instead of 5V?
07:23 PM n0m: Like, peak, not average
07:23 PM n0m: Emil: any ideas?
07:24 PM rue_mohr: n0m, did that code go togethor for you?
07:25 PM rue_mohr: n0m, if your getting 500mV instead of 5V, most likey your scope is wrong
07:25 PM n0m: OMFG
07:25 PM n0m: yeah the attenuation was 500:1 and not 50:1
07:25 PM n0m: yep
07:25 PM n0m: wow
07:25 PM n0m: thanks
07:25 PM rue_mohr: did the ode I gave ya work then?
07:26 PM n0m: yep! thanks, I got thw rest together with some inspiration from that
07:26 PM rue_mohr: goood
07:27 PM n0m: ok awesome, thanks for all the help yall
11:22 PM polprog: Good morning
11:30 PM day__ is now known as day