Ben
  • Blog Posts
  • Discussions (6)
  • Groups
  • Photos
  • Photo Albums
  • Videos

Ben's Friends

  • Kelvin Mcgee
  • Michael Oborne
  • Zhiquan Yeo
  • Melih Karakelle
  • Jean-Louis Naudin

Ben's Discussions

Anyone using PCTx with C# application?

Started Aug 30, 2010 0 Replies

Hi all. Learnt about PCTx from Endurance and bought a unit to try. Works great with their sample application but I would like to know if anyone here has successfully written their own code in C# to…Continue

Tags: c#, PCTx

Battery voltage indicator question

Started this discussion. Last reply by Chris Anderson May 31, 2010. 6 Replies

I'm using Ardupilot with V2 shield. Power to the board is by ESC, not by battery. The configuration on the Ardupilot board is thus the "default" PSEL option. I followed the manual and soldered a wire…Continue

 

Ben's Page

Latest Activity

Profile Icon
Profile Icon
Melih Karakelle left a comment for Ben
Hi Ben, You dont need a C# sample for doing it. CompuFly working like any RS232 com port adapter on USB port. Just send a string like 'SET'+chr(channel)+chr(value div 256)+ chr(value mod 256) over RS232 port on 38400 baud. You can see the…
Aug 30, 2010
Profile Icon

Anyone using PCTx with C# application?

Hi all. Learnt about PCTx from Endurance and bought a unit to try. Works great with their sample application but I would like to know if anyone here has successfully written their own code in C# to work with the PCTx? Any input would be most helpful! Thanks in advance.See More
Discussion posted by Ben Aug 30, 2010
Profile Icon
Ben left a comment for Melih Karakelle
Hi Melih, I'm interested in getting a few units of USBtoPPM for Futaba. Wondering if you have C# code as example as I want to integrate it into my C# application.
Aug 30, 2010
Profile Icon
Ben replied to Nathaniel Caner's discussion 'Battery Voltage Monitor: Voltage divider additional resistor for 6s Lipo'
Thanks Nathaniel! I found this very helpful!
Jun 1, 2010
Profile Icon
Chris Anderson replied to Ben's discussion 'Battery voltage indicator question'
Ben, Assuming you uploaded the code right (see TimL's comment about using the latest version of Arduino and I'm sure you followed the directions about selecting the correct board in the IDE), I think this is probably something screwy on…
May 31, 2010
Profile Icon
Fab - Arduino for Visual Studio replied to Ben's discussion 'Battery voltage indicator question'
As concerns duble speed serial... Did you re-upload to the arupilot using an older arduno ide. 0016 had this problem with serial on arduinos running at 8mhz? I am sure the answer is no but thought I would just check.
May 31, 2010
Profile Icon
Nathaniel Caner replied to Ben's discussion 'Battery voltage indicator question'
Ben, Check out this post I just made. I think it will help explain things. Check the attached schematic of the shield to see the circuit for the voltage divider in the upper left corner R9 and R8 are the controlling resistors.
May 31, 2010
Profile Icon
Ben replied to Ben's discussion 'Battery voltage indicator question'
Hi Chris, thanks for your reply. Regarding the power monitor, how does the board know what voltage to measure the input against? I do get the power indicator on the GroundStation GCS working, but the green bars are either full or empty even though…
May 31, 2010
Profile Icon
Chris Anderson replied to Ben's discussion 'Battery voltage indicator question'
Ben, I'll try to help, but I'm a bit confused by what you're doing. The power monitor is designed to measure the voltage of your battery, not your receiver as you wrote. You should connect it directly to the battery itself. It works…
May 31, 2010
Profile Icon
Ben replied to Ben's discussion 'Battery voltage indicator question'
Something weird happened. The Ardupilot board suddenly switched to baud rate 115200 from the original 57600 (i'm using EM406). What is the cause of this? How do i switch it back to 57600?
May 31, 2010
Profile Icon
Ben replied to Ben's discussion 'Battery voltage indicator question'
Hi, just thought I would post an update. There was no battery reading previously because there was no GPS lock. It is now printing out some value. Some questions remain: 1) Apparently, I can use PSEL = servo and monitor the voltage level of the…
May 31, 2010
Profile Icon

Battery voltage indicator question

I'm using Ardupilot with V2 shield. Power to the board is by ESC, not by battery. The configuration on the Ardupilot board is thus the "default" PSEL option. I followed the manual and soldered a wire to the indicated jumper to measure the voltage of another battery (that is not powering the Ardupilot). I also changed the header file to indicate a battery event. However, I am not getting any battery voltage reading from the ArduStation GCS application.Have a few questions. Does the voltage…See More
Discussion posted by Ben May 31, 2010

Profile Information

Tell us a bit about your UAV interest
Hobby!

Comment Wall (1 comment)

At 8:33am on August 30, 2010, Melih KarakelleMelih Karakelle said…
Hi Ben,

You dont need a C# sample for doing it. CompuFly working like any RS232 com port adapter on USB port.
Just send a string like 'SET'+chr(channel)+chr(value div 256)+ chr(value mod 256) over RS232 port on 38400 baud. You can see the other details into my delphi code.

Basically, you should send 700 to 1700ms servo position for channels.
for example Channel 3 and 712ms ppm => SET+chr(3)+chr(2)+chr(200)

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

Join DIY Drones

 
 
 

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service