• Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    logansam reacted to zygot in Project Vault upload limitations   
  2. Like
    logansam got a reaction from jpeyron in Project Vault upload limitations   
    Hi Zygot, 
    I've increased the limit on each file and the total available per user. Hopefully that lasts us for a little while!
  3. Like
    logansam got a reaction from Alfredo Namigtle in WF32 Bring-up Failure   
    I'll also add that on my macbook I forgot to install the FTDI drivers. My board would program once and then never again until I restarted mpide and killed the avrdude process, which has to be done manually.
  4. Like
    logansam reacted to hamster in HDMI input for Nexys Video.   
    I've finally got my HDMI input project to a point where I have something to show. This little picture makes me really happy:

    This project does the following actions:
    Advertise HDMI support over EDID/DCC Receive the TMDS signals De-serialize them into 10-bit symbols Align the symbols using bitslips Tune the input delays for best reception Convert the TMDS symbols into data values Extract CTL, Aux Data Periods (ADPs) and Video Data Periods (VDPs) Extract Video Infoframes from the ADP data Extract Audio Samples from the ADP data. Extract Raw Pixels from the VDPs Perform 422 to 444 conversion, if required by video format Perform YCbCr to RGB conversion, if required by video format Convert Studio Level RGB to Full Range RGB, if required by video format Convert Audio smaples to a relative db level Overlay Audio level meters over the video stream Convert the video stream and sync signals back to TMDS symbols Serialize them through a 10:1 serialisers Transmit the TMDS. I think that this is an awesome base for any video experimentation.
    I've even got to the trouble of making a GitHub repo for it:
    Please feel free to fork and extend.
  5. Like
    logansam reacted to hamster in EDID ROM   
    If anybody is looking for source for an EDID ROM I've made one for 1080p, 1080i and 720p which seems to work OK.
  6. Like
    logansam reacted to hamster in Selecting the correct IDELAY / bitslip settings   
    I'm working on a design for receving HDMI video and decided to write up my method for tuning the IDELAY and ISERDES settings to sync with the incoming stream.
    If you are interested, you can find it at http://hamsterworks.co.nz/mediawiki/index.php/SERDES_symbol_locking 
  7. Like
    logansam reacted to hamster in On the fly fractals.   
    I've got my new fractal viewer up and running on the new Nexys Video board.
    I'm just about to upload the source and a .bit file to http://hamsterworks.co.nz/mediawiki/index.php/Mandelbrot_NG_1080i
    It does not use any frame buffer - each pixel is completely recalculated every time it is displayed, allowing for super-smooth zooms and pans.
    Some highlights
    - Generates video DVI-D at 1080i. It is pretty hard to find examples of how to do 1080i properly.
    - Outputting over DVI-D, Although it can support 24-bit colour, however for the moment I am just using 64 different ones, as it aids debugging.
    - Does not use any IP except an unsigned 17x17 multiplier (because it wouldn't infer properly)
    - Each pixel spends 2,106 cycles going through the calculation pipeline before being sent to the display,
    - Uses 'only' 540 DSP blocks because when I used more it caused the board to reset itself, so the chip is capable of about 30% more math.
    - The heatsink gets a little warm...
    - Currently processes down to iteration 162. I'ld like it to go higher but must solve why it is resetting itself
    - You have the option of moving some of the DSP multipliers into LUTs, which allows you to calculate 'deeper' at the expense of power usage.
    - Performs about 120 billion 36-bit operations per second
    I've also got a 720p version, and a 640x480 that calculates three times as 'deep' per pixel, but that doesn't have the magical 1920x1080 resolution.
  8. Like
    logansam reacted to hamster in GPS Spew.   
    For a project I needed a test signal for the GPS L1 frequency (1.575,42 GHz), to check that an antenna is properly matched to the enclosure. This design creates a square wave at 1/3rd that frequency, so the third harmonic can be used as a test signal. The resulting Basys3 design works very well for it's intended purpose.
    As a down-side it is also an effective short range (desktop) GPS jammer, which might be useful to testing an embedded design's behavior when GPS lock is removed.
  9. Like
    logansam reacted to Tomasz Hemperek in TCP/UDP based DAQ with Nexys4   
    We have developed a nexys4 firmware for our pixel readout chip DAQ.
    We are using hardware TCP/UDP module (SiTcp) to communicate with board.
    You can find the project here: https://github.com/SiLab-Bonn/pyBAR/tree/development/firmware/nexys4
    We extensively make use of basil framework:  https://github.com/SiLab-Bonn/basil
  10. Like
    logansam reacted to isdale in Aloha Digilent   
    Saw your booth at Makerfaire bay area. I'm on travel from Maui (mauimakers.com ) and will b in eastern  Washington next  week.   Do you have a place to visit?
  11. Like
    logansam reacted to dietfig in Adept SDK C# Library   
    This is a little DLL I wrote using C++ Interop in Visual Studio to pull some of the functions from the Adept SDK into C#. I'm posting it here in the hopes this is useful to someone else. It's pretty rough as I am absolutely not a Windows developer and I make no guarantees as to how well it is written and/or works (it does do what I need it to do ). Only supports basic DEPP functions as that's all I needed, other functions shouldn't be too hard to add at this point. Released under the BSD license.
  12. Like
    logansam got a reaction from JColvin in Q&A setup   
    Sam and I have been discussing this, I think it would be worse to have multiple threads, but calling every reply an "answer" isn't really the right thing to do. We'll let everyone know when we have a solution.
  13. Like
    logansam got a reaction from SebastianB in Welcome!   
    Questions will not be answered here, start a new thread in the Technical Forum
    Welcome to the Diglent Forum! Our goal is to not only create a place where you can get support for our products, but also a community to share your projects. We are just getting started with our forum, so if there is anything you would like to see or if you would like to make any suggestions, please head over to the suggestions forum and let us know. 
    My name is Sam, I am a web developer at Digilent.
  14. Like
    logansam got a reaction from bellizima in Missing Link to Trainable Delay on Debouncing via Software   
    Thanks for catching that Sharon! That project has been updated. 
  15. Like
    logansam got a reaction from JColvin in FPGA SNES   
    I just found this project using the original Nexys FPGA for a SNES emulator! Check out the whole project at http://danstrother.com/fpga-nes/

  16. Like
    logansam reacted to Guest in Welcome!   
    Hi Yall,
    My name is Robert or Bobby, Which ever you prefer. I'm a junior Electrical Engineering major at the University of Idaho. All of our labs are using Digilent boards such as the Cerebot MX7cK pic32 for my Microcontrollers lab. It's all very exciting and new. I love the challenge being presented to me and it's making my semester great. Thanks for doing what you guys do best!
    With Professional and Platonic Love,
    Bobby or Robert
  17. Like
    logansam reacted to LariSan in measuring RPM on motors using uC32 + Basic I/O + IR Proximity   
    This is a project that was done by the Erik and Keith to test the NI myRIO High Current adapter and NI myRIO Motor Adapter. (I am courtesy posting because I like the project so much, because this is a small set up of motors you will find in many power electronics and controls labs!). 
    The set up was made by Erik to be able to measure the speed of a dyno motor pair. 
    The motors came from http://www.andymark.com/(robotics supplier). 
    The mounting brackets, the shafts, the coupler, front mount and key have been 3D printed on an Ultimaker. 
    All of these were mounted on an oak board. 

    dyno setup by laraswanland, on Flickr
    The motors require 12V and a large amount of current to drive. 
    Keith was able to use his desktop variable power supply to get the motors spinning.
    The speed is sensed through the optocoupler (or Digilent IR Sensor Part# 240-012P )

    it is connected to the chipKIT protoshield with some resistor values added to it (for the IR LED).
    The protoshield is connected to a uC32 that is doing the measurement (by counting how many "clicks" on the gear go by the IR LED) and displaying the RPM value on the Basic I/O Shield (mostly only using the OLED Display). 

    2015-02-09 16.24.46 by laraswanland, on Flickr
    Here's the video of it in action:

  18. Like
    logansam got a reaction from LariSan in Forum Updated and Upgraded   
    We went offline briefly today for some updates and to add new features!
    First, there is an image gallery! You can upload and share pictures of your projects, or pictures of something you have a question about for our support forum.
    We also have added a new forum, Buy, Sell, Trade. If you have anything you'd like to buy, sell or trade, this is the place to do it. All arrangements are made on the user's terms and is not sponsored by Digilent.
    If you have any suggestions about how we can make our community better, we invite your feedback in Suggestions.
  19. Like
    logansam got a reaction from JColvin in WS2811 UC32 9 Core Computer   
    I built some LEDs into my personal computer, controlled by a uc32 connected directly to the computer so it can be reprogrammed. The next step will be to add some controls to the front panel of the computer! It has an 8 core AMD processor + the uc32 so I'm calling it a 9 core computer. 

    Here's a video of some demo patterns

  20. Like
    logansam reacted to Serge.V in Welcome!   
    Hi all,
    My name is Serge, I work for MIPS (now Imagination Technologies) doing simulators for verification. Microcontrollers are my hobby, and I have several pet projects, like: RetroBSD, LiteBSD, QEMU for pic32, pic32sim, pic32prog and ejtagproxy. I use Max32, WF32 and WiFire boards, and some pmods.
    Thank you.
  21. Like
    logansam reacted to LariSan in Chipkit Cmod To Control Processing Sketch-- Skeptical Penguin   
    This is a project that lets you potentially replace your keyboard/mouse interface with the computer, using Processing + chipKIT Cmod and an Analog Pot. 
    Here's the video:
    To re-create this, you will need to have
    MPIDE downloaded.  Processing downloaded the image files (attached to this thread) chipKIT Cmod + a 10K pot + wires needed USB Micro cable STEP 1:
    Wire up your breadboard + Cmod
    I connected my analog pin on the pot to pin 26 on the Cmod

    chipKIT Cmod + Analog Pot by laraswanland, on Flickr

    STEP 2:
    Check your analog pot is reading well. 
    Connect your USB to the chipKIT then to your computer, open MPIDE, select the serial port, select the board, then copy and paste this code into your sketch.

    Hit run. 
    Then, hit the serial monitor to see the values coming through.
    Screen Shot 2015-02-01 at 10.02.06 PM by laraswanland, on Flickr

    once you verify that the pot works, close the Serial monitor.
    Change the code to the below (switching some of the commenting).
    Upload to the board.
    Don't close MPIDE (keep it open).
    Now you will set up your Processing sketch. 
    Make sure to have downloaded Processing. 
    Test out a demo sketch by copy and pasting this and hitting run:
    (you can also go to File->Examples->Input->MousePress)
    * Mouse Press. * * Move the mouse to position the shape. * Press the mouse button to invert the color. */ void setup() { size(640, 360); noSmooth(); fill(126); background(102); } void draw() { if (mousePressed) { stroke(255); } else { stroke(0); } line(mouseX-66, mouseY, mouseX+66, mouseY); line(mouseX, mouseY-66, mouseX, mouseY+66); } If you are able to click a cross and have it change from white to black and draw across the screen, your sketch worked. 
    Close the sketch box out. 
    Download the attached file to this thread. 
    Once you open the file-- you should see this sketch.
    (advise to save this under where your Processing folder sketches are saved). 
    /*Larissa Swanland for the Digilent MakerSpace reads a analog serial value from chipKIT and this makes a penguin turn it's head, you must have the chipKIT sketch open at the same time to have this work*/ import processing.serial.*; Serial myPort; int numFrames = 8; // The number of frames in the animation int frame = 0; int count= 0; PImage[] images = new PImage[numFrames]; void setup() { size(800, 600); images[0] = loadImage("huh-00.png"); images[1] = loadImage("huh-01.png"); images[2] = loadImage("huh-02.png"); images[3] = loadImage("huh-03.png"); images[4] = loadImage("huh-04.png"); images[5] = loadImage("huh-05.png"); images[6] = loadImage("huh-06.png"); images[7] = loadImage("huh-07.png"); println ("Available serial ports:"); println(Serial.list()); myPort= new Serial(this, Serial.list()[3],9600); } void draw() { background(0); image(images[frame],0,0); if(myPort.available()>0) { frame= myPort.read(); } } The images need to be saved to the same folder (images are the stages of the penguin's head). 
    If you have the circuit connected to the chipKIT Cmod, the chipKIT Cmod connected to USB, the chipKIT code running, the images downloaded to the right folder, the Processing sketch...
    Then you should be able to hit (RUN). 
    and when you change the pot value, the penguin's head will move. 
    1. if you don't get a penguin head to come up (just a blank black box)... 
    check your serial port. 
    println ("Available serial ports:"); println(Serial.list()); myPort= new Serial(this, Serial.list()[3],9600); Change this value from 0-4... until you find the right serial port. 
    2. Re-boot the sketch on MPIDE if the head isn't moving-- the serial connection may be lagging. 
    (change delay (500) to delay (1000) (this slows it down, it may help). 
    3. If you see this error [ARRAYEXCEPTIONOUTOFBOUNDS]

    Screen Shot 2015-02-01 at 10.20.36 PM by laraswanland, on Flickr

    This means that the array Processing is using to determine which Frame you are in has been overflowed. Just hit the STOP button (next to run in processing)and re-start.
    Let the penguin's head find the current value first before turning the pot...
    or move slowly (too fast also causes the values to read messily).
    4. MPIDE must be running at the same time. You will get the out of bounds error in #3 also if you don't have it opened. 
  22. Like
    logansam reacted to Tsion in Can't Boot From Sd Card   
    Thanks for replying and the problem end up being with the sd card and it is working fine with a new one.
  23. Like
    logansam reacted to Syntax_Error in Welcome!   
    Hi, all. My name is Matt and I am a hobbyist and also an electronics technician by trade.
    I own a Digilent Analog Discovery w/BNC adapter board, and a Nexys2-1200 w/parallel LCD, also from Digilent. I use TINA and Waveforms, and have the Analog Parts kit and Mastech DMM in your product line. I have worked through most of Real Analog, and all of Real Digital, and have both Digital Design books by Haskell, and the FPGA book listed on your website.
    I have used your products and worked through so many of your materials and recommended books because as I have tried each one, I have found it to be a top notch quality resource. My personal favorite *BY FAR* is Real Analog. I do not know the instructor's name, but kudos to that man for clarity of instruction. I have learned much from him. Give him a raise!
    I list all this out to give you a bit of background on me before I say this: Please continue making educational materials. Your Analog Discovery product is awesome, but it was Real Analog that elevated me as a technician and budding engineering student and made me want MORE. Real Digital was good, too. There are tons of "entry-level" educational materials on the internet, but they all share a common lack of depth and mathematical rigor. Real Analog was a massive breath of fresh air. As someone who has a casual understanding of calculus, and no idea what a differential equation was when I started Real Analog, I was impressed at the depth of material and simultaneously the ease of learning that the program provided. It made me Google and Youtube things like "Complex Impedance" and "Phasor Diagram" and "Solving Differential Equations", something I had never done before.
    For the marketing folks here, I would emphasize the value in having educational materials using your products, akin to the Real Analog-Analog Discovery dichotomy. Make a program teaching microcontrollers (with rigor!) using your ChipKit products. Make a digital course using Basys or Nexys products (or either/both!). That's why I got Haskell's books with my Nexys2, and also why I bought Pong P. Chu's book instead of another FPGA book. I had a lab in my hand that the *book used*.
    If you build it, they will come; and buy the accessories, to boot.
    P.S. Thanks for everything your company has done. You're awesome, and I recommend you to every amateur, student, hobbyist, ham radio operator, and some professionals that I know.
  24. Like
    logansam reacted to gmv in Vivado Ip Axi Controller For Basys3 4 Digits Display   
    I realised a Vivado ip axi controller for basys3 4 digits display. You can find ip and test project here   https://www.dropbox.com/sh/62c4uoar3lf9gzn/AABWfCCFOgShxkID7U6OjXdha?dl=0   It's easy to expand for nexys4 8 digit display. Actually the controller manage the number of digit to use in hex or bcd mode with the limitation of overflow. Dp are not managed.   It will be helpful if Digilent can develop some ip templates for Pmod modules .... just a suggestion  
  25. Like
    logansam reacted to LariSan in Mac Version Of Waveforms?   
    Waveforms3 will support Mac and is currently in pre-Beta release. 
    You can contact the engineer working on Waveforms 3 through this thread: