Right now I'm far away from home, but I've found some extra time to work on my code for APM. But how am I going to test it without APM? Here is the video which shows a successful run of modified APM code on virtual APM =)

"\n" is not working good on this emulator.


Here is what you need:

Arduino IDE  direct link

Proteus (I'm using v7.7 sp2)  Demo version (according to demo limitations it cannot save or modify any MCU simulations, but you won't need it - you can use mine in read-only way, no problems with changing firmware) UPDATE: Unfortunately, there is no way to run my simulation file unless you have full (paid) version of Proteus.

APM firmware source code v2.24 (use newest if available)

and my Proteus simulation file attached (or you can do you own - it is really simple) ardupilot_sim.rar


UPDATE2: It is also possible to use AVR Simulator from AVR studio with HAPSIM plugin to get it running, but on my netbook it is sooo slow - so I couldn't make the video. 


I hope it helps.

Views: 1761

Comment by Sgt Ric on November 15, 2011 at 4:00pm

I think I need a drink!

Comment by YureZzZ on November 16, 2011 at 10:14am

@Jakaria - I think you can achieve what you want(although I didn't really get the idea) - but Proteus has one component which will emulate uart port of AVR and will output all data to real com-port of your PC.

Comment by Jakaria on November 16, 2011 at 12:11pm


Thank you very much for your quick reply.

Comment by Jakaria on November 17, 2011 at 1:07pm

Dear Yurezzz,

I failed to download the "Ardupilot Sim.rar" from the link you have posted. The web page shows "Access Denied". I've managed Paid Professional Version of Proteus only for this one. Pl suggest me how can I get the "Ardupilot Sim.rar". Is possible that you can send this to me through email?

Comment by YureZzZ on November 19, 2011 at 8:03am

Weird, one person already asked me about that file and I've reuploaded it. So now error comes back. Send me a PM and I will send you that file.

Comment by Cristian on February 6, 2012 at 2:01pm

could you send me this file  ardupilot_sim.rar...i can´t download this file. cristianrokr@gmail.com and how I can simulate the movement of the servos in proteus??


You need to be a member of DIY Drones to add comments!

Join DIY Drones

© 2018   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service