1001 ways to blink a LED

... and do other stuffs!



Using Platform.io to blink a NodeMCU’s LED.

Recently, I discovered Platform.io which is a set of tools integrated in Atom editor. It allows the VERY easy management of tool chains for multiple boards. Here is my first program.

Path to “Magic button” S01E01

This is the code to blink a LED on a GPIO on an ESP8266-1 loaded with NodeMCU. What is of particular interest is the GPIO0 and GPIO2 values. GPIO0=3 GPIO2=4 pin = GPIO0 gpio.mode(pin, gpio.OUTPUT) lighton=0 tmr.alarm(0,1000,1,function()     if lighton==0… Continue Reading →

Connecting BugOne and Raspberry Pi

I challenged a friend to connect a micro-controller to a Raspberry Pi. I chose to use an ATMega168 programmed in C while he preferred to use a Microchip PIC programmed in ASM. Not that I don’t like ASM, but it… Continue Reading →

Everything is better with a LED

This one of my last prints, a Kryptonian Key [Ecogeeco] inspired from Man of Steel movie. I decided to print it in transparent PLA to allow insertion of a LED.

BugOne driving a LED matrix

It’s been a while since my last blink on this blog. Today I’m gonna blink 64 LEDs … I mean an 8×8 LED matrix. This article is about driving a LED matrix from a MAX 7219 with a BugOne board… Continue Reading →

RFM12 text inverter

Today, I’m improving my previous article on RFM12 communication implementing a bidirectional communication between two BugOne boards. To ensure a bidirectional communication is really happening, I’ll be using the code from BugOne’s github project: app_noapp_skel. This project basically takes any… Continue Reading →

RFM12 wireless transmission

Holidays are a good time to make some LED blinking. This time I’m going to do a wireless transmission using RFM12 modules from two BugOne boards.

MAX6969 – Bug correction

After my previous article on the MAX6969, I’m investigating the reason of the strange visual artifacts on LEDs when changing data.

MAX6969 and Pulse Width Modulation

Today I decided to take the MAX6969 sample a step further using Pulse Width Modulation (PWM) to vary LEDs intensity.

MAX6969 blinking

I recently ordered a bunch of sample MAX6969 from MAXIM. These are 16 ports current LED drivers I’m planning to use to drive optoisolators (MOC3041). In my first attempt, I used an Arduino plus a bunch of LED and made… Continue Reading →

© 2017 1001 ways to blink a LED — Powered by WordPress

Theme by Anders NorenUp ↑