# Gunpowder weapons in the Ming dynasty

The Ming dynasty continued to improve on gunpowder weapons from the Yuan and Song dynasties as part of its military. During the early Ming period larger and more cannons were used in warfare. In the early 16th century Turkish and Portuguese breech-loading swivel guns and matchlock firearms were incorporated into the Ming arsenal. In the 17th century Dutch culverin were incorporated as well and became known as hongyipao. At the very end of the Ming dynasty, around 1642, Chinese combined European cannon designs with indigenous casting methods to create composite metal cannons that exemplified the best attributes of both iron and bronze cannons. While firearms never completely displaced the bow and arrow, by the end of the 16th century more firearms than bows were being ordered for production by the government, and no crossbows were mentioned at all.

## Early Ming period
### Firearm warfare

In China, cannons started playing a significant role in siege battles during the mid 14th century. For example, in 1358 during the Siege of Shaoxing the Ming army attacked the city and the defenders "used ... fire tubes to attack the enemy's advance guard". The siege was won by the defenders, whose "fire tubes went off all at once, and the [attacker's] great army could not stand against them and had to withdraw." In 1363 Chen Youliang failed to take Nanchang, defended by Ming commander Deng Yu, due to the defenders' use of cannons and was forced to set up a blockade in an attempt to starve them out. Cannons were also used on the frontier as garrison artillery from 1412 onwards.
Cannons were less useful for the besieging army. In the Siege of Suzhou of 1366, the Ming army fielded 2,400 large and small cannons in addition to 480 trebuchets, but neither were able to breach the city walls despite "the noise of the guns and the paos went day and night and didn't stop." Chinese city walls tend to be much thicker than other parts of the world, and Suzhou was no different. Contemporary documents show that the wall had a width of 11 meters at the base, a height of 7 meters, and a length of 17 kilometers. The city defenses were eventually overcome through a breach in the gates made by traditional manual mining and battering. This was only possible because the defenders were already starving by mid-autumn of 1367 and unable to put up a proper resistance, succumbing to the onslaught of a frontal assault.
In 1388 cannons were used against war elephants successfully during the Ming–Mong Mao War and again in 1421 during the Lam Sơn uprising. In 1414 the Ming army clashed with an Oirat force near the Tula River and frightened them so much with their guns that the Oirats fled without their spare horses, only to be ambushed by concealed Chinese guns. According to a Chinese observer the Oirats avoided battle several days later, "fearing that the guns had arrived again."
Cannons were less decisive in naval battles. In the Battle of Lake Poyang on 29 August 1363 Zhu Yuanzhang's fleet arrived armed with "fire bombs, fire guns, fire arrows, fire seeds [probably grenades], large and small fire lances, large and small 'commander' fire-tubes, large and small iron bombs, rockets." His fleet engaged Chen's under orders to "get close to the enemy's ships and first set off gunpowder weapons (發火器), then bows and crossbows, and finally attack their ships with short range weapons." However it was fire bombs hurled using ship mounted trebuchets that succeeded in "burning twenty or more enemy vessels and killing or drowning many enemy troops." Zhu eventually came out victorious by ramming and burning the enemy fleet with fire ships. While guns were used during the battle, ultimately they were not pivotal to success, and the battle was won using incendiary weapons.

### Number of gunners

The Ming dynasty founder Zhu Yuanzhang, who declared his reign to be the era of Hongwu, or "Great Martiality," made prolific use of gunpowder weapons for his time. Early Ming military codes stipulated that ideally 10 percent of all soldiers should be gunners. By 1380, twelve years after the Ming dynasty's founding, the Ming army boasted around 130,000 gunners out of its 1.3 to 1.8 million strong army. At the outbreak of the Ming–Mong Mao War (1386–1388), the Ming general Mu Ying was ordered to produce a couple thousand hand cannons. Under Zhu Yuanzhang's successors, the percentage of gunners climbed higher and by the 1440s it reached 20 percent. In 1466 the ideal composition was 30 percent. In the aftermath of the Tumu Crisis of 1449, government authorities around the Tumu region collected from the field 5,000 sets of abandoned armour, 6,000 helmets, 30,000 firearms, 1,800 containers of gunpowder, and 440,000 crossbow bolts.

### Ammunition

Gunpowder corning had been developed by 1370 to increase the explosive power of land mines. It's argued that corned gunpowder may have been used for guns as well according to one record of a fire-tube shooting a projectile 457 meters, which was probably only possible at the time with the usage of corned powder. Around the same time Ming guns transitioned from stone shots to iron ammunition, which has greater density than stone. They also made use of shells since at least 1412.

### Types of cannons

