JColvin

Administrators
  • Content Count

    3303
  • Joined

  • Last visited

  • Days Won

    115

Everything posted by JColvin

  1. JColvin

    Analog Shield

    Strictly speaking and for practical purposes, it is not compatible with the Arduino Mega. It was designed for the Arduino Uno and the chipKIT Uno32, so while the shield would be able to physically connect to the Mega, signals that the IC's present on the Analog Shield are expecting to receive are mapped to different pins than what the shield would actually connect to. Let me know if you have any more questions. JColvin
  2. Hi, I am personally not familiar with Linux so I do not know if this is the best answer to your question, but one of the other users on the Digilent Forum explained how they were successfully able to run Waveforms on the Linux machine. You can check out the forum thread ).
  3. Hi, The WS2812 LED Strips were not made directly by Digilent from the ground up (so-to-speak) so we not developed a nice Digilent documentation for it as of yet. However, we have made links on the product page to two different Instructables that explain how you would get the LED Strips up and running on either a chipKIT uC32 or Uno32 ( well as the chipKIT WF32 or Max32 (http://www.instructables.com/id/Getting-Started-with-WS2812-LEDs-with-Digilent-chi/). Additionally, you can check out our blog post on the WS2812's (https://blog.digilentinc.com/index.php/new-product-ws2812b/), which explains how to recognize which LED Strip you have, how to power the LEDs, and communicating with LEDs. On the blog post we also recommend two more tutorials on running these LEDs by Phillip Burgess from Adafruit and from arcobotic on Instructables. Please let us know if you have any more questions.
  4. Hi ulvarg, I am personally not very familiar with FPGAs, but I will do my best to respond to your question. Naturally, I do not know you your current familiarity with FPGA's, so it is somewhat difficult for me to appropriately address your question within a single response. However, I do have two recommendations to help you get started. My first recommendation, which I strongly suggest, is checking out Digilent's learn site. Digilent offers free Learn Modules to help users, such as you and I, get started with projects using Digilent products, such as the Nexys 4. These are available at learn.digilentinc.com with a full list of projects that are currently available here. Within that list, you can click on the "Digital/FPGA" tab to view all the projects related to FPGA's ranging from just getting started with FPGAs to creating your own state machine. Also, one of our forum members has shown another user how they might get a DC motor started using a Basys 2 board. Granted, this is not a Basys 3 or a Nexys 4 board, but the implementation concepts for an FPGA will be similar. You can view the post
  5. From my understanding, that will work just fine to program the boards separately and connect them together later so that they can communicate. Please let me know if you have any more questions. Thanks, JColvin
  6. Hi kpparr, If you are only communicating between the Pmod headers, you should be able to power each of your boards from their own USB connector and attach them both to the same PC. As long as your boards aren't drawing a ton of current (which from your description sounds like you won't even be coming close to limit), this should not be an issue. I have done a similar project with two Digilent microcontrollers and powered them both from my laptop without any problems. Alternatively, you could program one (or both) of your FPGAs to ROM and use an external wall power supply to power your boards. However, I would not recommend trying to power one board off of the other board. I think going from J5 to J5 would result in too much of a voltage drop to successfully power both boards if you are powering the first board from a USB port. It may work if you were instead using an external power supply, but I would personally power the boards separately. I believe the Pmod Vcc is only able to output at 3.3V, so that is not within the required input voltage range of 4.5 - 5.5V (ideally 5.0V) that a Basys 2 board needs to operate. So in the end, I recommend powering the two boards separately. Let me know if you have any questions. Thanks, JColvin
  7. Hi Alex, The technical reference manual for the Analog Discovery, which lists the tolerance for its various pins, can be found on it's product page here (http://www.digilentinc.com/Data/Products/ANALOG-DISCOVERY/Discovery_TRM_RevB_1.pdf). Alternatively, they also check out the most up to date reference manual on the Digilent Wiki here (https://reference.digilentinc.com/analog_discovery:refmanual) Let me know if you have any more questions.
  8. Hi jpcastellino, Actually, the part that you're looking for is the TEMT6000X01 by Vishay Semiconductor. Unfortunately, this is not listed on the schematic, but we will be sure to include it in our reference manual on our Wiki site for the PmodALS. Thanks, JColvin
  9. Yes, but I think only the original poster, in this Alex, can mark this as solved.
  10. To get the Uno32 Pmod Shield to work you need to do the following: Make sure that in your main MPIDE folder where you originally installed MPIDE under the hardware/pic32/variants folder, you have the Uno32_Pmod_Shield with the C and H files (these are likely there already). If you do, (or do not have them), go to the product page for the Uno32 Pmod Shield, and download the board variants file available. If you did not have the C and H files, copy the "Uno32_Pmod_Shield" folder that you see from the download and paste it into the hardware/pic32/varients folder. Then, from the download, open up the readme text file. In the readme you will see a section that says: Copy this whole section and go to the boards.txt file that is available in the hardware/pic32 folder. Go to the bottom of that text file and copy this whole section in. Then, we need to make the following changes: The first is merely for convenience: underneath the top line of the section that we just copied into the text file which says type in the following: What this does is add the "chipKIT Uno32 with Pmod Shield" option into the chipKIT section when choosing your board in MPIDE. Next, and what makes all the difference, find the line (about 7 lines down) that says: Change this line to instead say: What this does is tell MPIDE to look for a linker script file that actually exists. Now, save this boards.txt file and close out any MPIDE program that you already have running. When you reopen MPIDE, you should see chipKIT Uno32 with Pmod Shield as a board option under chipKIT and the program which uses the Pmod Shield should now successfully compile, and more importantly, successfully run with demo code that uses any of the headers on the Pmod Shield. Please let me know if you have any questions.
  11. Hi, I was attempting to use the PmodOLED and was attempting to get it's demo code correctly. The demo code claimed you can use the Pmod Shield header JC, but it did not seem to be working. So, I did a bit of research and found out what the problem was and successfully found a way to fix it and have the Pmod Shield work. Check out my answer below for what you need to do.
  12. Hmm... they all seem to be working on my end (11/6/14, 10:20 a.m PST). I'm guessing it was only a temporary problem, unless you are still encountering difficulties.
  13. Hi jotran00, As the "Pmod Guy", I am not as familiar with FPGAs, but from my understanding a Spartan-6 FPGA will have enough ports and computational power to be able to all of the projects in the textbook. However, I do not know how the coding implementation and coding environment compare between a Spartan-6 FPGA and a Spartan-3 FPGA (the one that the textbook is based off of), since this is not my field of expertise. I would expect that both the implementation and environment should be very similar between the two types of boards though. Let me know if you have any more questions. Thanks, JColvin
  14. A customer asked me this question: hi I'm facing a problem while using DIGILENT BASYS2 SPARTEN 3E board. How can a sonar unit(external hardware) giving digital output pulses can be connected to the pmods. How are the 4 pmods in the board connected. With thanks and regards Aparna
  15. Hi Martin, We don't have a schematic of the PmodMAXSONAR directly available on the Digilent website because the module was developed by MaxBotix ®, so they did not release a schematic to us that we can distribute. However, you can go to the product page of the sonar piece on the PmodMAXSONAR and download the datasheet for the MB1010, which explains the functions of each of the pins. Personally, and because Digilent did not develop this Pmod from the ground up (so to speak), I do not know the output impedance of the pin. However, I think the PmodMAXSONAR uses a PIC16, so you are welcome to check out the corresponding PIC16 datasheet. Let me know if you have any other questions. Thanks, James
  16. Hi jotran00, The "Real Digital - A hands-on approach to Digital Design" book is designed to be a textbook used in a university classroom setting. Consequently, it is structured as a book for professors to teach from and for students to do problems from without being able to look up the answers from the back of the book. Because of this intentional design, there is no easy way to check the solutions to each of the problems. Correct me if I am wrong, but what I believe you are looking for is more along the lines of a user guide. Our textbook is not designed as a user guide, but we do offer many modules on learn.digilentinc.com where you can learn how to approach many of the problems. Let me know if you have any more questions.
  17. That's a good idea! It's pretty crowded inside the box though, so I'd be worried about fingers/candy causing the LEDs to short out and ruin the microcontroller...
  18. Hi, I attempted to get a picture put into one of my posts, but when I attempted to use the "Attach Files" at the bottom of the page, the picture I uploaded was less than 500 kB (499.90 kB), but the picture itself ended up being way smaller than its actual size (over a 1000 pixels in each direction). Also, I thought it looked a little weird that the "Attach Files" thought that after uploading the 499 kB file, it thought I had only uploaded 100 kB worth of file. I also have a question about the image hotkey in the toolbar above next to the "code" hotkey. I attempted to upload one of my pictures that I had on Instructables, (http://www.instructables.com/file/FPGFTJSI1NVDGIS), since the hotkey wants a URL, but apparently that particular file type isn't supported. So for my future reference, what file extensions are allowed for this feature? Thanks, James
  19. Hi everybody, I have made an Instructable on how to create Digilent's Box Monster! You can learn how to make the Box Monster here as well as the Halloween themed version on the Box Monster both the Digilent Blog, and Instructables.
  20. Like NMacDonald and mmigliacio, I too made a project for the Digilent Halloween Contest. A Halloween themed Box Monster! The Corrugated Conqueror has been (somewhat) tamed; rather than biting anybody who gets too close, he only opens up his mouth when people get close enough to him in order to tell them "Happy Halloween", but looks still looks ominous with his glowing green eyes when nobody is around. You check him out in the youtube video below.
  21. If you want to use the Analog Discovery with a breadboard you will, as you said, need to turn those female headers into male headers. Digikey does have single pin headers available, but based on a per pin basis, it will be a little cheaper to break those larger amounts of pin headers into individual pin headers which can be easily done with pliers or wire cutters. Naturally, this will be somewhat tedious to do, but you can always get more of the larger pin headers (Digilent has a set of 5 available here) if something goes wrong. Alternatively, you could also use breadboard jumper wires as your gender changers. I personally prefer the breadboard jumper wires purely because I have a bunch of those right at my desk. In the end, it'll come down to what you'll prefer the most or find the most convenient for your project. Let me know if you have any more questions.
  22. I am not an authority on the Analog Discovery, so I don't necessarily have a complete technical answer for you but here is my understanding. Digilent does not stock any variable power supplies, so we are unable to include a variable power supply with the Analog Discovery. The Analog Discovery itself is only able to be powered through its USB port (hence the 5V range on the power supply) and does not have a way to be externally powered and be connected to a computer simultaneously. That being said, you could use an external power supply to power your circuit and use the Analog Discovery for testing purposes since its voltmeters are able to handle up to a recommended +/- 25V on each pin (+/- 50V peak to peak). Please let me know if you have any more questions. Thanks, James
  23. Sweet! It looks like a lot of fun; I'm impressed with that you got all of that going with your first time programming in MPIDE.