Magic Mote Wireless Sensor Node

Found on Hack-A-Day, from the Magic Smoke blog page.
I like this idea.  These RF modules are about a buck a piece and use an SPI interface.  This should be easily adaptable to a PIC processor and Swordfish Basic.
This compact PCB interfaces a low power MSP430G2553 microcontroller with a Nordic NRF24L01+ 2.4 GHz radio frequency transceiver module. It's well adapted to serve as a wireless sensor node, but has enough I/O options to be put to use wherever a small microcontroller is required. Available soon from Tindie!

I set out to design a wireless sensor PCB that could be inexpensively prototyped in quantities of 10. NRF24L01+ modules are exceedingly cheap (~$10 for 10), use very little power, and have sufficient range for most indoor projects. Low power MSP430 microcontrollers make an ideal partner for battery powered applications. I settled on the MSP430G2553, but theMSP430G2452 can be substituted whenever hardware UART is not required.

The layout of this board is derived from the Spirillis boosterpack for easy compatibility with the Spirillis msprf24 library. I/O options include a 3.5 mm jack socket or 3-pin header, a 4-pin header with an analogue input, and a 6-pin programming/serial header. The dimensions of the board are suitable for panelizing (2 per 5x5 cm prototype).

Members of the 43oh forum came forward with design tips. J.P. Norair suggested LED indicators for the TX and RX processes controlled by firmware. I originally designed the board to be powered by a Lithium coin cell, but Spirillis showed the way forward so I added pin holes for a 2xAA battery holder. Power can also be supplied to any of the pin headers. I also figured out how to measure the battery voltage without using a voltage divider and broke out the pin I had earmarked for that as an analogue input with RC low pass filter. Finally, I put 220 Ω resistors on the power and data wires to the jack socket to ameliorate momentary shorts when plugging in.

Overall I am happy with the design but there are a few more revisions that could be made. The TXD and RXD labels are permuted on the 6-pin header. The watch crystal is useful for use in real time clocks as well as for certain low power modes, but C4 and C5 are surplus to requirements as the capacitance can be set in firmware. Finally, the radio module bends back over the board for a compact layout. It might be preferable to orient the header the other way for improved range and better access to the tactile switch. As things stand, one option is to mount the switch on the reverse of the PCB. Another is to use a right angle header to attach the RF module perpendicular to the board. 



Posted: 4 years 3 months ago by Jon Chandler #13700
Jon Chandler's Avatar
Here's the first eBay listing I came across for the transceiver modules.

Posted: 4 years 3 months ago by bitfogav #13698
bitfogav's Avatar
The NRF24L01 modules seem to be getting very popular, I've had a few of them kicking around for awhile and are on my list todo!. Would be nice if Swordfish had a NRF24L01 module
Posted: 4 years 3 months ago by Jon Chandler #13699
Jon Chandler's Avatar
Using these modules looks pretty simple. DIY embedded has a series of tutorials on using them. To my cold-addled brain, they look pretty clear and well-written.
Posted: 4 years 3 months ago by Baldor #13701
Baldor's Avatar
Could be a nice add to my break beam photo trigger..... A wireles sensor will be less intrusive. Should check latency, but seems doable. But then, I must upgrade from 12F to 16F (Or 18F)
Posted: 3 years 8 months ago by Graham Mitchell #16864
Graham Mitchell's Avatar
Graham Mitchell

Forum Activity

Member Access