The Hongwu Emperor created a Bureau of Armaments (軍器局) which was tasked with producing every three years 3,000 handheld bronze guns, 3,000 signal cannons, and ammunition as well as accoutrements such as ramrods. His Armory Bureau (兵仗局) was responsible for producing types of guns known as "great generals," "secondary generals," "tertiary generals," and "gate-seizing generals." Other firearms such as "miraculous [fire] lances," "miraculous guns," and "horse-beheading guns" were also produced. It is unclear what proportion or how many of each type were actually manufactured.
Most early Ming guns weighed two to three kilograms while guns considered "large" at the time weighed around 75 kilograms. During Siege of Suzhou in 1366 the Ming army fielded "large" cannons weighing up to 80 kilograms, which were about a meter in length, and had a muzzle diameter of about 21 centimeters. A gun known as the "Great Bowl-Mouth Tube" (大碗口筒) dated to 1372 weighs only 15.75 kilograms and was 36.5 centimeters long, its muzzle 11 centimeters in diameter. Other excavated guns of this type range from 8.35 to 26.5 kilograms. They were usually mounted on ships or gates as defensive weapons. Accuracy was low and they were limited to a range of only 50 paces or so. Some exceptionally large cannons exist such as three specimens cast in 1377, each around one meter in length, supported by two trunnions on each side, weighing over 150 kg, and with a muzzle diameter of 21 cm. A metallographic study of one of these cannons showed that it was likely made of cast steel rather than iron.
Early Ming cannons coalesced into a few typical designs. There was the crouching tiger cannon, a small cannon fitted with a metal collar and two legs for support. There was a middling cannon known as the "awe-inspiring long range cannon" which added a sight and weighed around 85 kilograms. Larger cannons such as the great general and great divine cannons were also developed and at least 300 of them were being made in 1465. The muzzle loading wrought iron "great general cannon" (大將軍炮) weighed up to 360 kilograms and could fire a 4.8 kilogram lead ball. The "great general cannon" has been used to refer to cannons of various sizes, some as heavy as 500 kg. Its heavier variant, the "great divine cannon" (大神銃), could weigh up to 600 kilograms and was capable of firing several iron balls and upward of a hundred iron shots at once. These were the last indigenous Chinese cannon designs prior to the incorporation of European models in the 16th century.
The Huolongjing provides descriptions of early Ming cannons:
* Crouching tiger cannon (hudunpao)
   This is so called because of its shape. It measures 2 feet in length and weighs 36 catties. Each of the (iron) staples (used to pin down the cannon in position) weighs 3 catties and measures 1 ft 2 in. in length. The six cast-iron bands (for strengthening the barrel) each measures 1 ft 1 in. and weighs 3 catties. The barrel holds 100 bullets, each weighing 0.5 oz. (5 qian) and 3 oz. of (gun-)powder.
