It's all about low profile, low power remote sensing or blinks messaging over short range. This project can be re-purposed for door position sensing, water, sound, light, temperature sensing or sending blink encoded messaging.
Stealth Communication and Sensing: Encoded BlinksBlink encoded messaging means predefined meaning for each consecutive blinks. For example 1 blink means MISSION FAILED, 2 blinks mean I AM IN PINCH, 3 blinks mean OK etc.
Similarly, blinks can represent water level:
- 1 blink - 25% full
- 2 blinks - 50% full
- 3 blinks - 75% full
- 4 blinks - 100% full
There are total 3 modules in this system. Since, each picture is worth a thousand words, check the images with captions to understand the build procedure in details.
Step 1: Making the Receiver Module
Step 2: Building the Transmitter Module
Step 3: Creating the Programmable Beacon
Step 4: Attaching Transmitter on the Beacon
Before programming the ATtiny85, it is removed from IC Base and placed on a breadboard to burn bootloader with 1 MHz internal clock setting. To program ATtiny85, an Arduino UNO board is converted to ISP programmer by uploading the " ArduinoISP" from File > Example > ArduinoISP sketch. This sketch is available in Arduino IDE.
Programming ATtiny85 requires following steps:
- Installing ATtiny support for Arduino IDE (thanks to David A. Mellis)
- Burning Bootloader for ATtiny85 using Arduino UNO as ISP
- Developing and Uploading Code using Arduino UNO as ISP
Following circuit is prepared to burn bootloader program and then the application program on ATtiny85 flash:
1 / 2 • Burning Bootloader and Uploading code using Arduino Uno as ISP
ATtiny85 Low PowerLowering power consumption on ATtiny85 can be achieved by taking following actions:
- Lower system clock (1MHz is better than 8 or 16)
- Low Vcc (3v is better than 5v)
- Disabling unused peripherals like ADC, BOD
- Entering sleep/power down mode while no operations required
- Reducing frequent active time
By making appropriate change in hardware and software above actions are achieved. Here is a nice article on Sparkfun about this!
433 MHz RF Link with Low PowerTo ensure that the transmitter is off when not required (local blink only mode), one of the ATtiny pin is used to power the Vcc of the transmitter during operation only by making that pin high. At 3 volts the transmitter only takes 12-14 mA current which the Digital pin of ATtiny85 can provide.
In case external Vcc (up to 12V) is supplied to power the transmitter for long range, there is a jumper to detach Vcc pin of the transmitter from the ATtiny pin. A 9V battery can supply the transmitter.
Antenna DesignFrom high school physics, we all know c = f * lambda , where c is the speed of light or EM radiation, f is the frequency and lambda is the wavelength.
A general purpose antenna would be 1/4 the wavelength. By using the above formula:
A piece of wire which has 17.3 cm length will do the job for low range operation.
Check out this improved 433 antenna design instructable.
Range ExtensionRange of the transmitter-receiver pair can be increased by taking following actions:
- Using the improved version of the antenna
- Supplying higher Vcc on transmitter (up to 12 Volts) by removing the jumper and applying Vcc external on the transmitter module (RED/BLACK) pins
- Maintaining less obstacles (walls, metal grids) between transmitter and receiver, best if Line of Sight is maintained.
- Keeping both antenna on the same plane (like 90 degrees up)
The low bit rate allows simple and reliable communication with only one microcontroller. Although, it is possible to send complex data by using another micro on the receiving end.
Comments
Please log in or sign up to comment.