We recently stayed at Mataro just outside Barcelona at Camping Barcelona, it's an ACSI site, think it was €20 a night with electric.
They have a free courtesy coach that drops you off in Barcelona and picks you up later, with various times. It was reported that two motorhomes were broken into in Barcelona by Kenspain, so we didn't fancy taking our chances.