In real time the barcode scanners do not consider black and white stripes as one and zero. They detect the sequences of these white and black lines and convert them directly into a decimal number. The decimal number will be the output of a barcode scanner.
Bluetooth Low Energy
Wireless devices are making a great impact on the world with every passing day. The people who use these wireless devices have increased rapidly. When the radios were first invented, every company has a single goal for their engineers and scientists. The companies wanted them to create the best radio module that the market has ever seen. The efficiency of the radio module should be top notch. But none of them has a clear definition for a perfect radio module. What defines the perfect radio module is something that cannot be defined easily. It normally depends on the tasks that the radio module has to solve.There are some situations where we need to send huge amount of data on a wireless network and in that situation, no one would ask for a power efficient way as they want to transmit the data first. Then there are some other situations where only a small amount of data must be transmitted and then we can opt for power consumption ways. The portable devices usually notify us when there are some occurrences and as these devices us batteries for power, the radio modules in such devices should be as efficient as possible.
There is one radio technology that stands out amongst all kinds of energy efficient radio modules. This technology is capable of sending a suitable amount of data at a relatively cheap cost of energy consumption- Bluetooth Low Energy.
Organization of BLE in Three Major Blocks
HOST, APPLICATION AND CONTROLLER
The application block, as its name depicts is a user application which will interface with the Bluetooth protocol stack. The controller covers the lower layers of a protocol stack whereas the host covers the upper layers of protocol stack. The host is capable of communicating with the BLE module with the help of a Host Controller Interface (HCI). The basic purpose of HCI is to interface the host and controller and this specific interface is capable of interfacing a wide range of hosts with a controller. In our case, the MCU runs this application and talks a specific connectivity device. This connectivity device is made with the help of a controller and host. For this specific purpose, the SPI or various other interfaces are used to communicate.
WHAT WE DEVELOPED?
We have created a one simple and smart hand glove held barcode scanner which can be operated with the help of a battery. This glove has an inbuilt Bluetooth chip which communicates with the smartphone APK that keeps record of each scanned item and also uploads the data to cloud for future use like management of stock, etc.
Block Digram
Schematic
Electronic Components Used
RT206 BARCODE SCANNER MODULE
This RT206 barcode scanner has two red LEDs for supplementary lighting. This helps in scanning the barcodes even in complete darkness.
The TR206 uses red colored LEDs for illumination. This way the engines show better reading performance when the barcodes are printed in red colors. For the applications where red barcodes are involved, it has been advised to turn off the engine’s illumination and use a non-red supplementary lightning (like green) instead.
ESP32 MODULE
The predecessor of ESP32 module has a special built-in processor. But as the multitasking is involved when the WiFi stack is updated, the applications use a separate microcontroller for processing of data, interfacing the sensors and digital input output. With ESP32, you may not want to use another microcontroller. ESP32 has Xtensa Dual-core 32-bit LX6 microprocessors that run up to 600 DMIPS. The ESP32 will run on the breakout boards and modules from 160 MHz up to 240 MHz . this is a great speed for anything which requires a microcontroller with different connectivity options.
The processors consists of a closely tied internal memory which is
used for following purposes
MCP 73831 Battery Charger
High accuracy present voltage regulation in the output (+/-0.75%)
AMS1117 (3.3V) Voltage Regulator
The AMS1117-3.3V voltage regulator module is a perfect option for various types of microcontroller projects and also for different types of electronic projects. This is a high performance module which is capable of providing a quick solution for powering your circuit completely.
SMT-0540-S-R 5X5MM Transducer
High accuracy present voltage regulation in the output (+/-0.75)
Lipo Battery (3.7v, 1000MAH)
The Lithium Polymer batteries which are also called as LiPo batteries are a latest type of batteries which are used in various types of consumer electronic devices. They have gained a lot of popularity in the radio control industry since some years and now evolved as the most popular choice for any person who is looking for a long run times and higher powers.
The LiPo batteries offer wide array of benefits but the users must verify whether the benefits outweigh the drawbacks or not. In my personal opinion, there is nothing to fear about the LiPo batteries as long as you adhere to the rules and treat the batteries properly.