Lucky Resistor
Menu
  • Home
  • Learn
    • Learn C++
    • Product Photography for Electronics
      • Required Equipment and Software
    • Soldering for Show
  • Projects
  • Libraries
  • Applications
  • Shop
  • About
    • About Me
    • Contact
    • Stay Informed
  •  
Menu

Category: Learn

Better Bridging with Slicer Guides

Posted on 2023-02-04 by Lucky Resistor

I got questions about a particular feature you find if some of my 3D models. In this short text, I will explain why I add it and why you should add features like this too. How the Features Look Like Please check out my latest modular lantern design if you want to see the technique…

Read more

Extreme Integers – Doom from Below

Posted on 2022-09-042022-09-05 by Lucky Resistor

As a beginner or immediate C++ programmer, you heard never mixing unsigned and signed integer types or avoiding unsigned integers at all. There was also this talk about undefined behaviour. Yet, in embedded software development, there is no way around unsigned integers – so what is behind all these warnings? Wonderful that you strive to…

Read more

How to Create a Large 3D Printed Artwork

Posted on 2021-12-30 by Lucky Resistor

I recently built a relatively large (100cm × 80cm) 3D printed artwork, which features a painted relief of mathematical functions. Read how I prepared the data, converted it into 3D printable tiles and converted them into printable gcode. All the images and previews are from the proof of concept I created. The final artwork is…

Read more

Filtered RPM Measurement Using PIO

Posted on 2021-04-172021-04-18 by Lucky Resistor

The Raspberry Pi RP2040 chip is a remarkable microcontroller. The programmable IO block (PIO) is only one of many great features of this chip. In this post, I show you a method of how to utilise PIO, to capture the speed of an attached PC fan with included software filter. Most fans have a feedback…

Read more

How to Assemble the MicroMaTch Connectors with a Hammer

Posted on 2021-03-21 by Lucky Resistor

I mentioned in one of my posts how to assemble the MicroMaTch connectors using a hammer, but never explained the rather simple method in detail. So I made a short video, explaining the exact technique I use. If you have any questions, missed information, or simply want to provide feedback, feel free to comment below…

Read more

Event-Based Firmware Example

Posted on 2019-08-052022-09-04 by Lucky Resistor

If you read the previous articles about event-based firmware, modularisation and templates, you may wonder how to combine all these concepts in your firmware. I created a working firmware example, based on an event loop. In contrast to the minimal example code in my articles, this one contains everything you need to start a project….

Read more

Consistent Error Handling

Posted on 2019-08-012022-09-04 by Lucky Resistor

Error handling in firmware is a difficult task. If you decide to ignore errors, the best you can expect is a deadlock, but you could also damage the hardware. When reviewing existing code, I often find boolean return values or a system of error codes. The problem with these systems is the lack of readability….

Read more

Use Enum with More Class!

Posted on 2019-07-292022-09-04 by Lucky Resistor

You may be familiar with enum values, but do you know about enum classes? This great feature was introduced with C++11 to solve several problems with the regular enum declaration. Now I will explain the enum class declaration and demonstrate its practical uses. Although the examples I provide are intended for the Arduino Uno, the…

Read more

C++ Templates for Embedded Code (Part 2)

Posted on 2019-07-272022-09-04 by Lucky Resistor

Templates are a powerful feature of the C++ language, but their syntax can be complex. Here I will continue with the second part of the article. Although the examples I provide are for the Arduino Uno and Adafruit Feather M0, the concepts will work with any platform and with all modern C++ compilers. Recap of…

Read more

Bit Manipulation using Templates

Posted on 2019-07-232022-09-04 by Lucky Resistor

Did you read my article about C++ templates for embedded code? You learned how to use function templates. This post adds a practical example to this topic. Bit Manipulation You may be familiar with bit manipulation code like this: For simplicity, you like to select single bits using its index number. This is a common…

Read more
  • 1
  • 2
  • 3
  • 4
  • Next

Stay Updated

Join me on Mastodon!

Top Posts & Pages

  • Storage Boxes System for 3D Print
  • Event-based Firmware (Part 1/2)
  • Build a 3D Printer Enclosure
  • Yet Another Filament Filter
  • Circle Pattern Generator
  • Circle Pattern Generator
  • Real Time Counter and Integer Overflow
  • Projects
  • Logic Gates Puzzle 11
  • Units of Measurements for Safe C++ Variables

Latest Posts

  • Better Bridging with Slicer Guides2023-02-04
  • Stronger 3D Printed Parts with Vertical Perimeter Linking2023-02-02
  • Logic Gates Puzzle 1012023-02-02
  • Candlelight Emulation – Complexity with Layering2023-02-01
  • Three Ways to Integrate LED Light Into the Modular Lantern2023-01-29
  • The 3D Printed Modular Lantern2023-01-17
  • Rail Grid Alternatives and More Interesting Updates2022-12-09
  • Large Update to the Circle Pattern Generator2022-11-10

Categories

  • 3D Printing
  • Build
  • Common
  • Fail
  • Fun
  • Learn
  • Projects
  • Puzzle
  • Recommendations
  • Request for Comments
  • Review
  • Software
Copyright (c)2022 by Lucky Resistor. All rights reserved.
Lucky Resistor
Privacy Policy / Proudly powered by WordPress Theme: FlatMagazinews.
 

Loading Comments...