Heya, Thanks for visiting!
Here is a simple guide/tutorial on how to get your linear servo moving. The video below demos what I made. You can see how everything is set up below that: Watch on YouTube Parts: Teensy 3.0 or 3.1: Substitute your own Arduino/microcontroller Mini Linear Servo 1x 10 uF Capacitor 1x Diode (Optional) Potentiometer for jog code. I was able to run the mini servo off of the Teensy's 3.3V pin which has a 100mA max rating. Code: There are two different demo projects. The first one just jogs the servo back and forth. The second demo uses the potentiometer as input to manually control the position of the servo. A linear servo works just the same as a normal hobby ...
I added a RSS feed so that you can keep up with whatever I am doing. You can also see it linked in the footer. Just follow: https://ericeastwood.com/rss/ If you have any suggestions on how to improve the feed (number of items, descriptions, etc), please feel free to contact me.
Here is a simple guide to get your stepper motors spinning. The video below demos what I made. You can see how everything is set up below that: Watch on YouTube Parts: Teensy 3.0 or 3.1: Substitute your own Arduino/microcontroller Stepper Motors: 1.7A NEMA 17 4-wire Motor Controllers: I used a 3.5A controller with the TB6560 chips Power Supply: 24V 10A (I used a Sopudar SPD-240-24) Wiring Diagram / Schematic: Code (.ino, arduino code): const int stepperX_pul = 0; const int stepperX_dir = 1; const int stepperY_pul = 2; const int stepperY_dir = 3; int microstep_count = 0; void setup() { // Set up the x axis pinMode(stepperX_pul, OUTPUT); pinMode(stepperX_dir, OUTPUT); // Set up the y axis pinMode(stepperY_pul, OUTPUT); pinMode(stepperY_dir, ...
Just finished the classic tennis game Pong for my Basys 2 FPGA. The project is written in VHDL and is played on a VGA monitor. Built from scratch. You can see a video of it in action at the bottom of this article. Features: Multiplayer: Battle against your friend Play against the AI. Or AI vs AI battles Score Keeping Hidden Mode / Easter Egg Source: Just visit the Github Repo. Controls: Action Control Player Left/1 Paddle movement btn2 and btn3 Player Right/2 Paddle movement btn0 and btn1 Reset switch0 Player Left/1 AI Enable switch7 Player Right/2 AI Enable switch6 Technology: Here just a list of things implemented in this design Collision Detection and Resolution VGA Output, game video Text ...
Go straight to the VGA Simulator About The VGA Simulator is a web based tool to easily view a raw VGA signal without having to hook it up to an actual CRT monitor. Easily review and save any frames generated. It uses horizontal sync, vertical sync, and red, green, blue to recreate pixel perfect frames. The image below is a scaled down version of the real thing so mind the blurryness: The purpose of this tool was to create a faster way to debug FPGA/VHDL projects that utilize VGA. The problem is that synthesizing and generating a bit-file takes too long with Xilinx mainly because it only utilizes a single core. Although we have Simulators such as Isim to debug ...
Update (2013-12-11): I decided to use JavaScript and the HTML5 <canvas>. You can see the project I made here: VGA Simulator I decided to post up this simple script that generates an animated (scrolls horizontally) sine wave. I built both versions because I need to use a canvas and some bare-bone pixel manipulation for a future project and want to find the best solution. The first one is made with pygame, which runs smooth and is straight forward efficient. The second version made with tkinter is slow and laggy. I even had to batch edit pixels which does not help much. Both of them function exactly the same but the tkinter version is just not as fast. Version made with ...
If you are running into the following error (Adept, or other programmer), here is how to fix it in Xilinx. I came across this issue when using my Basys 2 and trying to load a bit file with Digilent's Adept programmer. It is only a compatibility issue with the bit file and FPGA board. Startup clock for this file is'CCLK' instead of 'JTAG CLK'. Problems will likely occur. Associate config file with device anyway? In the Processes pane, select Generate Programming File Then go to Process -> Process Properties -> Startup Options -> FPGA Start-Up Clock and change it to JTAG CLK. Click, OK. Then re-generate the programming file and program your board.
Coherent UI developed by Coherent Labs is a fully featured GUI system for any Unity (or .NET) game that utilizes the power of HTML, CSS, and Javascript. Use any bleeding edge HTML5, CSS3 features that run on webkit and any javascript libraries you need. It is literally as easy as making a web page on Chrome. It also utilizes the webkit debugger (just like chrome) so it is easy find the root cause of any problem. Watch on YouTube The video (see video description for timestamps) explains the whole process but here are some nice references. Notes: Only works with Unity Pro This is because Coherent UI is a Plugin which means it is written in native code (C, C++, ...