all | audio | badgelife | breakout | clocks | displays | experiments | feather | handhelds | home automation | howto | LED art | misc | props | robots | sewing | software | tools | no_category

DC motor board with attiny13

finally soldered

Help is highly appreciated. Need common pitfalls and traps for young players, never really worked with a MOSFET before :D Hand over tutorials. Does the MOSFET fdc6333c from fairchild I already bought make sense for this?

DC motor board with attiny13 | Blinking and interrupts and stuff

2016-11-27 10:41:49

When I started with the pin setting I first confused the pin direction setting byte with the state setting byte :D So I thought of breaking my code in peaces to fix the problems and start with the basics.

I found a library for the Attiny13A written by MCUdude on github - link is in the link section - that gives me a head start to use the Arduino IDE for coding. Feels weird saying that. Here's code for an LED flasher (german: "Wechselblinker") - two leds alternating the blinks.

void setup() {
  // put your setup code here, to run once:
    DDRB = 0x03; //PORTB
}

void loop() {
  // put your main code here, to run repeatedly:
  PORTB = (1<<PB1) | (0<<PB0);
  delay( 1000);
  PORTB = (0<<PB1) | (1<<PB0);
  delay( 1000);
}

I'll post the other code later.

DC motor board with attiny13 | Blinking and interrupts and stuff

2016-11-27 10:41:49

When I started with the pin setting I first confused the pin direction setting byte with the state setting byte :D So I thought of breaking my code in peaces to fix the problems and start with the basics.

I found a library for the Attiny13A written by MCUdude on github - link is in the link section - that gives me a head start to use the Arduino IDE for coding. Feels weird saying that. Here's code for an LED flasher (german: "Wechselblinker") - two leds alternating the blinks.

void setup() {
  // put your setup code here, to run once:
    DDRB = 0x03; //PORTB
}

void loop() {
  // put your main code here, to run repeatedly:
  PORTB = (1<<PB1) | (0<<PB0);
  delay( 1000);
  PORTB = (0<<PB1) | (1<<PB0);
  delay( 1000);
}

I'll post the other code later.

DC motor board with attiny13 | 1kB challenge

2016-11-25 22:11:07

I thought it would make sense to send this project in for the challenge, since it's basically a servo without the feedback of the resistor.

First I need to solder some wires to the pins, Rev1 will definitely have some SPI headers on the bottom to program the attinys. Or I will have to tinker up something.

Not sure how the attiny13s will behave, they arrived today and I only thought "ah well, what the heck" and went on with it.

http://gifrific.com/wp-content/uploads/2012/06/Boy-That-Escalated-Quickly-Anchorman.gif

DC motor board with attiny13 | 1kB challenge

2016-11-25 22:11:07

I thought it would make sense to send this project in for the challenge, since it's basically a servo without the feedback of the resistor.

First I need to solder some wires to the pins, Rev1 will definitely have some SPI headers on the bottom to program the attinys. Or I will have to tinker up something.

Not sure how the attiny13s will behave, they arrived today and I only thought "ah well, what the heck" and went on with it.

http://gifrific.com/wp-content/uploads/2012/06/Boy-That-Escalated-Quickly-Anchorman.gif

DC motor board with attiny13 | boards are in the making

2016-10-13 17:22:35

I'm currently waiting for 6 board layouts to get back to me :D it's a little bit bigger than the 'original'.

https://cdn.hackaday.io/images/2609121476372114506.png

DC motor board with attiny13 | boards are in the making

2016-10-13 17:22:35

I'm currently waiting for 6 board layouts to get back to me :D it's a little bit bigger than the 'original'.

https://cdn.hackaday.io/images/2609121476372114506.png

DC motor board with attiny13 | Rescources

2016-10-12 11:33:43

http://rayshobby.net/a-mosfet-based-fix-to-the-makerbot-extruder-motor-problem/

attiny85

http://downloads.cdn.re-in.de/1200000-1299999/001263359-da-01-en-MOSFET_N_CH_P_CHAN_FDC6333C_SOT_23_6_FSC.pdf

FDC6333C -2(.5) A http://www.bristolwatch.com/ele/h_bridge.htm

https://cdn.hackaday.io/images/6509561476264649530.png
https://cdn.hackaday.io/images/1213411476264806250.png

DC motor board with attiny13 | Rescources

2016-10-12 11:33:43

http://rayshobby.net/a-mosfet-based-fix-to-the-makerbot-extruder-motor-problem/

attiny85

http://downloads.cdn.re-in.de/1200000-1299999/001263359-da-01-en-MOSFET_N_CH_P_CHAN_FDC6333C_SOT_23_6_FSC.pdf

FDC6333C -2(.5) A http://www.bristolwatch.com/ele/h_bridge.htm

https://cdn.hackaday.io/images/6509561476264649530.png
https://cdn.hackaday.io/images/1213411476264806250.png