JHD12864E interfacing with Arduino Uno( 128x64 Bit MAp Graphics LCD) : Requirement : 1 ) JHD12864E LCD 2 ) Arduino 3 ) Connecting wires Aim: Convert and display JPEG image on Graphics LCD as Bitmap image Step 1 : Download and put Glcd library in Documents/Arduino/library folder GLCD library Step 2 : Download BMP-To-LCD software to convert JPEG image to BMP array BMP-TO-LCD Step 3: Make connection of LCD to Arduino UNO as shown in figure. Step 4: Download any image from internet. Step 5: Open image in Paint Step 6: Step7 : Step 8: Step 9: Click on resize without selecting area Step 10: Save image as 1.bmp Step 11 : open Image in BMP-LCD software And click on Genarate code Copy that genarated code in Arduino sketch Step 12: Copy Paste code in bitmaps.h with some modification as shown in below image Main sketch is as shown below image
Popular posts from this blog
Program ESP8266 WiFi module with Arduino IDE: The Arduino IDE software (short for Integrated Development Environment) is the foundation of what has made the Arduino platform so successful. With it, Makers can program a wide range of compatible microcontroller boards using Arduino’s relatively approachable programming language. Behind the scenes, the IDE software translates your instructions into a more complex code required for your board’s specific chip. Aside from generally cleaning up a number of known bugs, the new update introduces a number of new tools and features. One of the useful feature is board manager which allow use to add customized and diffrent board support in Arduino IDE. In this tutorial we are going to add ESP8266 board in Arduino IDE and program it without and programmer simple using RX, TX pin. Required : 1) ESP8266 2) Arduino UNO 3)connecting wires 4) Local wifi router Step 1 : For buy ESP8266 module here amezon link is given Buy ES
Fetch and parse JSON on ESP8266 wifi module : Use case: I want monitor particular json stored on server which can be modify by website from remote distance. It can be useful where you can modify control bits from website and change GPIO status at ESP8266 side. 1) Home automation 2) Information parsing 3) Staus monitoring 4) non realtime notification This system work on principle on monitoring files. Feature : Stand alone operation of ESP8266. Uses JSON parsing so data extraction is very easy. Required : 1)ESP8266 2)Arduino or any USB to serial converter with 3.3v or 5v power connection pin out. Basic Working: ESP8266 : It uses the local router to connect internet and fetch JSON from server using HTTP get request after every second parse it and display JSON variables on serial monitor(you can compare them and change GPIO for device control). Shown in diagram it send GET request at server and server send back HEADER + JSON to ESP8266 HTTP request
Comments
Post a Comment