tag:blogger.com,1999:blog-5821522320379987891.post7524947309628690242..comments2023-11-11T18:21:04.799+01:00Comments on Shrediquette - the award-winning multirotors by William Thielicke: GUI released and some other thingsWilliam Thielickehttp://www.blogger.com/profile/01217178163189555726noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5821522320379987891.post-9500460633944111682010-03-29T15:27:48.605+02:002010-03-29T15:27:48.605+02:00William
I am looking that link, will read. Thank y...William<br />I am looking that link, will read. Thank you a lot for your time, and for the link ...<br />You are right, nice start.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5821522320379987891.post-72152709527893522952010-03-28T18:38:13.059+02:002010-03-28T18:38:13.059+02:00I don't know yet, I'll decide that in the ...I don't know yet, I'll decide that in the near future. So far you can have a look at this article:<br />http://translate.googleusercontent.com/translate_c?hl=de&sl=de&tl=en&u=http://www.rn-wissen.de/index.php/Windows_Programm_zum_Steuern_des_AVR%27sWilliam Thielickehttps://www.blogger.com/profile/01217178163189555726noreply@blogger.comtag:blogger.com,1999:blog-5821522320379987891.post-76426158982415532892010-03-28T17:25:36.929+02:002010-03-28T17:25:36.929+02:00Very good job
A question: will you release the sou...Very good job<br />A question: will you release the source for GUI that way some of us can learn a bit more about PC-AVR exchange of information (modern or contemporary way)<br />Thank you for sharing your knowledgeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5821522320379987891.post-28602186775817586392009-12-20T00:11:52.483+01:002009-12-20T00:11:52.483+01:00ciao william
o trovato questo programma per ardui...ciao william <br />o trovato questo programma per arduino<br />e possibile inserire nel programma principale<br />naturalmente aggiungendo le altre 3 porte<br />che mancano. poi nel programma di configurazione<br />del tricottero scegliere PWM/IC2.<br />------------------------------------------------<br /><br />// MK I2C receives I2C power levels and converts that to a standard 490 hz pwm output on pin 9. <br />// connect ground, data (orange on mine) to Arduino analog pin 4, clock (brown on mine) to Arduino analog pin 5.<br />// connect ground, esc signal output to pin 9.<br />// Saleae reports 29, 2A, 2B, and 2C which are hex numbers. The wire.begin() command expects decimal numbers, so <br />// Motor number 1 (Front) is 29 hex or 41 decimal<br />// Motor number 2 (Rear) is 2A hex or 42 decimal<br />// Motor number 3 (Right) is 2B hex or 43 decimal<br />// Motor number 4 (Left) is 2C hex or 44 decimal<br />// Motor number 5 is 2D hex or 45 decimal <br />// Motor number 6 is 2E hex or 46 decimal<br />// Motor number 7 is 2F hex or 47 decimal<br />// Motor number 8 is 30 hex or 48 decimal<br />// Motor number 9 is 31 hex or 49 decimal<br />// Motor number 10 is 32 hex or 50 decimal<br />// Motor number 11 is 33 hex or 51 decimal<br />// Motor number 12 is 34 hex or 52 decimal<br /><br />#include <br /><br />int x=0; // this is the value sent by the MK<br />int y; // this is a value that is mapped from 0-255 MK to 126-250 pwm<br />int pwmout = 9; // using analog pin 9 for the pwm output to the esc<br /><br />void setup() <br />{<br /> Wire.begin(41); // join i2c bus with address #41<br /> Wire.onReceive(receiveEvent); // register event<br />// Serial.begin(9600); // start serial for output<br /><br />}<br /><br />void loop() <br />{<br /> y = map(x, 0, 255, 126, 250); // this takes the 0-255 MK number (x) and changes it to 126-250 (y) for the Arduino pwm mode<br />// Serial.print(x); // prints the MK value<br />// Serial.print(" MK "); // prints the MK value<br />// Serial.print(y); // prints the esc output pwm value<br />// Serial.println(" PWM"); // prints the esc output pwm value<br /> analogWrite(pwmout, y); // sets the value (range from 126 to 250 for esc) <br /> <br />}<br /><br /><br /><br />// function that executes whenever data is received from master<br />// this function is registered as an event, see setup()<br />void receiveEvent(int MKpower) <br />{<br /> x = Wire.receive(); // receive byte as an integer<br />}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5821522320379987891.post-39902262640646745332009-12-05T21:16:03.707+01:002009-12-05T21:16:03.707+01:00I know that some standard PWM ESCs work with updat...I know that some standard PWM ESCs work with update rates of 400 Hz. My copter calculates it's attitude with 500 Hz, so I²C won't be much faster than PWM. It is worth trying. I decided to use I²C because it is a fully digital signal (PWM is only "half digital" in my opinion). We'll see if my converter works when I have three standard ESCs.William Thielickehttps://www.blogger.com/profile/01217178163189555726noreply@blogger.comtag:blogger.com,1999:blog-5821522320379987891.post-33259727108936697792009-12-05T18:34:25.354+01:002009-12-05T18:34:25.354+01:00Very Impressive. Can't wait to start on my set...Very Impressive. Can't wait to start on my setup.<br /><br />I have one questions. <br />Will the I2C-PWM cause any performace issues? i always thought that the reason why everyone went to an i2c control was for the increased response.<br />PWM was to slow... <br />Are we thinking that the Cheap super simple PWM Esc from Hobbing would work with these.<br />(http://hobbyking.com/hobbycity/store/uh_viewItem.asp?idProduct=656&Product_Name=TowerPro_w18A_Brushless_Speed_Controller ----or even ----http://hobbyking.com/hobbycity/store/uh_viewItem.asp?idProduct=2168&Product_Name=TURNIGY_Basic_18A_v3.1_Speed_Controller)Anonymousnoreply@blogger.com