Mosquito Bat Teardown

Mosquito Killer Bat Teardown
Mosquito Killer Bat Teardown
Mosquito Killer Bat Teardown

This is probably one cheap electronic device that is common in most Indian homes. Mostly stops working completely in a year’s time. Consists of an AC input section with a capacitive dropper and indicator LED followed by a 4-diode bridge rectifier that feeds directly to the battery. There are different battery options mostly 4V. I seem to have a 2.4V(2 Cell Rechargeable 2.4V 600mAh) one. There is no protection for charge current manipulation here(to save a few cents there). Probably the reason why these batteries don’t last more than a few recharge cycles.

This is followed by the high voltage section with a feedback transformer driving a transistor followed by a slightly weird voltage multiplier section to generate a high voltage which gets stored at a large capacitor at the end. Some units come with a discharge resistor to discharge that capacitor(So that there are no accidental zaps). This high voltage section is connected to 2 metal outer grids and 1 inner metal grid in the bat. When a mosquito comes in contact with the inner and outer grids, this capacitor energy is discharged across the insect to burn it to create the classic pop sound.

The most common thing which goes bad in these devices is the output capacitor(you can test to see if there is a very small spark across the terminals) or like in my case here, the battery loses its retaining capacity. You can test by charging it fully on AC, then with a metal part(insulating the section you hold) discharging the grids, you will hear a classic pop initially then it will go down in sound after 3-4 tries as the battery discharges fast. Replace the battery in that case. 

If you liked the post, Share it with your friends!

ATSAMD51 Custom Bootloader

Spending the birthday playing with this beauty of a controller. ATSAMD51J19 based Adafruit Feather M4. Its a blazingly fast ARM Cortex M4(120MHz) with 512KB flash and built-in 256 bit AES crypto engines and a full USB controller from @microchipmakes. Definitely a huge performance improvement from the SAMD21 series. Real-time processing seems a breeze. Also, you can overclock this controller to 200MHz. Never heard of a microcontroller being overclocked.

Trying to build a custom bootloader for this board with a fresh chip. Seems UF2 Bootloaders from @microsoft will allow you to use it as a USB device and you can use it with Arduino and CircuitPython, MakeCode to program it with the same bootloader are a rage with this one. Reading up a lot on those. @adafruit seems to have done a great job with it. Planning a custom compilation. Anyone having experience compiling UF2 bootloader from source on Windows(https://github.com/microsoft/uf2-samdx1) do reach out. Any help is appreciated. The documentation seems to be sparse. Seems @sparkfun also has a custom bootloader for their Thing Plus series with the same controller.

Thank you again for all the warm wishes for the day. Hope you have a great day ahead.

Edit: Figure out how to do a custom bootloader. Will write a detailed blog about it soon…

If you liked the post, Share it with your friends!
1 9 10 11 12 13 17