Hi Kbird, this picture is little confusing for users because SPI-MISO for shift registers is not the same MISO that you can use for TLE5011. I think this is your problem. So SCK is the same for TLE5011 and for 4021 but MISO for 4021 connect to another free digital pin at arduino and set it to MMJoy2. There are two items for shift registers: 1-CS and 2-DATA so both pins must be only for shift registers, DATA is MISO from your picture.
About the LED for indication, Sokol1 gave you advice about using switch with 2 rows of pins, he is right. You can use green LED for 1 position and red LED for other but do not forget resistors for limiting current.
Bye
Inline advert (2nd and 3rd post)
#4347381 - 03/28/1704:14 AMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: erichos]
Hi Kbird, this picture is little confusing for users because SPI-MISO for shift registers is not the same MISO that you can use for TLE5011. I think this is your problem. So SCK is the same for TLE5011 and for 4021 but MISO for 4021 connect to another free digital pin at arduino and set it to MMJoy2. There are two items for shift registers: 1-CS and 2-DATA so both pins must be only for shift registers, DATA is MISO from your picture.
About the LED for indication, Sokol1 gave you advice about using switch with 2 rows of pins, he is right. You can use green LED for 1 position and red LED for other but do not forget resistors for limiting current.
Bye
Thanks again Erichos .... You are right..... I moved the Handle Shift Register Yellow wire to a digital Pin (E6 / Pin7 in my case) and assigned the Pin in the SR-DATA drop down and now everything is working
Glad you are here on the Forum or my FLCS-TQS USB Conversion would of been a Bust , I'm nearly there..... AliExpress returned my money on an Order of ProMicros which was ordered 2 months ago and still hasn't shown up , so I have ended up using some Leonardo Clones that had bad soldering on the Headers (and are being replaced by the Vendor) by removing the Headers and 2.1mm power outlet ( not needed , power by USB) ) so it will fit in the FLCS Base by using right angle headers instead.
Erichos and KBird - Would you expand a bit on this SPI discussion you're having. I've never spent any time working with SPI. What is the interference between the TLE and the Shift Register? I understand the idea that you need to move to non-overlapping pins... but what kind of information are you moving and why can't you overlap MISO like you can the clock signal?
#4347548 - 03/29/1701:49 AMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Hi Solder , I will have to let Erichos elaborate for you ...good question, but you already know my Electronics Noobness so I can't help you much , but the TLE 5010 signals were swamping or obliterating the Handle SR Data somehow.
Czary
Junior Member
Joined: Aug 2002
Posts: 46
Lodz, PL
Hello, mega_mozg. Have you worked on supporting load cell with amplifier setup yet ? As far as I remember you were expecting to recieve some sample load cell and amp unit... My research finds that it's best to use INA122 based amplifier which sends analog input as potentiometer. If you find it interesting to work on load cell support, I'd be happy to help you with hardware.
#4348216 - 04/01/1712:42 AMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Sokol1]
Joined: Sep 2014 Posts: 33SolderMonkey
Junior Member
Barra - Looks great and I appreciate it! Your solder blob traces look a lot like mine. Makes me wonder if there is a better way to do fast, cheap one of a kind perfboards without using chemicals. Wire wrap gear maybe?
Barra - Looks great and I appreciate it! Your solder blob traces look a lot like mine. Makes me wonder if there is a better way to do fast, cheap one of a kind perfboards without using chemicals. Wire wrap gear maybe?
Yeah never done much soldering. Not heard of Wire Wrap. Cheers
#4348318 - 04/01/1702:26 PMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Barra]
looks like the inside of my TQS at the moment but ain't that what Bread-Boards are for ? at least that is how I work most stuff out 1st....
Does anyone know what Resistors Mega-Mozg used in his 74HC165 Shift Register Board PCB design ? I think I see R10K SMD1206 on the Pic?
Sprint6 Demo doesn't let you Print the layout ,so what software are people using to print out the PCB layouts? I thought I'd try it since I now have a cheap Laser Printer (Pantum 2500W) but maybe some protoboard will work fine , it will just be bigger I think.
That is a nice tidy example , I should of used Alumium L Angle to mount my TLE 5010 Boards instead looking at that , but it did not occur to me....
KB.
Yep I agree Kbird.
That Wire Wrap is interesting Sokol. Not sure if I could keep track of all those wires in example
Kbird what axes did you use the TLE5010 on?
I have the TLE5010's on my FLCS/X-Fighter X and Y axis's ---- I married my FLCS handle to my X-Fighter Base and Gimbal as it is stiffer and more to my taste , and added a few extra buttons salvaged from the X-Fighter Handle via a small protoboard PCB I made and mounted (included Arduino Reset button) and keep the FLCS Pots installed too, with them mounted on the side of the FLCS Base with a couple of large knobs. In the pic you can see the 1.5mm (1/16th) hole so I can use a paperclip to reset the Arduino should I need to load a new MMJoy2 Firmware without opening the FLCS again.
Nice Kbird. Do you know what the measurements are of the board with TLE5010 on it (without opening the controller again - rough will do)? I see where you got it via Ali Express.
Last edited by Barra; 04/02/1701:42 AM.
#4348481 - 04/02/1703:52 AMRe: MMJoy/MMjoy2 - Build your own USB controller
[Re: Barra]
Nice Kbird. Do you know what the measurements are of the board with TLE5010 on it (without opening the controller again - rough will do)? I see where you got it via Ali Express.
No problem actually as I ordered 4 ..... they are 50mm x 12.5 mm or 2" x 1/2" wide
Mine came with slots for the screws, they are about 12mm but some come with 3 separate holes apparently , see the photos earlier in the thread about page 118-120 I think?
I can add more photos if you need them , just let me know...