Search found 6 matches

by Frans-Willem
Tue Mar 12, 2013 6:08 pm
Forum: Software development
Topic: MultiWii roadmap for 2.3
Replies: 62
Views: 21784

Re: MultiWii roadmap for 2.3

I've sent most of my arguments on this issue to Alex in a PM, so I don't want to waste a lot of text here, but I'd like to make one thing clear: We're losing track of what we're discussing. The whole multiple .ino files, multiple .h files, or proper .c/.h files has nothing to do with IDE. Yes, it's ...
by Frans-Willem
Sun Mar 10, 2013 3:45 pm
Forum: Software development
Topic: MultiWii roadmap for 2.3
Replies: 62
Views: 21784

Re: MultiWii roadmap for 2.3

If you want to split up the source nicely, please please please don't go with just sticking code into header files. Do it the nice C way: For each component have a C file with the source code, and a H file with the definitions of functions/struct/etc that should be accessible from other components, ...
by Frans-Willem
Thu Mar 07, 2013 9:38 am
Forum: Software development
Topic: External VBAT sensor
Replies: 7
Views: 4147

Re: External VBAT sensor

What ADC? I'm not using any on the ATTiny2313, it's just converting digital pulses to different pulses. Or do you mean the ADC I put the battery voltage meter on at the moment? The MultiWii Pro 2.0 has an ATMega2560, and it seems OK-ish. I've had to manually calibrate VBATSCALE, but at the moment it...
by Frans-Willem
Wed Mar 06, 2013 4:39 pm
Forum: Software development
Topic: External VBAT sensor
Replies: 7
Views: 4147

Re: External VBAT sensor

In case anyone wants to see the result:
http://imgur.com/6v3IyDR,5RBXq4i,ZuQzE7 ... ,clJ53FE#2
by Frans-Willem
Wed Mar 06, 2013 4:06 pm
Forum: Software development
Topic: External VBAT sensor
Replies: 7
Views: 4147

Re: External VBAT sensor

That was a great tip! Was able to solder up that circuit using a spare ATTiny2313A I had lying around In case anyone else wants to use it: (heavily based on http://www.multiwii.com/forum/viewtopic.php?f=13&t=2710) - Check with an osciloscope/logic analyzer that all your signals come in one after...
by Frans-Willem
Tue Mar 05, 2013 10:45 pm
Forum: Software development
Topic: External VBAT sensor
Replies: 7
Views: 4147

External VBAT sensor

I'm using a witespy MultiWii Pro 2.0 Flight controller, and although in general I'm really happy with this board, one thing that bothers me is that there is no VBAT pin. It's using a Atmega2560, with only (arduino) pins A8-A15 (used for RC input), D2-D10 (motor output), and D44-D46 (servo output) ar...