Thanks Brian! If you'll post a link for it, I'll add it to the 1st post on this.
As for the mention, no problem! I would have likely bought that SD adapter before I bought the
one from Sparkfun had it been available. At $17+ bucks, it's a deal.
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
I would strongly recommend hosting your files on Google Pages: pages.google.com/ . All you need is a google account and you can upload files and host your own website. I believe the current limit is 100mb, which is probably plenty.
Thanks for the info on your cookbook, "It's great". I have been struggleing with my sparkfun SD card adapter. I did not purchase one and I decided to scratchbuild one for myself, I could not get it to work correctly, I made it a point to sit down and spend some time with it, and figure this one out. Your cookbook and drawnings made it simple. I found out what I was doing wrong.
I've had as much fun documenting the projects I've done on the Propeller as I have actually doing them.
I'm extremely pleased that the SD page was clear enough to get you through it.
Now treat yourself to a nice install of Bagger's Miner game.. [noparse]:)[/noparse]
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Several Items added to the Propeller Cookbook (1st post edited)
One of the big items I've added to my own propeller setup is the Nintendo 64 controller.
It's a LOT of input (14 buttons, x/y joystick) in exchange for a single pin!
I'm curious why so many have opted to skip over it for devices requiring more connections?
The strangeness of the plug?
BTW, I'm working on a 'gamepad_drv_001' we can drop in for existing games... [noparse]:)[/noparse]
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Why isn't this topic a sticky?
Would hate to see it get swallowed up in the mire of "the forum"!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ <FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!
[noparse]:)[/noparse] You guys kill me! Thanks for the compliments! It's been a blast to put together.
I think I'm going to shift gears for a while and work on that .Spin for BASIC programmers text...
(I'm got a few more areas to master before that will be complete.)
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Wow OldBit! you superseded the 5V <- -> 3.3V sticky ! I thought that sticky would never be "un-stickied" (with good reason, there are still questions on that subject now and then)
About the n64 controllers- I guess n64 controllers just aren't as popular as ps2 controllers because ps2 controllers have remained the same since the original playstation came out and there is just more documentation for it. However, it looks appealing since it requires only 1 pin. I have one suggestion for the connector problem though, why not just buy some extension cables and cut off the connector? That way, the controller can still be reused. A search of "n64 extension*" on ebay yields several results. Anyways, great work, I look forward to seeing more updates to the cookbook!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm new to the propeller!
There's plenty of room on that page.. Since it's a simple three wire interface, I should add that. [noparse]:)[/noparse]
BTW, I've also spotted N64 connectors (already removed) on Ebay as well.
Nintendo Zapper and the LCD module are in process of being added to the Cookbook,
thanks for the compliments..
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Thanks for mirroring. I was just about to ask... and where is that Cookbook?
I'm thinking of just placing a standing order... anything you make, I want.
Oldbitcollector,
What can I say? You even added my micro-phone input. Thanks.
Don't you burn out on me[noparse]:)[/noparse]
I love the comparison chart! Nice job! I will print this out as soon as I get into the office [noparse]:)[/noparse]
Gr,
Mightor
PS I know I promised a couple of recipes for the book, but I've been kind of busy doing non-Prop related stuff (I know, I know, blasphemy!), I'll try to get some done soon, hehe.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| To know recursion, you must first know recursion.
I am building the worlds slowest·Prop-based·coil winder... and I wanted to be able to drive it manually though a joystick and have it remember what I did.·
So, I looked in your Cookbook and found out that the Nintendo-64 controller takes only one pin and gives you a gazillian buttons...· and the controller's wires are color coded!!!
Then I downloaded Claude Hertel's "N64 Controller"·from· the Object Exchange.· Claude's objects·are beautifully documented.··The initial setup worked... first time[noparse]:)[/noparse]···
For beginners looking for some beautiful assembly code, which·is almost easy to understand,· I'd highly recommend this as an exercise.··Claude's object would be·very easy to understand·if there was a clear description of the N64 Protocol.
I've googled the issue and I can't find anything about the·N64 controller·protocol...· anyone have a link?
Rich·
P.S. Claude's sample implementation reports out the joystick position in a discontinuous range of hex values.· That can be easily hacked, sample included.
Yes.. The N64 controller is very UNDER USED. So much functionality for one IO pin.
I've been tempted to get a few more from Ebay and crack one open to see just exactly
what they are using for a brain. Perhaps we could employ that in place of the other
bit-shifters that are being used.
BTW, when Google doesn't give you what you want the first time, smack it harder.. [noparse]:)[/noparse]
Here's what I uncovered.. Looks to answer the question..
Thanks for the link... do you google better than I or is this something you had in your brain?
There appears to be an error in the doc... an engineering controversy in the making!!!
The doc says that there are only 24 positions available in each direction on the joystick... but Claude manages to squeeze out almost 90 (82 for sure[noparse]:)[/noparse]
I google for a living.. <smirk> (computer technician) Nah, some days I just get lucky.
yes, I also noticed his warning about driving the pin high.. I was sitting here trying to remember
what the prop does at startup, but I think we're ok on that one..
Comments
As for the mention, no problem! I would have likely bought that SD adapter before I bought the
one from Sparkfun had it been available. At $17+ bucks, it's a deal.
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Harrison
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Thanks for the info on your cookbook, "It's great". I have been struggleing with my sparkfun SD card adapter. I did not purchase one and I decided to scratchbuild one for myself, I could not get it to work correctly, I made it a point to sit down and spend some time with it, and figure this one out. Your cookbook and drawnings made it simple. I found out what I was doing wrong.
Rob7
I've had as much fun documenting the projects I've done on the Propeller as I have actually doing them.
I'm extremely pleased that the SD page was clear enough to get you through it.
Now treat yourself to a nice install of Bagger's Miner game.. [noparse]:)[/noparse]
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
ucontroller.com/propellercookbook.pdf
Email me any updated versions and I'll be sure to get them online asap.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio
One of the big items I've added to my own propeller setup is the Nintendo 64 controller.
It's a LOT of input (14 buttons, x/y joystick) in exchange for a single pin!
I'm curious why so many have opted to skip over it for devices requiring more connections?
The strangeness of the plug?
BTW, I'm working on a 'gamepad_drv_001' we can drop in for existing games... [noparse]:)[/noparse]
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
Good Job.
KK
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Propeller + Hardware - extra bits for the bit bucket =· 1 Coffeeless KaosKidd
·
Would hate to see it get swallowed up in the mire of "the forum"!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<FONT>Steve
What's the best thing to do in a lightning storm? "take a one iron out the bag and hold it straight up above your head, even God cant hit a one iron!"
Lee Travino after the second time being hit by lightning!
Please move along, there's no bump here.
Thanks,
Mightor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| Any sufficiently advanced technology is indistinguishable from magic.
I think I'm going to shift gears for a while and work on that .Spin for BASIC programmers text...
(I'm got a few more areas to master before that will be complete.)
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm new to the propeller!
BTW, I've also spotted N64 connectors (already removed) on Ebay as well.
Nintendo Zapper and the LCD module are in process of being added to the Cookbook,
thanks for the compliments..
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
I've added documentation on Brian's SpinStudio "Socket B"
to take advantage of his LCD, Video/Audio, and Servo modules.
I've also added the Propeller I/O comparison (with permission)
so that it doesn't get lost.
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
The comments and code above are proof that a million monkeys with a million propeller chips *could* write Shakespeare!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio
Thanks for mirroring. I was just about to ask... and where is that Cookbook?
I'm thinking of just placing a standing order... anything you make, I want.
Oldbitcollector,
What can I say? You even added my micro-phone input. Thanks.
Don't you burn out on me[noparse]:)[/noparse]
Rich
I love the comparison chart! Nice job! I will print this out as soon as I get into the office [noparse]:)[/noparse]
Gr,
Mightor
PS I know I promised a couple of recipes for the book, but I've been kind of busy doing non-Prop related stuff (I know, I know, blasphemy!), I'll try to get some done soon, hehe.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| To know recursion, you must first know recursion.
I am building the worlds slowest·Prop-based·coil winder... and I wanted to be able to drive it manually though a joystick and have it remember what I did.·
So, I looked in your Cookbook and found out that the Nintendo-64 controller takes only one pin and gives you a gazillian buttons...· and the controller's wires are color coded!!!
Then I downloaded Claude Hertel's "N64 Controller"·from· the Object Exchange.· Claude's objects·are beautifully documented.··The initial setup worked... first time[noparse]:)[/noparse]···
For beginners looking for some beautiful assembly code, which·is almost easy to understand,· I'd highly recommend this as an exercise.··Claude's object would be·very easy to understand·if there was a clear description of the N64 Protocol.
I've googled the issue and I can't find anything about the·N64 controller·protocol...· anyone have a link?
Rich·
P.S. Claude's sample implementation reports out the joystick position in a discontinuous range of hex values.· That can be easily hacked, sample included.
I've been tempted to get a few more from Ebay and crack one open to see just exactly
what they are using for a brain. Perhaps we could employ that in place of the other
bit-shifters that are being used.
BTW, when Google doesn't give you what you want the first time, smack it harder.. [noparse]:)[/noparse]
Here's what I uncovered.. Looks to answer the question..
www.mixdown.ca/n64dev/
Glad to see the Cookbook has become useful..
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.
Save your money, my son has them laying all over the floor of his closet... How many do you want?
Rich
Oldbit
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.
There appears to be an error in the doc... an engineering controversy in the making!!!
The doc says that there are only 24 positions available in each direction on the joystick... but Claude manages to squeeze out almost 90 (82 for sure[noparse]:)[/noparse]
Rich
yes, I also noticed his warning about driving the pin high.. I was sitting here trying to remember
what the prop does at startup, but I think we're ok on that one..
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.
Thanks for the update.
Rob7
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.
Oldbitcollector
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.
— Calvin, of 'Calvin and Hobbes.