Author archive: cnlohr

Fun With Rolling Shutters and Fast LEDs

I am helping my friend Paul try to balance his hexacopter motors for one of his projects. We are trying to use a strobe and an accelerometer to help us observe the imbalances. We ran into an unusual artifact with my NEX-5N camera.

Details

Video and ethernet at the same time on an AVR

I decided to keep tweaking my NTSC code and my ethernet code until I could get them to co-exist. And sure enough… it works! I can update my ethernet code in the areas of the screen that nothing is going on and still display the NTSC video. As always, code is available here: https://github.com/cnlohr/avrcraft/tr… The PCB…

Details

Time Jitter on AVR Interrupts

Some instructions on the AVR take longer than others. This can prove to be a problem if you want interrupts to fire at exact times and you don’t want to sleep() all the time. The solution is to stick some code in the interrupt that examines the timer and waits for a specific number of…

Details

Let’s Code: NTSC Part 2B (Chroma)

I’m trying something new, I’m trying a let’s learn / let’s code series. This one is about NTSC. And the basics. If you haven’t already watched the previous two videos I mention, I recommend doing so. This is the page that I referenced when I was learning NTSC:http://www.kolumbus.fi/pami1/video/pa… Source code is available here: https://cnlohr.net/pubsvn/electrical/…

Details