Author Topic: Digispark LCD W Picaxe?  (Read 3896 times)

Axel87

  • Newbie
  • *
  • Posts: 2
Digispark LCD W Picaxe?
« on: October 27, 2013, 09:14:24 am »
Hello all,

This is my first project with using an LCD display. I am using a 14m2 Picaxe as well.
I purchased this Digispark i2c 16x2 LCD display, but am having trouble finding any documentation as to how to use this with the PICAXE.
I did find this in the forums-
http://digistump.com/board/index.php/topic,142.msg2055.html#msg2055
But I dont think it is much help.
I found the following pinouts-
Programming:

The pin connections are as follows:

Digispark P0 → SDA

Digispark P2 → SCL

The I2C Address is 0x27
If I am using a 14m2 then-
p0/sda=pin 9/B.4
p2/scl= pin 10/B.3
As stated, this is my first experiment with displays.
Currently I have 5v, gnd connected and I do get a boot-up screen with black boxes.
I DO NOT have VIN connected- what is this used for?

What are the other 4 pins used for then? p1 ect

Does anyone out there have experience with interfacing this screen to PICAXE?
Just assume I am a total noob, because I am with displays :)
Thanks!

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: Digispark LCD W Picaxe?
« Reply #1 on: October 27, 2013, 01:28:16 pm »
I purchased this Digispark i2c 16x2 LCD display, but am having trouble finding any documentation as to how to use this with the PICAXE.
I've never worked with the picaxe and we only provide tutorials for the Digispark, but the display can work with any microcontroller with i2c.

Digispark P0 → SDA

Digispark P2 → SCL

The I2C Address is 0x27
If I am using a 14m2 then-
p0/sda=pin 9/B.4
p2/scl= pin 10/B.3
As stated, this is my first experiment with displays.
Currently I have 5v, gnd connected and I do get a boot-up screen with black boxes.
I DO NOT have VIN connected- what is this used for?

What are the other 4 pins used for then? p1 ect

VIN is a passthrough pin as these are made to stack on a Digispark - so it does not need to be connected and does nothing on this shield.
Same with P1,P3,P4,P5 - they are pass throughs for when other things are stacked on top.

P0,P1,5V,GND are the only pins you need to make this work.


Does anyone out there have experience with interfacing this screen to PICAXE?

Here is a threads from a quick google search:
http://www.picaxeforum.co.uk/showthread.php?23471-Picaxe-18M2-and-I2C-LCD-16x2-display

If that doesn't quite work - You might need to reference the DigisparkLCD code and library in the Digispark IDE to see the differences in commands for using this particular I2C LCD - but I think the code in that link should work - granted I know next to nothing about PICAXEs