- 309
- 279 737
Electronics Developer
India
Приєднався 24 січ 2017
Hello,
Welcome to Electronics Developer channel!
This channel is created for Enthusiastic folk in the field of Electronics Research, Development, Innovation, Engineering and Technologies. MCU projects on which I was worked and would like to share documents of projects like Arduino, Lilypad, AVR, ARM, PIC, 8051 and hope it is helpful for you also!
For more information visit on official social media accounts of Electronics Developer.
#electronicsdeveloper
Business Inquiry:
Contact at developerelectronics@gmail.com
Welcome to Electronics Developer channel!
This channel is created for Enthusiastic folk in the field of Electronics Research, Development, Innovation, Engineering and Technologies. MCU projects on which I was worked and would like to share documents of projects like Arduino, Lilypad, AVR, ARM, PIC, 8051 and hope it is helpful for you also!
For more information visit on official social media accounts of Electronics Developer.
#electronicsdeveloper
Business Inquiry:
Contact at developerelectronics@gmail.com
Interfacing Arduino with ILI9341 color TFT display | Electronics Developer
-------------------------
📌Introduction
-------------------------
This Arduino tutorial shows how to interface the Uno board with ILI9341 TFT display.
The ILI9341 TFT module contains a display controller with the same name: ILI9341. It’s a color display that uses SPI interface protocol and requires 4 or 5 control pins, it’s low cost and easy to use. The resolution of this TFT display is 240 x 320 which means it has 76800 pixels. This module works with 3.3V only and it doesn’t support 5V (not 5V tolerant).
TFT: Thin-Film Transistor.
SPI: Serial Peripheral Interface.
-------------------------
📌 Designing and Working
-------------------------
The ILI9341 TFT display board which is shown in the circuit diagram above has 14 pins, the first 9 pins are for the display and the other 5 pins are for the touch module.
So, the display side pins which numbered from 1 to 9 are (from left to right): VCC (5V), GND (ground), CS (chip select), RST (reset), DC (or D/C: data/command), MOSI (or SDI), SCK (clock), BL (back light LED) and MISO (or SDO).
MOSI: master-out slave-in.
SDI: serial data in.
MISO: master-in slave-out.
SDO: serial data out.
As mentioned above, the ILI9341 TFT display controller works with 3.3V only (power supply and control lines). The display module is supplied with 5V that comes from the Arduino board. This module has a built-in 3.3V regulator which supplies the display controller with 3.3V from the 5V source.
All Arduino UNO board output pins are 5V, connecting a 5V pin to the ILI9341 TFT display may damage its controller.
To connect the Arduino to the display module, I used voltage divider for each line which means there are 5 voltage dividers. Each voltage divider consists of 2.2k and 3.3k resistors, this drops the 5V into 3V which is sufficient.
So, the ILI9341 TFT display is connected to the Arduino board as follows
1. CS pin is connected to Arduino digital pin 8,
2. RST pin is connected to Arduino digital pin 9,
3. D/C pin is connected to Arduino digital pin 10,
4. MOSI pin is connected to Arduino digital pin 11,
5. SCK pin is connected to Arduino digital pin 13.
Other pins are connected as follows:
1. VCC pin is connected to Arduino 5V pin,
2. GND pin is connected to Arduino GND pin,
3. BL (LED) pin is connected to Arduino 5V pin,
4. MISO pin is not connected.
-------------------------
📌 Tags
-------------------------
#arduino #II9341 #TFT
-------------------------
📌 The Code
-------------------------
Source code given in comment section, The following Arduino code requires two libraries from Adafruit Industries:
The first library is a driver for the ILI9341 TFT display which can be installed from Arduino IDE library manager (Sketch/Include Library/Manage Libraries …, in the search box write “ili9341” and choose the one from Adafruit).
The second library is Adafruit graphics library which can be installed also from Arduino IDE library manager.
Go to Arduino IDE /Sketch/Include Library/Add .ZIP Library … and browse for the .zip file.
📌 Tune With us so you never miss any update
-------------------------------------------------------------------------------------------------------------------------------------------------------------
🏷️Telegram : t.me/electronicsdeveloper
🏷️Facebook : electronicsdeveloper/
🏷️Instagram : electronics_developer
🏷️Tweeter : Electronics_Dev?s=09
🏷️LinkedIn : www.linkedin.com/company/electronics-with-shreyash
🏷️Pinterest : in.pinterest.com/electronics_developer/
Copyright Disclaimer under Section 107 of the copyright act 1976
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour of fair use.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
About Electronics Developer : UA-cam certified creative essentials and asset monetization
---------------------------------------------------------------------------------------------------------------------------------------------------------------
📌Introduction
-------------------------
This Arduino tutorial shows how to interface the Uno board with ILI9341 TFT display.
The ILI9341 TFT module contains a display controller with the same name: ILI9341. It’s a color display that uses SPI interface protocol and requires 4 or 5 control pins, it’s low cost and easy to use. The resolution of this TFT display is 240 x 320 which means it has 76800 pixels. This module works with 3.3V only and it doesn’t support 5V (not 5V tolerant).
TFT: Thin-Film Transistor.
SPI: Serial Peripheral Interface.
-------------------------
📌 Designing and Working
-------------------------
The ILI9341 TFT display board which is shown in the circuit diagram above has 14 pins, the first 9 pins are for the display and the other 5 pins are for the touch module.
So, the display side pins which numbered from 1 to 9 are (from left to right): VCC (5V), GND (ground), CS (chip select), RST (reset), DC (or D/C: data/command), MOSI (or SDI), SCK (clock), BL (back light LED) and MISO (or SDO).
MOSI: master-out slave-in.
SDI: serial data in.
MISO: master-in slave-out.
SDO: serial data out.
As mentioned above, the ILI9341 TFT display controller works with 3.3V only (power supply and control lines). The display module is supplied with 5V that comes from the Arduino board. This module has a built-in 3.3V regulator which supplies the display controller with 3.3V from the 5V source.
All Arduino UNO board output pins are 5V, connecting a 5V pin to the ILI9341 TFT display may damage its controller.
To connect the Arduino to the display module, I used voltage divider for each line which means there are 5 voltage dividers. Each voltage divider consists of 2.2k and 3.3k resistors, this drops the 5V into 3V which is sufficient.
So, the ILI9341 TFT display is connected to the Arduino board as follows
1. CS pin is connected to Arduino digital pin 8,
2. RST pin is connected to Arduino digital pin 9,
3. D/C pin is connected to Arduino digital pin 10,
4. MOSI pin is connected to Arduino digital pin 11,
5. SCK pin is connected to Arduino digital pin 13.
Other pins are connected as follows:
1. VCC pin is connected to Arduino 5V pin,
2. GND pin is connected to Arduino GND pin,
3. BL (LED) pin is connected to Arduino 5V pin,
4. MISO pin is not connected.
-------------------------
📌 Tags
-------------------------
#arduino #II9341 #TFT
-------------------------
📌 The Code
-------------------------
Source code given in comment section, The following Arduino code requires two libraries from Adafruit Industries:
The first library is a driver for the ILI9341 TFT display which can be installed from Arduino IDE library manager (Sketch/Include Library/Manage Libraries …, in the search box write “ili9341” and choose the one from Adafruit).
The second library is Adafruit graphics library which can be installed also from Arduino IDE library manager.
Go to Arduino IDE /Sketch/Include Library/Add .ZIP Library … and browse for the .zip file.
📌 Tune With us so you never miss any update
-------------------------------------------------------------------------------------------------------------------------------------------------------------
🏷️Telegram : t.me/electronicsdeveloper
🏷️Facebook : electronicsdeveloper/
🏷️Instagram : electronics_developer
🏷️Tweeter : Electronics_Dev?s=09
🏷️LinkedIn : www.linkedin.com/company/electronics-with-shreyash
🏷️Pinterest : in.pinterest.com/electronics_developer/
Copyright Disclaimer under Section 107 of the copyright act 1976
--------------------------------------------------------------------------------------------------------------------------------------------------------------
Copyright Disclaimer under Section 107 of the copyright act 1976, allowance is made for fair use for purposes such as criticism, comment, news reporting, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favour of fair use.
---------------------------------------------------------------------------------------------------------------------------------------------------------------
About Electronics Developer : UA-cam certified creative essentials and asset monetization
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Переглядів: 815
Відео
PIC18F4550 PWM example using CCS C compiler | Electronics Developer
Переглядів 1 тис.2 роки тому
📌Introduction PIC18F4550 has one CCP module and one ECCP (Enhanced CCP) module, the CCP module which CCP2 can generate a PWM signal on pin RC1, and ECCP which is CCP1 has an enhanced PWM capabilities, but this ECCP can work as a simple CCP. In this topic we are going to see how to use CCP1 (not enhanced CCP) and CCP2 to generate PWM signals on RC2 and RC1 respectively. 📌 Designing and Working T...
Multiple RGB LED Interfacing With Arduino | Multiplexing Technique
Переглядів 1,3 тис.2 роки тому
📌Introduction In this project we are going to interface 5 RGB (Red Green Blue) LEDs to Arduino Uno. These LEDs are connected in parallel for reducing PIN usage of Uno. 📌 Designing and Working The RGB LED will have four pins as shown in figure. PIN1: Color 1 negative terminal or color 1 positive terminal PIN2: Common positive for all three colors or common negative for all three colors PIN3: Col...
Unipolar and Bipolar Stepper motor Interfacing With PIC18F4550 | Electronics Developer
Переглядів 5102 роки тому
📌Introduction Bipolar stepper motor Most of cd-rom or dvd-rom drives has a bipolar stepper motor, this motor has two windings and each winding has 2 inputs which means that this type of motor has 4 wires.This topic shows circuit schematic and C code for controlling the bipolar stepper motor speed and direction using PIC18F4550 microcontroller. The stepper motor can be controlled in full step mo...
DC motor Speed & Direction control Using L293D with PIC18F4550 | Electronics Developer
Переглядів 8272 роки тому
📌Introduction This topic shows how to control DC motor rotation direction and speed using PIC18F4550 microcontroller and L293D motor driver chip.A pot is used to control motor speed and two push buttons are used to control rotation direction. 📌 Designing and Working In the circuit there are 3 push buttons, 2 for selecting the direction and the other one for stopping the motor. The 2 LEDs are us...
Real time clock and calendar using DS3231 and PIC16F877A - CCS C | Electronics Developer
Переглядів 8912 роки тому
📌Introduction The DS3231 is a low cost , extremely accurate real time clock with a built-in crystal oscillator. The characteristics of the DS3231 make it one of the best choices for real time clock chips. This project shows how to build is simple real time clock and calendar (RTCC) using PIC16F877A microcontroller and DS3231. The DS3231 uses I2C protocol to interface with the master device whic...
ST7735 TFT with PIC18F46K22 and Arduino | Electronics Developer
Переглядів 2892 роки тому
📌Introduction 1. PIC MCU with ST7735 TFT This is another PIC project that shows how to interface PIC18F46K22 microcontroller with ST7735 TFT display. In this post I’m going to do a simple rotation test to the ST7735 TFT display. The ST7735 TFT display is a color display that uses SPI protocol, it’s low cost and easy to use. This module works with 3.3V only, connecting it directly to a 5V system...
Multiple Sensor Interfacing With Atmega32 In Digital IO Mode | Electronics Developer
Переглядів 6592 роки тому
📌Introduction Hello Developers, welcome to yet another Arduino project,This time, we will learn how to Interface Multiple Sensors PIC16F877A using Digital Logic. In that we added different sensor like Soil Moisture Sensor, Gas sensor, IR sensor, Vibration Sensor, Flex Sensor, Rain Sensor etc. 📌Modules used in project 1:55 SPST Switch A Single Pole Single Throw (SPST) switch is a switch that onl...
Interfacing DS3231/DS1307 with PIC12F1822 and I2C LCD | Electronics Developer
Переглядів 2712 роки тому
📌Introduction This post shows how to make a real time clock using PIC12F1822 microcontroller and DS3231 RTC chip (or DS1307 RTC) where time and date are displayed on 16×2 LCD. The DS3231 as well as the 16×2 LCD are connected to the same I2C bus with the PIC12F1822 microcontroller. The LCD is provided with PCF8574 I/O expander which makes it an I2C LCD. In this project the DS3231 (DS1307) and th...
Multiple Sensor Interfacing With PIC16F877A In Digital IO Mode | Electronics Developer
Переглядів 5772 роки тому
📌Introduction Hello Developers, welcome to yet another Arduino project,This time, we will learn how to Interface Multiple Sensors PIC16F877A using Digital Logic. In that we added different sensor like Soil Moisture Sensor, Gas sensor, IR sensor, Vibration Sensor, Flex Sensor, Rain Sensor etc. 📌Modules used in project 1:18 SPST Switch A Single Pole Single Throw (SPST) switch is a switch that onl...
Interfacing PIC18F4550 MCU with NOKIA 5110 LCD | Electronics Developer
Переглядів 3502 роки тому
📌Introduction This post shows how interface PIC18F4550 microcontroller with Nokia 5110 (Nokia 3310) graphical LCD screen. In this project I’m going to use CCS PIC C compiler. The name Nokia 5110 (3310) comes from Nokia 5110 (or Nokia 3310) mobile phone. The Nokia 5110 LCD has a controller named PCD8544, it is similar to the Nokia 5110 mobile phone LCD, it uses SPI interface protocol with maximu...
DS1307 Interface with PIC16F887 microcontroller - CCS C compiler | Electronics Developer
Переглядів 6202 роки тому
📌Introduction This article shows how to build a simple real time clock/calendar using PIC16F887 and DS1307 RTC chip. The DS1307 is an 8-pin integrated circuit uses I2C communication protocol to communicate with master device which is in our case the PIC16F887 microcontroller. The PIC16F887 microcontroller has an I2C (IIC) module with two pins are used for data transfer. These are the RC3/SCK/SC...
PIC18F4550 ADC example with CCS PIC C compiler | Electronics Developer
Переглядів 7312 роки тому
📌Introduction The microcontroller PIC18F4550 has 13 ADC (Analog to Digital Converter) channels. The resolution of the PIC18F4550 ADC is 10-bit, which means the analog value after conversion is stored as a 10-bit number that varies from 0 to 1023 (0x3FF). The analog reference voltage is software selectable to either the device’s positive and negative supply voltage (VDD and VSS) or the voltage l...
Draw Bitmap Images on ST7735 TFT with Arduino and SD Card | Electronics Developer
Переглядів 9142 роки тому
📌Introduction Drawing bitmap images (.BMP format) on ST7735 TFT display is quite easy because they are uncompressed images unlike JPEG images (.JPG format). This post shows how to draw bitmap images on the ST7735 TFT using Arduino UNO board where the Arduino loads the BMP images from SD card and print them on the display. The ST7735 TFT is a color display that uses SPI protocol, it has a resolu...
Interfacing LM335 temperature sensor with PIC16F887- CCS C compiler
Переглядів 4292 роки тому
📌Introduction This is an example showing how to connect LM335 temperature sensing device with PIC16F887 microcontroller. The LM335 is an analog device which requires an ADC module to convert the analog data which is the voltage output from the LM335 into digital data. The LM335 has the following features: Directly Calibrated to the Kelvin Temperature Scale 1. 1°C Initial Accuracy Available 2. O...
Arduino Bipolar Stepper Motor Control | Electronics Developer
Переглядів 2142 роки тому
Arduino Bipolar Stepper Motor Control | Electronics Developer
PIC18F4550 Standard & Enhanced PWM | Examples with CCS C Compiler
Переглядів 8702 роки тому
PIC18F4550 Standard & Enhanced PWM | Examples with CCS C Compiler
Interfacing DS1307 RTC With PIC18F46K22 Microcontroller | Electronics Developer
Переглядів 4462 роки тому
Interfacing DS1307 RTC With PIC18F46K22 Microcontroller | Electronics Developer
Interfacing PIC12F1822 microcontroller with I2C LCD | Electronics developer
Переглядів 5632 роки тому
Interfacing PIC12F1822 microcontroller with I2C LCD | Electronics developer
Interfacing LM35 temperature sensor with PIC18F4550 | Electronics Developer
Переглядів 1 тис.2 роки тому
Interfacing LM35 temperature sensor with PIC18F4550 | Electronics Developer
Interfacing PIC18F4550 with DHT11 humidity and temperature sensor | Simulation
Переглядів 9422 роки тому
Interfacing PIC18F4550 with DHT11 humidity and temperature sensor | Simulation
Real time clock & calendar with PIC18F4550 and DS3232
Переглядів 5782 роки тому
Real time clock & calendar with PIC18F4550 and DS3232
PIC18F4550 with DS18B20 sensor and LCD | Simulation Projects
Переглядів 9262 роки тому
PIC18F4550 with DS18B20 sensor and LCD | Simulation Projects
Bipolar stepper motor control with PIC16F877A | Simulation
Переглядів 1,3 тис.2 роки тому
Bipolar stepper motor control with PIC16F877A | Simulation
DC motor control with PIC16F877A and L293D | simulation
Переглядів 2 тис.2 роки тому
DC motor control with PIC16F877A and L293D | simulation
Digital Weather Station | Interfacing PIC18F4550 with DHT22 and SSD1306 display
Переглядів 3492 роки тому
Digital Weather Station | Interfacing PIC18F4550 with DHT22 and SSD1306 display
Bipolar stepper motor control with PIC16F877A microcontroller
Переглядів 5292 роки тому
Bipolar stepper motor control with PIC16F877A microcontroller
Interfacing Arduino with LM335 Temperature Sensor | Simulation
Переглядів 5293 роки тому
Interfacing Arduino with LM335 Temperature Sensor | Simulation
Temperature monitor with PIC16F877A, SSD1306 and DS18B20 sensor
Переглядів 3543 роки тому
Temperature monitor with PIC16F877A, SSD1306 and DS18B20 sensor
Interfacing PIC16F877A with SSD1306 OLED display | Simulation
Переглядів 1,2 тис.3 роки тому
Interfacing PIC16F877A with SSD1306 OLED display | Simulation
source code
Nice video! I didn't understand the fact of have the operational amplifier, and these resistors and diodes. Could you explain for what reason do you insert this on the project? and for which device did you use a 300v battery? I'm making a few projects like this, and i'd like to understand it thoroughly... Thnaks my friend!
Can you provide the hex file please ?
bro i am dying in need of help. i am also doing the same project as yours and i followed the steps of the code compilation in arduino and done same setup as yours but still not got as output like yours. it doesnt show time correctly and doesnt work properly. i am frustrated please help me bro i will send my design to your mail
The leds dont show anything, just gray
Do you mean, seven segment display? Possible solutions - select SSD which will be simulate - Or Use the same SSD as shown in the video - when you run the simulation, is it showing warning ⚠️?
Sorry, yes is the seven segment display, i did the circuit exactly as the video shows. I don't know why the SSD just don't show anything
It doesnt show any warning
Can you share your project simulation file with us on email?
What is your email?
Code giveme
Which software??
Proteus version 7.8
Interessante mas era bom haver uma explicação detalhada.
can you please share this whole code its urgent
ping us on email?
How to download proteaus for free😅as it's asking to pay
Use proteus version 7.8
Display is not working
Can u plzz help me with programming of code
Can u plzz help me with the programming code
Could u please share the complete code
Please give source code
This ic can read temp -55 c
is there a github link of all the files
can you give me the circuit in tinkercad? or someone knows how to do it?
Plz share the simulation file and code 🙏
Unfortunately for this project, we don't have simulation files
Hardaware tutorial .. how to make ? Plz shere with meee
Ping us on email
I need hardware
can you give me circuit diagram?
We don't need to use programming?
It is non programmable
Hey, buddy I have a question can we control the rpm of the motor ???
what simulation app did you use
This is proteus V7.8
can i get source code sir?
Can you please share the code with me?
Hello, I would like to know about your automatic distributor program, once the program is entered, does it work once a day or does it continue all the time?
Hi, thank you so much for your tutorial, but when I run the flame sensor design on protues I get this error: Unable to open hex file: ..\..\..\..\Users\zain\AppData\Local\Temp\build2551671029259847980.tmp/PIRTest.cpp.hex is there and fix for it?
It seems that you have selected the wrong hex file
@@ElectronicsDeveloper No, I didn't. This is not my line is written in the .lib file, I am sure I choosed my .hex file after I build my atmel project. This computer USER here is not mine.
This error is due to.hex file only, you need to add correct hex files for sensor and microcontroller. Compile the code and export the hex file then use the same
Provide a code for this project
Definitely, for that ping us on email
@@ElectronicsDeveloper send your email. Thanks
Where is LCD.C??
Ping us on email, we will share the library files
@@ElectronicsDeveloper done.
Could you send me design and code
For source code, find out the pinned comment and for simulation file ping us on email
How do you make with oled ssd1306 i2c 4 pin??
Here we used the bus connections, if you need a design to understand how we created a bus then ping us on email
Can you please send Arduino Uno library for proteus
Sure, ping us on email
Can i get the source code for this project pls?
Definitely, ping us on email
This circuit can create a realistic circuit
DIY!
How can I take the string that is received on the transmitter module be taken by another Arduino module to be displayed on a LCD Screen
You need to select both the modules compatible with transreceiver feature
Can I get full code please?
Sure, ping us on email
Can you explain clearly to me pin 36 of ic7107. I don't know much about it
Please go through the description of the video, The analog input required to generate full scale output (2000 counts) is: VlN = 2VREF. Thus, for the 200mV and 2V scale, VREF should equal 100mV and 1V, respectively.
How does the test pin work and what is this pin actually for? Does it test the display or the IC?
need a source code
How do you power this thing? Is it with a battery?
This is simulator software so you don't need to apply external power to the Arduino excluding peripheral devices.
wow! positive to source??
why does my lcd just display 00:00:00
If you work properly on source code and schematic diagram then check proteus software warnings
@@ElectronicsDeveloper I have already fixed that. I just add an I2C block to proteus and it work
may be, this code DOESN'T works at all
Can you send me the library please
Sure, Ping us on email
can you help me with our project. we are using i2c lcd. we will explain our project details to you
Ping us on email
I have some issues in coding sir
What's that? Can you explain
The output is not existing sir
Any warning ⚠️ in software?
Please send a circuit diagram and code
Find out the pinned comment for source code
Please send circuit diagram and code
Find out the pinned comment for source code
Can you share the source code please
The source codes have been updated and pinned as a comment.