After being hacked, I’m finally back online.
Recently I’ve been playing with Autodesk Fusion 360. They provide free licences for personal use, which is very nice from them.
The software is really, really, really great. Here are the features I like the most : clean UI, possibility to return and change dimensions of bodies, joints.
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 then lighton=1 gpio.write(pin, gpio.HIGH) -- 512/1024, 50% duty cycle else lighton=0 gpio.write(pin, gpio.LOW) end print(lighton) end)
First, I will discuss some basic knowledge and expose my problem. Then I’ll talk more in depth about Pebble communication and finally expose the Automate part. So, go straight to the end for the technical part.
When I received my two NodeMCU boards, I rapidly tried to update the firmware … and broke the firmware of one of the board. So here is the correct way to flash a firmware on a NodeMCU board which allowed me to save it.
I recently got an old computer screen out of my garage. It is now just perfect to monitor the extruder temperature and print progress from OctoPrint.
My last project uses a Digispark (ATtiny85) as an USB keyboard to send the lock screen shortcut (Ctrl-Alt-L) when a single button is pressed. To bring some fun, I bundled the whole in an emergency stop push button.
Arduino IDE is great, however, some times I enjoy a simple C program and a simple Makefile. Here is a simple application skeleton allowing to blink a LED of course.