* Long range awe-inspiring cannon (weiyuanpao)
   Each weighs 120 catties and measures 2 ft 8 in. long. The touch-hole is 5 in. from the base and 3.2 in. from where the belly begins. The diameter of the bore at the muzzle is more than 2.2 in. Above [he touch-hole there is a movable lid to protect (the priming powder) from rain. This cannon does not give a great bang nor much recoil. With 3 oz. of gunpowder use one large lead ball weighing 2 catties, or 100 small lead bullets (in a bag), each weighing 0.6 oz. (6 qian). Firing is done very conveniently by hand.
* Thousand ball thunder cannon (qianzileipao)
   This is cast from bronze, and measures 1 ft. 8 in. in length, with a diameter of 5 in. Gunpowder is pressed down to fill six-tenths of the barrel; then two-tenths of the barrel is filled with fine earth which is packed in very gently. Then two or three pint measures of iron balls (enclosed in a bag) are put in. The cannon is fastened with iron hoops to a four-wheeled carriage, and a wood shield is placed in front so that the enemy does not know of its presence; then this is removed before the cannon is fired. The shots go with a force (that destroys things along their path) like the breaking of dried twigs.
* A depiction of the "crouching tiger cannon" from the Huolongjing
* Two "awe-inspiring long range cannons" (威遠砲), from the Huolongjing.
* A 'seven star cannon' (qi xing chong) from the Huolongjing. It was a seven barreled organ gun with two auxiliary guns by its side on a two-wheeled carriage.
* An illustration of a bronze "thousand ball thunder cannon" from the Huolongjing.
* Drawing of a "great general cannon", from Wubei Yaolue.
* A "barbarian attacking cannon" as depicted in the Huolongjing. Chains are attached to the cannon to adjust recoil.
* A "great divine cannon" from the Dengtan Bijiu.

## Stagnation of large artillery development

While China was the birthplace of gunpowder the guns there remained relatively small and light, weighing less than 80 kilograms or less for the large ones, and only a couple kilograms at most for the small ones during the early Ming era. The exception to this are three cannons cast in 1377, each around one meter in length, supported by two trunnions on each side, weighing over 150 kg, and with a muzzle diameter of 21 cm. A metallographic study of one of these cannons showed that it was made of cast steel rather than iron. Firearms had proliferated throughout China during the 13th and 14th centuries, and became a common sight during sieges, but super large cannons never developed in China.

### Nomad theory

Asianist Kenneth Chase argues that gun development stagnated during the Ming dynasty due to the type of enemy faced by the Chinese: horse nomads. Chase argues that guns were not particularly useful against these opponents. Guns were supposedly problematic to deploy against nomads because of their size and slow speed, drawing out supply chains, and creating logistical challenges. Theoretically, the more mobile nomads took the initiative in sallying, retreating, and engaging at will. Chinese armies therefore relied less heavily on guns in warfare than Europeans, who fought large infantry battles and sieges which favored guns, or so Chase argues.
However, the Chase hypothesis has been criticized by Tonio Andrade. According to Andrade, the Chinese themselves considered guns to be highly valuable against nomads. During the Ming-Mongol wars of the 1300s and early 1400s, guns were utilized. In October 1428, the Xuande Emperor led an imperial border unit of 3,000 against a roughly equal force of Mongols. The Ming opened fire on the Mongols using handheld firearms and killed more than half of them. Firearms were also used in defending against a Mongol invasion in 1449 and guns were in high demand along the northern borders where gun emplacements were common. Several sources make it clear that Chinese military leaders found guns to be highly effective against nomads throughout the 15th and 16th centuries. The military scholar Weng Wanda goes as far as to claim that only with firearms could one hope to succeed against the fast moving Mongols, and purchased special guns for both the Great Wall defenses and offensive troops who fought in the steppes. Andrade also points out that Chase downplays the amount of warfare going on outside of the northern frontier, specifically southern China where huge infantry battles and sieges such as in Europe were the norm. In 1368 the Ming army invaded Sichuan, Mongolia, and Yunnan. Although little mention of firearm is used in accounts of the Mongolia campaign, Ming cannons readily routed the war elephants of Yunnan, and in the case of Sichuan, both sides employed equally potent firearms. When the Ming founder Zhu Yuanzhang died, the civil war which ensued had Chinese armies fighting one another, again with equally powerful firearms. After the usurper Yongle's victory, the Ming embarked upon yet another five expeditions into Mongolia alongside an invasion of Dai Viet, many of their troops wielding firearms. In 1414 the Ming army clashed with an Oirat force near the Tula River and frightened them so much with their guns that the Oirats fled without their spare horses, only to be ambushed by concealed Chinese guns. According to a Chinese observer the Oirats avoided battle several days later, "fearing that the guns had arrived again." In Vietnam, as with Yunnan, the war elephants fared poorly and were defeated with a combination of arrows and firearms. Chinese firearms were used in defensive fortifications to some effect, but were ineffective at targeting individual targets such as Vietnamese guerillas presented themselves.

### Economic theory

The nomad theory has also been criticized by Stephen Morillo for its reliance on a simple cause and effect analysis. Alternatively Morillo suggests that the major difference between Chinese and European weapon development was economic. Within Morillo's framework, European weapons were more competitive due to private manufacturing whereas Chinese weapons were manufactured according to government specifications. Although generally true, Peter Lorge points out that gun specifications were widespread in China, and ironically the true gun was first developed during the Song dynasty, when guns were the exclusive enterprise of the government, suggesting that the economics of production were less influential on gun development than assumed. In contrast, less innovation occurred during the Ming dynasty when most of production was shifted to the domain of private artisans. Andrade concludes that although the Chase hypothesis of nomad caused stagnation should not be discarded outright, it does not offer a full explanation for the stagnation of firearm development in China.

### Chinese wall theory

According to Tonio Andrade, Chinese firearm development was not hindered by metallurgy, which was sophisticated in China, and the Ming dynasty did construct large guns in the 1370s, but never followed up afterwards. Nor was it the lack of warfare, which other historians have suggested to be the case, but does not stand up to scrutiny as walls were a constant factor of war which stood in the way of many Chinese armies since time immemorial into the twentieth century. The answer Andrade provides is simply that Chinese walls were much less vulnerable to bombardment. Andrade argues that traditional Chinese walls were built differently from medieval European walls in ways which made them more resistant to cannon fire.
Chinese walls were bigger than medieval European walls. In the mid-twentieth century a European expert in fortification commented on their immensity: "in China … the principal towns are surrounded to the present day by walls so substantial, lofty, and formidable that the medieval fortifications of Europe are puny in comparison." Chinese walls were thick. Ming prefectural and provincial capital walls were ten to twenty meters thick at the base and five to ten meters at the top.
In Europe the height of wall construction was reached under the Roman Empire, whose walls often reached ten meters in height, the same as many Chinese city walls, but were only 1.5 to 2.5 meters thick. Rome's Servian Walls reached 3.6 and 4 meters in thickness and 6 to 10 meters in height. Other fortifications also reached these specifications across the empire, but all these paled in comparison to contemporary Chinese walls, which could reach a thickness of 20 meters at the base in extreme cases. Even the walls of Constantinople which have been described as "the most famous and complicated system of defence in the civilized world," could not match up to a major Chinese city wall. Had both the outer and inner walls of Constantinople been combined, they would have only reached roughly a bit more than a third the width of a major wall in China. According to Philo the width of a wall had to be 4.5 meters thick to be able to withstand artillery. European walls of the 1200s and 1300s could reach the Roman equivalents but rarely exceeded them in length, width, and height, remaining around two meters thick. It is apt to note that when referring to a very thick wall in medieval Europe, what is usually meant is a wall of 2.5 meters in width, which would have been considered thin in a Chinese context. There are some exceptions such as the Hillfort of Otzenhausen, a Celtic ringfort with a thickness of forty meters in some parts, but Celtic fort-building practices died out in the early medieval period. Andrade goes on to note that the walls of the marketplace of Chang'an were thicker than the walls of major European capitals.
Aside from their immense size, Chinese walls were also structurally different from the ones built in medieval Europe. Medieval European walls for castles were mostly constructed of stone interspersed with gravel or rubble filling and bonded by limestone mortar. Chinese walls used a variety of different materials depending on the availability of resources and the time period — ranging from stones to bricks to rammed earth. Sometimes, different sections of the same wall used different materials and construction techniques — such as one section being made of stones and another section being made of rammed earth. By the medieval period, Chinese walls with rammed earthen cores which absorbed the energy of artillery shots were common. Walls were constructed using wooden frameworks which were filled with layers of earth tamped down to a highly compact state, and once that was completed the frameworks were removed for use in the next wall section. During certain time periods such as the Song Dynasty and later, rammed earth walls were covered with an outer layer of bricks or stone to prevent corrosion, and during the Ming, earthworks were interspersed with stone and rubble. Most Chinese walls were also sloped, which better deflected projectile energy, rather than vertical.
The Chinese Wall Theory essentially rests on a cost benefit hypothesis, where the Ming recognized the highly resistant nature of their walls to structural damage, and could not imagine any affordable development of the guns available to them at the time to be capable of breaching said walls. Even as late as the 1490s a Florentine diplomat considered the French claim that "their artillery is capable of creating a breach in a wall of eight feet in thickness" to be ridiculous and the French "braggarts by nature." In fact twentieth century explosive shells had some difficulty creating a breach in tamped earthen walls.
According to Lt Ouchterlony, a Scottish soldier in the Opium War, the Chinese gun batteries at Xiamen were nearly impervious to bombardment from 32-pounder guns due to the protection afforded to them by masonry and earthworks:
   The engagement was a fine spectacle, but beyond the picturesqueness of the scene afforded no point worthy of comment, save that it furnished strong evidence of the excellence of the Chinese batteries, upon which the fire of the seventy-fours, though maintained for fully two hours, produced no effect whatever, not a gun being found disabled, and but few of the enemy killed in them when our troops entered. The principle of their construction was such as to render them almost impervious to the effects of horizontal fire, even from the 32-pounders of the seventy-fours, as, in addition to the solid mass of masonry, of which the parapets were formed, a bank of earth bound with sods had been constructed on the outer face, leaving to view only the narrow mark of the embrasure.
During Second Sino-Japanese War, the Japanese also found some difficulty breaching the rammed earth walls of Nanjing:
   We fought our way to Nanking and joined in the attack on the enemy capital in December. It was our unit which stormed the Chunghua Gate. We attacked continuously for about a week, battering the brick and earth walls with artillery, but they never collapsed. The night of December 11, men in my unit breached the wall. The morning came with most of our unit still behind us, but we were beyond the wall. Behind the gate great heaps of sandbags were piled up. We 'cleared them away, removed the lock, and opened the gates, with a great creaking noise. We'd done it! We'd opened the fortress! All the enemy ran away, so we didn't take any fire. The residents too were gone. When we passed beyond the fortress wall we thought we had occupied this city.
Andrade goes on to question whether or not Europeans would have developed large artillery pieces in the first place had they faced the more formidable Chinese style walls, coming to the conclusion that such exorbitant investments in weapons unable to serve their primary purpose would not have been ideal.

## Middle Ming period
### Folangji

The middle Ming period saw the arrival of European guns in China. Portuguese breech-loading swivel gun known as folangji were well known in South China as early as 1510 and could be purchased by 1518. They probably did not reach China directly from the Portuguese due to the early date of their presence, preceding the Portuguese takeover of Malacca. In 1523 a test batch of 32 were produced for the court and in 1528 4,000 were produced for border fortifications. Views diverge on whether the origin of the cannon is Portuguese or Turkish. There was a confusion whether folangji was supposed to be the name of a people (the Portuguese) or name of a weapon. In fact the word folangji represent 2 different words with different etymology. The term folangji as a weapon is related to the prangi carried in Ottoman galleys and farangi used by Babur. The word folangji as an ethnonym (Frankish or Portuguese) is unrelated. The Ottoman prangi guns may have reached Indian Ocean before either Ottoman or Portuguese ships did. They may also reach China through the Silk Road. In the History of the reign of Wan Li (萬厲野獲編), by Shen Defu, it is said that "After the reign of Hong Zhi (1445–1505), China started having Fu-Lang-Ji cannons, the country of which was called in the old times Sam Fu Qi". In volume 30 about "The Red-Haired Foreigners" he wrote "After the reign of Zhengtong (1436–1449) China got hold of Fu-Lang-Ji cannons, the most important magic instrument of foreign people". He mentioned the cannons some 60 or 70 years prior to the first reference about Portuguese. It was impossible for the Chinese to get hold of the Portuguese cannons prior to their arrival. Pelliot viewed that the folangji gun reached China before Portuguese did, possibly by anonymous carriers from Malaya. Needham noted that breech-loading guns were already familiar in Southern China in 1510, as a rebellion in Huang Guan was destroyed by more than 100 folangji. It may even be earlier, brought to Fujian by a man named Wei Sheng and used in quelling a pirate incident in 1507.

### Fa Gong

The Fa Gong was a super heavy artillery piece that entered the Ming arsenal in the mid-16th century. Probably derived from falconets of European design, the Fa Gong was a bronze muzzle-loading cannon that could weigh from 630 to 3,000 kilograms. The largest ones, however, were only used for coastal defense. Both the Jixiao xinshu and Chouhai tubian record the Fa Gong as a cannon that ships should carry, with the caveat that improper use risked damage to one's own ship. However, accompanying illustrations typically depict soldiers with hand-held weapons only; the illustrations show no cannon on board ships.

### Matchlocks

Arquebuses may have been introduced to China in 1523, and by 1548, arquebuses were being used in small numbers by Ming forces. They were primarily used against wokou pirates and their success led to the manufacture of more matchlocks. Thousands of matchlock firearms were being ordered for production a few years later. For example, in 1558, the Central Military Weapon Bureau gave an order for the production of 10,000 matchlocks. According to Tang Shunzhi, writing in the mid-1500s, the cost of production for a musket required 0.2 taels for 20 catties of Fujian iron, 0.18 taels for 6 days of work to hammer out the iron, 0.19 taels for 6 days of work forging the iron into a tube, 0.21 taels for 7 days of work boring the barrel, and other miscellaneous costs such as 0.01 tael for the bamboo ramrod. In the lower estimate, a full musket cost 2.31 taels (3 ounces of silver), and in the higher estimate, 3.83 taels (5 ounces of silver).
In 1560, Qi Jiguang, who was originally ambivalent towards matchlocks but turned to it after suffering defeats at the hands of the wokou, described the matchlock in the following fashion:
   It is unlike any other of the many types of fire weapons. In strength it can pierce armor. In accuracy it can strike the center of targets, even to the point of hitting the eye of a coin [i.e., shooting right through a coin], and not just for exceptional shooters.… The arquebus [鳥銃] is such a powerful weapon and is so accurate that even bow and arrow cannot match it, and … nothing is so strong as to be able to defend against it.
In Zhao Shizhen's book of 1598 AD, the Shenqipu, there were illustrations of Ottoman Turkish musketmen with detailed illustrations of their muskets, alongside European musketeers with detailed illustrations of their muskets. There was also illustration and description of how the Chinese had adopted the Ottoman kneeling position in firing while using European-made muskets, though Zhao Shizhen described the Turkish muskets as being superior to the European muskets. The Wubei Zhi (1621) later described Turkish muskets that used a rack-and-pinion mechanism, which was not known to have been used in any European or Chinese firearms at the time.

### Volley fire

Qi Jiguang applied the concept of volley fire to matchlock firearms and deployed teams of 10 musketeers. The optimal musketry formation that Qi proposed was a 12-man musket team similar to the melee mandarin duck formation. However, instead of fighting in a hand to hand formation, they operated on the principle of volley fire, which Qi pioneered prior to the publication of the first edition of the Jixiao Xinshu. The teams could be arranged in a single line, two layers deep with five musketeers each, or five layers deep with two muskets per layer. Once the enemy was within range, each layer would fire in succession, and afterwards a unit armed with traditional close combat weapons would move forward ahead of the musketeers. The troops would then enter into melee combat with the enemy together. Alternatively, the musketeers could be placed behind wooden stockades or other fortifications, firing and reloading continuously by turns.
In 1571 Qi prescribed an ideal infantry regiment of 1,080 musketeers out of 2,700 men, or 40 percent of the infantry force. However it is not known how well this was actually implemented, and there is evidence that Qi was met with stiff resistance to the incorporation of newer gunpowder weapons in northern China while he was stationed there. He writes that "in the north soldiers are stupid and impatient, to the point that they cannot see the strength of the musket, and they insist on holding tight to their fast lances (a type of fire lance), and although when comparing and vying on the practice field the musket can hit the bullseye ten times better than the fast-lance and five times better than the bow and arrow, they refuse to be convinced."
   The musket was originally considered a powerful weapon, and in attacking the enemy is one that has been much relied upon. But how is it that so many officers and soldiers don't think it can be relied upon heavily? The answer lies in the fact that in drills and on the battlefield, when all the men fire at once, the smoke and fire settle over the field like miasmal clouds, and not a single eye can see, and not a single hand can signal. Not all [soldiers] hold their guns level, or they don't hold them to the side of their cheek, or they don't use the sights, or they let their hands droop and support it to hold it up, and one hand holds the gun and one hand uses the fuse to touch off the fire, thus failing to use the matchlock grip— what of them? It's just a case of being out of practice and uncourageous, hurrying but not being able to take out the fire fuse and place it in the matchlock grip, trying for speed and convenience. In this way, there is absolutely no way to be accurate, and so how could one value muskets? Especially given that the name of the weapon is "bird-gun," which comes from the way that it can hit a flying bird, hitting accurately many times. But in this way, fighting forth, the power doesn't go the way one intends, and one doesn't know which way it goes— so how can one hit the enemy, to say nothing of being able to hit a bird?
* A Ming matchlock firearm from the Shenqipu, 1598.
* A jingal from the Shenqipu, 1598.
* A Ming matchlock from the Wubei Zhi, 1628.
* A flintlock firearm from the Junqi tushuo, 1635.
* The Fa Gong, a super heavy muzzle loading bronze cannon that could weigh from 630 to 3,000 kilograms, from the Chouhai Tubian, 1562.
* A typical folangji swivel gun from the Lianbing Zaji, 1571.
* The "invincible divine flying cannon" is a breech loading naval gun. From the Jixiao Xinshu, 1584.

## Late Ming period

According to the Shenqi Pu, 1598, an infantry brigade of 2,699 men was to be equipped with 1,080 muskets and 216 bows. A cavalry brigade of 2,988 men was to be equipped with 1,152 bows, 432 muskets, and 60 "crouching tiger" cannons. A wagon brigade of 3,109 men was equipped with 145 wagons, eight large cannons, 256 swivel guns, and 512 muskets. The Shenqi Pu shows the soldiers using detached wagons as walls behind which they fire from through holes using muskets. Five men worked to reload and fire the musket in rotation. The Manchus also used something similar in their war against the Ming dynasty. They had rampart platforms on wheels, on which stood two soldiers firing muskets.
   [The wagons] can be used to surround and protect the infantry and cavalry. They can keep the ranks in order; they can serve as the walls of a camp; they can take the place of armor. When enemy cavalry swarms around, it has no way to pressure them; they are truly like walls with feet or horses without [need for] fodder. Still, everything depends on the firearms. If the firearms are lost, how can the wagons stand?"
A late Ming innovation in gunpowder warfare was the use of telescopes for aiming artillery. According to the Wu Xian Zhi (Local History and Geography of Suzhou), they were used during the reign of the Chongzhen Emperor against the Late Ming peasant rebellions:
   in the Chongzhen reign-period [+ 1628 to + 1643], when the rebels invaded Anqing [i.e. Anhui province] the Provincial Governor Zhang Guowei commissioned Bo Yu to cast bronze cannon. These had a range of 30 li, and whenever they were shot off they did great execution, because (the gunners) had telescopes (qian li jing), which showed just where the enemy had concentrated his forces.

### Lord Ye's divine gun

In the latter half of the 16th century Ye Mengxiong developed a breech loading cannon with a range of 800 paces known as "Lord Ye's divine gun". This new variant lengthened the chamber to around two meters and weighed around 150 kilograms.
In 1592 it made up a part of the Ming artillery train during a campaign against a Mongol rebellion in Ningxia.

### Winged tiger gun

The "Winged tiger gun" was a triple-barreled carbine developed by Zhao Shizhen for use on horseback. It was about a third of the length of a full musket and came with a cover for the priming powder. The infantry version could penetrate armour at a distance of 90 to 105 yards and the cavalry version about half of that. Zhao considered it ineffective except at close range and recommended using it as a melee weapon after firing.

### Breech loading matchlock

Zhao Shizhen developed breech loading matchlocks in the late 16th century. These used pre-loaded tube shaped chambers that could be loaded into the breech of the gun barrel. Gas leaking limited the effectiveness of these weapons and could even pose a danger to the user due to the close proximity of the matchlock mechanism. To prevent gas leaks Zhao designed interchangeable gun barrels, but these were very long and unwieldy.

### Rain cover

Zhao Shizhen also developed a rain cover for the matchlock. The bronze rain cover was connected to a weighted pendulum that always pointed downwards even if the gun's orientation changed. This addition was cost prohibitive and could not be produced in large amounts.

### Bayonet

In the early 17th century He Rubin added a plug bayonet to the breech loading matchlock.
* A matchlock with a rain cover from the Shenqipu, 1598.
* A man loading a matchlock with a rain cover, from the Shenqipu, 1598.
* A breech loading matchlock from the Shenqipu, 1598.
* A breech loading matchlock with interchangeable barrels from the Shenqipu, 1598.
* A barrel holder which doubles as a shield from the Shenqipu, 1598.
* A breech loading matchlock with a plug bayonet from the Binglu, 1606.
* Illustration of a 1639 Ming musketry volley formation.

### Rapid thunder gun

The "rapid thunder gun", developed by Zhao Shizhen, was a five-barreled firearm with a rotating stock fixed to a round shield through the middle. The firearm sat on an axe used as a stand. The firearm could be taken out and used as a spear with the pointy end of the stock.

### Hongyipao

Chinese began producing hongyipao, "red barbarian cannons", in 1620. These were European style muzzle-loading culverins. The hongyipao played a pivotal role in the Ming defense against the Jurchens at the Battle of Ningyuan, but the technological advantage didn't last long. Kong Youde defected to the Later Jin (1616–1636) in 1631, taking with him knowledge of the hongyipao.

### Flintlocks

Around 1635 the Chinese acquired flintlock firearms or at least had some detailed knowledge of their existence. The new mechanism didn't catch on however and the Chinese never incorporated it into their arsenal.

### Composite metal cannons

Chinese gunsmiths continued to modify "red barbarian" cannons after they entered the Ming arsenal, and eventually improved upon them by applying native casting techniques to their design. In 1642 Ming foundries merged their own casting technology with European cannon designs to create a distinctive cannon known as the "Dingliao grand general." Through combining the advanced cast-iron technique of southern China and the iron-bronze composite barrels invented in northern China, the Dingliao grand general cannons exemplified the best of both iron and bronze cannon designs. Unlike traditional iron and bronze cannons, the Dingliao grand general'rs inner barrel was made of iron, while the exterior of brass. Scholar Huang Yi-long describes the process:
   They ingeniously took advantage of the fact that the melting temperature of copper (which is around 1000C) was lower than the casting temperature of iron (1150 to 1200C), so that just a bit after the iron core had cooled, they could then, using a clay or wax casting mold, add molten bronze to the iron core. In this way, the shrinkage that attended the cooling of the external brass would [reinforce the iron, which would] enable the tube to be able to resist intense firing pressure.
The resulting bronze-iron composite cannons were superior to iron or bronze cannons in many respects. They were lighter, stronger, longer lasting, and able to withstand more intensive explosive pressure. Chinese artisans also experimented with other variants such as cannons featuring wrought iron cores with cast iron exteriors. While inferior to their bronze-iron counterparts, these were considerably cheaper and more durable than standard iron cannons. Both types met with success and were considered "among the best in the world" during the 17th century. The Chinese composite metal casting technique was effective enough that Portuguese imperial officials sought to employ Chinese gunsmiths for their cannon foundries in Goa, so that they could impart their methods for Portuguese weapons manufacturing. According to the soldier Albrecht Herport, who fought for the Dutch at the Siege of Fort Zeelandia, the Chinese "know how to make very effective guns and cannons, so that it’s scarcely possible to find their equal elsewhere."
Soon after the Ming started producing the composite metal Dingliao grand generals in 1642, Beijing was captured by the Manchu Qing dynasty and along with it all of northern China. The Manchu elite did not concern themselves directly with guns and their production, preferring instead to delegate the task to Chinese craftsmen, who produced for the Qing a similar composite metal cannon known as the "Shenwei grand general." However, after the Qing gained hegemony over East Asia in the mid-1700s, the practice of casting composite metal cannons fell into disuse until the dynasty faced external threats once again in the Opium War of 1840, at which point smoothbore cannons were already starting to become obsolete as a result of rifled barrels. After the Battle of Taku Forts (1860), the British reported with surprise that some of the Chinese cannons were of composite structure with similar features to the Armstrong Whitworth guns. Many of the Qing cannons deployed along the coast were forged in the 17th or early 18th century.
The concept of composite metal cannons is not exclusive to China. Although the southern Chinese started making cannons with iron cores and bronze outer shells as early as the 1530s, they were followed soon after by the Gujarats, who experimented with it in 1545, the English at least by 1580, and Hollanders in 1629. However the effort required to produce these weapons prevented them from mass production.The Europeans essentially treated them as experimental products, resulting in very few surviving pieces today. Of the currently known extant composite metal cannons, there are 2 English, 2 Dutch, 12 Gujarati, and 48 from the Ming-Qing period.

### Bastion fort

In 1632, Sun Yuanhua advocated for the construction of angled bastion forts in his Xifashenji so that their cannons could better support each other. The officials Han Yun and Han Lin noted that cannons on square forts could not support each side as well as bastion forts. Their efforts to construct bastion forts and their results were inconclusive. Ma Weicheng built two bastion forts in his home county, which helped fend off a Qing incursion in 1638. By 1641, there were ten bastion forts in the county. Before bastion forts could be spread any further, the Ming dynasty fell in 1644, and they were largely forgotten as the Qing dynasty was on the offensive most of the time and had no use for them.

## Other gunpowder weapons
### Rockets

The basic rocket weapon, otherwise known as the fire arrow in Chinese, was a tube of gunpowder and a fuse attached to an arrow. Variants of the basic variety included:
* "Sail-nailing arrow", a naval weapon used to set fire to the sails of enemy ships. It included a poisonous smoke and barbed arrowhead to prevent enemies from putting out the fire.
* "Flying saber, spear, sword, and swallowtail arrows", which had specialized arrowheads and larger rocket tubes to punch through armour.

### Rocket launchers

Rocket launchers included:
* "Fire basket", a handheld bamboo basket holding 20 fire arrows.
* "Long serpent enemy breaker", a handheld rocket pod with 32 fire arrows.
* "Convocation of eagles chasing hare", a double ended handheld rocket pod containing 30 fire arrows on each side for a total of 60 fire arrows.
* "Nest of bees", a hexagonal, wagon mounted, 32 shot fire arrow launcher.
* "Charging leopard pack", an octagonal rocket pod carrying 40 fire arrows.
* "Hundred tiger rush", a box shaped rocket launcher carrying 100 fire arrows.
* "Divine fire arrow screen", a stationary rocket launcher with a pressure plate trigger. It carries 100 fire arrows.
* An illustration of fire arrow launchers as depicted in the Wubei Zhi. The launcher is constructed using basketry.
* A "long serpent enemy breaking" fire arrow launcher as depicted in the Wubei Zhi. It carries 32 medium small poisoned rockets and comes with a sling to carry on the back.
* The 'convocation of eagles chasing hare' rocket launcher from the Wubei Zhi. A double-ended rocket pod that carries 30 small poisoned rockets on each end for a total of 60 rockets. It carries a sling for transport.
* A "nest of bees" (yi wo feng 一窩蜂) arrow rocket launcher as depicted in the Wubei Zhi. So called because of its hexagonal honeycomb shape.
* A "charging leopard pack" arrow rocket launcher as depicted in the Wubei Zhi.
* The 'divine fire arrow screen' from the Huolongjing. A stationary arrow launcher that carries one hundred fire arrows.

### Rocket carts

* "Fire arrow cart", a rocket cart with no specifications given.
* "Wheelbarrow fire engine", a rocket cart constructed by joining four "long serpent" rocket launchers, two square "hundred tigers" rocket-arrow launchers, two multiple-bullet emitters, and two spears for close quarter combat.
* "Assault-barrow rocket launcher", multiple assault-barrow rocket-launchers side by side.
* "Modified martial steel cart", two connected wheelbarrows, each equipped with two small cannons, 27 rockets, and a shield.
* "Hidden barbarian charging wheel cart", a wheelbarrow equipped with 40 rockets, eight spears, and two shields.
* Fire arrow cart from the Sizhen Sanguan Zhi
* Rocket carts from the Wubei Zhi
* Wheelbarrow fire engine (jia shi huo che 架火器式)
* Multiple wheelbarrow fire engines lined up together (lian lu zhan che shi 聯絡戰車式)
* Hidden barbarian charging wheel cart

### Bombs

The Huolongjing describes several different types of bombs. The "divine bone dissolving fire oil bomb" was made of a cast iron casing filled with tung oil, sal ammoniac, feces, scallion juice, and iron pellets or porcelain shards. Another was called the "magic fire meteor going against the wind bomb", which was made using a wooden core filled with blinding gunpowder. It's not certain what the point of the wooden core was, but the bomb could be made very small or so large that it needed to be transported by animals. A type of weak casing bomb called the "bee swarm bomb" was made using bamboo and paper for the case, and filled with gunpowder and iron caltrops. The explosion was fairly weak and it was intended for setting the sails of ships on fire or causing havoc in enemy camps. Cases could also be made of wood for bombs such as the "match for ten thousand enemies", which was given a double wooden casing so that it did not explode, but rather spun around emitting fire.
Other descriptions from the Huolongjing:
* Watermelon bomb
   The 'water-melon bomb' is the most efficacious weapon for defending city-walls, best used from a high position when (the enemy) is below. Inside the bomb there are one or two hundred small (iron) calthrops, and fifty to sixty 'fire-rats' (huo lao shu), [On the surface of each fire-rat tube three little hooks are fastened, and each such tube has a fuse going to it. All these are put into the bomb first before it is filled with gunpowder, and this should be packed in it loosely, not pressed down. The bomb is now sealed, two layers of hempen cloth with twenty layers of strong paper being glued over it, after which it is dried in the sun. The circumference of the bomb is divided into three parts, and three small holes are bored to take in three fuses. Another hole is bored directly at the top, and a small two-inch long bamboo tube is put in. A fuse goes right into the bomb through this, to make the bomb explode evenly, and the four fuses are connected together (at the top).]
   When the enemy appears below the city wall the main fuse is lit, then when the burning reaches the point of junction with the four subsidiary fuses, one throws it down into the midst of the enemy. The four fuses are necessary to prevent the flame going out as the bomb is dropped, [At the moment of explosion, even the coating can cause some damage, but in a trice the calthrops are scattered all over the ground, while the fire-rats rush about in confusion, burning the soldiers. Thus the attackers can only run away, and as they do so the calthrops hurt their feet and injure them when they fall over. They never dare to come back beneath those city walls again.]
* Bomb laying boat from the Wubei Zhi
* A 'watermelon bomb' (xi gua pao) as depicted in the Huolongjing. It contains 'fire rats,' mini rockets with hooks.
* A 'fire brick' (huo zhuan) as depicted in the Huolongjing. It contains mini-rockets bearing sharp little spikes.
* Depiction of a' wind-and-dust bomb' (feng chen pao) from the Huolongjing.
* An illustration of a fragmentation bomb known as the 'divine bone dissolving fire oil bomb' (lan gu huo you shen pao) from the Huolongjing. The black dots represent iron pellets.
* A 'rumbling thunder bomb' (hong lei pao) as depicted in the Huolongjing. The text describes ingredients including mini-rockets and caltrops with poisons.
* 'Dropping from heaven' (tian zhui pao) bombs as depicted in the Huolongjing.
* 'Bee swarm bombs' (qun feng pao) as depicted in the Huolongjing. Paper casing filled with gunpowder and shrapnel.
* A 'divine fire meteor which goes against the wind' (zuan feng shen huo liu xing pao) bomb as depicted in the Huolongjing.
* A 'flying-sand divine bomb releasing ten thousand fires' (wan huo fei sha shen pao) as depicted in the Huolongjing. A weak casing device possibly used in naval combat.

### Mines

Land mines may have been used since the Song dynasty in 1277 against the Mongols, however they were not described in detail until the Huolongjing was written in the latter half of the 14th century. The Huolongjing describes several types of mines, one of which was called the "invincible ground thunder mine" which was made of cast iron and buried where the enemies were expected to arrive. The trigger mechanism is not described, only that the mines were exploded at a given signal. The "ground thunder explosive camp" was a large group of mines made of bamboo tubes filled with oil, gunpowder, and lead or iron pellets. The fuse was attached to the bottom of the tube which was ignited when disturbed. The "self tripped trespass land mine" operated in a similar fashion, except the container was made of iron, rock, porcelain or earthenware. The fuses were connected together through a series of fire ducts so that they all exploded at once. A "stone cut explosive land mine" was used for defending cities. Its fuse was slotted through a section of bamboo.
The Binglu describes a type of mine called the "supreme pole combination mine" which mounted a battery of little guns which set off automatically, although the trigger mechanism is not described. According to the Huolongjing, the explosive mine was set off using a steel whee mechanism:
   The explosive mine is made of cast iron about the size of a rice-bowl, hollow inside with (black) powder rammed into it. A small bamboo tube is inserted and through this passes the fuse, while outside (the mine) a long fuse is led through fire-ducts. Pick a place where the enemy will have to pass through, dig pits and bury several dozen such mines in the ground. All the mines are connected by fuses through the gunpowder fire-ducts, and all originate from a steel wheel (gang lun). This must be well concealed from the enemy. On triggering the firing device the mines will explode, sending pieces of iron flying in all directions and shooting up flames towards the sky.
However the "steel wheel" mechanism was not described in detail until the Binglu was published in 1606. It consisted of two steel wheels placed on flints with a cord and weight attached to them. The weight was held in place by a pin, which when removed by stepping on a plate attached to it, would release the weight, causing the wheels to produce sparks by rubbing against the flints, and thus setting off the fuse. The Wubei Zhi also describes a trigger using slow burning incandescent material. The incandescent material was made of sandal-wood powder, iron rust, 'white' charcoal powder, willow charcoal powder, and dried powdered flesh of red dates. This was used for the "underground sky soaring thunder", which consisted of mines attached to a bowl of weapons above ground. When enemies pulled on the weapons, the mines would explode.
For naval mines, the Huolongjing describes the use of slowly burning joss sticks that were disguised and timed to explode against enemy ships nearby:
   The sea-mine called the 'submarine dragon-king' is made of wrought iron, and carried on a (submerged) wooden board, [appropriately weighted with stones]. The (mine) is enclosed in an ox-bladder. Its subtlety lies in the fact that a thin incense(-stick) is arranged (to float) above the mine in a container. The (burning) of this joss stick determines the time at which the fuse is ignited, but without air its glowing would of course go out, so the container is connected with the mine by a (long) piece of goat's intestine (through which passes the fuse). At the upper end the (joss stick in the container) is kept floating by (an arrangement of) goose and wild-duck feathers, so that it moves up and down with the ripples of the water. On a dark (night) the mine is sent downstream (towards the enemy's ships), and when the joss stick has burnt down to the fuse, there is a great explosion.
