Category Archives: Coding

programming

How to write an Auto Blogging Robot Script

I recently noticed there is a website copying my blog content and I started looking into it. I realized how easy it is to copy other people’s blog/website contents by using wordpress plugins. It’s completely automatic! Although I was really annoyed by this, I am really interested how it works. Also knowing how a auto blogging software work better might increase the chances that I can stop them.

Read More

Check RAM Memory Usage In Arduino and Optimization

As explained briefly the types of memories in Arduino, RAM (or SRAM) memory is the type that get ignored most easily, because there isn’t anywhere you can find out the usage footprint (well i should say not easy to find out). It usually hardly run out so we tend to forget about it. But if you do run out of RAM memory, your sketch will not work properly on your arduino, sometimes it doesn’t even allow you to upload the code.

Read More

Arduino Sketch Too Big Error – How to Reduce Sketch Size?

I spent a long time writing an Arduino program, but only realize the sketch is too big to upload to the Arduino. It’s frustrating because you have to spend more time looking at your program, wondering what could be possibly be removed or changed to save space. In this article I will explain how you could reduce the size of your Arduino sketch.

Read More

DIY Programmable Bike Light – Arduino or ATTiny and RGB LED

Since I got my bike, I had always wanted to do something interesting bike related. Riding a bike at night is a bit dangerous, so I decided to build a DIY bike rear light to keep me safe.! Most bike lights on the market are some dummy red LED with just a switch, which might be running off some AA batteries. That is boring as hell and swapping out the battery once every few days seems to be a pain.

Read More

ATTiny Analog Comparator – Checking Voltage Level

To read a voltage we usually need analogue input. Unfortunately, the ATtiny4313 doesn’t have any analog input, which could have made reading voltage so much simpler. I was almost giving up on this feature, until I realize there are analogue comparator on the ATTiny4313 and 2313, which I could use for simple voltage level checking. The comparator in the ATtiny2313 is used to compare a changing voltage with a fixed reference voltage. The comparator pins are 13 (AIN0) and 14 (AIN1).

Read More

DIY TV Ambilight Using Arduino – Ozilight Part 1

Ambilight is basically  the background light effect projected from some RGB LEDs mounted on the back of the TV or monitor screen, which automatically  follows the color and brightness of the video content on the TV screen in real-time. This can create some very impressive visual effects and can also use for eye-easing purposes. The ambilight concept was developed and introduced by Phillips. There are ambilight TVs or ambilight systems commercially available but they tend to be very expensive.

Read More

Change IP Config Using Simple Batch Script

I have a two laptops and only one network port, although i can use wifi on both computers, I prefer to use cable whenever I can for faster internet speed. So when sharing internet through one laptop to the other i need to switch IP config settings, which is a pain (where I need to change IP address, subnet and default gateway in IPV4, local area connection adapter).

Read More