I assume the purpose of this would be to build a Dell compatible charger but this repo doesn't appear to provide much information on how to actually do that. I get that the microcontroller provides the signalling the laptop needs to identify the charger, but assuming you built this circuit, how would you actually use it to charge a laptop ?
Emulator of Original Dell Charger Using ATTINY85
21–30 of 57 posts
Re: Emulator of Original Dell Charger Using ATTINY85
#22I assume the purpose of this would be to build a Dell compatible charger but this repo doesn't appear to provide much information on how to actually do that. I get that the microcontroller provides the signalling the laptop needs to identify the charger, but assuming you built this circuit, how would you actually use it to charge a laptop ?
In schematic.png you can see on the left there are 3 pins and the right there are 2 pins. The 3 pins on the left represent the laptop and the two pins on the right represent the power supply. The chip in the middle attaches to the ID pin on the laptop and reports the charger to the laptop.
Re: Emulator of Original Dell Charger Using ATTINY85
#23I don't understand why people use the attiny85... The Atmega328 based boards have far wider software support in the arduino ecosystem, so you will typically be able to prototype a project in minutes instead of hours, and the dev boards cost the same, but the 328 ones have more of pretty much everything. The only benefit of the attiny seems to be that you can save a few millimeters of board space, but if that's your c…
The obvious answer would probably be the size and the dip formfactor. Sure you can get more capable BGA packaged chips, but how many hobbyists have the ability to properly solder in a BGA?
Re: Emulator of Original Dell Charger Using ATTINY85
#24Earlier quoted context omitted.
The obvious answer would probably be the size and the dip formfactor. Sure you can get more capable BGA packaged chips, but how many hobbyists have the ability to properly solder in a BGA?
The 328 is also available in dip...
Re: Emulator of Original Dell Charger Using ATTINY85
#25But folks are reporting that if you make a 20V USB-micro, they'll charge. Sweet. Riskier than this links careful negotiation over 1-wire, but so convenient. I'll probably rip apart one of my usb-c to 20v barrel jacks & make a cable, in case I want to go back to these units. The need for a custom charger has been a huge barrier to ever wanting to use them again, very nice that these old systems will just work, when given power.
Re: Emulator of Original Dell Charger Using ATTINY85
#26The ATtiny85 is nice, with 8kB flash, 512 bytes RAM & EEPROM, 5-6 GPIO pins, they are just enough to do something interesting. But I don't use the ATtiny85 as much as I want to, because flashing requires a separate programmer hardware. It's enough friction to get in the way of rapid software iteration. I once made the mistake of inserting the ATtiny85 upside down into the programmer, and it promptly cooked it dead. L…
All micros require separate hardware to flash it, no? Some is cheap (stlink), some are a few hundred dollars, but still. Unless you have a USB bootloader programmed on the chip, but you still need the adapter to flash the bootloader in the first place.
And of course with wireless enabled microcontrollers one can update over the air. Nordic NRF5x over Bluetooth for example, or ESP32 over WiFi.
Re: Emulator of Original Dell Charger Using ATTINY85
#27The ATtiny85 is nice, with 8kB flash, 512 bytes RAM & EEPROM, 5-6 GPIO pins, they are just enough to do something interesting. But I don't use the ATtiny85 as much as I want to, because flashing requires a separate programmer hardware. It's enough friction to get in the way of rapid software iteration. I once made the mistake of inserting the ATtiny85 upside down into the programmer, and it promptly cooked it dead. L…
All micros require separate hardware to flash it, no? Some is cheap (stlink), some are a few hundred dollars, but still. Unless you have a USB bootloader programmed on the chip, but you still need the adapter to flash the bootloader in the first place.
Re: Emulator of Original Dell Charger Using ATTINY85
#28Earlier quoted context omitted.
In schematic.png you can see on the left there are 3 pins and the right there are 2 pins. The 3 pins on the left represent the laptop and the two pins on the right represent the power supply. The chip in the middle attaches to the ID pin on the laptop and reports the charger to the laptop.
Yes, I was confused because my Dell laptop power input doesn't have 3 wires (unless there's somehow a third wire buried in the barrel connector), so I was assuming that the ID signal is somehow just combined with the actual input voltage.
Re: Emulator of Original Dell Charger Using ATTINY85
#29The ATtiny85 is nice, with 8kB flash, 512 bytes RAM & EEPROM, 5-6 GPIO pins, they are just enough to do something interesting. But I don't use the ATtiny85 as much as I want to, because flashing requires a separate programmer hardware. It's enough friction to get in the way of rapid software iteration. I once made the mistake of inserting the ATtiny85 upside down into the programmer, and it promptly cooked it dead. L…
1: http://digistump.com/products/1
2: https://github.com/micronucleus/micronucleus
Re: Emulator of Original Dell Charger Using ATTINY85
#30Earlier quoted context omitted.
Yes, I was confused because my Dell laptop power input doesn't have 3 wires (unless there's somehow a third wire buried in the barrel connector), so I was assuming that the ID signal is somehow just combined with the actual input voltage.
Yes, the barrel connector actually has three contacts. The inner and outer part of the metal barrel are insulated from each other - the outer is ground and the inner is +V. The pin in the middle only carries data.