Posts

Showing posts with the label wifi

Hardware for IoT - Microcontrollers and Microcomputers

Image
Internet of Things (IoT) is a topic that involves automating or controlling (not only) households from intelligent devices. Under the term IoT, it is possible to imagine everything around us that communicates in some way, and it is possible to acquire information, manage and know about these devices, such as whether they are turned off or turned on. This is your television, your computer, washing machine, mp3 player, appliances, sockets, lights. Their data must be sent to the network by hardware if they do not have a certain connectivity or if they do not support the IoT standard. As a hardware we can use a chip or a minicomputer that performs this function. Consequently, these devices can be managed with the hardware that they can communicate with the device and then send these device values / statuses to the IoT network gateway. In this article you can read about the most famous IoT hardware platforms, but most of the hardware is only used for local projects without having to conne

Attiny85 + HC05 - Connection test with source code

In today's tutorial, we'll show you how to test the connection between the bluetooth module HC-05 and the AtTiny85 chip based on simple character transmission via the Android phone terminal application. The attached program for AtTiny85 can be used for any chip from the AtTiny AtMega family. It can only be different in selected digital pins. # define RX 3 # define TX 4 # define pinLED 0 # include < SoftwareSerial.h > SoftwareSerial bluetooth (TX, RX); void setup () { bluetooth. begin ( 9600 ); pinMode (pinLED, OUTPUT); } void loop () { byte BluetoothData; if (bluetooth. available () > 0 ) { BluetoothData=bluetooth. read (); switch (BluetoothData) { case ' 0 ' : digitalWrite (pinLED, LOW); bluetooth. println ( " Turning LED OFF. " ); break ; case ' 1 ' : digitalWrite (pinLED, HIGH); bluetooth. println ( " Turning LED ON. " );

RFID system with on-line management - NodeMCU

Image
Today, I'd like to introduce the system I've been developing last week. I made an RFID system to open the electronic door. The system is built on components for Arduino, ie a 13.56MHz RC522 card reader and keypad, compatible cards and keychains. The reader is able to read the ISO / IEC 14443 A standard cards. This standard also works on ISICs, ATMs, or busses, and can also be read and used for such a project. By reader, I read the MAC address of the cards (it can also be read and write in the memory of the cards and the key, which is mostly 1kB or 4kB), the MAC addresses I read to convert to a specific DEC format. In the role of the microcontroller for processing and sending data, I used a NodeMCU board that has wifi connectivity and is more than adequate for this purpose. The system is suitable for halls, corporate entrance gates, electronic doors and similar applications. The task of NodeMCU is to send data to the web backend whenever it logs the card and opens or unlocks