Wireless sensor network (WSN) has been widely used in industrial technology, national defense, robotic system[1], medical and health field. But it is hedged about in various fields due to its security problem. Through the analysis of the characteristics of Bluetooth WSN and its security architecture, this paper gives out a security scheme for Bluetooth WSN including piconet and scatternet. This scheme based on improved Diffie-Hellman achieves authentication in the Bluetooth WSN and defeats threats derived from Bluetooth link-level. DOI: http://dx.doi.org/10.11591/telkomnika.v11i6.269