Jump to content
43oh

timotet

Members
  • Content Count

    223
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by timotet

  1. @@lawrence_jeff, @@Rhys

     

    Hi guys and thanks for your work here. I know this is an old thread, but I've got a couple of question's and maybe you have the answers.

    I've used the supplied code for building an arcade control encoder for a raspberry pie arcade cabinet. The controls consist of

    2 classic arcade style joysticks and 14 buttons, 1 joystick and 7 buttons for each player. I've written the device report descriptor to send 2

    report ID's 1 for each player. When I plug the encoder into a windows machine it enumerates as a game pad with 2 controllers

    and everything works as expected. When I plug it into any of my linux machines including the rpi, the encoder enumerates and

    everything works except for the x- , y- axis values. My first question do you have any idea what values are expected for the -x, -y?

    In the device descriptor I've set logical minimum to -1, logical maximum to 1. I've set up my descriptor just like the example in the USB spec.

    Also did either of you use the gamepads discussed above in a linux based system?

     

    post-36-0-29026500-1485803065_thumb.jpgpost-36-0-72850500-1485803165_thumb.jpg

     

    This is so close!

    I am using the Stellaris Launchpad for this.

    Any ideas are much appreciated.

    thanks

    Tim

     

     

  2. This looks awesome @@terjeio. I really like diy CNC machines and would like to see your machine.

    I've machined a couple of 2 sided pcb's and had good luck re-aligning the 2nd side.

    When I layout the pcb I put in mounting holes for a small fixture I made. Then I bolt the pcb

    to the fixture run the 1st side, pull the fixture out flip the boad and reload the fixture. It works

    pretty well.

    post-36-0-65198800-1440867576_thumb.jpg

    1st side

    post-36-0-57292500-1440867606_thumb.jpg

    2nd side through holes line up pretty well!

    post-36-0-51827800-1440867637_thumb.jpg

    finished!

    post-36-0-52180500-1440867822_thumb.jpg

    heres a shot of my robot

    thanks for posting your project, you've got me thinking about putting a laser on my printer.

  3. Yea the Toyoda is an awesome machine and I wish it was mine. It's a pleasure to run it.

    It would not be effective as a laser cutter, and your right it wont corner that fast but, its amazing the

    speed at which some of , most of the newer large CNC's move and corner at.

  4. Oh Yes!

     

    We may have something in common there, machining metal while listening to metal!

     

     

    The laser cutter is a new wrinkle.  It might be preferable to the mill for cutting shapes out of metal sheet, which can be a big part of antenna prototyping.

    That would be great if the laser could handle it.

  5. Thanks for your opinion @@Fred!

     

    Here are a few more points to consider:

     

    Every industrial cnc I've seen seems to have ball screws, they are fast, and rigid.

    The Toyoda FA400 in the shop I work at rapids at about 2300 inch's per minute(59 MPM).

    This machine will easily take a .5" deep pass with a 1" cutter at 100 inchs a minute through

    7075 aluminum all day long. I think that qualifies as rigid.

     

    Yes I know this example is not a good comparison to a small desktop machine, but just from

    the video and what the guy says in the video it would appear the ball screws are of good quality.

    You can also see in the video the round bearing rods seem pretty beefy.

     

    Yes it seems a laser would not need Z travel but...

    If you wanted to put a laser on your mill you could adjust your Z to focus the beam.

    As far as speed goes it all depends on the stepper drivers, the software running them,

    and if they have tuned the acceleration values to work with the ball screw.

     

    Why not throw a hot end in there and use it for printing if you could?

    You already have a precision positioning system.

     

    I dont see how the build area on this machine conflicts at all, its a desktop machine.

    I think with that being your end goal a large build area is a moot point.

     

    I also realize its been promised before but this one seems the closest so far.

    The only real con I see is using a router as a spindle, it's just so loud.

     

    I think the machine seems pretty nice, especially if your only going to machine plastic,

    and if in fact you could get 3 for 1 I think its a good bang for your buck.

    I can just about guarantee that this machine will take some fine tuning.

    I have yet to see one that doesnt. But once you get it dialed in it could be surprising.

    Am I going to put my money on it? No but if I was in the market and had a couple

    grand to throw at it I might consider it.

     

    Just my opinion.

     

  6. Hi @@pallisi,

     

    It sounds like the pin assignments are wrong, Its pretty easy to check though, only 4 pins.

    From the picture on RobG's tindie page it looks like the 4 configurable jumpers are:

    JP1 for the display chip select, you want to jumper that to gpio19 (J2_2) on your c2000 launchpad.

    JP2 for for the D/C select, you want to jumper that to gpio12 (J2_3) on your c2000 launchpad.

    JP3 is for the backlight, It looks like that could go to either J1_8, or J1_10 on the c2000 launchpad.

    Both of which are ADC inputs , but they can be configured as gpio. Thats not in the code I sent you though.

    You may want to jumper it to 3.3v for now. The booster pack I have seems to have the backlight hardwired.

    JP4 is for the SD card chip select, thats for later.

     

    I know the C2000 LP is setup by default to use the BP standard for spi, same as the msp430 and other LPs use that being

    MISO on pin J2_6, MOSI on J2_7, SCLK on J1_7.

     

    When I used the Booster pack on the C2000 I remember having to jumper the CS an DC lines.

     

    Good luck

    Tim

  7. Hi @pallisi,

     

    Nice work on finding the SPI_write8 function.

    I don't know why some of the libraries have it and some don't.

     

    Since you have the V3LCD , you will have to configure it like the V2LCD. Thats the one I have.

    Make sure MISO, MOSI, SCLK, and CE go to the correct pins on the boosterpack. It looks like its configurable with

    solder jumpers on your V3LCD.

     

    Also the lcd controller on the V2LCD is the ILI9225, is yours the same? Or is it the ILI9341? If you have the later

    you will have to grab Rob'Gs library (http://forum.43oh.com/topic/4352-universal-color-lcd-graphics-library-2/#entry39090) and edit in the initialization code for the controller you have.

     

    good luck

    Tim

  8. Hi @@pallisi

     

    Ok I had to look for it. It's been awhile , and looking back the code is a mess. I commented it pretty well though.

    Im not sure which LCD controller you have but the one I have is ILI9225B. So if thats what you have it should work out of the box. The attached project is set up for software chip select, its the same pin as hardware chip select which is noticeably faster. I suggest trying both. You'll just have to comment or uncomment a couple of lines to get it working.

     

    Also if you have the 2.2" lcd with touch I have some code for that too. One thing at a time though.

     

    good luck

    Tim

    C2000_RGlcd_SPI.zip

×
×
  • Create New...