As for accommodation, San Pedro de Atacama has about thirty hotels and guesthouses offering prices to suit every budget.
Here is Hostal Sonchek, probably one of the best-value places you can find: small private rooms around a charming courtyard, where you will meet backpackers from all over the world.
It has the spirit of a backpackers’ hostel: you can use the washing machine, communal kitchen and so on... but the bathroom facilities are fairly basic!