axe033

lord55

New Member
in the manual of axe033 it says that when using i2c mode you should link a wire in J1 but when i link a wire the lcd doesn't display anything while when i remove the link or the jumper it displays the time and date so how is that ?
 

westaust55

Moderator
AXE033

The time and date are normally shown when the CLK jumper is fitted as shown in the manual. However with the CLK jumper installed, usually the AXE033 shows the time irrespective of any other settings/commands.

The manual does not show the location of jumpers J1 and J2. See the attached sketch.

Are you looking at the right area on the AXE033 for J1?
IS there a jumper at the CLK position?
 

Attachments

Last edited:

lord55

New Member
yes im looking at the right area of J1 i tried removing the jumper of clk and insert it again

when shorting J1 to get i2c mode .. should i open or short the CLK position ??
 

westaust55

Moderator
The CLK jumper is only required when you want to display the first of the preset messages and the time/date.

For i2c AND serial operation of the LCD to display anything else, the CLK jumper must be removed.

Have you tried and been successful in testing the AXE033 in Serial mode?

Can I suggest that you post your code for the i2c mode and those on this forum can better help you if it is a programming problem.

Below is a sample of code that I wrote to display all the characters on my AXE033

Code:
init: pause 1000
hi2csetup i2cmaster, %11000110, i2cslow, i2cbyte
pause 10

main: hi2cout 0, (254,1,255)   ; clear the screen
      pause 1000
      hi2cout 0, ("Hello WestAust55",255)
      pause 2000
      for b7 = 0 to 10
        hi2cout 0, (254,16,255)  ; backspace
        hi2cout 0, (" ",255)     ; make it destructive by blanking char
        hi2cout 0, (254,16,255)  ; and putting cursor back at this char
        pause 200
      next b7

      for b1 = 1 to 6         ; alternates line 1,2,1,2,1,2
        if b1 = 1 then toplin
        if b1 = 3 then toplin
        if b1 = 5 then toplin
        b4 = 192
        goto movcur
        toplin: b4 =   128
movcur: hi2cout 0, (254,b4,255)   ; position cursor to new/next line
        b5 = b1-1
        for b2 = 0 to 15
          b3 = b5*16+b2+32   ; determine character from char " " up

          hi2cout 0, (b3,255)
          pause 200
        next b2

        pause 1000
      next b1
      pause 2000
      goto main
 
Last edited:

lord55

New Member
i need the lcd to display time im using the RTC for alarm purpuse
my program is just as the same as the code on the bocklet page 7


i2cslave %11010000,i2cslow,i2cbyte
writei2c 0,($00,$45,$01,$08,$03,$06,$08,$10)
end 'this program for setting time

another programming for alarming
i2cslave %11010000,i2cslow,i2cbyte
main:
pause 1000
readi2c 0(b0,b1,b2)
if b2<>08 then main
if b1<>30 then main
high 7
pause 30000
low 7
pause 30000
goto main

btw, when removing J1 lcd display time but the bocklet says there should a link on J1 to use i2c mode
 

Technical

Technical Support
Staff member
The CLK jumper must always be removed for normal serial or i2c operation. It changes the AXE033 into a stand alone 'alarm clock' that does not respond to serial or i2c commands.

So you want i2c jumper (J1) fitted and CLK removed.
 
Top