The HAM-based wavelet approach is a new method based on homotopy analysis method and wavelet theory,which combines the advantages of both the ability of homotopy analysis to solve strong nonlinear problems and the high precision of wavelet bases.In this paper, the nonhomogeneous equations of nonlinear boundary value problems are solved by this method.In the framework of homotopy analysis, the generalized Coiflet wavelet is used as the projection scaling function that satisfies the conditions of approximation theorem, and the equation to be solved is reconstructed based on multi-resolution analysis and wavelet approximation.Finally, numerical examples show that this method has better accuracy and efficiency.