Dynamic Current Measurements [draft]
To Do: Look into Average vs RMS also Plot some graphs yay
To Do: Look into Average vs RMS also Plot some graphs yay
Why I bought it in the first place The Analog Discovery 3 seemed like a band-aid solution to an ongoing problem I have been facing here at Cambridge: how do I get my own oscilloscope so that I can get back in to doing electronics without having to rely on the few shared scopes at the Dyson Center (the Dyson Center is sort of like a makerspace for engineering students, it isn’t great though…)...
I have recently decided to move Infinus Electronics over to Hugo, as WordPress with its weird styling issues and super hard to understand file structure made it way too frustrating to debug and customise. So far, working with Hugo has been a blast, and having worked with frameworks like Laravel and Flask before, the whole organisation of pages by file hierarchy has been a lot more intuitive. And transparent. The issue My first post written on this new platform is the Battery Powered +48V Phantom Power Supply , which of course, had to show a schematic from KiCad....
So, you’ve just exported your Jupyter notebook as a .html file, and are about to embed it in your WordPress post. While it may be tempting to just copy and paste the generated html code in a custom html code block, you’ll probably find out pretty quickly that doing so entirely messes up the css of your theme, leading to issues like the sidebar loading at the bottom of the page instead of at the side, fonts and font colours being altered in unexpected ways, etc....
Why quote marks? Because while I’m sure there is a proper way to disable this behavior, I couldn’t find it within 5 minutes of Googling, it was 2.30am, I was tired, my laptop battery life was taking a huge hit from it keeping the dedicated GPU on at all times… So, I decided to go the barbaric route, and just kill the task after its started. Even the way I’m doing that is pretty crude as well....
First off, there are already a whole bunch of tutorials on how to use this particular I2C EEPROM with an Arduino. If you want to understand how such an EEPROM works, this post is not for you. I just wanted to share this bit of code with anyone who doesn’t feel like writing their own. It basically allows you to select an EEPROM address and specify a payload to be written to that particular address....
I recently ran into an interesting issue developing my dawn simulator lamp (full project details coming soon): the HC-05 module I was going to use really didn’t play nice with the hardware UART peripheral on the Arduino Nano. Why not use software serial like the countless other tutorials on the HC-05 on the Internet suggest, you may ask. Well, its because this project uses WS2812B LEDs, which are a real pain when you have to do multiple things that require precise timing (both RS232 and the WS2812B’s communication protocol are asynchronous) on something like an Arduino Nano, which isn’t particularly fast, has limited peripherals, doesn’t have a DMA… you get the idea....
Have you ever tried to Serial.read() multiple bytes successively with an Arduino, only to have it spit out a bunch of 0xFF or similar nonsense? I sure have. Check out this section of code from my mood light project: uint8_t cmd = Serial.read(); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 //other stuff here else if (cmd == 0xcc) { //set color currR = Serial....