Inherited from Vulgar Latin *bat(t)uāculum, from Latin bat(t)uere (“beat”). Compare Portuguese badalo.
Practice speaking and memorizing "badajo" and many other words and sentences in Spanish.