This Infrared (IR) bootloader for Atmega328
http://n0m1.com/2012/05/07/superduplex-an-infrared-bootloader-for-arduino/
arrived in one of my RSS feeds this arfternoon.
It seems unlikely to be useful as a bootloader for the AtTiny2313 as the
size is 4.5k (2313 only has 4k!), at least without a LOT of modifications.
However it is VERY interesting for the discussion (and code?) to do with
environmental noise and echo cancellation. I had already started
thinking about these sorts of things - but this article is way ahead of
my thoughts. I have left my raw notes below - in case they help our
thinking.
In addition, one tool that might help is using an IRToy with Sump logic
analyser to look at the IR coms. I think there also also several Arduino
based IR systems ... which might be Sump compatible...or can be made
sump compatible.
Brain dump:
- environment size & clutter / multiple sensors = impact on sensors
esp min distance. typical IR sensors cannot measure less
than 6cm???
== issue for small bots!
?? dif type sensor measure closure???
reflections = false measurements
env flooded with signals
- can't tell which one is "yours"
- cannot read any signal - swamped - distorted - flooded!
use dif freq, IDs, ????
tx in 1x1 in some agreed order, with "emergency" gap in between
switch off, until required + wait until no other TX - need some
"protocol" about this
IR reflective sensors - I guess these not being considered - too
expensive?
- current "high" ~30mA CONTINUOUS unless add switching cct
- min distance issue
use cheap TX/RX combo
?? calibrate - could be a swarm init activity????
- OUTPUT INTENSITY of each bot/LED
- INPUT of each rx LED
.. then strength of any signal = function of distance ... AND angle
.. ??? restrict BOTH rx/tx angle so intensities ~ constant
??use wide angle TX - for good "coverage"
data bandwidth = is typical 38kHz carrier a limiting issue??????
step back - practical use in real world
- range - max & min, resolution
- indoor & outdoor (eg SUN impact AND OTHER IR light - toaster
oven???)
Spencer