Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Mr.Cruz

  1. I'm just going to post this here: http://hackaday.io/project/1872-Robotics-BoosterPack
  2. I was sampling the Gyro @ 1KHz to hold to a bearing, while using the Phone's GPS to navigate from waypoint to waypoint. Sadly, too many things did not function, which made simply going straight an ordeal in and of itself. All code will be linked to the post by the end of the weekend.
  3. I hope you're not the same person as @@vim505. See this response.
  4. I2C is a particularly picky protocol. Double, then triple check that your hardware is wired up correctly. Pullups, and swapping SDA/SCL are some of the more common problems that can occur. On the software side of things, what you have should work (assuming hardware is fine, bu dunno about the setModule functions), with one thing to note. I don't know if the begimTransmission function takes in the 7 bit address, and expects you to shift it or not. It's the difference between 0x70 and 0x38.
  5. Mr.Cruz


    @@pak, Unfortunately, I haven't had much luck porting the I2CDev implementation to the Tiva Launchpad. I tried porting it before the competition, but was constantly getting values that didn't make sense (the quaternion was not stable at all. Looked more like gibberish). I gave it another shot last night, but still no go. I've started looking into Invensense's library and am thinking I'll give that a shot instead. While I love the community around I2CDev, I trust the manufacturer to provide much better documentation and resources for the port. We'll see how that goes (might work on it t
  6. Here's your monthly update! AVC has come and gone, and while it was fun, there was simply too many things that came up at the last minute for me to deal with. The Hovercraft eventually drove straight-ish, but was not able to make it past the first corner. Oh well. I'll be putting up the documentation backlog on hackaday.io for those that want to make one for themselves. The Robotics BPv3 has a few more smaller issues, one of which being that I completely messed up the IO ordering (instead of the pins going 1,2,3,4,5,6,7,8, I did 4,3,2,1,8,7,6,5). Fortunately, it wasn't a dealbreaker, but I wi
  7. I've finally gotten around to documenting the Cardboard Hovercraft build to such a detail that anyone else can build one. Since it has a bluetooth/wireless control component, I'll be documenting it at hackaday.io
  8. Tivaware also includes a fatfs implementation in third_party/fatfs
  9. Nearly another month, and another update! PCBs are back, and aside from USPS not delivering around $250 in packages (still tracking them down, but I'm not optimistic and simply reordered everything), v3 of the PCB will be assembled and tested by the end of next week! Looking forward to getting real time current readings up to 100A. The IMU! Finally getting around to porting the MPU6050 from the I2Cdev project to the Tiva Launchpad + my I2C implementation. Aiming for it to be completed by the end of the week. There's something to be said about Hovercrafts. Working on my Sparkfun AVC entry,
  10. RBP v3 routing completed! Gonna mull over the routing for a day while the silkscreen is completed, when if all is good, in two weeks, I'll have another rev!
  11. To learn about Servos: https://learn.adafruit.com/search?q=servo To figure out how to use Servos with Energia: https://www.google.com/search?q=energia+servo The TM4C123G is backwards compatible with the LM4F120 MCUs (take a look at Table 5 in this document). Energia definitely supports the Servo object (see source code). The resources are definitely out there. maybe you can be more specific when asking for help? From your two comments, it seems like you haven't done any research on the subject.
  12. Wow, it's almost a month since I last made made a post. Updates: PCB still needs to be rev'd. Got preoccupied doing other things. I made a hovercraft using the booster pack. And it (kinda) works! I was at the Austin Mini Maker Faire (proof!) Oh, because I needed a better way to wirelessly control the robots over bluetooth, I make an Android App in less than a day to control both robots. The repo will be updated tonight with the app.
  13. Ah! Wonderful! I may look at CMSIS yet!
  14. Nice code dump! Just thought I'd add a few notes: In the first implementation, if you make the functions inline, the compiler can optimize out the function jump, and you can get a slightly more accurate time measurement (pushing/popping registers to go to and from functions generally takes around 12 cycles if I recall) CMSIS is interesting, and I have yet to get a chance to play with it. I think the CMSIS example will be more accurate due to the #define macros (no pushing/popping registers from the stack), but some cycles will be lost due to de-referencing. Nice code dumps!
  15. T-minus 5 days! The code dump has been getting updated as well. At this point, the repo is in a large need of cleaning up, but there's some rather interesting code that makes using peripherals much easier, in my opinion. And as of right now, I plan on having two robots at the AMMF. Whether they're functioning by then is another question...
  16. For those that are keeping an eye on this, I wanted to give another update of sorts. I'm currently looking to do another rev (2.1), and have been keeping track of all changes here. I realize that it's hard to say whether one change is better than another, but I would appreciate it if y'all could chime in. There are some changes that I'm looking to make to make the board much more functional and cheaper at the same time, the biggest one being the removal of the Bluetooth Module. By removing this, I think I can get it comfortably below $50/board. I'm also working on looking for alternate mot
  17. Post is up: https://cruz-monrrealii.squarespace.com/updates/2014/4/7/tank-demo-bot-v2
  18. Another week, another bit of progress. Right now I'm working on making a library similar to MBed because I'm starting to make more and more objects for the BP, and I want the code to be as easy to use and understand as possible. I'm pleased with what I've finally decided on and will be implementing it shortly. Made a new frame for the demo tank robot. Each layer has magnets and attaches with screws that I had laying around. It's a surprisingly strong hold. Each layer is separated as follows: - Servos and other stuff - Tiva Laucnhpad w/ top headers cut off + Robotics BP - Smartphone
  19. Dunno if the title was meant to be a question or an expression, but I can assure you that I2C does work. If you'd like to simply test your setup, I have a project that scans I2C0 here. If you're looking for something that's more library-like, take a look at this. I could provide more details as to why the library decided to do this, but I have other things I'm working on atm.
  20. http://www.anomalousmaker.com/updates/2014/3/26/a-sneak-peek-of-whats-to-come
  21. It's getting even better. I've been working on an I2C ISR, making all of the intractable things on the BP C++ objects (Servos, Motors, etc...), and since I convinced a friend to make a 12 servo crawler, I'll have that code working by the end of the weekend (and possibly a second assembled v2 PCB) In other news, these BoosterPacks will be getting shown off at the Austin Mini Maker Faire
  22. Completely works! (My C++fu is weak) Updated repo. Never again will I have to deal with burning my corneas!
  23. Just wanted to share a project that I got compiling last night (doesn't necessarily work yet). If anyone is curious about it, it's located here.
  24. Mr.Cruz


    Imo, it's definitely possible. It's a shame that the SensorHub code doesn't use the DMP in the MPU6050. I've been considering porting the FreeIMU or equivalent MPU6050 code to the Tiva/Stellaris Launchpad since I want to make use of the DMP (I want my Quaternions!), but don't have an eta for it (I want to implement an I2C Master ISR first).
  25. Wanted to let everyone know that I finally got around to uploading the code I've been working on into GitHub.
  • Create New...