LowPowerLab Forum

Hardware support => General topics => Topic started by: JimJim on March 26, 2017, 02:18:30 AM

Title: Master and Slave
Post by: JimJim on March 26, 2017, 02:18:30 AM
Is there an easy way to read the distance between the master and the slave.  Then print this data out on the Masters serial port. Like in feet.

So here's the scenario =  The master will stay in one position and not move at all. The slave will be moved around.  If the slave is 50 feet away then it will print out on the masters serial port 50 feet away.   If you move the slave 25 feet away then the master will print out 25 feet.


Can this be done or am I just dreaming big?
Title: Re: Master and Slave
Post by: WhiteHare on March 26, 2017, 01:14:26 PM
Not with an atmega328.  Even at 20Mhz, it would be too slow to give you 1 foot accuracy from a time of flight approach.  And that's not even considering the other obstacles you would run into.
Title: Master and Slave
Post by: JimJim on March 26, 2017, 05:37:29 PM
 Thank you for your data, I didn't think it was possible but I had to ask.