Untested. It looks an appalling way to do things.
I am sure that you can make a special library class that accepts regular lcd method()s and kludges the necessary contortions for the actual string that gets sent on the SoftwareSerial.
It looks as if you would not be able to print a regular semi-colon because it works as a terminator.
Why did you buy this display?
The I2C backpack LCDs are widely available, cheap and reliable.
Hi David and thanks... i cannot see, the back is soldered on, it does say Serial LCD 1.1 by iteadstudio.com
Had no plan to why i bought this particular LCD other then it doesent have any pins for Arduino, the shop didint have arduinos unsolderad and im using it for panel mounting..
You should be able to have some guess about an onboard mcu.
For what it's worth the wiki that he refers to in his OP has a link to firmware that in turn indicates that the mcu is an 8051 derivative.
Also: it does work at 9600 baud as shown in the sketchy specifications.
NOTE: I can't seem to make these 'ftp' links work with the forum software so you will have to go to the wiki page (that link works) and scroll all the way to the bottom to find the actual links.
Hello guy´s i found another reference to this in a thread by Don and AAinlithium wich struggled with the same problem, aparently also TX->connects to TX, not Rx/Tx as normal for some reason…
Code below works fine with these displays…
Thank you all for all the help
Sincerely Your´s
/ Andy
From other thread…
Yeah now I know whats wrong with my sketch & connection. The solution is:
1- If use SoftwareSerial, DO NOT use pin 0 & pin 1…
Those are h/w serial pins connected to Serial Monitor. Use another pins.
2- Connecting Ardunio Tx to LCD’s Tx. It is WORKS !
below is my basic sketch. LCD will print “Hello world” at topline, “Bye World!” at bottomline, & looping continuously.
#include <SoftwareSerial.h> #define txLCDPin 8
const byte txLcdPin = 8; // will connect to LCD’s Tx
const byte rxLcdPin = 7; // not connected to anywhere
SoftwareSerial myLcdSerial = SoftwareSerial(rxLcdPin, txLcdPin);
void setup()
{
pinMode(txLcdPin, OUTPUT); // Arduino’s Tx as transmitter to LCD
pinMode(rxLcdPin, INPUT); //
myLcdSerial.begin(9600);
myLcdSerial.print(“sc;”); //command IteadStudio for ‘screen clear’
delay(10);
OK, willhelmx, if you are going to discuss stuff here, please go and read the instructions, then go back and modify your post (use the "More --> Modify" option to the bottom right of the post) to mark up the code as such so we can examine it conveniently and accurately.
If you do not do this, the code you post could well be garbled and is certainly anything but easy to read.
Note: Also mark up any data in the same way. This includes error output that you get from the IDE.
And - before you post code, use "Auto Format" in the Tools menu to properly present the code.