I'll limp in the small blind under certain circumstances:
When I have <20 big blinds.
When the big blind is particularly passive preflop.
When there are antes.
----
Sometimes all three conditions are met. I limp any hand that I don't think is worth a raise here.
Sometimes none of these conditions are met. I don't limp anything here.
When the conditions are somewhat met, it's time to play poker.