Unitrend UT61E Ethernet Adapter with ATmega and ENC28J60

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • Video tutorial on how I built an Ethernet adapter for the Unitrend UT61-E optical interface using an ATmega8 together with the Microchip ENC28J60.
    Source code (licensed under the GNU GPL-3): johannes-bauer.com/electronics...
    Reverse engineered protocols by Henrik Haftmann (thanks a bunch!): www-user.tu-chemnitz.de/~heha/...
    Music by www.LukHash.com
    Video License: CC BY-SA 3.0
  • Наука та технологія

КОМЕНТАРІ • 12

  • @LenMoret
    @LenMoret 10 років тому

    Respect, I can only say kudo's to you. This project is a good example of how open source should be and stay.

  • @johndoe271828
    @johndoe271828  11 років тому

    Hi Sean, thanks for the encouraging words. Porting this to Arduino should be pretty easy and you'll be able to recycle most of my code. As for the dimensioning: For 5V I'd choose the optocoupler output pullup resistor to be 4.7k. For the discrete inverter, nothing changes: base resistor 4.7k, pullup 10k. Should work like a charm. If you run into trouble, drop me a note, I'd be glad to help.

  • @johndoe271828
    @johndoe271828  11 років тому

    According to the protocol description of Henrik Haftmann, the UT61 models should all use the identical protocol. The UT60B uses a slightly different protocol (should be very easy in software from the looks of it). Others differ more, but can still be implemented. You could basically implement them all in the AVR and have a unified ethernet interface to the outside (which would be kind of cool). The Mega8 flash is almost full already with only the 61E code, so using the M168 would be a good idea.

  • @giomjava
    @giomjava 9 років тому +1

    Awesome project!! +1

  • @zeroniky
    @zeroniky 9 років тому +1

    very nice work, respect

  • @johndoe271828
    @johndoe271828  11 років тому

    Well, yes, that's the resistor I meant but I had initially thought that I had also relaced it (which I had not apparently). So you really don't need to change any components then to make it work with 5V instead of 3.3V. Haven't measured the amperage, but I'd guess approximately 5-10mA max at 5V (this includes the inverter).

  • @SeanBZA
    @SeanBZA 11 років тому

    Very interesting. Will it work with the rest of the range that use the same optical interface?

  • @seanrubes8185
    @seanrubes8185 11 років тому

    Excellent, more or less what I have been trying to do, would love to copy your setup. I would however like to use an arduino as I am familiar with them, With your serial to ttl circuit it is designed to output 3.3 V to Vin, any idea what resistors I would use to make that 5 v to suit the arduino.(I am a bit electronically incompetent and coding illiterate, may need some help with that later if you can be bothered) Thanks and once again brilliant.

  • @faithethanvu
    @faithethanvu 11 років тому

    Hi. Good intro video. I understand that you dislike the ENC28J60. For now I am new to the MCU + Ethernet. Did you just download the TCP/IP stack from Microchip and include it in your AVR microccontroller project? Please add download link for your project with ENC28J60 stack included. Thank you

  • @seanrubes8185
    @seanrubes8185 11 років тому

    Hi JD Thanks, by optocoupler output pullup resistor do you mean besides what is on the ut61e opto cable board w.flickr.com/photos/rubberbrick/9413691308/ see red circle, any idea on what amperage the opto board pulls? I am about to have a look at you code to see if I can make any sense out of it. Cheers

  • @unlokia
    @unlokia 10 років тому

    Great project, but you haven't even told us what happens at the receiving end... how do we read the meter?
    Seems a bit like a sledgehammer to crack a nut really, thanks anyway :-)

  • @tmpEngine
    @tmpEngine 11 років тому

    let me guess, you're german ?