Arduino-Carré avec écran LCD Couleur

B-Squares is a modular electronics platform that enables users to build, customize, and continuously update their own electronics applications.

In this B-Squares App we will cover how to assemble a simple Color-LCD Application using the Arduino-Square.
Arduino-Square with Color LCD
Hardware:
1. Arduino-Square.
2. Battery-Square
3. Color LCD Shield.
4. FTDI USB connector (3.3V).

Logiciel:
1. Arduino Software.
2. BSQ-ColorLCD sketch files.

Step 1: Configure Arduino-Square

• First begin by pulling the Arduino-Pro board outside of the Arduino-Square frame and rest it on top of the frame.  (You should be able to do this easily by angling the Arduino-Pro board inside the frame, pulling one side out of the frame and then the other.)

• Line up the Color-LCD Shield pins with Arduino-Pro connectors.  There are 2 sets of 6 pin connectors on one side and 2 sets of 8 pin connectors on the other.

• Plug the FTDI serial adapter into the right angled 6 pin connector located on the Arduino-Pro board adjacent to the power connector.

• Plug the USB cable into your computer.

Step 2: Upload Sketch

• To install the Color-LCD library copy and paste the entire “ColorLCDShield” folder into the Arduino Library folder
o Win: My Documents\Arduino\libraries\
o OS X:  ~/Documents/Arduino/libraries/

• Start the Arduino software and open the BSQ-ColorLCD sketch.

• To configure Arduino for your Arduino-Square select Tools->Board and select “Arduino Pro or Pro Mini (3.3V, 8Mhz) w/ ATmega 328”
Arduino-Square with Color LCD connection
• Go to Tools->Serial Port and select the Serial Port that was created for the FTDI serial port adapter (example “COM 5”).

• Click on the “Upload” button.  You should see a small progress bar at the bottom right of the Arduino console.

• Once the code is done uploading an image with multiple colored bars should appear on your LCD Shield.  NOTE:  If the screen turns on but the image is distorted, the most likely reason is that your Shield uses a different driver.  To fix this, change the code on line 33 from “  lcd.init(EPSON);” to “  lcd.init(PHILLIPS);” or vice versa.

Step 3: Final Assembly

• Unplug the FTDI serial adapter from the Arduino-Pro and, with the Color-LCD Shield still plugged in.

• Reinsert the Arduino-Pro board back into the Arduino-Square frame.

• To power the Arduino-Square with the Battery-Square connect the corner contacts with the “+” symbol.

Major Components in Project

For more detail: Arduino-Carré avec écran LCD Couleur


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut