MH-ET LIVE Tiny88(16.0Mhz)



  • Some attiny88 sometimes have a bootloader problem, that's why these modules can't be programmed by USB. This problem is present if when you plug in your card or you press reset and the red led does not flash.

    This problem is quite easy to solve, just install a special library and re-burn the bootloader.
    I made a video to help people who have this problem:
    https://youtu.be/KMaswFV8Xhs

    I hope it can help too.



  • If you preffer reading, is possible upload micronucleus bootloader (V-USB) over ISP (avrdude)..



  • @bato3 i already read all that, but is to much hard for me, if you can help me out, i really appreciate :D



  • Hi guys I have this Attiny88 board but can not get it to work with the PlatformIO interface.
    The Red LED is flashing when powered on via usb cable.

    I get this Error :
    C:\Users\johna.platformio\packages\framework-arduino-avr-attiny\cores\tiny\wiring.c: In function 'init':
    C:\Users\johna.platformio\packages\framework-arduino-avr-attiny\cores\tiny\wiring.c:1095:8: error: #error "Frequency requested from internal oscillator that cannot be generated by prescaling"
    #error "Frequency requested from internal oscillator that cannot be generated by prescaling"
    ^~~~~
    Compiling .pio\build\attiny88\FrameworkArduino\wiring_pulse.c.o
    C:\Users\johna.platformio\packages\framework-arduino-avr-attiny\cores\tiny\wiring.c:1096:8: error: #error "Custom tuning is not supported in the current version of ATTinyCore"
    #error "Custom tuning is not supported in the current version of ATTinyCore"

    Kindest any suggestions ??

    platformIO_error.png



  • I have solved it , this is my settings in platformIO.ini file:
    [env:attiny88]
    platform = atmelavr
    board = attiny88
    framework = arduino
    board_build.f_cpu = 16000000L

    ; change clock source if needed
    build_flags = -DCLOCK_SOURCE=18
    ; new clock source
    ;build_flags = -DCLOCK_SOURCE=17

    upload_protocol = micronucleus

    //////////////////////
    also I needed to download
    https://zadig.akeo.ie/#google_vignette
    used this driver :
    Ibusb-win32 (v1.2.6.0)

    //////////////////
    check this tutorial :

    https://www.youtube.com/watch?v=NiRAF8N1JBU

    //////////////
    end of message



  • Guys, I have problem with the serial monitor I cant get it to work
    ::

    c57eb811-d27a-4e91-8d2d-3cc0379b13ba-image.png

    I have this ini file
    ::

    63bcedc6-593c-468a-a3be-d089888e5176-image.png

    any suggestions ??



  • I have now used the #include <SoftwareSerial.h> with this ini file on platformIO

    To make it work I load code over usb interface then switch to USB to ttl dongle and read rx tx over serial monitor.

    I would like to use //#include <DigiCDC.h> //serial monitor
    But this one i cant get to work. Does not detect com port


    [env:attiny88]
    platform = atmelavr
    board = attiny88
    framework = arduino
    board_build.f_cpu = 16000000L
    build_flags = -DCLOCK_SOURCE=18 -Wno-narrowing
    upload_protocol = micronucleus
    lib_deps =
    featherfly/SoftwareSerial@^1.0


    Code:

    // this works, must use USB to ttl adapter and tx is Rx on the out and inpins
    const byte rxPin = 3 ; // RX is D3 - on TTL it is TX
    const byte txPin = 4 ; // TX is D4 - on TTL it is RX

    SoftwareSerial mySerial(rxPin, txPin);

    void setup() {
    pinMode(rxPin, INPUT);
    pinMode(txPin, OUTPUT);

    mySerial.begin(9600);
    mySerial.println("Initializing...");
    }

    void loop (){
    mySerial.println("Test\n");
    delay(1000);
    }



  • @Ghibli_69 Может кому поможет - наткнулся в сети на разбор платы: https://alexgyver.ru/lessons/tiny88/



  • As @Kender013 suggested, the AttinyCore works better than the core that is recommended in the official tutorial. With AttinyCore there are fewer problems with libraries.
    I also made a video for it:
    https://www.youtube.com/watch?v=AeqCEFF68QM



  • @q12 said in MH-ET LIVE Tiny88(16.0Mhz):

    teodoric8@yahoo.com
    Hi Teo, Any luck in solving this issue ?? I sent an email.


Log in to reply