* 'Explosive bombs' (zha pao) from the Huolongjing.
* A 'ground thunder explosive camp' (di lei zha ying) from the Huolongjing. The mine is composed of eight explosive charges held erect by two disc shaped frames.
* Land mine system known as the 'divine ground damaging explosive ambush device' (di sha shen ji pao shi - mai fu shen ji) from the Huolongjing
* Naval mine system known as the 'marine dragon-king' (shui di long wang pao) from the Huolongjing.
* 'Supreme pole combination land mine' from the Binglu
* Steel wheel igniter from the Binglu
* Steel wheel trigger mechanism from the Wubei Zhi
* 'Underground sky soaring thunder' from the Wubei Zhi
* 'Chaotic river dragon' from the Tiangong Kaiwu

### No Alternative

A weapon called the "No Alternative" was used during the Battle of Lake Poyang. The No Alternative was "made from a circular reed mat about five inches around and seven feet long that was pasted over with red paper and bound together with silk and hemp — stuffed inside it was gunpowder twisted in with bullets and all kinds of [subsidiary] gunpowder weapons." It was hung from a pole on the foremast, and when an enemy ship came into close range, the fuse was lit, and the weapon would supposedly fall onto the enemy ship, at which point things inside shot out "and burned everything to bits, with no hope of salvation."