Jump to content

VirtualEnder

Members
  • Content Count

    21
  • Joined

  • Last visited

  • Days Won

    1

VirtualEnder last won the day on October 14 2012

VirtualEnder had the most liked content!

About VirtualEnder

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Awesome thanks so much for this! Will this be included in the next Energia release? Been waiting for this for a while!
  2. Is a mode for steppers provided by the driver chips, or do you have to update each step via i2c? I'd love to be able to simply set a speed and direction via i2c and not have to drive each step! Also will these be stackable at different i2c addresses?
  3. Great to hear. I'll be interested in watching how adoption of Arduino by other boards goes with this new framework in place with 1.5. They Arduino folks have really been pushing the idea of making it easier to port, so we'll see what happens. I'm excited about the option of having more boards easily accessible for education and early introduction to electronics. This has all kinds of implications for STEM education as well as high-school and up.
  4. I'm also curious what the release of Arduino 1.5 today means for Energia. From my reading of the documentation, it looks like they have built in structures to the new Arduino to simplify porting it to new architectures. I'm curious how you guys will approach that, if you are considering wrapping your port work into the new Arduino or continuing to develop Energia as a separate project.
  5. Are you going to be driving the motors using io operations? How fast can the 430 cycle pins? Also how are you handling acceleration for the steppers? Nice work though, it looks really well thought out!
  6. I recommend TeraTerm as a simple serial terminal. Very flexible and easy.
  7. That's so weird, I ordered mine the same day (Aug 31) at 2:30 in the afternoon and I got mine Oct 5th. Strange!
  8. Will this be able to drive bipolar steppers? Looks like you could drive two possibly?
  9. I've got two of the Anaren booster packs for the MSP430 if anyone wants me to test some code on those.
  10. TI Specified a potential ship date when I first ordered mine and it shipped out exactly when they said. Shipped on the 3rd of Oct, in my hands on the 5th!
  11. I managed to solve the undefined error by moving my interrupt handler into a separate C file and moving my constant definitions out into a separate header file. Seems to work OK! Moving on!
  12. Well I feel kind of stupid, Dan helped me out on his blog. I just had forgotten to switch the primary file over to a .cpp (C++) so his object for the display was throwing errors! The library he wrote is accessed by including the header file in your main C++ file. Thanks to Dan for helping me out with that bit. (note to admins, he said he's having trouble getting his account activated on this site :| someone should check that out, he rocks!) That fixed the problems with the display, now I'm getting an error on the interrupt handler. Since I've added the display code it says my IntHandler (Timer0IntHandler) is not defined even though it's defined directly above my main function. Also thanks for the advice jazz. I'll probably just keep the code on the uC to simply axis, direction, step and write the gCode in software then. I'm looking to build a full CNC for wood/acrylic/aluminum etc. I'm using big Nema23 steppers with massive torque I'm looking to interface with common CNC software as well. I'm sure it'll be a huge project, and I may end up dumping everything I'm working on now and re-doing it, so we'll see. It's just a fun project for now.
  13. Here is a code library for a 7seg display/led/button module available cheaply on dealextreme. Code works well and I've found it useful, though I've had some trouble integrating it into other projects. Credit goes to Dan Oprescu (robotrandi <at> gmail <dot> com) http://trandi.wordpress.com/2012/10/11/tm1638-display-driver-for-stellaris-launchpad/
  14. Hi all! The current project I'm working on with Stellaris is a stepper (step, direction) driver. I have these TB-6560 drivers that I got on eBay for cheap (here), and I've successfully driven the motors using the 32 bit timer. I've been able to set the frequency using a variable, etc, and hoping to implement acceleration, etc. The goal is to eventually write an entire gCode interpreter and be able to drive the CNC via a serial connection that dumps gCode to the Stellaris. I'm running in to a weird problem though. I'm attempting to add a control panel I got form Deal Extreme that connects via software SPI. I've been able to successfully interact with it using a library developed by Dan Oprescu. Works great in its own CCS project. I can read buttons, update the 7-seg displays, light LEDs, and everything works great. I've moved his library into my stepper project, and all hell breaks lose. As soon as I include the TH1638.h header in my stepper project I get hundreds of build errors. The really weird part is they don't seem to be coming from any of my code files. They are all coming from compiler includes in iosfwd and exception. I looked around on the web and I found something about including pre-compiled headers being a problem, but I'm a bit lost in this. I compared all the CCS project settings between the TM1638 project example, and my stepper project, and nothing seems out of place. I'm sure I'm missing something, but I have no clue how to debug this. If anyone has any ideas that would be greatly appreciated. I've attached my code so far if anyone has a few minutes to look it over! I'll keep posting here as I progress through the project as well! Suggestions and pointers welcome! EDIT (10-15-2012) Here's (attached) the latest updates to my code with the solutions listed below, if anyone is interested. I'll probably copy it over to github and then post it under the code section before too long here. I want to get it a little further before I do that. I'm sure I'm doing some things wrong here and I may have to change approaches, but this is what I've got so far! EDIT 2 (10-15-2012) Here is a link to the project git repo. Feel free to clone and code! https://github.com/VirtualEnder/Stepper Stepper.zip
×
×
  • Create New...