#avr Logs

Jun 16 2017

#avr Calendar

12:24 AM mark4: woith call/rcall etc is the return address pushed with the low bytes of the address stored in the lower addresses on the stack?
12:26 AM mark4: i.e. push hi first. lo last?
01:10 AM rue_house: are you trying to insert a call before the return of your function?
01:41 AM mark4_: ni im doing...
01:41 AM mark4_: call foo
01:41 AM mark4_: .byte data goes here
02:15 AM mark4_: "NO" even.
02:57 AM Thrashbarg: we are the programmers who say.... NI
03:05 AM polprog: i think he wants to insert a raw byte just after the call and then at the end of the subroutine foo he wants to do some pointer magic so the raw byte is skipped instead of being executed as an instruction
03:05 AM polprog: s/pointer/program counter/
04:09 AM Thrashbarg: polprog: that was a common way to implement PRINT statements back in the day.
04:38 AM polprog: Thrashbarg: what do you mean?
04:38 AM polprog: how would that work?
04:40 AM Thrashbarg: pop the return address off the stack, use it as a pointer and increment to read the string and terminating character, push the pointer back onto the stack, return
04:42 AM Thrashbarg: won't work so cleanly on an AVR architecture however
04:42 AM Thrashbarg: needs to be word aligned
04:46 AM Thrashbarg: something like ... pop ptr; while(1) { c = *ptr; ptr++; if (c==0) break; putc(c) } push ptr; return;
06:15 AM Emil: hm?
06:15 AM Emil: wat
06:15 AM Emil: how to print in asm from sram
06:16 AM Emil: load address into one of the 16 bit registers
06:16 AM Emil: read a value from there
06:16 AM Emil: increment address
06:16 AM Emil: repeat until read value is 0
06:16 AM Emil: or if you have a predetermined length
06:16 AM Emil: no need to push or pop shit :D
06:16 AM Emil: word aligned
06:16 AM Emil: wtf :D
06:17 AM Emil: AVRs have no alingment issues
07:17 AM Emil: Hmm
07:20 AM Emil: So for audioleds controller v 1.1
07:20 AM Emil: What changes should I make
07:21 AM Emil: I'm seriously thinking about adding another chip to do adc
07:21 AM Emil: attiny25 perhaps
07:22 AM Emil: Heeeyyyy
07:22 AM Emil: I could get around the problem by having the m328pb do the firmware update
07:22 AM Emil: so my esp-12s can act as a serial bridge for programming the m328pb
07:23 AM Emil: and then my m328pb can program the t25 through spi
07:23 AM Emil: Getting the data from uart
07:23 AM Emil: Yeah that'll work nicely
07:24 AM Emil: Is attiny25 the bets one or should I select something else
07:26 AM Emil: And I could use CLKO to clock the tiny
07:27 AM Emil: No need for another crystal and I get a stable 16MHz
07:28 AM Emil: LeoNerd: Lambda_Aurigae do you remember if there's SRAM overhead from programming in C?
07:45 AM Emil: gah
07:45 AM Emil: Need a bigger chip
07:46 AM remkooo1 is now known as remkooo
07:48 AM Emil: Attiny84
08:37 AM Tachgrawr is now known as Tachyon`
09:25 AM remkooo1 is now known as remkooo
09:25 AM LeoNerd: Emil: SRAM overhead?
09:27 AM Emil: LeoNerd: a braibfart
09:32 AM remkooo1 is now known as remkooo
03:33 PM Emil: cehteh: were it you who drooled ovee those spot welders?
03:33 PM Emil: I have now decided to make onw
03:34 PM cehteh: nop
03:35 PM Casper: I wonder if I can use my welder as a spot welder hmmm
03:36 PM Casper: I need to check if there is a pulse setting for tig
03:36 PM Casper: there is one for mig
03:38 PM Emil: Hmm
03:38 PM Emil: I wonder who it was
03:40 PM Emil: Ah
03:40 PM Emil: it was specing
03:46 PM Casper: how much amp in a spot welder?
03:55 PM specing: 300+ A
04:08 PM Emil: Alrighty
04:08 PM Emil: Now correct me if I'm wrong
04:08 PM Emil: but
04:08 PM Emil: These
04:09 PM Emil: https://emil.fi/jako/kuvat/2017-06-16_23-32-18_rkc0p4hY.png
04:09 PM Emil: Are not
04:09 PM Emil: https://emil.fi/jako/kuvat/2017-06-16_23-33-07_RRY9VyDd.png
04:09 PM Emil: What a transformer
04:09 PM Emil: https://emil.fi/jako/kuvat/2017-06-16_23-35-29_UvYYsBpy.png
04:09 PM Emil: Should be looking like in a simulation :D
04:10 PM Emil: specing: did you make one or purchase one?
04:15 PM toblorone: does anyone here happen to use qt-creator for development?
04:16 PM specing: Emil: neither yet
04:19 PM Emil: toblorone: :D
04:20 PM Emil: Yet another branch
04:20 PM toblorone: Emil: you do? :^D
04:20 PM Emil: specing: I'm wondering if I should ac or capacitive
04:20 PM Emil: toblorone: no
04:20 PM toblorone: o : (
04:20 PM specing: Emil: lead acid automotive battery
04:21 PM Emil: specing: so capacitive
04:21 PM Emil: but I have this big microwave I want to take apart :D
04:26 PM Emil: Hmm, might anyone summarise the differences between attiny84a and attiny817 other than flash and ram size
04:33 PM Casper: specing: 300+A? :( my welder 'only' do 210A...
04:34 PM Casper: I find it sad that I can't adjust it's output voltage to like 11V.... would have been a great car battery charger MOUAHAHAHAHA! :D
04:35 PM specing: Casper: well yeah, but normal welders work for several seconds, spot welders only a few dozen ms
04:35 PM specing: have to get that energy in there somehow
04:36 PM Emil: specing: depends on how you do it
04:36 PM Emil: specing: if it's capacitive, sure, it only blasts for a few ms
04:36 PM Emil: but if it is ac
04:36 PM Emil: then you have a constant rms current
04:46 PM Emil: waitwaitwait
04:46 PM Emil: attiny814/816/817
04:47 PM specing: stm32
04:47 PM Emil: >10-bit 115ksps Analog to Digital Converter (ADC)
04:47 PM specing: stm8
04:47 PM Emil: waaaaaaaaaaaaaaaaa
04:47 PM specing: sloooow
04:47 PM Emil: well compared to the atmega328p 15ksps :D
04:48 PM specing: what
04:48 PM specing: I thought these things were 1 msps
04:48 PM specing: all
04:48 PM Emil: lolwat
04:48 PM Emil: specing:
04:48 PM Emil: do you even use avrs? :D
04:49 PM Emil: these new attinys
04:49 PM Emil: they are attinys only by name :D
04:50 PM Emil: These specs, they are op
04:51 PM JanC is now known as Guest55726
04:51 PM JanC_ is now known as JanC
04:52 PM specing: Emil: I used to, now I just troll this channel with Ada
04:52 PM specing: Haven't had time to do anything substantial since enrolling into CS
04:52 PM Emil: HAH
04:52 PM Emil: You admitted it!
04:52 PM Emil: You fool!
04:53 PM specing: I'm no fool, you all are
04:53 PM specing: ya'll should use Ada
04:53 PM Emil: also
04:53 PM Emil: is this your first year in CS?
04:53 PM Emil: Oh you sweet freshman
04:53 PM specing: fifth
04:53 PM Emil: You'll learn the ways o...
04:53 PM Emil: oh
04:53 PM Emil: well
04:53 PM Emil: Do you pay for it?
04:54 PM specing: about 30 eur per year
04:54 PM Emil: Germany?
04:54 PM specing: no, slovenia
04:54 PM Emil: Ah
04:54 PM Emil: well
04:54 PM Emil: fuck that
04:54 PM specing: yeah
04:54 PM Emil: cheaper than mine :D
04:54 PM specing: I should have gone physics or EE
04:54 PM Emil: 110€ iirc for me per year
04:54 PM Emil: You can change
04:54 PM specing: I can
04:54 PM Emil: I just changed to information technology
04:55 PM Emil: Didn't care about the physics much, just wanted to develop boards, design firmware, move data around and so on
04:55 PM specing: well you can't design much without knowing physics
04:55 PM Emil: Welll
04:55 PM Emil: If you say so
04:55 PM specing: when was the last time you made a RF board?
04:56 PM specing: or a motherboard with DDR3 ram?
04:56 PM Emil: That's not the kind of physics I'm talking about
04:56 PM specing: its the foundation though
04:56 PM Emil: True
04:57 PM Emil: And I do want that in people who I'll eventually hire
04:57 PM Emil: but it was not for me
04:58 PM Emil: Also designing rf boards is pretty much just about looking at tables and keeping best practises around
05:00 PM Emil: Ayyy
05:00 PM Emil: these attiny817s cost pennies
05:00 PM Emil: of course arms are still cheaper and more performant
05:02 PM Emil: wtf :D
05:02 PM Emil: The part with better temperature range is wayy cheaper
05:03 PM Emil: What the actual fuck is mouser doing
05:04 PM Emil: Oh wtf
05:04 PM Emil: they have YAPI
05:04 PM Emil: Yet Another Programming Interface
05:07 PM Emil: https://emil.fi/jako/kuvat/2017-06-17_00-37-08_Jr3SBTv3.png
05:07 PM Emil: Absolutely propietary
05:08 PM Emil: I do fucking wonder what the fuck are these people thinking about
05:08 PM Emil: Propietary is not a fucking selling point
05:10 PM Emil: but hmm
05:11 PM Emil: Apparently the interface is so simple you can run it through a usb to ttl uart
05:11 PM Emil: Which is nice
05:16 PM Lambda_Aurigae: Emil, yes, there is.
05:18 PM Emil: Lambda_Aurigae: repsonse to what?
05:19 PM Emil: Lambda_Aurigae: ah, the C one?
05:19 PM Emil: Yeah, I thought I had heard something about it
05:19 PM Lambda_Aurigae: whenever calling functions and stuff you have overhead.
05:20 PM Lambda_Aurigae: mostly stack based overhead though I think.
05:20 PM Lambda_Aurigae: never really dug into it.
05:20 PM Lambda_Aurigae: I don't work with the tiny chips much so don't run into problems generally.
05:20 PM Emil: qwll
05:20 PM Emil: well*
05:21 PM Emil: this 817
05:21 PM Emil: It's no lightweight
05:21 PM enhering: Lambda_Aurigae: You that know everything, can you suggest me a brushless mototr that works on 70% of quadcopters and has a good lifespan?
05:22 PM cehteh: 70%?
05:22 PM Emil: quite specific
05:22 PM enhering: approx
05:22 PM cehteh: haha
05:22 PM Emil: lol
05:22 PM enhering: 50%
05:22 PM enhering: not 10%
05:22 PM cehteh: what size of copter?
05:22 PM cehteh: what batteries?
05:22 PM Emil: a motor that only works in one half the copters
05:22 PM Emil: what kind of motor is that
05:22 PM Emil: ;)
05:22 PM enhering: see...
05:22 PM cehteh: what props
05:22 PM enhering: that is such a hard question.
05:23 PM cehteh: you cant just arbitary grab some motor
05:23 PM cehteh: yes it is because copter differ extremely ins size and purpose
05:23 PM enhering: no... some brands are cheap and useless. I'd like to avoid them
05:23 PM cehteh: its not only about brand, its about the spec of the motor
05:23 PM cehteh: size, power, KV
05:24 PM enhering: a prototype copter. Full os PCBs hanging on it. Maybe a camera.
05:24 PM cehteh: there is #multirotors .. but inform your self before you ebmarass yourself there :D
05:24 PM Emil: You're going to trust random internet people, who you already know might fuck with you, to recommend you a motor that should support expensive electronics?
05:24 PM Emil: :D
05:25 PM * cehteh helped a lot people building copters in the past, but such a generic question cant be answered
05:25 PM enhering: Emil. You are right, as always. Where can I find good info?
05:25 PM Emil: embarrass*
05:26 PM Emil: cehteh: what's your recommendation for a low cost fpv build?
05:26 PM Emil: I'll probably buy and build one this passing summer
05:26 PM Lambda_Aurigae: enhering, I have no clue...I know next to nothing...I just fake it with google.
05:26 PM Emil: enhering: dunno, I'm sadly not an expert on rc
05:26 PM Emil: Lambda_Aurigae: shhhhhh
05:26 PM Emil: Lambda_Aurigae: don't tell him our secret!
05:27 PM enhering: Thanks anyway.
05:27 PM Lambda_Aurigae: I think it's time to start charging for google searches again.
05:27 PM Emil: This night has been productive
05:27 PM Emil: >2017-06-17 00:21:49 +0300 < specing> Emil: I used to, now I just troll this channel with Ada
05:27 PM Emil: >I just fake it with google.
05:27 PM Lambda_Aurigae: oh hell, we knew that one from specing for months if not longer.
05:27 PM Emil: Two nice quotes to frame
05:28 PM cehteh: Emil: dunno, when you build yourself you get it pretty low cost, dont start with 3S batteries, get a stm32F3 or F4 controller which can run dronin
05:28 PM Emil: Lambda_Aurigae: he never admitted it himself
05:28 PM cehteh: everything else .. just look out for some prooven but cheap components
05:28 PM Emil: cehteh: instead of 3s?
05:28 PM cehteh: 4S
05:28 PM enhering: 4S?
05:29 PM Emil: 4 cell
05:29 PM enhering: Ok
05:29 PM Emil: 4 times nominal
05:29 PM Emil: (3.7 usually)
05:29 PM Emil: cehteh: recommended avenues of acquirement?
05:29 PM Emil: Or can I just buy cheapest F4 from eBay
05:29 PM specing: < Emil> >I just fake it with google.
05:29 PM specing: what
05:29 PM cehteh: i build most shit by myself
05:30 PM Emil: cehteh: you have board designs?
05:30 PM cehteh: nah props and frames
05:30 PM Emil: specing: it's what lambda said
05:30 PM Emil: cehteh: you diy your props?
05:30 PM enhering: I've got a turnigy 4.0 20-30C 3 cell, 11.1V battery here
05:30 PM Emil: from carbon fiber?
05:30 PM cehteh: i havent flown this year .. got a new bike and having fun with that
05:31 PM cehteh: Emil: yes
05:31 PM specing: most people have 3S lithium ion batteries around
05:31 PM Emil: that's nice
05:31 PM enhering: cehteh: I'm building my own controller. I'd like to have a good set to control
05:31 PM cehteh: https://pbs.twimg.com/media/CqFxtT2WYAA8qVh.jpg
05:31 PM Emil: Nice
05:31 PM cehteh: http://www.pipapo.org/cfprops/cfprops.html
05:32 PM cehteh: enhering: ever flown a copter?
05:32 PM Emil: Do you find it worth it to diy the props?
05:32 PM Emil: I mean, if you break a lot I bet they can be cheaper
05:32 PM cehteh: its a hobby
05:32 PM Emil: Ah
05:32 PM Emil: so for the hobby of it
05:32 PM cehteh: cheaper in price yes, worktime not
05:32 PM enhering: Only automated stuff. I'm building my own automated stuff.
05:32 PM cehteh: but performance is better
05:32 PM Emil: cehteh: yeah, time is never cheaper :D
05:32 PM Emil: cehteh: interesting
05:33 PM cehteh: well they are stiffer which makes a noticeable difference
05:33 PM cehteh: and also lighter
05:33 PM enhering: Ok... I'll rephrase. Should I buy a 4x1000KV kit from aliexpress or a 4x2700KV kit from aliexpress?
05:34 PM cehteh: enhering: you should first make a plan about the size of the copter, estimate the AUW
05:34 PM cehteh: tand 3S batteries suck balls
05:34 PM enhering: I should, for sure. I I knew what AUW means.
05:34 PM cehteh: All up Weight
05:34 PM enhering: good.
05:34 PM enhering: 5kg.
05:35 PM enhering: I want to take my cats to fly.
05:35 PM cehteh: then you need rather slow and big motors with lots of power
05:35 PM cehteh: and a good insurance
05:35 PM Emil: cehteh: but about the flight controllers
05:35 PM enhering: My cats wont suit me.
05:36 PM cehteh: Emil: there are plenty, i just brought clones from banggood
05:36 PM cehteh: as long they run the right software its fine
05:36 PM enhering: I did not knw there existed this slow and big / fast and small thing
05:36 PM cehteh: and for that i prefer dronin
05:36 PM enhering: What should I know next?
05:37 PM cehteh: enhering: go learn about this stuff before you make an expensive error and waste more of our time
05:37 PM cehteh: and better start small
05:37 PM enhering: cehteh: You are such a nice little troll...
05:37 PM enhering: 5kg is starting big?
05:38 PM Lambda_Aurigae: yeah.
05:38 PM cehteh: my small one is 561gramms as you see
05:38 PM enhering: I have so much to learn yet
05:38 PM cehteh: and my big one is over 2kg
05:38 PM Lambda_Aurigae: most quadcopters are way under 1kg.
05:39 PM cehteh: and 5kg is the limit what you can fly freely here in germany
05:39 PM enhering: What about the batteries? They are sooo heavey
05:39 PM Lambda_Aurigae: even the lego quadcopter...
05:39 PM cehteh: and considering the small one flies about 100mph ... if that smacks on the head of someone he is prolly dead
05:39 PM cehteh: now thing about 5kg
05:39 PM enhering: Is there a "now that you want to build your own quadcopter from scratch, how to select your motors guide?
05:40 PM Emil: enhering: ....
05:40 PM cehteh: as i saied, first you need to determine what size you want
05:40 PM Emil: you are trying to do a 5k lifting quad
05:40 PM Emil: enhering: as a novice
05:40 PM Emil: :D
05:40 PM cehteh: weight, diameter
05:40 PM Emil: as a noob
05:40 PM cehteh: and what flight characteristics, race, acro, camship, endurance
05:40 PM enhering: I'm a good pilot. I only crashed 3 gliders, and rebuilt them all.
05:40 PM Lambda_Aurigae: enhering, probably 4 dozen of them out on the interwebs.
05:41 PM cehteh: or just go for a generic 450 build
05:41 PM cehteh: 4 motors 2212 size around 900kv
05:41 PM cehteh: 9050 props
05:41 PM enhering: YES!
05:41 PM cehteh: 4S batteries
05:41 PM cehteh: 2200mah or less
05:41 PM Lambda_Aurigae: I would really like to build a motor-generator-battery combo powered multicopter.
05:41 PM cehteh: now you have some specs
05:41 PM enhering: Thanks, centeh. I knew a generic build existed!
05:42 PM cehteh: thats easy to do, flies .. and is about or less than 1kg
05:42 PM Emil: enhering:
05:42 PM Emil: that wont lift 5kg
05:42 PM Emil: and also
05:42 PM Emil: if you wanted a generic build
05:42 PM cehteh: well thats nothing you mentioned before
05:42 PM Emil: you should have asked ofit
05:42 PM cehteh: and nowadays 70% of the copter are not these 450 size
05:42 PM enhering: I should, Emil. Mea culpa.
05:43 PM enhering: Is there a better brand for 2212 motors?
05:43 PM cehteh: https://www.youtube.com/watch?v=8QP0QjIsTTM
05:44 PM cehteh: 2212 is the size
05:44 PM cehteh: i'd recommend sunnysky 980kv.. bit dated but they work
05:45 PM Emil: enhering: it's always hard when asking questions ;)
05:45 PM Emil: but everyone gets better at it
05:45 PM cehteh: 450 size is a bit big, but its good for learning, you can see the position and its not overly agile
05:45 PM enhering: Thanks, cehteh
05:45 PM cehteh: and still survives some crashes when buld well
05:47 PM enhering: cehteh: This is my stuff: https://hackaday.io/project/11724-yauvc-yet-another-unmanned-vehicle-controller
05:48 PM cehteh: glhf
05:48 PM cehteh: i wont use a 8 bit mpu for a controller anymore
05:49 PM enhering: Each module does one thing.
05:49 PM cehteh: still
05:49 PM cehteh: anyway have fun with it
05:50 PM enhering: The set of 4 motors cost around $60 at aliexpress.
05:50 PM enhering: I will upgrade the modules in the future.
05:50 PM enhering: Now I need to finish this prototype.
05:50 PM enhering: as it is.
05:50 PM specing: enhering: http://www.flyelectric.com/ans.kv.html
05:54 PM enhering: Thanks, specing.
05:56 PM enhering: Nice video, cehteh. Fast and agile copter. I want nothing like this. For me, slow is good enough. I want to learn to stabilize the flight, automate simple tasks, carry some weight. When I learn to do it I can go for faster stuff.
05:56 PM cehteh: thats an ooooold video
05:56 PM cehteh: meanwhile that looks lame
05:57 PM cehteh: i gave it as example for what you can expect from a old style 450 size
05:57 PM enhering: Good enough for me
05:59 PM cehteh: i think so
05:59 PM cehteh: needs pretty good pilot skillz
06:00 PM specing: enhering: build electric airplane that can VTOL
06:01 PM enhering: My brother is an aeronautical engineer. He suggested a rotor something. Competitor of helicopter in the past.
06:02 PM enhering: I 'll google it...
06:03 PM cehteh: https://www.youtube.com/watch?v=va2hQhweeTE oh also older now
06:05 PM enhering: https://en.wikipedia.org/wiki/Fairey_Rotodyne
06:09 PM enhering: cehteh: That is a very fast flying thing
06:10 PM Lambda_Aurigae: waaay overpowered.
06:10 PM Lambda_Aurigae: waaay noisy too.
06:56 PM -!- #avr mode set to +ns by cherryh.freenode.net
07:02 PM -!- #avr mode set to -o by cherryh.freenode.net
07:02 PM -!- #avr mode set to +ct-s by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +bbb by cherryh.freenode.net
07:02 PM -!- #avr mode set to +q by cherryh.freenode.net
07:02 PM cherryh.freenode.net changed topic of #avr to: 8 bit atmel microcontrollers ...and stm32?... http://wormfood.net/avrbaudcalc.php http://www.engbedded.com/fusecalc/
07:55 PM enhering: This guide looks good: http://www.dronetrest.com/t/brushless-motors-how-they-work-and-what-the-numbers-mean/564
07:57 PM enhering: “The ideal number of rpm of a motor for you is dependent on what type of copter you’re looking for. For example, if you’re looking for a high performance, acrobatic copter, a high rpm motor is the one for you, meaning of course a high Kv rating. This is intuitive because these acrobatic copters are generally of the smaller variety, meaning a smaller motor, leading to smaller propellers. When you have these smaller pro
07:57 PM enhering: pellers, the motors need to produce more rpm in order to produce the necessary thrust. However, this means that these motors use up more power than others, and so are less efficient.On the other hand, if you would like your copter to use the least amount of power as possible, and so last longer and be more stable, then motors with lower rpm are ideal. An example for when these types of motors would be useful is in taking ae
07:57 PM enhering: rial photos. Again, this is partly due to the fact that the type of copters used for this these tasks are bigger in order to carry the necessary equipment, meaning larger propellers, which will create more thrust when rotated. They therefore require fewer rpm.”
07:58 PM enhering: You probably know all this.
08:00 PM cehteh: when you look at motor specs they usually come with some tables
08:00 PM Lambda_Aurigae: aerodynamics and physics 101
08:00 PM cehteh: listing voltage (cells) and props
08:00 PM cehteh: vs thrust, current, efficiency and so on
08:01 PM cehteh: these tables are what you look for when selecting a motor
08:01 PM Thrashbarg_ is now known as Thrashbarg
08:02 PM cehteh: you want at very least 2:1 thrust to weight ratio (that wont perform well) for some dynamic flying you better have 3:1
08:02 PM cehteh: acrobatic and race copters have much more
08:03 PM cehteh: but efficiency goes down the drain at high thrust levels
08:04 PM enhering: makes sense. Thanks again, cehteh
08:04 PM cehteh: when you know the approx weight of your copter you can look at the efficiency measured in watts/gramm, you should aim for the best value you can get there for hoover thust or a bit more, not flull throttle
08:05 PM enhering: ok
08:06 PM cehteh: generally biggier and 2 blade props are more efficient, if you give them some work
08:06 PM cehteh: it wont work to have a huge prop on a ultralight copter
08:07 PM cehteh: but if in doubt biggier is often better
08:07 PM enhering: ok
08:07 PM cehteh: higer voltage (more cells) is also better, because then the current goes down and current losses are quadratic
08:08 PM enhering: makes sense
08:08 PM cehteh: there are huge camships with 8S drives which hoover at 1.5A per motor
08:09 PM cehteh: while small freaky race copters draw 20, 30 or more amps per motor
08:09 PM enhering: I'm probably looking for the first kind
08:11 PM cehteh: rather something inbetween
08:12 PM cehteh: you dont want to spend 10k$ right?
08:12 PM enhering: right.
08:13 PM enhering: I'm going for stable flights, carrying a small cam, in an easily replaceable frame. The cheaper, the better.
08:13 PM enhering: That is why my first approximation is with a frame made of PVC pipes.
08:14 PM enhering: light pipes.
08:20 PM xentrac: I finally figured out the oscilloscope-from-garbage problem!
08:20 PM xentrac: discarded flatbed scanners contain linear CCDs, which are connected to moderate-speed ADCs; discarded laser printers contain lasers connected to scanning mirrors
08:20 PM xentrac: point the laser at the CCD and modulate the laser brightness with the signal you want to measure as it passes across
08:20 PM xentrac: then the CCD retains the data in analog form, typically a few thousand samples, long enough for you to digitize it
08:21 PM xentrac: sound doable, Lambda_Aurigae?
08:22 PM rue_house: yup
08:22 PM rue_house: the CCDs are analog
08:22 PM rue_house: sometimes you can find 3 channel adc's
08:23 PM rue_house: just put the electrical singla into the adc
08:23 PM rue_house: *sheesh*
08:23 PM xentrac: yup, and in the scanner there's already one of those already hooked up to the CCD
08:24 PM rue_house: but alot of times its part of the fpga that processes the ccd signal
08:25 PM xentrac: oh really? I hadn't seen that, that would be a bummer
08:25 PM xentrac: although I guess probably reprogram the FPGA in that case
08:25 PM xentrac: which scanners are built that way?
08:39 PM enhering: cehteh: This motor: https://www.aliexpress.com/item/4pcs-SUNNYSKY-X2212-980KV-180W-Brushless-Motor-Quad-Hexa-copter-Free-soldering/1343171608.html?spm=2114.01010208.3.17.Dvcb5u&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10208_10068_10136_10137_10060_10155_10062_437_10154_5300011_10056_10055_10054_10059_303_100031_10099_10103_10102_10096_10052_10053_10142_10107_10050_10051_5030011_10173_10084_10083_10080_100
08:39 PM enhering: 82_10081_10110_519_10111_10112_10113_10114_10182_10078_10079_10073_10123_10189_142,searchweb201603_2,ppcSwitch_5&btsid=4b2997c0-4cd3-468c-bdeb-aadf86c71480&algo_expid=89d179da-82e2-4f0f-849b-eb0d1fa293c7-2&algo_pvid=89d179da-82e2-4f0f-849b-eb0d1fa293c7 together with a 1047 propeller and a 11.1V battery would give me aound 3400g trust at full power in a quadcopter, right? So it should be good for a 1.6kg quadcopter hovering
08:39 PM enhering: at 50% power. This makes sense?
08:39 PM enhering: ops. sorry. Ill fix the link
08:40 PM enhering: https://www.aliexpress.com/item/4pcs-SUNNYSKY-X2212-980KV-180W-Brushless-Motor-Quad-Hexa-copter-Free-soldering/1343171608.html?spm=2114.01010208.3.17.Dvcb5u&ws_ab_test=searchweb0_0,searchweb201602_1_10152_10065_10151_10208_10068_10136_10137_10060_10155_10062_437_10154_5300011_10056_10055_10054_10059_303_100031_10099_10103_10102_10096_10052_10053_10142_10107_10050_10051_5030011_10173_10084_10083_10080_10082_10081_10110_519_1
08:40 PM enhering: 0111_10112_10113_10114_10182_10078_10079_10073_10123_10189_142,searchweb201603_2,ppcSwitch_5&btsid=4b2997c0-4cd3-468c-bdeb-aadf86c71480&algo_expid=89d179da-82e2-4f0f-849b-eb0d1fa293c7-2&algo_pvid=89d179da-82e2-4f0f-849b-eb0d1fa293c7
08:40 PM enhering: soo bad
08:42 PM cehteh: make it less than 1kg
08:42 PM enhering: https://www.aliexpress.com/item/4pcs-SUNNYSKY-X2212-980KV-180W-Brushless-Motor-Quad-Hexa-copter-Free-soldering/1343171608.html
08:42 PM enhering: ok
08:42 PM cehteh: good night
08:42 PM enhering: good night!
11:04 PM eszett: Hi..
11:05 PM eszett: I have a question.. does someone know where to find used debugger devices, I'm looking for a Segger J-Link for a small price?
11:41 PM Tom_itx: why that specific one?
11:43 PM eszett: mainly because it the most famous one, which is better to find support+ressource on the web
11:44 PM eszett: of course I would be happy with another one too. For example Black magic Probe
11:44 PM eszett: I just wonder that there are no used ones to find
11:44 PM eszett: amazon/ebay/markets hardly any used debugger device is sold
11:45 PM Tom_itx: for avr?
11:52 PM day__ is now known as daey
11:53 PM motti: Hello, I am a newbie with AVR c
11:53 PM motti: trying to get ADC ISR working, but without success
11:54 PM motti: it works when I fire them from the the loop by manually pulling readings
11:54 PM motti: but unable to get it to fire the inturrupt
11:54 PM motti: https://gist.github.com/anonymous/736b31210a98d797737ffeedf3cd89aa
11:55 PM Tom_itx: SEI
11:56 PM motti: yea, got it right after i setup the adc registers
11:58 PM Tom_itx: doesn't look like my example uses interrupts either
11:58 PM Tom_itx: http://tom-itx.no-ip.biz:81/~webpage/how_to/atmega168/mega168_adc_index.php
11:58 PM Tom_itx: i thought i had one that did
11:58 PM motti: yea if i do the read from within the main loop it's working
11:59 PM motti: it's been bothering me for the past 2 and a half hours lol
11:59 PM motti: because its working from the loop, i think i got the prescalers and everything right
11:59 PM motti: it's ATMEGA168, running internal osc @1MHZ