I need a circuit using an accelerometer conected to the microcontroller via SPI. Every change on the acceleration OR every one second, the microcontroller must send the measured value to another microcontroler by air, using the ZigBee.
- Accelerometer: Freescale MMA6901Q
- Microcontroller: Microchip PIC18F2520
- ZigBee: MRF24J40MB
- Power Supply: [url removed, login to view]
- C Language using the Hi-TECH PICC18 or mikroC Pro compiller.
- The schematic,
- All the source code.