author
6Instructables66,944Views56CommentsJoined December 13th, 2014
Electronics is great! http://CoPiino.cc

Achievements

10K+ Views Earned a bronze medal
  • tswaehn commented on tswaehn's instructable 101hero $99 3D Printer - an Upgrade Story2 months ago
    101hero $99 3D Printer - an Upgrade Story

    thanks. Good point.

    could you please write in English?

    View Instructable »
  • ATTiny85 Connects to I2C OLED Display - Great Things Can Be Small

    Ok. Let’s start. Do you know the operation principal of the printString() function?

    Then it’s pretty close to solution.That means to get a larger font we make it a 2rows font instead of only 1row. We are doubling the font size. Instead of 8px by 5cols we go for 16px by 10rows.Means we need a new printChar() function that actually sets the cursor for each character and draws a rectangular plot of 16px by 10cols.AND we need a new font array that has two rows and 10cols.It’s best if for ease of use the printString() function stores the last cursor position and hands this over to the printChar() function at each call.That’s it.

    What is the display model number?

    The display is setup to start drawing at top left corner of the display. The display is arranged to receive 4 rows of 8px with 64columns in each row.Writing text is basically like drawing pictures for each character on the display.printString() splits your text into pieces of characters.Each character will be displayed as an 5px by 8px image. Means we have to write consecutive bytes for each character to the screen. This is done by the function of printChar(). The source for the character images is the array “BasicFont” and resides in the flash memory.Please let me know if you have any questions up to here. This is basic understanding that need to be clear before we can continue to modify for double size font.

    View Instructable »
  • tswaehn followed SteveL2455 months ago
  • ATTiny85 Connects to I2C OLED Display - Great Things Can Be Small

    Hi,Sure, we can do. Please send a picture,what it looks like.

    View Instructable »
  • ATTiny85 Connects to I2C OLED Display - Great Things Can Be Small

    yes, this should work generally to port code from ATiny85 to ATiny84.

    View Instructable »
  • ATTiny85 Connects to I2C OLED Display - Great Things Can Be Small

    Did you try to use these renames?#if defined(__AVR_ATtiny84__) | defined(__AVR_ATtiny44__) #define DDR_USI DDRA #define PORT_USI PORTA #define PIN_USI PINA #define PORT_USI_SDA PORTA6 #define PORT_USI_SCL PORTA4 #define PIN_USI_SDA PINA6 #define PIN_USI_SCL PINA4#endif

    Hi Alex,according to the web the naming is different from Tiny85 to Tiny84. Additionally some registers are missing. Porting the programs from Tiny85 to Tiny84 seems to be more than re-compiling - unfortunately. :(

    Hi Alex,thanks for you message. I pretty much thing you have your fingers at absolute correct location. Its only about the definition of pinnings for the serial transfer unit. I know a lot about TINY85, but not yet had much to do with the TINY84. BUT I guess its just a matter of naming, ...

    View Instructable »
  • tswaehn commented on tswaehn's instructable 101hero $99 3D Printer - an Upgrade Story1 year ago
    101hero $99 3D Printer - an Upgrade Story

    The voltage of stepper motors is typically around 3V to 6V. As the controller is a current controlled driver, and the torque is only proportional to current, this works perfectly fine with a 12V power supply.The only thing that have the be cared of is the max current. The 101hero can be setup to change the max current. When increasing current two things have to be checked, overheating of the driver IC and overheating of the motor. Not big issues, but need to have an eye on.

    View Instructable »
  • tswaehn's instructable 101hero $99 3D Printer - an Upgrade Story's weekly stats: 1 year ago
    • 101hero $99 3D Printer - an Upgrade Story
      3,194 views
      72 favorites
      1 comments
  • tswaehn commented on tswaehn's instructable 101hero $99 3D Printer - an Upgrade Story1 year ago
    101hero $99 3D Printer - an Upgrade Story

    Typically one piece of paper. I usually measure at three different points. With the G0 command I travel around and check likeG0 X0 Y0 Z0Then G0 X-30 Y-30 Z0And G0 X30 Y30 Z0This includes a bed level check.

    View Instructable »