How to write Arabic words using Arduino
This post will be so important to people speaking Arabic language and to all people using languages other than languages used with Arduino.
Arabic Letters on Arduino
In this post I came across a new way to use Arduino for Arabic people.This project used Arduino to write Arabic words on an LCD using Arduino board.
This Arduino command is used to create custom characters.
https://www.arduino.cc/en/Reference/LiquidCrystalCreateChar
Components
Connections
Circuit
Code
#include <LiquidCrystal.h>
LiquidCrystal lcd(8,9,4,5,6,7);
byte Alef[8] = {
0b00000,
0b10000,
0b10000,
0b10000,
0b10000,
0b01111,
0b00000,
0b00000
};
byte Meem[8] = {
0b00000,
0b00000,
0b00000,
0b00110,
0b01001,
0b11110,
0b00000,
0b00000,
};
byte Daad[8] = {
0b00000,
0b00100,
0b10000,
0b11110,
0b10001,
0b11111,
0b00000,
0b00000,
};
byte Noon[8] = {
0b00000,
0b00100,
0b00000,
0b10001,
0b10001,
0b10001,
0b01110,
0b00000
};
byte Raa[8] = {
0b00000,
0b00000,
0b00000,
0b00001,
0b00001,
0b00010,
0b00010,
0b01100
};
void setup() {
lcd.createChar(2, Alef);
lcd.createChar(3, Meem);
lcd.createChar(4, Daad);
lcd.createChar(5, Raa);
lcd.createChar(6, Noon);
lcd.begin(16, 2);
lcd.print(" Ramadan ");
lcd.setCursor(2,1);
lcd.write(6);
lcd.write(2);
lcd.write(4);
lcd.write(3);
lcd.write(5);
}
void loop() {}
Simulation on Tinkercad





![A Trip To Siwa Oasis: Tourist guide to an Egyptian Oasis by [ElSakhawy, Sara M.]](https://images-na.ssl-images-amazon.com/images/I/51-IGAzLKML.jpg)
![The Ultimate travel bag list by [ Elskhawy, Sara M.]](https://images-na.ssl-images-amazon.com/images/I/51OlVgqIcwL.jpg)
![Why to Travel?: Travel Like an Insider by [M., Sara]](https://images-na.ssl-images-amazon.com/images/I/51BsVhmk3ZL.jpg)
![3 Easy steps to plan your trip: Travel Like an Insider by [Elskhawy, Sara M.]](https://images-na.ssl-images-amazon.com/images/I/51GRc%2BnSxAL.jpg)
![Solar Artwork: How to Make Your Own Solar Masterpiece by [Ebeed, Ahmed]](https://images-na.ssl-images-amazon.com/images/I/51wT6i0RXNL.jpg)
![Backyard Wind Turbines: Harness wind power with simple and fun projects by [Ebeed, Ahmed]](https://images-na.ssl-images-amazon.com/images/I/51JEcdMP8JL.jpg)

Very nice. I just stumbled upon your code and blog. If I may ask, how did you get the binary for those characters and where can I find a list of them especially the joining characters or are those just slashes and under slashes ASCII
ReplyDelete