BuildLog.Net - Document your builds!


Buildlog Title: XMOS Controller

newest first oldest first
Builder: bdring
Member Since: 2009-11-22
reader comment Comment from: cvoinescu on Monday, April 6th 2015 - 2:19 PM
doxter14 wrote:Hi bdring, after I replied on your another post I found this topic with your program for engraving. This program can access serial port, can you share this program source code ? thank you.

I'm not sure you noticed, but this thread is more than five years old. Your only other post to date also responds to a thread from 2009, resurrected briefly more than year ago, and with no response at that time either. Don't feel bad if you get no response here either -- it's rare that people reply to posts on such old threads (mostly because posting on old threads is a thing spammers do).
reader comment Comment from: doxter14 on Wednesday, March 25th 2015 - 2:18 PM
bdring wrote:I added code for the Z-axis. It only took me about an hour to code both the XMOS and the PC side and test it all. I didn't need the Z-Axis during development, but now that I am doing a lot more engravings, I wanted to have it. Here is the latest interface.
.
xmos_rev_0_6_1.JPG


Hi bdring, after I replied on your another post I found this topic with your program for engraving. This program can access serial port, can you share this program source code ? thank you.
reader comment Comment from: lasersafe1 on Tuesday, March 2nd 2010 - 5:44 PM
:P :D :D :D Congratulations !!! You derserve it!! :D :D :D :P

Tuesday, March 2nd 2010 - 3:27 PM

XCore_ProjectOfTheMonth.jpg
XCore_ProjectOfTheMonth.jpg (4.78 KiB) Viewed 50697 times

.
My engraving controller won the XMOS "Project Of The Month"! The prize is a XK1 development kit. I already have one, but since these controllers are multi-threaded, you can just plug them together and add more processing power.

I have been on vacation, so I have not gotten anything done on this for a while, but the new PCB is in layout and should be on order soon.

add commentadd comment in the forum

Monday, February 22nd 2010 - 7:08 PM

:x
I found out there is an error in the XMOS datasheet that says the chip I am using is 5V compatible. I hope I did not damage any of my parts.

This changes the PCB, which was almost ready to order. This is going to set me back about a week. :x

add commentadd comment in the forum

Monday, February 15th 2010 - 2:21 AM

Here is my basic layout of the shield. The shield is just a temporary board that will be very easy to assembly and allow me to continue testing. Only two surface mount parts need to be assembled. They are 24 pin SOICs which are fairly easy to solder. Eventually I might make a single board solution.

The Sparkfun board is on the bottom in red and my shield is above in green. It is quite small at about 2" x 3". I may order a single board from Sparkfun's Batch PCB for about $20. Or I can get about 14 of them fromGold Phoenix for about $90. The problem with the shield is you need a $50 Sparkfun board to use it.
.
shield_assy_1.png

.
xmos_plus_shield.pdf
3D PDF - Just for fun
(3.95 MiB) Downloaded 3064 times

add commentadd comment in the forum

Monday, February 15th 2010 - 1:21 AM

I did a little bit of testing with the Sparkfun board that I will use as a base board for my CNC shield.


Here is a picture of my temporary scatter wire version of the setup. The little green card is a 3.3V-5V translator. Everything seem to be working perfectly. I am going to start the shield card layout this week.
.
sfe_testing.jpg

add commentadd comment in the forum

Friday, February 12th 2010 - 7:34 PM

The Sparkfun XMOS came today. I'll do a little testing and then layout the shield.
.
sf_xmos.jpg

add commentadd comment in the forum

Saturday, February 6th 2010 - 11:17 PM

The source code for the XMOS firmware is located on Github at this URL

http://github.com/bdring/XMOS_ctrl/

logov3.png
logov3.png (4.98 KiB) Viewed 50998 times


This is my first GitHub project, so I am not real sure how to work with others on this yet.

add commentadd comment in the forum

Saturday, February 6th 2010 - 11:07 PM

Here is the current version of the CNC Shield for the Sparkfun XMOS Development board. I am going to have a few people review it before I buy it. I have the Sparkfun board on order and I will do so basic testing with it before I order too. The image below is not very useful. Use the PDF attachment. I just like to have a visual cue on each post so I can find stuff quickly.

Initially the code will be for engraving only. If you want to do G-Code cutting you will use your normal Mach3/EMC parallel port method. This board will connect in between the PC and CNC machine on the parallel port. This will allow you to use it in either mode without any wiring changes.

Basically it will operate in these modes.
xmos_shield.PNG


Edit: made a change to the schematic. Had some voltages wrong on the voltage translators.
Attachements...
xmos_shield_rev_2.pdf
Shield Schematic Rev 2
(103.91 KiB) Downloaded 3065 times

add commentadd comment in the forum

Saturday, February 6th 2010 - 7:13 PM

I added code for the Z-axis. It only took me about an hour to code both the XMOS and the PC side and test it all. I didn't need the Z-Axis during development, but now that I am doing a lot more engravings, I wanted to have it. Here is the latest interface.
.
xmos_rev_0_6_1.JPG

add commentadd comment in the forum

Wednesday, February 3rd 2010 - 3:55 AM

I am going to start tracking the progress on my XMOS controller via the buildlog system.

I added a laser pulse feature. I used this as an aiming feature on a recent engrave. I had a piece of paper taped to the bed. I ran the head to the four corners of the work piece and pulsed the laser. I then had four dots on the paper and was able to align the work piece perfectly.

laser_pulse.JPG
laser_pulse.JPG (8.35 KiB) Viewed 51044 times


I have been working on a schematic for a shield. I was thinking about using the Sparkfun board, but Folknology offered to donate an Amino board to my project.
.
amino_sneakpeak.png
amino_sneakpeak.png (54.84 KiB) Viewed 51058 times

add commentadd comment in the forum

About Us | Contact | ©2010 BuildLog.Net