Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • scaraman's Avatar
    03-23-2020, 11:33 AM
    I did not want to wait for the Teensy 4 port to be done properly, and did not want to read any datasheets, so I made a hacky port (https://github.com/bondus/TeensyStep) to Teensy 4 using ChibiOS timers...
    102 replies | 12005 view(s)
  • scaraman's Avatar
    03-02-2020, 10:48 PM
    Fascinating knob! Very clever. Using arctan will not give the right angles in this case, it works for that resolver since it has sinus waves. The solution for this knob is actually very simple: :) if(v0 < 50%) ...
    14 replies | 539 view(s)
  • scaraman's Avatar
    03-02-2020, 09:49 PM
    Quite embarrassing. :rolleyes: I am the idiot again sending 12V into the poor Teensys 3.3V, and the drivers IO power pin. A crappy cable carrying 12V on my prototype board had the plastic insulation melted and it...
    7 replies | 289 view(s)
  • scaraman's Avatar
    02-28-2020, 08:15 PM
    That was me too. My pile of dead boards is quite respectable. Makes a grown man cry. It seems like the powering sequence is the issue here. The motor power supply has to be turned on and stable before you turn on the...
    7 replies | 289 view(s)
  • scaraman's Avatar
    02-28-2020, 03:22 PM
    Did some further research while waiting for new Teensies to ship. From https://learn.watterott.com/silentstepstick/faq/: And indeed the TMC is messing with VIO, the supplied 3.3V logic voltage, when powered...
    7 replies | 289 view(s)
  • scaraman's Avatar
    02-28-2020, 03:37 AM
    Explaining your problems makes you think :) After some measurements it looks like the damned chip has internal pullups to some internally generated 5V. When motor power is supplied to the chip it will pull-up some IO...
    7 replies | 289 view(s)
  • scaraman's Avatar
    02-28-2020, 03:24 AM
    Another Teensy project, another pile of dead teensies :( I hooked up a stepstick (TMC2208) by the book to a Teensy 4.0. EN, STEP and DIR are directly connected to Teensy pins, VCC_IO (as TMC calls it) to 3.3V...
    7 replies | 289 view(s)
  • scaraman's Avatar
    02-26-2020, 12:20 AM
    I have been struggling hard to make it keep some kind of dynamic balance, ie take speed into account. But I fail miserably all the time :( I think one of the problems is that the hobby servos have a massive slop in...
    6 replies | 553 view(s)
  • scaraman's Avatar
    02-12-2020, 08:20 PM
    The leg hinges are in PP, polypropylene, perfect plastic for hinges. And 3D printable, at least for simple items like this. There is still a bit of flex in non-wanted angles when the legs are at extreme sideways...
    6 replies | 553 view(s)
  • scaraman's Avatar
    02-12-2020, 07:57 PM
    I forgot to mention that never ever connect a PWM pin from the Teensy directly to a servo. It works fine until the cables on the servos short, intermittently, sends 6V to the teensy and fries it. Believe me, I have 5...
    6 replies | 553 view(s)
  • scaraman's Avatar
    02-12-2020, 07:28 PM
    I wanted to learn modern machine learning by building a small walking robot and have it controlled by a neural network. I will get to that, eventually. That's the primary reason I chose the Teensy 4 over other...
    6 replies | 553 view(s)
  • scaraman's Avatar
    02-12-2020, 05:16 PM
    That umbilical blob is a LiPo pack watcher. It beeps loudly when a cell is too low. I already broke one pack due to discharging it too much, my speciality is breaking hardware :)
    11 replies | 502 view(s)
  • scaraman's Avatar
    02-12-2020, 02:42 PM
    Got some videos of it walking/climbing/stumbling around. https://youtu.be/a22FzKibE3c I could write something about it and post in the Blog section.
    11 replies | 502 view(s)
  • scaraman's Avatar
    02-10-2020, 04:59 PM
    It turns out it was the servos sending back their supply voltage to the PWM pins! I was totally sure that one of my boards broke with no servos attached. I was wrong. The (very low quality) cables to the Tower Pro...
    11 replies | 502 view(s)
  • scaraman's Avatar
    02-10-2020, 01:44 PM
    Two more dead Teensies, only one left :(. At least I am supporting the project :) The last one died when I connected the USB port while the Teensy was powered on, running on battery. I use SPI so the LED is...
    11 replies | 502 view(s)
  • scaraman's Avatar
    02-07-2020, 08:20 PM
    The 2nd teensy with broken USB was "reprogrammed" using the 15s button hold you mention, it is blinking. When in programming mode or running that blink program there is no reaction from the USB host when plugged in,...
    11 replies | 502 view(s)
  • scaraman's Avatar
    02-07-2020, 01:24 PM
    I built this little board to control a little robot with a T4. It's mainly a puzzle of various pre-made modules. It has one big switching voltage regulator to provide power to 12 tiny servos, 5.5V. That voltage...
    11 replies | 502 view(s)
No More Results
About scaraman

Basic Information

Statistics


Total Posts
Total Posts
17
Posts Per Day
0.33
Last Post
New Stepper Motor Library 03-23-2020 11:33 AM
General Information
Last Activity
Today 01:02 PM
Join Date
02-07-2020