The AmbiComp project develops a distributed Java virtual machine for embedded sensor and control units. In particular, it creates a single system illusion to simplify software development in settings of many physically distributed interacting controllers. I would like to discuss how AmbiComp can use STM as a parallel programming paradigm.