Another SD Question.
MovieMaker
Posts: 502
OK, guys. I started new thread because this was kinda different.
I have the protoboard on the boebot.· I finally (with the help of my new friends-you guys) got the "OK" back from boebot basic.· I had so much fun last night lighting up several LEDS on several ports, and running the left and right servos as well as the PING servo as well as the PING unit. So indiviually, all of these items work! Yeh!
Now, I guess there is no BOEBOT Basic Code available to run all of these units all together, I have to write that, correct?
My next function that I would like to do is add the SD Card which I have already hardware interfaced to the proto board.· I purchased it from SparkFun Electronics. I did not know that Parallax offered one. It looks like this:
Pin 8 = SD Do
Pin 9 = SD Clock
Pin10 = SD DI
Pin 11 = SD CS
and of course 3.3Volts
and Ground.
At this point I have formated and installed Heartbeat.bin on the SD card.· I just need to know how to test it. How to load it up from the SD card and run the program.·
If was suggested DATA LOGGER, and other SD on USB programs. But, when I load them and run them, nothing really happens.
·
I have the protoboard on the boebot.· I finally (with the help of my new friends-you guys) got the "OK" back from boebot basic.· I had so much fun last night lighting up several LEDS on several ports, and running the left and right servos as well as the PING servo as well as the PING unit. So indiviually, all of these items work! Yeh!
Now, I guess there is no BOEBOT Basic Code available to run all of these units all together, I have to write that, correct?
My next function that I would like to do is add the SD Card which I have already hardware interfaced to the proto board.· I purchased it from SparkFun Electronics. I did not know that Parallax offered one. It looks like this:
Pin 8 = SD Do
Pin 9 = SD Clock
Pin10 = SD DI
Pin 11 = SD CS
and of course 3.3Volts
and Ground.
At this point I have formated and installed Heartbeat.bin on the SD card.· I just need to know how to test it. How to load it up from the SD card and run the program.·
If was suggested DATA LOGGER, and other SD on USB programs. But, when I load them and run them, nothing really happens.
·
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
JMH - Electronics: Engineer - Programming: Professional
Post Edited (Quantum) : 8/27/2008 4:26:54 PM GMT
This is an area I'm working on...
(Dang day job keeps getting in the way!)
Thanks for listing the pins you are using! That helps!
Is there a chance you have a keyboard or TV connected to your
Protoboard yet?
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
If you've already connected the resistors, then you've sorta
committed the I/O for keyboard/mouse/vga.
(not a bad thing for your first protoboard setup.)
I'll fish through my code and see if I can't find a good way to test your setup.
(something impressive) [noparse]:)[/noparse] Might be later this evening..
Have you read through the Cookbook file? (listed below)
I'd encourage you to do composite video (TV) next.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
BoeBotBasic has the ability to load and run a compiled Spin program from the SD card. Look at the documentation on the SPIN command. This has been used to make a kiosk program that provides a menu, the user selects a program name from a list, then runs it. If BoeBotBasic is stored in the EEPROM, it'll get loaded and run when the selected program restarts (reboots) the Propeller.
For this to work properly with larger programs, the SD card has to be formatted with 32K clusters. There was a message posted in your other thread with a link to a discussion on formatting SD cards.
I also was wondering about the boebasic propellant and how to run it.
incompatibility with BoeBotBasic.
And, where are your programs that everyone is bragging on? I looked in the objects, but did not see them.
MovieMaker,
By "BoeBotBasic archive", I'm referring to the .ZIP file that you download from the Object Exchange and the folder that results when you "unarchive" it or when your web browser does that for you.
I asked you to read the BoeBotBasic documentation on the SPIN statement. It may not be the best documentation, but it should explain things. If not, then say what you don't understand and ask for clarification.
I always include them.
Do you feel lucky? Well, do ya?
All of my servos work
The PING unit works
The SD card works.
now , I have to implement the IR and the Soundpal .
Once I get them working. I have to either find or write code to make it into an autonomous robot. Then I will add my million other items. I have BIG plans for this.
I hate to reinvent the wheel . If any has the code for prop to boebot that I can just put in and run, that would be great. But, it looks now that I have to write the code myself.
Anyway, just wanted to update you on my exciting news!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--Steve
(Now it's your responsibility to help someone else.. [noparse]:)[/noparse] [noparse]:)[/noparse] [noparse]:)[/noparse] )
Fun stuff when it starts doing something interesting isn't it??
(Now that he's got things working, his wife doesn't have a prayer of "honey do's" <SMIRK>)
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS