Spin code for ultra cheap serial display on ebay.......Or BASS FISHING PROP APP
bassmaster
Posts: 181
''*****************************
''* EBAY LCD DEMO·· *
''*****************************
{
NEED TO PAUSE 100MS or longer AFTER THESE COMMANDS!
·'$12 goes to top display
·'$16 goes to bottom display
·'$17 throws 2 bytes away from the next text string??
·'$19 the next byte is ??? like a t = omega??
·'$11 then $0A blanks ?(disabled) top display····················
·'$11 then $01 = clear dosplay and goto home on top display
·'$11 then $04 = clear top and· write backwards scrolling!
·'$11 then $07 = clear top and write backwards scrolling!
·'$11 then $0F = blinking cursor on top display
· $11 then $13 = top backspace cursor one space (leaves characters) need to do a $12 before writing over chars....
· $11 then $1D = displays on top display "SPECIAL MESSAGE" whatever that means.
· $11 then &1f = shift top text one space to right
· $11 then $80 goes home, but does not clear. on top· display
·'$15 then $0A blanks ?(disabled) bottom display····················
·'$15 then $01 = clear dosplay and goto home on bottom display·· \
·'$15 then $0F = blinking cursor on bottom display
·}
CON
······· _clkmode······· = xtal1 + pll16x
······· _xinfreq······· = 5_000_000
var
········ byte y
··
OBJ
······ ser: "FullDuplexSerial"'
······ kb: "Keyboard"
PUB go
· SER.start(0, 1,%0011, 4800)
· waitcnt(clkfreq+cnt)·················
· kb.start(26,27)··
·
· clearlcdbottom·
· clearlcdtop··
· setbottomhome
· settophome
······················
· repeat
···· y := kb.getkey·····
·····
··· CASE y
······· "/":
·········· clearlcdbottom
·········· setbottomhome
······· "\":
·········· clearlcdtop
·········· settophome
······· other:
·········· ser.tx(y)··
······
··
PUB clearlcdtop
· ser.tx($11)···
· ser.tx($01)
· waitcnt(clkfreq/10+cnt)
PUB clearlcdbottom
· ser.tx($15)··
· ser.tx($01)
· waitcnt(clkfreq/10+cnt)·
·
PUB settophome
· ser.tx($11)···
· ser.tx($0F)·········
· waitcnt(clkfreq/10+cnt)
· ser.tx($12)··············
·
PUB setbottomhome
· ser.tx($15)···
· ser.tx($0F)·······
· waitcnt(clkfreq/10+cnt)·········································
· ser.tx($16)
I do not know this seller, but bought 4 of them for 3.99 apeice with no data, as is they are 4800 8 Odd 1 but solder suck S3 blob and then it is 4800 8 N 1 the pin 1 goes to 5v regulated, pin 3 is tx input to lcd pin 4 is ground, thats it. Oh, if anyone figures out any more commands, let me know!!!
Sean
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ih=008&sspagename=STRK%3AMEWN%3AIT&viewitem=&item=180080380497&rd=1&rd=1
Post Edited (bassmaster) : 2/6/2007 3:02:23 PM GMT
''* EBAY LCD DEMO·· *
''*****************************
{
NEED TO PAUSE 100MS or longer AFTER THESE COMMANDS!
·'$12 goes to top display
·'$16 goes to bottom display
·'$17 throws 2 bytes away from the next text string??
·'$19 the next byte is ??? like a t = omega??
·'$11 then $0A blanks ?(disabled) top display····················
·'$11 then $01 = clear dosplay and goto home on top display
·'$11 then $04 = clear top and· write backwards scrolling!
·'$11 then $07 = clear top and write backwards scrolling!
·'$11 then $0F = blinking cursor on top display
· $11 then $13 = top backspace cursor one space (leaves characters) need to do a $12 before writing over chars....
· $11 then $1D = displays on top display "SPECIAL MESSAGE" whatever that means.
· $11 then &1f = shift top text one space to right
· $11 then $80 goes home, but does not clear. on top· display
·'$15 then $0A blanks ?(disabled) bottom display····················
·'$15 then $01 = clear dosplay and goto home on bottom display·· \
·'$15 then $0F = blinking cursor on bottom display
·}
CON
······· _clkmode······· = xtal1 + pll16x
······· _xinfreq······· = 5_000_000
var
········ byte y
··
OBJ
······ ser: "FullDuplexSerial"'
······ kb: "Keyboard"
PUB go
· SER.start(0, 1,%0011, 4800)
· waitcnt(clkfreq+cnt)·················
· kb.start(26,27)··
·
· clearlcdbottom·
· clearlcdtop··
· setbottomhome
· settophome
······················
· repeat
···· y := kb.getkey·····
·····
··· CASE y
······· "/":
·········· clearlcdbottom
·········· setbottomhome
······· "\":
·········· clearlcdtop
·········· settophome
······· other:
·········· ser.tx(y)··
······
··
PUB clearlcdtop
· ser.tx($11)···
· ser.tx($01)
· waitcnt(clkfreq/10+cnt)
PUB clearlcdbottom
· ser.tx($15)··
· ser.tx($01)
· waitcnt(clkfreq/10+cnt)·
·
PUB settophome
· ser.tx($11)···
· ser.tx($0F)·········
· waitcnt(clkfreq/10+cnt)
· ser.tx($12)··············
·
PUB setbottomhome
· ser.tx($15)···
· ser.tx($0F)·······
· waitcnt(clkfreq/10+cnt)·········································
· ser.tx($16)
I do not know this seller, but bought 4 of them for 3.99 apeice with no data, as is they are 4800 8 Odd 1 but solder suck S3 blob and then it is 4800 8 N 1 the pin 1 goes to 5v regulated, pin 3 is tx input to lcd pin 4 is ground, thats it. Oh, if anyone figures out any more commands, let me know!!!
Sean
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&ih=008&sspagename=STRK%3AMEWN%3AIT&viewitem=&item=180080380497&rd=1&rd=1
Post Edited (bassmaster) : 2/6/2007 3:02:23 PM GMT
Comments
Have you ever cycled a RGB led through a few hundred thousand
colors/frequency combinations, right next to a bass ?
They get very aggressive when the settings are correct ...
I love to figure out how to use surplus displays too.
I have over a hundred graphics LCD (parallal) that have a back light and everything, but the little I've played with them, I cannot figure you how to "talk" to them.
If you want a crack at them, I'll send you a few, and a bunch more if you can figure them out.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
I am #5 rated angler of the year so far in the country this season in the ABA American Tour... http://www.americanbassanglers.com/points2007.php·I have another 1st place from 12-02 that has not posted to the website yet. that 3 wins, a 2nd, and a 4th place since September.
I am going to fish the bassmaster weekend series starting this month...
Post Edited (bassmaster) : 2/3/2007 11:56:55 AM GMT
have talked about this sort of thing before. He claims that most marine life use some form
of color flashing for communication.
A local boy I knew from high school had bass and trout in a freshwater fish tank for
a few years. We spent some time working them with Red/Yellow/Green leds
(show you how long ago High school was).
I would give it a try if I had one in a tank. You could make a quick billion selling
the next hit hook.
They have a·thing called a BSX unit, its ·$600.00 !!!!! (pateded, so dont try to sell one cheaper or market it, but making my own has crossed my mind a few times) that sends the sounds of an actual ·feeding fish frenzy through an underwater speaker. It really works well, but Its been banned by a·many tournament trails now after KVD ( thats Kevin VanDam for those of you that do not follow Pro Fishing (probably 99% of you)) won 3 tounaments in a row, one with a 12lb lake record bass 1700 feet from my house on lake lewisville TX!
Post Edited (bassmaster) : 2/3/2007 4:10:34 PM GMT
I would video tape the fish tank while your Prop is running the combinations. If
you wake up and your fish is hurting (from banging into the glass), review the
tape (have the LCD display the current settings, and put it in the view of the
camera).
This way you can run tens of thousands of combinations in a day. The
combinatorial approach is a good way to go.
12 pounds on a lure ?
I'm still working worms.
That is why Rat-L-Traps work so good, the irritate the bass so much they bite it to shut it up. at least thats my theory anyway, like a dog that bites a can of pennys your training it with, it hates the noise!
The bass in the picture from the left was 6lbs and was caught in december with a homemade jig with a glass rattle and shrink tubing to keep it on the jig, very noisy I won 1st place that tournnament, even during a very cold front..
fyi:
Still 188 left....
I made a cool project box with one display, see pic.
Post Edited (bassmaster) : 2/3/2007 6:22:47 PM GMT
They are in the mail. Good luck.
How small does a lure have to be ? I'm thinking of a SMT RGB LED, SX20, and a 2032 lithium cell. I guess you'd have to seal it somehow too, yet still have a power switch... Maybe a magnetic switch ?
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
Supply #1 (3.3V)--->Propeller positive pin (Vdd)
Supply #2 (5V)---> LCD positive wire (V+)
Propeller I/O pin--->LCD data pin
Ground of 3.3V Supply--->Ground of 5V supply
Connecting the two grounds together, is this OK?··Is this necessary?· Is this super bad?· Will I destroy stuff?· This is the main thing that confuses me.· It seems like the two systems would need a common ground in order to establish a baseline for logic level communication; however, I'm not sure if this would cause the power supplies to fight, or voltage to leak from one side to the other through the data connection, or if other bad things would happen.· The "Safe Propeller 5V interfacing" sticky thread didn't really seem to cover this specific question.
I'm assuming that the 3.3V level of the Prop output is at a sufficient level to trigger the TTL-level input of the LCD device without any boosting...
Thanks!
- Earl
As long as the LCD will see 3.3V as a high, you should be fine.
I have some LCD glass(no driver) modules that I'm working on driving with the SX. These have several 7-segment digits.
The power needed is very low. I have an SX28 running on a 153.6KHz xtal and it uses less than 1 milliamp.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheap used 4-digit LED display with driver IC·www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
Stuff I'm selling on ebay http://search.ebay.com/_W0QQsassZhittconsultingQQhtZ-1
"USA Today has come out with a new survey - apparently, three out of every four people make up 75% of the population." - David Letterman
How about doing away with the batteries and mercury switch, and replacing them with capacitors charged by induction. Charge it up just before you need it and it should run all day. You could seal the whole thing and make it watertight. My dad used to work with these : www.cefas.co.uk/fishtagreturns/default.htm. He used the large bullet-shaped electronic tags at the top of the second picture. They recorded the water pressure, and in a roundabout way the fishes depth (because the fish were in open sea, tidal changes made the pressure appear to vary even when the fish was sitting still on the sea bed)
I won 1st place with homemade jigs with rattles, I shook the jigs on the bottom of the lake and even caught a few just pausing the jig and letting it fall when I was reeling it back in after working it on the bottom.. look at my weight compared to the rest of the field...
http://www.americanbassanglers.com/tour2007.php?District=112&Date=11/18/2006
now, before Parallax pulls this because of the fishing topic change...· Lets discuss a prop appication that will help Bass Tournament fishermen, we all have GPS units, manual culling systems, etc.
I think a electronic culling system is a great application.
Here is my Idea.... It will have 5 color coded clips. and allow the angler to quckly Cull smaller fish, and know if he has a limit at a glance, believe me, its not hard to loose count and think you have 5 and throw back a keeper when your "in the moment", Or worse, get disqualified because you have 6 in the livewell.
Post Edited (bassmaster) : 2/6/2007 1:16:33 PM GMT
The secret to a successful device is KISS , keeping it simple for any Joe to use.... And making it very fast to use, as time is very implortant to tournament anglers, I watched Morizo Shimizu ( B.A.S.S. Pro) on ESPN weighing every fish, attatching culling markers, then using a dry erase marker on a manual culling sheet to record each catch. With this device he would just hit the next fish button, key in the weight (or even guess at it) then get back to fishing.