The old Dell barrel jack power supplies use 1wire communication to identify the power supply's capabilities. It would likely be cheaper to purchase a compatible 1wire memory module. Here is an article on reverse engineering the memory module. https://hclxing.wordpress.com/2014/02/06/hacking-the-dell-la...
> and the battery will not charge (the picture is from internet but it has almost identical information) Yikes! I used a no-name charger on my Dell Latitude for quite a while, and it never stopped me from charging. Just annoyed me about it (press F1 to continue on boot) whenever I took the battery out (wiping the CMOS) and didn't turn off the AC warnings in the BIOS. The one I was using didn't have a serial chip in i…
Emulator of Original Dell Charger Using ATTINY85
31–40 of 57 posts
Re: Emulator of Original Dell Charger Using ATTINY85
#32Earlier 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
#33Earlier quoted context omitted.
> and the battery will not charge (the picture is from internet but it has almost identical information) Yikes! I used a no-name charger on my Dell Latitude for quite a while, and it never stopped me from charging. Just annoyed me about it (press F1 to continue on boot) whenever I took the battery out (wiping the CMOS) and didn't turn off the AC warnings in the BIOS. The one I was using didn't have a serial chip in i…
It goes further than warnings though - at least circa 2012 using an unofficial charger (or official charger where this fragile extra wire is broken) would underclock the cpu dramatically. It happened silently, such that I didn’t realize what was happening and why my laptop was so slow until stumbling upon a random forum post about it. I was pretty sour on Dell after that experience.
If that is the case, part of me wants to play Devil's advocate and say that Dell have erred on the side of caution: these no-name adapters really are quite terrifying with thermals, which makes me wonder what wattage they're actually rated for. I was frequently in WTF mode because the adapter block was too hot to keep my hand on. I didn't really have a choice either, as my battery was at like 38% capacity. This official 130W is barely warm under load.
Aside: one thing that really eek'd me out about that no-name adapter is that it has a green LED inside it. The only thing is, you can only (just barely) see it through the slits on the sides because the plastic isn't clipped together properly. The manufacturing quality is atrocious.
Re: Emulator of Original Dell Charger Using ATTINY85
#34I 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…
It's also kind of a fun challenge working within the limitations on both the HW and SW side.
Re: Emulator of Original Dell Charger Using ATTINY85
#35Earlier quoted context omitted.
> and the battery will not charge (the picture is from internet but it has almost identical information) Yikes! I used a no-name charger on my Dell Latitude for quite a while, and it never stopped me from charging. Just annoyed me about it (press F1 to continue on boot) whenever I took the battery out (wiping the CMOS) and didn't turn off the AC warnings in the BIOS. The one I was using didn't have a serial chip in i…
It goes further than warnings though - at least circa 2012 using an unofficial charger (or official charger where this fragile extra wire is broken) would underclock the cpu dramatically. It happened silently, such that I didn’t realize what was happening and why my laptop was so slow until stumbling upon a random forum post about it. I was pretty sour on Dell after that experience.
Re: Emulator of Original Dell Charger Using ATTINY85
#36I'm generally against capital punishment, but for whatever exec pushed this through - I think we could make an exception.
Re: Emulator of Original Dell Charger Using ATTINY85
#37Earlier quoted context omitted.
It goes further than warnings though - at least circa 2012 using an unofficial charger (or official charger where this fragile extra wire is broken) would underclock the cpu dramatically. It happened silently, such that I didn’t realize what was happening and why my laptop was so slow until stumbling upon a random forum post about it. I was pretty sour on Dell after that experience.
Really? I have a 2013 Latitude and I haven't experienced that yet (or never noticed). I still have the no-name adapter here, so I'll have to check (I only just got a proper 130W). If that is the case, part of me wants to play Devil's advocate and say that Dell have erred on the side of caution: these no-name adapters really are quite terrifying with thermals, which makes me wonder what wattage they're actually rated…
# Running on battery power.
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
3500000
3500000
3500000
3500000
# No-name charger inserted.
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
3500000
3500000
3500000
3500000
# Genuine charger inserted.
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
3500000
3500000
3500000
3500000
[0]: https://unix.stackexchange.com/questions/576692/ignore-ppc-s...Re: Emulator of Original Dell Charger Using ATTINY85
#38Earlier quoted context omitted.
It goes further than warnings though - at least circa 2012 using an unofficial charger (or official charger where this fragile extra wire is broken) would underclock the cpu dramatically. It happened silently, such that I didn’t realize what was happening and why my laptop was so slow until stumbling upon a random forum post about it. I was pretty sour on Dell after that experience.
This happens even on new Dell machines, even if the PSU is detected but a lower wattage than the shipped PSU. I have wondered if it affects Linux more than windows though
[0]: https://news.ycombinator.com/item?id=30458632 (god I really suck with the links today, lol)
Re: Emulator of Original Dell Charger Using ATTINY85
#39Earlier quoted context omitted.
An MCU is a chip in a package that just cannot interface with anything your consumer PC or notebook comes with. You'll need an adapter in any case. That said, lots of current MCUs come with UART, I2C and/or USB bootloaders allowing to erase/program (if not disabled). This bootloader is typically included in factory ROM, not to be programmed by you or a third party.
What? Why couldn't an MCU interface with my computer? It's not like it has special electrons or something in it. I regularly program atmega chips with a cable I made that plugs into the parallel port on the back of any computer that has one. If you have a couple GPIO pins on a motherboard, you can probably program almost any MCU with with it. The only exception is if the motherboard GPIO was say 3.3v and you had a 1.…
Re: Emulator of Original Dell Charger Using ATTINY85
#40Awesome work. I just dove into the world of AVR programming and bought a bunch of ATTINY85's. Super easy to work with, extremely versatile, and low power consumption.
Do you use a USB programmer, or did you buy ones that have a USB programmer built in?
Truth be told, the 85:s are a bit old now, it was released around 2005. But even the more modern "[012]-series" [1] don't support USB, it is kind of the point. The linked Wikipedia page says:
ATtiny microcontrollers specifically excludes various common features, such as: USB peripheral, DMA controller, crypto engine, or an external memory bus.
[1]: https://en.wikipedia.org/wiki/ATtiny_microcontroller_compari...