R.Duke
Newbie level 3
- Joined
- Apr 5, 2015
- Messages
- 4
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 61
I am trying to choose components and design a data logger for tracking the acceleration and direction/heading of a car.
The design needs to meet only a few requirement specifications and i don't need to concern myself with the software implementation.
The system needs to record direction of travel and acceleration every ten seconds and store it in an appropriate memory location with a timestamp.
It also needs to be able to upload this data to a PC.
I was thinking I will use a PIC18 and copy the circuit of a Ready for Pic board I already have from Mikroelektronika.
That will take care of the oscillator and power supply to the micro derived from a battery pack.
However I am looking for advice pertaining to the additional components and interfacing methods.
A 2-axis accelerometer was considered but would a 3-axis be better? I assume the heading can be extrapolated from the acceleration on each axis.
I guess that an analogue output is also desirable?
use a real time clock module seems appropriate for the timestamp, though the interfacing method is not chosen.
An SD card was considered for data storage though again, i have not looked into the interfacing method (spi or what).
Is it likley that my RTC will require i2c and the SD card will require SPI?
I was thinking of allowing serial transfer over ftdi for real time viewing, but im unsure about the ability to implement all 3 interfacing methods on the one chip simultaneously.
Any tips or assistance is greatly appreciated!
Thanks!
The design needs to meet only a few requirement specifications and i don't need to concern myself with the software implementation.
The system needs to record direction of travel and acceleration every ten seconds and store it in an appropriate memory location with a timestamp.
It also needs to be able to upload this data to a PC.
I was thinking I will use a PIC18 and copy the circuit of a Ready for Pic board I already have from Mikroelektronika.
That will take care of the oscillator and power supply to the micro derived from a battery pack.
However I am looking for advice pertaining to the additional components and interfacing methods.
A 2-axis accelerometer was considered but would a 3-axis be better? I assume the heading can be extrapolated from the acceleration on each axis.
I guess that an analogue output is also desirable?
use a real time clock module seems appropriate for the timestamp, though the interfacing method is not chosen.
An SD card was considered for data storage though again, i have not looked into the interfacing method (spi or what).
Is it likley that my RTC will require i2c and the SD card will require SPI?
I was thinking of allowing serial transfer over ftdi for real time viewing, but im unsure about the ability to implement all 3 interfacing methods on the one chip simultaneously.
Any tips or assistance is greatly appreciated!
Thanks!