However, as for the title of this post, I am still struggling with a number of TeensyDuino things
1. I can't easily hook a more suitable driver for Hardware Serial 1, because the interrupt...
Type: Posts; User: Strooom
However, as for the title of this post, I am still struggling with a number of TeensyDuino things
1. I can't easily hook a more suitable driver for Hardware Serial 1, because the interrupt...
It's still alive. I was interruped for 9 months due to an unforseen extra project.
But I will resume the development in march 2018..
Current status is :
* hardware (PCB) has been tested and is...
Teensy on Controller PCB, Assembly with (4) Stepper Drivers and (1) Solid State Relay on a 5mm plexiglass baseboard. (400mm x 123mm)
10678
I've found a few problems, such as obstruction of the USB...
Just a quick update of the status : I've made some prototype versions of a PCB so I can move my testing onto real machines :
* 6 motors, 6 peripherals, 12 limit switches and/or buttons.
I will...
Ok, I understand you prefer Proteus, as you have climbed the learning curve... On the other hand I'd like the schematics and layouts to be open hardware. What about Eagle?
I have not done any...
Hey macaba, I think I'm ready for the motherboard design.
What schematics/PCB design software did you intend to use ?
For the fellow CNC-ers that expressed interest in this Teensy based CNC Controller : I have reached the milestone of making stepper motors running, that is :
* Gcode (being received through UART0)...
I can only give some examples :
1. for a CNC controller I've calculated 6 STEP and 6 DIR signals (1 bit each, using PORTC[0..11]) - I want to output them simultaneously, so I use GPIOC_PDOR =...
One question which is related : Why is the vector table always remapped to RAM.
I understand this is needed when you have an OS that wants to run-time change the handler for an interrupt.
But...
In my experiments building with VisualMicro behaves the same as doing it from within Arduino IDE (I reinstalled VM, Arduino and TeensyDuino with recent versions to rule out anything there)
I have no...
I totally agree! Too often I find lots of resistance in this forum for people trying to go back to the basics.
Personally I think if you've come to the Teensy, then that is the more logical thing...
Some final observations for today :-)
I was comparing the assembler output from a working and non-working version.
Seems that in the one which is not working, there is simply no NVIC table,...
Ok,
First I reinstalled the Arduino and TeensyDuino to rule out any corrupt installation setup..
I also verified all experiments below on both the vanilla Arduino IDE, as well as on Visual Studio...
I am using Visual Studio with Visual Micro plugin as IDE.
Just to be sure I repeated my experiments with the Arduino IDE, and even when yield() is outcommented, it runs fine, so it looks like a...
Ok, that's fine - I'm trying to understand what's in your startup code and why..
Next thing I don't understand is why outcommenting 'yield()' from main(), prevents the Teensy from booting...
Thanks Michael!
I intend to use off-the-shelf Teensy3.5 / 3.6
I just wanted to double-check my bare-metal experiments wouldn't lock me out by breaking the built-in programming mechanism.
Paul,
I am looking into the code that TeensyDuino is generating by compiling an 'empty' project and looking at the assembly output.
I found that the different 'Project Options' you can choose...
No apologies needed, I think your post was legitimate.
I will take a look at your work one of the next days - we can always learn from it.
My project is targeting CNC, and as such there is no...
Thanks,
I merged our sheets together, this way you can for each GPIO (which is brought to a K64 pin) choose the function from the available functions on that pin.
It's done thru a simple data...
I think there is an opportunity for DMA to solve the following problem :
Stepper-motor-drivers have a STEP signal which is pulsed for each step, and a DIR (Direction) signal which controls the...
Yes, I know, and there are even more boards and SW : GRBL, TinyG, LinuxCNC, xPro, RAMPS, ... (I am currently running GRBL on my machine, with a self-made shield).
I started with an xPro V2 board. I...
Actually, where your expertise could be really helpful is in validating which GPIO's are 'safe' to use.
I'd like to use a consecutive number of bits on a port, to keep things clean and simple....
My ideas on hardware are on a dedicated wiki-page
In short : what we need on top of the Teensy itself is :
1. power supply (going from 24..36V to 3.3V)
2. open-collector drivers towards the...
Thanks Paul, will take a look at your code asap.
I don't know how familiar you are with controlling steppers for this kind of machines, so let me summarize the design challenge here :
* for...
Very good remark! - I struggled some time with false triggers on limit switches myself. All measures will be taken to protect against this, and your suggestion to have 12 or 24V signals here is a...
Great, this is indeed on my ToDo list. Your offer to help is appreciated and will speed things up!
I'm thinking along the same lines :
* ULN2803 output buffers towards the stepper drivers and...
Just watch https://github.com/Strooom/Mooov on github. There is no source-code there yet, but I have started the Wiki, so you can take a look if this is what you are looking for.
It will take a few...
Yes, I know - GCode interpreter is a non-real-time thing, and I don't worry about that.. My worry is about the timer interrupt to the stepper-motors which may run up to 100-200 KHz
Mmmmhh,
I...
Yes, I collected most of them already and am trying to re-use some of that effort (it all started with Karl Lunt : https://www.seanet.com/~karllunt/bareteensy31.html) However they don't address how...
One more quick question : will the TeensyDuino enable the floating point HW when Teensy 3.5 is selected ?
Thanks for the prompt answers!,
It's not that I don't like the Arduino IDE : it's a beginner-friendly easy access toolchain, so it's a preferred way of distributing applications to a wide...
Hi, I am doing a development for a CNC/Motion Controller.
As a first target HW I want to run it on a Teensy3.5
I would like to achieve the following :
It should be easy to compile the SW and...