Posts

Showing posts from January, 2015

Getting Started with USBAspLoader from ground up and troubleshooting

Image
The Beginning It has been a long absent since the last post of my electronic project and hacks. Time to get my dusty arduino out of the shelf. G*! I don't know what to do with this. All i could remember is that i tried to get USBAspLoader up and running on my Atmega8A-16PU. Ok, here is the deal. I write this article to aid anybody that in my situation or maybe to refresh how to get USBAspLoader running. SETUP All Bill of materials are well described in the schematic below. Noticed i don't put 100nF electrolytic capacitor between uC Vcc and GND. But i do add 10nF capacitor at my soldered board. Why? Well i forgot to add one on my breadboard, sorry. And here is the schematic. Don't get confused of the uC label, Atmega168, is has the same pin layout with Atmega8. With the schematic reading given me some clue the arrangement on the breadboard. Plug the USB cable and my Linux (Fedora 19) detected as kernel: [27618.902659] usb 3-3: new low-speed USB devic

Breadboard Self-Capacitance Problem

Image
Just found out how self-capacitance or parasitic capacitance very annoying. Let me share the experienced i had with breadboard self-capacitance . I am driving a relay with a transistor, BC 337 (npn). With my usbasploader on Atmega8 as my On/Off controller. Here is the schematic. The problem starts to showing. I had arranged all parts as in the diagram above on a breadboard. When an On signal raised from microcontroller, Atmega8 with usbasploader, to the transistor and the relay starts to make a tick sound, telling me that it is at "On" state. When the "Off" signal triggered... nothing happens. The next "On" state nothing happens and so on. It is just turned "On" and hang. Humm.. after several trials 1. Adding a capacitor 10uF at the transistor B-E pins 2. Adding a pull down resistor at the transistor Base pin, 10K Ohm. The trials said above results the same condition whenever the transistor had been raised to "On