Hey again >.< I have an issue with this segment display it is serial but all it does is flash really fast.

In the above image you can see the reset switch, the power and ground and rx to the atmega 7 seg display
the rx runs directly to pin 0 out on the 28x2 picaxe

In this image above you can see the wire-colors comming from the atmega 7 seg display
-Now this is where the tricky part is, I have no idea what i'm doing... PERIOD....
What im doing is copying what was inside the datasheet for the display. 0x31, 0x32 ect... i have no idea if im doing it right...


what you can see bellow is that i followed this segment of the datasheet for the ASCII Commands

All i can say is that im totaly confused... if any of you know the propper way to use logicator to send the information to the atmega168 4 digit 7 segment display please do so. : (
Other Notes:
4digit alpha-numeric display
(Serial TTL or SPI Serial Communication)
Selectable baud rate (4900 to 57600bps)
I’m just as confused as you,
I’m just as confused as you, I’d have to read the the datasheet… try 0x20 0x10 , or 0x14 0x0A, untick ASCII.
EDIT, have you been able to display anything at all yet?
hm
Where do you set the baud rate? did you change the default baud rate?
EDIT: try Try 0x01 0x02 0x03 0x04
first tick the ASCII, then untick it and try again(if it doesn’t work the first time)
DOUBLE EDIT:
try 0x60 0x78 0x78 0x78 should display a 1 on the left most display, and nothing on the other 3, that is if i got this right…
http://www.technobotsonline.c
http://www.technobotsonline.com/10mm-quad-7-seg-serial-i-f-led-display-yellow.html
data sheet in download section bellow product information, i will try your comment and feedback result here
[SUCSESS]: - FAILD - mid sucsess
Nah all it does is display 4 zeros and flashes very fast.
UPDATE: i tryed your serial out commands, and removed the ASCII ticks and now it does this
[1] = on
[0] = off
light up [1] [0] [1] [1]
wait 5 seconds
light up [1] [0] [0] [0]
they are still zeros when they light up tho, any idea how to write 1 2 3 4? instead of 0 0 0 0?
EDIT: it only displays zeros with 0x60,0x78,0x78,0x78
What does the “mode” drop
What does the “mode” drop down menu have besides T2400?
try this
pause 5000
main:
serout 0,T9600_8,($78,$78,$78,$4)
pause 2000
goto main
now this
pause 5000 'remove this probably
main:
for b1=0 to 9 step 1
serout 0,T9600_8,($78,$78,$78,$b1)
pause 2000
next b1
goto main
Your Homework
Build or buy this downloader or add one to your breadboard.
Download, install and use this picaxe software and read the 3 manuals under the help menu. (programming editor)
Print out this ascii chart and tape it to your wall
**basic /vb **
You cannot mix VB with picaxe basic. Read manual 2, page 20 for how variable math works. For now, I would try this:
let b1=0 : let b2=0 : let b3=0 : let b4=0
main:
inc b1 'add one to b1
if b1=9 then
inc b2 'add 1 to the second digit
let b1=0 'reset the first digit
endif
if b2=9 then inc b3 'increase the third digit
let b2=0 'reset the second
endif
**and so on for the last digit
serout , yadda yadda
pause a littlebit
goto main
main:for b1=0 to 9 step
main:
for b1=0 to 9 step 1
serout 0,T9600_8,($78,$78,$78,b1)
pause 1000
next b1
goto main
Using this code i get…

it counts from 0 to 9 and reverts back to zero starting the loop over again, it worked! :), you're so helpfull.
what i will try to do tho is to make a clock, a 24 hour clock that is...
here is an example
main:
inc b0
if b0=10 then
inc b1
let b0=0
endif
if b1=6 then
inc b1
inc b2
let b1=0
let b0=0
endif
if b2=10 then
inc b2
inc b3
let b2=0
let b1=0
let b0=0
endif
if b3=2 and b2=3 and b1=5 and b0=9 then
let b3=0
let b2=0
let b1=0
endif
goto seconds
seconds:
for b4=0 to 60 step 1
serout 0,T9600_8,(0x77,0x00,b3,b2,b1,b0)
pause 1000
serout 0,T9600_8,(0x77,0x30,b3,b2,b1,b0)
next b4
goto main
4DIGIT 7SEGMENT DISPLAY
4DIGIT 7SEGMENT DISPLAY CLOCK CODE - HAVE FUN WHO EVER WANTS TO MESS ABOUT WITH IT!
Special thanks to [CHRIS/PATRICK] for helping me out :).
seconds:
for b4=0 to 60 step 1
serout 0,T9600_8,(0x77,0x00,b3,b2,b1,b0)
pause 1000
serout 0,T9600_8,(0x77,0x30,b3,b2,b1,b0)
if pinC.0=1 then
if b0=9 then
if b1=5 and b0=9 then
let b0=0
let b1=0
goto seconds
endif
inc b1
let b0=0
goto seconds
endif
inc b0
endif
if pinC.1=1 then
if b2>2 and b3=2 then
let b2=0
let b3=0
goto seconds
endif
if b2=9 then
inc b3
let b2=0
goto seconds
endif
inc b2
endif
if pinC.2=1 then
let b4=0
endif
next b4
goto main
main:
inc b0
if b0=10 then
inc b1
let b0=0
endif
if b1=6 then
inc b1
inc b2
let b1=0
let b0=0
endif
if b2=10 then
inc b2
inc b3
let b2=0
let b1=0
let b0=0
endif
if b3=2 and b2=3 and b1=5 and b0=9 then
let b3=0
let b2=0
let b1=0
endif
goto seconds
#no_table 'reduce download time
#no_data 'reduce download time