The battery is referenced on a War Department marker at Antietam and honored by a monument in Ziegler’s Grove at Gettysburg.

1861
September Organized in Washngton D.C. and attached to W. F. Smith’s Division, Army Potomac for duty in the Defenses of Washington, D. C.
1862
March Attached to Artillery, 2nd Division, 4th Army Corps, Army Potomac. Moved to the Virginia Peninsula.
April 5 Warwick Road
April 5-May 4 Siege of Yorktown
April 16 Lee’s Mills
May 5 Battle of Williamsburg
May Attached to Artillery Brigade, 2nd Division, 6th Army Corps, Army Potomac
June 25-July 1 Seven days before Richmond
June 27 Gaines’ Mill
June 30 White Oak Swamp
July 1 Malvern Hill
August 16-23 Moved to Alexandria
September 6-22 Maryland Campaign
September 14 South Mountain
September 16-17
Battle of Antietam

Battery F was commanded by Lieutenant Leonard Martin. It was armed with four 10-pounder Parrott Rifles and two Napoleons.

From the War Department marker at Antietam:

Early in the morning of the 17th, Battery F, 5th U.S. Artillery, generally known as Ayers’ Battery, moved with Smith’s Division, Sixth Army Corps, from its bivouac in Pleasant Valley near Crampton’s Pass, and, about 12 noon, went into position about 110 yards south of this point on the left of Battery D, 2d U.S. Artillery, and engaged the Confederate Artillery in the woods around the Dunkard Church and in the fields south of it. The fire was continued with intervals, throughout the day, and the Battery remained in substantially the same position until the morning of the 19th.

October 30-November 19 Movement to Falmouth, Va.
December 12-15
Battle of Fredericksburg
1863
January 20-24 “Mud March”
April 27-May 6 Chancellorsville Campaign
April 29-May 2 Operations at Franklin’s Crossing
May 3 Maryes Heights, Fredericksburg
May 3-4
Salem Heights
June Lieutenant Martin returned from sick leave to resume command of the battery
July 2-4
Battle of Gettysburg

Battery F was commanded by Lieutenant Martin. It was armed with six ten-Pounder Parrotts, was in reserve and suffered no casualties.

From the battery’s monument at Gettysburg:

July 2. Arrived in the afternoon with the Corps and held in reserve.

July 3. Brought up to Ziegler’s Grove in rear of Third Division Second Corps on the repulse of Longstreet’s assault.

October 9-22 Bristoe Campaign
November 7-8 Advance to line of the Rappahannock
November 7 Rappahannock Station
November 26-December 2 Mine Run Campaign
December At Camp Barry, Defenses of Washington, D.C. attached to 22nd Army Corps
1864
July Attached to Artillery Brigade, 18th Army Corps, Army of the James, Joined Siege of Petersburg and Richmond, Va. before Petersburg, Va.
September 28-30 Battle of Chaffin’s Farm, New Market Heights
October 29 Chaffin’s Farm
December 8 Capture of picket line at Dutch Pass
1865
March 28-April 2 Appomattox Campaign
April 2 Fall of Petersburg and Richmond
April Duty at Richmond and in Dept. of Virginia