Jump to content

VirtualEnder

Members
  • Content Count

    22
  • 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

Contact Methods

  • Website URL
    www.miniquadtestbench.com

Profile Information

  • Location
    Chattanooga TN
  • Interests
    Drones, Robotics, Data collection and analysis
  • Github
    https://github.com/VirtualEnder

Recent Profile Visitors

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

  1. I'm attempting to add support for a pseudo digital protocol to a project of mine. I'm attempting to implement the dShot protocol for controlling ESCs on my thrust stand, and having some issues. The TivaC doesn't appear to have very robust output control. You can see what I'm trying to do here: https://github.com/VirtualEnder/TestStandv2/blob/dev/MQTB_Thrust_Stand/hardwareTimers.ino Basically the protocol uses a modified PWM signal with each bit being 1.67us period with 1250ns representing a 1 and 635ns representing 0, basically encoding a 2048 bit throttle signal with some CRC data and a telemetry call bit crammed on the ends. After a couple days I've gotten to the point of using a PWM timer synced with a GP timer to attempt to modify the duty cycle for each bit, however I'm not having much luck. Is there a more precise way of accomplishing this? I'd like to not have to switch MCUs, but I know the ESP32 can do this easily with their RMT methodology and the STM chips can do with with a DMA transfer. I looked at the uDMA implementation in the TivaC and it doesn't appear to operate in a way that would work to toggle pins like this. This is the output signal I'm getting on my relatively limited DSO Nano from the TivaC: And this is the output signal as seen from an STM32F405 that is working properly: Any help would be very much appreciated.
  2. Awesome thanks so much for this! Will this be included in the next Energia release? Been waiting for this for a while!
  3. 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?
  4. 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.
  5. 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.
  6. 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!
  7. I recommend TeraTerm as a simple serial terminal. Very flexible and easy.
  8. 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!
  9. Will this be able to drive bipolar steppers? Looks like you could drive two possibly?
  10. I've got two of the Anaren booster packs for the MSP430 if anyone wants me to test some code on those.
  11. 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!
  12. 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!
  13. 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.
  14. 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/
×
×
  • Create New...