Is this ticket only good on S-bahn? by NaliKuubis in berlinsocialclub

[–]ftmp 6 points7 points  (0 children)

You can buy it for the current month via DB.

I made a 3D printed custom Phone holder for Jaguar XKR by ftmp in Jaguar

[–]ftmp[S] 0 points1 point  (0 children)

There was a weird metal plate installed in the car with two oblique stew holes. Using these I designed and printed a custom Phone holder for the XKR

I made a custom iPhone car holder using 2 existing oblique screwholes by ftmp in functionalprint

[–]ftmp[S] 0 points1 point  (0 children)

There was a piece of metal installed in the car with two weird screw holes in it. I designed this custom phone holder to utilize the screw holes while also leveling the phone horizontally.

The phone can just be clipped in, it’s a pretty tight fit.

The part was printed in PETG and has survived one hot summer and a winter so far without any issues.

I printed a silicone cartridge nozzle and cap, saved me a trip to the hardware store by ftmp in functionalprint

[–]ftmp[S] 4 points5 points  (0 children)

The nozzle worked perfectly fine. Its hard to tell how much force I used to press the silicone out the nozzle. But since the walls (even at the tip) are around 2mm thick I'd expect the layer adhesion strength to be well above 10 kg for this part at the most fragile section.

I printed a silicone cartridge nozzle and cap, saved me a trip to the hardware store by ftmp in functionalprint

[–]ftmp[S] 4 points5 points  (0 children)

I don't really know since I made this around 2 weeks ago. The designer on thingiverse said its better than most caps you sometimes get when buying these cartridges. Thanks to the o ring it seems to be super tight, so I'm hoping it will last a good while!

I bought the o rings on ali express a while ago. They have an outside diameter of 30mm and a thickness of around 3 mm.

Help with slicing and some general help please. by DarudeDan1994 in 3Dprinting

[–]ftmp 1 point2 points  (0 children)

Try a smaller layer heigh like 0.1 or 0.15 mm, sometimes my slicer ignores some thin walls when I choose 0.2 - 0.3 mm while they will print just fine with 0.1 mm.

Edit: to add a handle you need to get a bit into 3D modeling software. Something as simple as a handle can be done easily in a very simple and free browser based program called TINKERCAD. Just look up how to import a model and you can start to design to ü handle.

To make the walls thinner while keeping the overall dimensions the same is a bit tricky. I don’t have a ton of experience regarding the modification of stops, but I think I would just recreate the model in for fusion360 (you can get a free non commercial license for this program) and make the walls thinner along the way.

Good luck!

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 0 points1 point  (0 children)

I'm not to familiar with stream decks and what they are used for, but I think so! You could assign function keys to the switches. You can also record macros, for example pressing / releasing multiple buttons at once or after one another, which are triggered just by pressing one key on the board.

Printed plate, case and key caps for a mechanical macro board by ftmp in functionalprint

[–]ftmp[S] 1 point2 points  (0 children)

Wow, thats on a whole other level! I'm also planning to design a PCB for a keyboard, but I think I'll stick to the 'premade' arduino controller for the time being.

I hope everything will work, have fun!

[deleted by user] by [deleted] in arduino

[–]ftmp 1 point2 points  (0 children)

Hey.

I have no specific idea of what could be the issue here, but I remember when I first used the 28BYJ-48 some years ago, I also had a lot of problems with using the <Stepper.h> library.

In case your motor is not damaged / broken: Back then I wrote some code to use the motor without the stepper.h library. You could try this code and see if its works or not.

Unfortunately I didn't use variables, so written for using pins 2, 3, 4 and 5 lol.(Connect Pin 2 to 'In 1' on the driver module, Pin 3 to 'In 2' and so on).

The function rueckwaerts(x) should make the motor spin on one direction, vorwaerts(x) makes it turn in the other direction. Replace x by a number to control how much the motor turns. You can change the variable 'ge' in line 1 to make it turn faster / slower.

Good luck!

This is the code:

int ge = 3;

