- 161
- 116 479
Jyrki Koivisto
Finland
Приєднався 22 кві 2011
Soldering new chips to A500 rev. 6 (1Mb of chip ram total)
Adding 512k worth of dram to rev.6 A500 board (no jumper settings shown)
Переглядів: 205
Відео
Actually running Pace constraint editor on Linux!
Переглядів 813 роки тому
Managed to run Pace constraint editor on Fedora 35!!! Changed pace_old into script #! /bin/sh xhost SI:localuser:root sudo rpcbind xhost -SI:localuser:root /home/jynkky/xilinx/14.7/ISE_DS/ISE/bin/lin/pace_old.bin Installed motif providing libXm Installed libnsl Installed 75dpi and 100dpi xorg-fonts from Fedora33 koji.fedoraproject.org/koji/buildinfo?buildID=1805416 Installed old libstd www.rpmf...
Xilinx/Digilent clone DLC9LP platform cable on Fedora 35
Переглядів 1,1 тис.3 роки тому
I installed ISE14.7 to my home directory ($HOME/xilinx) the windriver cable installation failed (much too new kernel, I think it maxes out at Linux 2.5 or 2.6, my Fedora35 has 5.15.7-200.fc35.x86_64) Had to install ncurses-compat-libs before the ISE installation could proceed (sudo dnf install ncurses-compat-libs) also I installed the kernel-devel (sudo dnf install kernel-devel) I ran Digilent ...
circle line collision and line dissecting algorithm
Переглядів 1653 роки тому
2D circle line collision and dissecting of the line into smaller pieces (two, one or none) github.com/Dzy/CodingMath/tree/master/episode33_line_circle
stm32h7 1024x768@75Hz
Переглядів 4393 роки тому
Now on GitHub, github.com/Dzy/stm32h7-hdmi U-Boot init code works a treat for setting the TDA9983B HDMI/DVI chip. (well not really, image skips every other pixel... :( ) stm32h7 1024x768@75Hz
It's ALIVE!
Переглядів 3793 роки тому
STM32H7 running at 480MHz with 32-bit SDRAM interface and outputting HDMI video signal Link to the EasyEDA project: easyeda.com/jyrki.j.koivisto19/stm32f7_copy_copy_copy_copy_copy
ACPL C790
Переглядів 1313 роки тому
Bipolar high voltage capable front end for microcontroller. ACPL-C790 can take differential input of -200mV and output differential signal (around 1.25V and 2.5V or so...). For better conversion the Bluepill ADC should really have analog reference voltage of 2.5V, ADC reference voltage is tied to 3.3V on that board.
STM32H743 PCB order
Переглядів 1503 роки тому
STM32H743 with DVI(along with I2S sound)/HDMI transmitter and a USB Type A connector, also 32-bit SDRAM Let's see if it works when the PCB arrives...
Exercise in futility (OpenGL cube shader of some sort...) Viewcube...
Переглядів 1264 роки тому
Exercise in futility (OpenGL cube shader of some sort...) Viewcube...
fstl fork for yet another clone project...
Переглядів 724 роки тому
fstl fork for yet another clone project...
STM32H7 Utah teapot (USB mouse HID control)
Переглядів 3884 роки тому
STM32H7 Utah teapot (USB mouse HID control)
jlcpcb 4-layer VGA interface (GM7123). 18-bit colour with L8 CLUT. External precise 8MHz oscillator.
Переглядів 3014 роки тому
jlcpcb 4-layer VGA interface (GM7123). 18-bit colour with L8 CLUT. External precise 8MHz oscillator.
TMS9995 Heidenhain TNC155A CLP debugger
Переглядів 3195 років тому
TMS9995 Heidenhain TNC155A CLP debugger
stm32h7 with 32-bit sdram interface (256 MBit)
Переглядів 2,1 тис.5 років тому
stm32h7 with 32-bit sdram interface (256 MBit)
Does this have a manufacturer name on it? Mine is identical, the warning plate in this video confirms it, but no makers name on mine to be seen. Thanks 👍
What's the name of mod music?
Good job! Luckily for you Vsync signal is around 60Hz. So finding LCD which accepts that frequency is relatively easy. In my case (CNC Selca S1200) Vsync signal is 53Hz and there are only few modern LCDs that work with it. I found only 2 types: Dell R2212H and Dell E2016H. Only thing I needed to do was inverting hsync and vsync signals
Nice!
Hello! Could you share the VHDL code? For learning purposes... Thanks!
Sorry for the very late response... It seems I've lost that exact source but I found something similar. I did not test it but I think it works. www.dropbox.com/scl/fi/8zt6esbqo1hclja5lmink/Mojo_fpga_lcd.zip?rlkey=jpa7u350b9p216mdcm4863q18&dl=0
Panel that works with the given vhdl code is LP121X05 (1024x768) just tested it
I need your help, on my tnc-155 machine, it can hold a maximum of 1000 blocks per program but I wanted to add more, is it possible? I have 3000 thousand blocks of space but it doesn't all fit in the same How you do external feed (reading unlimited blocks) on pc Help
You need to setup certain parameters in the tnc and you will need serial cable that uses +-12v. Download this TNCRemo www.heidenhain.us/resources-and-news/heidenhains-tncremo-pc-software-now-available-online-download/ and use that on your PC
Here is my machine parameters. Parameters that you should look and compare to yours are somewhere from MP218 onwards. www.dropbox.com/scl/fi/xwa7xqv9aun5lxvd89g27/mp_9_marraskuuta_2017.h?rlkey=wa3xzc1089mp93se4uckhpnxm&dl=0 product.heidenhain.de/JPBC/image/HWP.EN/hlr-system/605133_00_a_02.pdf
I need your help, on my tnc-155 machine, it can hold a maximum of 1000 blocks per program but I wanted to add more, is it possible? I have 3000 thousand blocks of space but it doesn't all fit in the same And how you do external Feed to unlimited blocks Thanks
How do you enter backless settings hedinain tnc 151controll please
Oh wow, this is exactly what I'm searching for. How have you done it? How is the Pinout on the Plug? What Signal is used? Is it TTL 5V?
This project has been on the backburner for a while now. Had to read a few badly scanned documents from Heidenhain to reverse engineer this thing. From the documents it was clear that only two signals were used, one input and one output and that the signal was serial transmission. I then read the eprom from the gfx board and disassembled the code (tms9995 cpu) gfx board is used to read the MPG. Serial transmission is old style +-12v, hence the serial driver chip. For the Heidenhain protocol I know enough to make it move but looking at the disassembly from the Heidnehain controller it seems there is a lot more to find out.
I got a good deal on eBay for HE-310 and sniffed the protocol. The HE-310 responds to the DTR signal with this message "0h5_ 0hXX 0hXX 0hYY 0hYY 0hZZ 0hZZ 0hIV 0hIV" _=0 nothing selected, _=1 x-axis, _=2 y-axis, _=4 z-axis and _=8 iv-axis. Y and Z are mutually exclusive as are X and IV (they all still move with 0h5f as shown on the video but the selected axes are not shown correctly on TNC display) HE-310 supervises the MPG and if problems are shown then "0hA_ 0h00 0h00 0h00 0h00 0h00 0h00 0h00 0h00" message is sent resulting in emergency stop and axis fault displayed. The MPG keeps track on the selected axis and lights the axis indicator led on its own as does the TNC. "0h51" selects the X-axis and the led lights up on HE-310 and on the TNC display, "0h58" selects the IV-axis and lights up the led on HE-310 and on the TNC, plus it turns off X-axis led on the HE-310, etc.
Could you please share us your code?
I would if I still had it... It's lost to the bitiverse forever.
Nice. But it is not entirely clear what this is. Myself, I have been considering soldering a USB-TTL directly onto the mainboard V24 chip, bypassing lots of error sources, so I can properly run it at 9600 (running at 2400, using a USB to drip feed box at the moment) Is this something similar to that direct USB soldering?
I never followed through with this project. I wanted a usb port for my TNC, the protocol to send or drip feed is very simple. I have some other youtube video where I send error messages to TNC. This would be easily doable but I'm satisfied with my current setup drip feeding. My CNC mill has never ran out of code to execute so the serial speed is more than acceptable.
@@JyrkiKoivisto Yeah, but at anything above 2400, I sometimes get a broken block-line and the process halts. And I worry I may also get a line that appears correct, is accepted, bus actually has wrong data. And below 2400 baud it is getting slow. But I agree, at 2400 it is just about fast enough, and I seem to get exactly no errors, so I will probably also not actually do anything drastic like opening the TNC155 again.
can u gif the driver
The driver for the cable is inside the ISE installation
/home/xilinx/14.7/ISE_DS/Ise/bin/lin64/digilent It was staring right at me, did not see it and said "don't know where it is"
But your Bridgeport/TNC has no absolute positioning on the rotation. How would you ensure the relative position does does not move after chip breaking?Did this actually work?
I didn't test it for real for the reasons you listed.
Do you have any information available that share, I am looking for a way to use usb-memory to a TNC155Q controller.
It should be pretty easy to make. The protocol it uses is somewhat documented.
Moro. Olisiko sinulla kiinnostusta auttaa, että eräs vanha koneistaja saisi TNC 145:een suomenkielisen tai englanninkielisen näyttökielen? Nyt on saksaksi.
Sori myöhänen vastaus. En ole vaihdellut kieliä omissa ohjaimissa. En ole varma vaatiiko kielirommin vai meneekö parametri muutoksella.
@@JyrkiKoivisto Ei hätää. Toinen kysymys, että saako tuohon TNC 145:een syötettyä muuten työstöohjelmaa sisään kuin magneettinauhavehkeellä?
Se magneettinauhavehe puskee ohjelman sarjaporttiin eli saat siihen PC:n kiinni ja Heidenhainilta semmoinen ohjelma kuin TNCremo (www.heidenhain.com/service/downloads/software) Sarjaportti pitää olla +-12voltin eli oikein vanhan ajan mukainen. Ite käytän USB sarjaportti palikkaa mutta se palikka on semmoinen mikä on +-12voltin..
@@JyrkiKoivisto Loistavaa. Pitääpä alkaa perehtyä asiaan. Olisiko antaa vinkkiä, miten myös minä voisin käyttää sopivaa USB-palikkaa, koska työstökone on toisella paikkakunnalla? Ja saako kysyä, missä sinä itse vaikutat? Me tuttavan kanssa touhutaan Pirkanmaalla. Kiitos oikein paljon.
Hello, first of all congratulations for the content you are sharing, I have been able to see many things and learn from them. THANK YOU !! I just got a Kondia K600 machine with TNC155 control, I'm not a professional, it's a hobby and I'm fixing it and starting it up and one of the things I'm stuck with is that I can't load programs of more than 1000 lines... you could you help me ? I have seen in some video that there is a way to have a computer connected and run... but I don't like this option very much... would there be any possibility of expanding the RAM capacity?
Hi and sorry for the late response. I've read from some Heidenhain TNC1xx PDF manuals that the controller checks the available memory, but I'm uncertain that it could be upgraded (hard coded limit of 1000 lines per NC-program). On my spare TNC151 there are a lot of unpopulated ram "sockets" on the ram board, not sure what would happen if I populate them and add the companion TTL-logic to it. I use my TNC155 in dripfeed mode (no limit on how many lines of code) and I quite like it. I make my programs with altered Fusion360 post processor and use TNCCremo to send the file to the controller. It all works well enough for me. Once I made my NC-program on my main machine and saved it on a bad USB drive... Emergency stop was quickly pressed as the TNCCremo pushed some bad bytes through serial and TNC155 did not check the sanity of the code... Now I use the TNCCRemo directly and save my NC-programs to the same machine that is connected to TNC155.
I have bought some suitable RAM's from Aliexpress but at this point I have not tried to populate my spare TNC151 with more ram. There needs to be some more glue logic to handle it.
What the Fusion360 post processor likes to do is to make everything a tiny linear movement. That eats up quickly the program memory (1000 lines) No problem if one uses the drip feed but those kind of programs don't fit in the memory of TNC1xx controllers. Also tiny movements make the mill feel sluggish, which it isn't.
I have this ever going project going on to reverse engineer the whole TNC1xx controller and replace everything as a drop in replacement with modern components and a lot, a lot more computing power, but it all takes time as a one man show.😬
@@JyrkiKoivisto hank you very much for your answers!! It is a pleasure to contact someone who wants to help !! :-) Right now I'm postprocessing with Fusion360, and I've adapted the postprocessor to my Kondia milling machine from 1986, I use it as a hobby... I'm not a professional, I've had to do a lot of fixes and study manuals to get it up and running. . I also use the drip with the TNCRemo but that forces me to have a computer connected... I've seen your videos and they're amazing!! congratulations on the job. I don't know how to write you an email and thus avoid filling this video with comments...
can u share the code sample
I don't have the source code anymore.
Can you give me algorithm of this control ?
Thanks
if you don't mind can you please share this code
hello, how to convert ttl to 11uApp. linear indicator ruler heidenhain ls 603, for use with DRO lcd digital ttl signal
Easy way would be to buy Heidenhain exe box. They are a bit expensive though. Another way would be to design a PCB board around iC-NV chip from iC-Haus.
Very helpful video! Do you know if this modification will also work with the TNC355 controller and will allow you to replace the BE412 monitor? I found oscillograms in the documentation for TNC355, but I can't find them for TNC155 and can't compare. I'm asking because I made this modification, but unfortunately it doesn't work. I don't know if the problem may lie in the differences between the controllers, or if I made a mistake during assembly.
Hi I think its the different on the 355. Its MDA standard I believe. ;et me know if you find a solution as I m looking for one as well.
@@oly463 Unfortunately, this solution did not work for me. I was looking for a replacement for the original monitor due to the lack of a picture, but it turned out that the problem was not the monitor, but the damaged power supply in the controller. After repairing it, I checked the operation of the converter with the LCD monitor, but when it turned out that it did not work, and there were no problems with the old monitor, I did not make any further attempts.
@@taboret154Hi, do you have a tnc335 post processor?? I really need
@@speedhuntersrb hi for what cam i have one for fusion 360 and im currently working on solidwoks cam
cmsis?
Drivers are the stm hal ones, 3d is from dsp3d
How do you enter tool table on this controller?
Seuraavaks sit, running ELY cathodes stripping fix process automation trend for stripped cathodes and equipment on linux hardware!
Great thanks it work fine, I do it for Kondia K76 machine, I use a HP pavilion F1523 display and follow exactly your instructions. Thanks again.
This is very nice and the music suits it perfectly.
The new board will not have this TDA9983B hdmi/dvi chip, I'll base the video output on EP952 chip instead. It's used in this board os.mbed.com/platforms/Renesas-GR-MANGO Found really nice and clean driver code for the said chip also or at least I'm hoping it's good enough.
For the datasheets of said ep952 chip all one needed to do is to ask for them from the manufacturer :) I have now full datasheet set for it including reference design.
Sound is 48kHz stereo (16-bit+16bit) via I2S to the TDA9983B. Resolution on this screen should be 1280x1024 but for some reason every other pixel is skipped by the TDA9983B. I have set some extra pixels on the "," character to debug...
Sound is also working on this board via the hdmi. Setting up the TDA9983B is difficult, now the image skips every other pixel... :(
Hello friend, could you provide me with the connection diagram of this encoder, I'm looking for a long time but I can't find any information about it, I'll be very grateful. Thanks.
www.mycncuk.com/attachment.php?attachmentid=6205&d=1340922165
I managed to read the displays EDID information so the connection to displays DDC also work (via the TDA9983B chip). What bothers me is that at the moment I can't set the pixel clock to 40MHz without there being artifacts on blue colour (I can set it a bit shy of 40MHz and I can then use 800x600 resolution). Not sure if it cause of bad routing for the blue signal or what I really am hoping for is that I don't yet understand how to set the TDA9983B correctly, which I don't... USB is also working on this board along with it's high side switch to prevent short circuit conditions (tweezers across usb 5.0v and ground -> no short circuit as the cpu kept on going and did not reset but the usb 5.0 volts was dropped as per spec of the high side protection switch IC)
Cool!! what are you planning to do with it ?
Some sort of CNC controller for my Bridgeport mill
Hello, how can I contact you about the TNC155A and MM74HC14M circuit, to which pins did you solder? which contacts go where. Do you have mail where you can write? @
Sorry for the very late response, I'm in the middle of some house renovation and I also hurt my leg at work. If you can find some local TV-repairman or some local electronic hobbyist then I'm sure they can provide some answers far more quicker than I at the moment. I'll probably put out a more detailed video about the interface at some point in the future.
Hello, how can I contact you about the TNC155A and MM74HC14M circuit, to which pins did you solder? which contacts go where. Do you have mail where you can write? @
Yup a handy chip for sure.
Hey, i really like your videos. I am currently trying to fix Heidenhain Rod 250 encoder(dead light bulb), can you share any guidelines how to align everything. Any kind of help is welcome.
You most preferably would need an oscilloscope. Not sure how how many lines your Rod 250 has, less lines and it gets easier. But if it has many thousands then you really need an oscilloscope.
@@JyrkiKoivisto Thanks for replay, my Rod have 18 000 lines. I am using oscilloscope, i will need two of them for four signals. What is a purpose of five little screws around grating glass, as i understood they are covering light sensors but i dont see any impact on signal.
Hey youtube, give this man more views!
Well, here's a source. Not to this benchmark app but to a newer LVGL repo implementation. github.com/Dzy/stm32h7-lvgl.git This one uses double buffering and the HID mouse is not implemented in the main while busy loop.
Very nice job! You are amazing! My only question is, can i change the resistor values to have the selected row brighter? On the original monitor are two knobs, one for overall intensity, the another one for darken everything, exept the selected row.
Sorry for very late response. You could try and tweak the resistor values to your liking (within reason of course) en.wikipedia.org/wiki/Resistor_ladder If you want the text to be darker than the selected background then a bit more logic gates are needed. I made one version where the colours were selectable (RGB) based upon the 2-bit video signal (colour 0 has to bee black) but it was a bit more complex than this one, not much tough.
Thanks for your response! I looking after it. Keep up the good work!
Do you use Linux frame buffer directly? I tried implementation use SDL library: ua-cam.com/video/wEsPvbL4dT8/v-deo.html
It's baremetal, no Linux.
@@JyrkiKoivisto oh, really? Can you share the source code? Why did you choose don't use a Linux image?
@@jonathangonzaga95 There is no reason to use Linux. From boot to a running state is almost instant. I also like bare metal programming... :)
@@JyrkiKoivisto can you share the source code or a link to understand better?
Simply genial! Only thing i not understand, why do you have only 274 subscribers? UA-cam algorythm shoud recommend your videos, instead of that many trash! Keep going, you are very talented!
Nice job! Its good that tncserver is around.
Nice job! Keep up the good work! The original is simply overpriced, i have hr 250, and i dont know why it is so overcomplicated, with its optical encoder and serial communication, etc... not even speed controll on it...
How to convert digital signal to analog for TNC 155 b q
you could try to convert the signal to 11uApp signal or just bypass the analog front end entirely. From the analog encoder board there are digital TTL signals coming out and they are normal digital TTL quadrature signals, A, B and I. It's a bit more complicated than that as the analog encoders are checked, I assume that there is some circuitry that checks the level of the I signal, index that is. "Encoder error" comes out if the I signal's level is not correct. The analog encoder signal rides on top of half the +15v reference signal and it's level is being supervised. Then there is the CRU-bus to MCU and it tells the CPU if the encoder is considered bad based upon the I-signal... I haven't checked any further on that, I would need to see the TTL-encoder board as these are just assumptions.
For converting the digital signals to analog I've amused myself considering to use an FPGA digital to analog circuitry. Some buffer circuitry to the FPGA from the encoder and then a simple table list to make the signal an analog one with led's and photo sensors... It's a bit more difficult than that as the relation between the A and B signal is lost regarding the I signal... I signal is used to find the reference point of the table along with a simple switch mounted on the table.
Please sending me a video encoder setting
I'm sorry, I have nothing of the sort available. There are timing diagrams from Heidenhain regarding when the I (index) signal should appear regarding the A an B signals (and its magnitude and form). A and B signals should form a circle when viewed with an oscilloscope and some current to voltage circuitry.
How did you do the differential signaling ?
What is the price of this machine and where I can get this ???
Is it possible to buy this?
Hi, nice project, is it actual? Where can i get more information? diagram or something. Thanks a lot.
I never finished this one. Protocol is pretty simple to talk to the TNC cnc controller. This just outputs "HELLO, WWW.CNC-TEKNIIKKA.COM!" as an error message to the TNC for every program query.
@@JyrkiKoivisto Have you done more to this project? I am helping a friend to start up an old mill and looking for a way to simplify program loading. This looks very promising! Or can you point me to more information?
Hey dude any chance of you providing the driver code?