Welcome! Log In Create A New Profile

Advanced

BV4611 LCD128x64 and arduino

Posted by passemoilaclede12 
BV4611 LCD128x64 and arduino
February 09, 2014 12:16PM
Bonjour, (i'm french, sorry for my english....)

I am looking for a arduino programme with an example of configuration.
i use an arduino uno and a 128x64 graphic display with the BV4613 librairy.
i use the BV4611 controler to connect the arduino to the LCD.
i found the controller there : [www.ebay.co.uk]
I have tried the serie and the i2c com but there was nothing on the display.
I can read "waiting for CR" and "com established" and nothing esle.....

Can you help me ?
Thanks
Re: BV4611 LCD128x64 and arduino
February 09, 2014 01:00PM
The BV4611 has 2 modes of operation, Serial and I2C. When "Waiting for CR" is shown it is in serial mode. To start the controller in I2C mode there must be pull up resistors on the SCL and SDA lines, that is what is missing.

I2C will not work without pull up resistors, it is a requirement of the bus specification. More information can be found at www.doc.byvac.com
Re: BV4611 LCD128x64 and arduino
February 15, 2014 09:42AM
Bonjour,
Thanks for your answer...
Now i use 2 pull up resistors, and i can see on the display "I2C Mode, ready.."

This is my sketch :

#include <BV4613.h>
#include <Geometria.h>
#include <twi.h>
#include <Wire.h>
void setup() { 
Wire.begin();  

Wire.beginTransmission(0x68); // send i2c address with

Wire.send(27); // esc
Wire.send(91); // [
Wire.send(34); // 4
Wire.send(59); // ;
Wire.send(32); // 2
Wire.send(37); // 7
Wire.send(72); // H
Wire.endTransmission(); // stop condition
}

void loop() {
}

But there is a compilation error !!!!
Can you help me ?
Thanks
Re: BV4611 LCD128x64 and arduino
February 15, 2014 09:56AM
The address should be 0x31 thus:
Wire.beginTransmission(0x31)
Also it must be a very big display to have 27 columns?
Wire.send(32); // 2
Wire.send(37); // 7

Sorry can't help with compile errors, I can't see anything obviously wrong with the code, that is really a question for the Arduino forums.
Re: BV4611 LCD128x64 and arduino
April 06, 2014 01:58PM
jimeer Wrote:
-------------------------------------------------------
> The BV4611 has 2 modes of operation, Serial and
> I2C. When "Waiting for CR" is shown it is in
> serial mode. To start the controller in I2C mode
> there must be pull up resistors on the SCL and SDA
> lines, that is what is missing.
>
> I2C will not work without pull up resistors, it is
> a requirement of the bus specification. More
> information can be found at
> [url=http://doc.byvac.com/index.php5?title=Product
> _BV4611]www.doc.byvac.com[/url]

HI I have got one of these and all set up on the screen it displays come mode (9600)

I do not see any mention from the link of a resistor how do i get the Raspbbery pi to see this display
Many Thanks
Simon
Re: BV4611 LCD128x64 and arduino
April 06, 2014 02:30PM
ok swapped the 2 wires around and i now get
I2C Moce (0x68)[0x34] on the screen :)

but still can not get it to bee seen by my PI any ideaes or links to how to talk to the screen please

Thanks

Simon
Re: BV4611 LCD128x64 and arduino
April 07, 2014 10:00AM
The RPi has either I2C or serial interfaces. Because the RPi does not have any 5V tolerant pins then a 3.3V display must be used, these are hard to come by so the simple solution is to use the I2C interface.

Download the following:

wget httpx://www.pin1.org/download/py/bv4611/bv4611_I.py (remove the 'x' typo from http)
wget httpx://www.pin1.org/download/py/bv4611/demo_I.py (remove the 'x' typo from http)

This is almost identical to the serial version but uses the I2C interface. When using this software start with Init() as this will activate the ACK mechanism to make up for the lack of clock stretching. For a quick start, connect the BV4611 up and do the following:

python demo_I.py

This will give some graphics with fonts overlaid and some text that has been set out of bounds (used for testing)



Edited 3 time(s). Last edit at 04/08/2014 09:18AM by jimeer.
Re: BV4611 LCD128x64 and arduino
April 08, 2014 08:31AM
Many Thanks

Will Try This Tonight :)


Simon
Re: BV4611 LCD128x64 and arduino
April 08, 2014 07:24PM
Not Haveing Much Look :(

down loaded both in my home folder


ran above comd and get this :(

root@reefpi:/home# python demo_I.py
Boxy background
ERROR at Cmd() - no ACK returned, reasons:
1 - Device not initialise to send ACK
2 - Bad / unknown command sent
ERROR at Cmd() - no ACK returned, reasons:
1 - Device not initialise to send ACK
2 - Bad / unknown command sent


Any Ideas :(

Thanks again

Simon
Re: BV4611 LCD128x64 and arduino
April 11, 2014 06:03PM
The page and software has now been updated with new downloads and information the details are Here on the Producs BV4611 Page
Sorry, only registered users may post in this forum.

Click here to login