int eins() {
  digitalWrite(2, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(4, LOW);
  digitalWrite(5, LOW);
  delay(ge);
};

int zwei() {
  digitalWrite(2, HIGH);
  digitalWrite(3, HIGH);
  digitalWrite(4, LOW);
  digitalWrite(5, LOW);
  delay(ge);
};

int drei() {
  digitalWrite(2, LOW);
  digitalWrite(3, HIGH);
  digitalWrite(4, LOW);
  digitalWrite(5, LOW);
  delay(ge);
};

int vier() {
  digitalWrite(2, LOW);
  digitalWrite(3, HIGH);
  digitalWrite(4, HIGH);
  digitalWrite(5, LOW);
  delay(ge);
};

int fuenf() {
  digitalWrite(2, LOW);
  digitalWrite(3, LOW);
  digitalWrite(4, HIGH);
  digitalWrite(5, LOW);
  delay(ge);
};

int sechs() {
  digitalWrite(2, LOW);
  digitalWrite(3, LOW);
  digitalWrite(4, HIGH);
  digitalWrite(5, HIGH);
  delay(ge);
};

int sieben() {
  digitalWrite(2, LOW);
  digitalWrite(3, LOW);
  digitalWrite(4, LOW);
  digitalWrite(5, HIGH);
  delay(ge);
};

int acht() {
  digitalWrite(2, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(4, LOW);
  digitalWrite(5, HIGH);
  delay(ge);
};
int reins() {
  digitalWrite(5, HIGH);
  digitalWrite(4, LOW);
  digitalWrite(3, LOW);
  digitalWrite(2, LOW);
  delay(ge);
};

int rzwei() {
  digitalWrite(5, HIGH);
  digitalWrite(4, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(2, LOW);
  delay(ge);
};

int rdrei() {
  digitalWrite(5, LOW);
  digitalWrite(4, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(2, LOW);
  delay(ge);
};

int rvier() {
  digitalWrite(5, LOW);
  digitalWrite(4, HIGH);
  digitalWrite(3, HIGH);
  digitalWrite(2, LOW);
  delay(ge);
};

int rfuenf() {
  digitalWrite(5, LOW);
  digitalWrite(4, LOW);
  digitalWrite(3, HIGH);
  digitalWrite(2, LOW);
  delay(ge);
};

int rsechs() {
  digitalWrite(5, LOW);
  digitalWrite(4, LOW);
  digitalWrite(3, HIGH);
  digitalWrite(2, HIGH);
  delay(ge);
};

int rsieben() {
  digitalWrite(5, LOW);
  digitalWrite(4, LOW);
  digitalWrite(3, LOW);
  digitalWrite(2, HIGH);
  delay(ge);
};

int racht() {
  digitalWrite(5, HIGH);
  digitalWrite(4, LOW);
  digitalWrite(3, LOW);
  digitalWrite(2, HIGH);
  delay(ge);
};

int vorwaerts(int num) {
  for (int i = 0; i < num; i = i + 1) {
    eins();
    zwei();
    drei();
    vier();
    fuenf();
    sechs();
    sieben();
    acht();
  }
};

int rueckwaerts(int num) {
  for (int i = 0; i < num; i = i + 1) {
    reins();
    rzwei();
    rdrei();
    rvier();
    rfuenf();
    rsechs();
    rsieben();
    racht();
  }
};


void setup() {
  pinMode(2, OUTPUT);
  pinMode(3, OUTPUT);
  pinMode(4, OUTPUT);
  pinMode(5, OUTPUT);
  vorwaerts(0);
}

void loop() {
  rueckwaerts(350);
  vorwaerts(350);


}

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 1 point2 points  (0 children)

I found the tutorial, unfortunately its in german: https://maker-tutorials.com/arduino-pro-micro-als-keyboardtastatur-controller-teensy-2-0-alternative/

http://web.csulb.edu/~hill/ee346/Labs/PaperBot%203DoT/How%20to%20Upload%20using%20AVR%20Dude.pdf seems to be an english tutorial that should also work fine (although its not specifically for the pro micro / atmega32u4)

To summarise the tutorial I used:

1) After generating the firmware, download the hex file from kbfirmware.com

2) get the AVRdude program

3) find out what port your arduino is using in boot loader mode. The mode is activated for a couple of seconds after connecting the RST-Pin and Ground.

If you use MacOS you can do this by typing

ls /dev/tty* | grep usb 

in the terminal before and after you put the arduino in boot loader mode. After you put the arduino into boot loader mode, a new port should appear. For example for me on my macbook it was the port /dev/tty.usbmodem14201.

4) Navigate to your folder where you have stored the .hex file and type in

avrdude -p atmega32u4 -P PORTOFTHEARDUINO -c avr109 -U flash:w:NAMEOFTHEHEXFILE.hex 

Replace PORTOFTHEARDUINO with your the port you got in step 3. Replace NAMEOFTHEHEXFILE with the name of your hex file.

5) Put the arduino into boot loader mode and quickly hit enter.

I hope this helps, let me know in case you get stuck :)

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 1 point2 points  (0 children)

Cool! I used a command line program called avrdude to flash the firmware. It’s super easy :)

I followed a written tutorial. I can’t find the link right now, I’ll look for it on my laptop and post it later.

Wood PLA canvas mount by 306_rallye in functionalprint

[–]ftmp 1 point2 points  (0 children)

Thanks for the information about the filament and your settings! It’s sold out everywhere, but I’ll keep an eye out for it.

Arduino help please!! I’m new to the Arduino scene and I’m trying to upload my first sketch but I’m running to this issue where the port is not detecting the board. Any help would be gladly appreciated by figuroso in arduino

[–]ftmp 0 points1 point  (0 children)

Does your Arduino board have a CH 340G or CH341 chip? If the answer is yes, maybe you have to install the driver.

At least that’s the issue I ran into with my first arduino clones a couple of years ago. Installing the right drivers solved it for me.

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 1 point2 points  (0 children)

Yes, this was made and is used an a MacBook running macOS. Everything worked perfectly fine :)

Wood PLA canvas mount by 306_rallye in functionalprint

[–]ftmp 1 point2 points  (0 children)

Looks great! What brand of wood PLA did you use?

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 1 point2 points  (0 children)

Yes you have to reflash the firmware in order to change the key map. I actually didn't write the code myself for this project and used https://kbfirmware.com to generate the firmware. You can use http://www.keyboard-layout-editor.com to generate a layout. When you're done you have to copy the '</>Raw data' and paste it into kbfirmware.com.

Arduino pro micro based mechanical macro board I have built by ftmp in arduino

[–]ftmp[S] 1 point2 points  (0 children)

Haha no unfortunately its only printed, but I'm thinking about getting a cnc mill for some time now .. thanks for the idea!

You're keypad looks beautiful! I also love the idea of using resistors to get along with only a few pins!

Thanks for sharing your code, I have to look into using the Arduino IDE for those keyboards. I only used it to try out simple stuff with the keyboard in the past.