Are you over 18 and want to see adult content?
More Annotations
A complete backup of product-club.com
Are you over 18 and want to see adult content?
A complete backup of manhattanbridgeortho.com
Are you over 18 and want to see adult content?
A complete backup of healthyteeth.co.il
Are you over 18 and want to see adult content?
Favourite Annotations
A complete backup of shapecollage.com
Are you over 18 and want to see adult content?
A complete backup of madeinmedina.com
Are you over 18 and want to see adult content?
A complete backup of nealsyarddairy.co.uk
Are you over 18 and want to see adult content?
A complete backup of axa-direct.co.jp
Are you over 18 and want to see adult content?
Text
data lines
WELLER MAGNASTAT AUTOPSY AND REPAIR PICOSCOPE 2208B MSO REVIEW MY POSTS | CODE AND LIFE This project was born as a sidetrack of another one (I’m planning on building a $10 DIY Bluetooth page turning pedal for my piano and iPad sheet music app, similar to PageFlip Butterfly).I was looking if AliExpress would have bluetooth pedals, which they don’t — it seems Chinese vendors are REALLY good at copying products but there is little new product innovation combining something as TUTORIAL: STATE MACHINES WITH C CALLBACKS UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include SIMPLE FAT AND SD TUTORIAL PART 1 3. 8. Relative offset to the partition in sectors (LBA) 4. 12. Size of the partition in sectors. 4. The partition type should be 4 for FAT16 partitions that are less than 32 MiB (MiB = 1024^2 bytes), 6 for over 32 MiB partitions and 14 for FAT16 partitions using LBA SIMPLE FAT AND SD TUTORIAL PART 2 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above) AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
WELLER MAGNASTAT AUTOPSY AND REPAIR PICOSCOPE 2208B MSO REVIEW MY POSTS | CODE AND LIFE This project was born as a sidetrack of another one (I’m planning on building a $10 DIY Bluetooth page turning pedal for my piano and iPad sheet music app, similar to PageFlip Butterfly).I was looking if AliExpress would have bluetooth pedals, which they don’t — it seems Chinese vendors are REALLY good at copying products but there is little new product innovation combining something as 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above) COMPOSITE VIDEO DECODING: THEORY AND PRACTICE After a few busy weeks, I’ve finally arranged enough time to cover the details behind my color composite video decoding project I featured recently. Before you proceed, I suggest you read the previous post, as well as the one before that covers B/W decoding (this post builds on that one), and watch the video, if you haven’t already:. So, feel ready to learn about composite color coding AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
AVR ATTINY USB TUTORIAL PART 1 AVR ATtiny USB Tutorial Part 1. I wanted to build an USB device using AVR microcontrollers since I found out that it was possible. However, both the USBtiny project and the more extensive V-USB library lacked an easy-to-approach tutorial. So I decided to make one. This first part covers the basics for making USB-powered devices, and serves asUNZIP LIBRARY FOR C
Joonas Pihlajamaa: No, it actually looks very decent. Still a slightly larger code footprint than the one I made, but not by a large margin. I didn’t find this one when researching the alternatives, might have saved me a dozen hours of coding. PICOSCOPE 2204 USB OSCILLOSCOPE REVIEW Features at glance. You can get the full rap from the PicoScope2200 datasheet, but here are the basic features of 2204: Two channels, BNC input, 1 Mohm, 20pF. 10 MHz bandwith with 100 MS/s sampling rate. 50 MS/s sampling with two channels, 2 GS/s for 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ULN2003, 7-channel darlington array (NPN, i.e. current sinks) 7 resistors, 330 ohm. 2 seven segment displays, common anode. 2 PNP transistors, e.g. BC558B, but almost any will do. 2 resistors, 2.2 kohm. 4.7 kohm pullup resistor (or similar value) 6-pin programming header. A breadboard and jumper wires. 5V DC voltage source ( USB isone option)
V-USB WITH ATTINY45 / ATTINY85 WITHOUT A CRYSTAL One guy at Hack a Day remarked on the long wire runs in my V-USB tutorial breadboard setup.So I thought I’d build upon the part 4 of the tutorial but modify the setup a bit to run the AVR at 5 volts and use zener diodes to drop D+/D- voltage, thus eliminating the need for a regulator. And why not stop there. ATtiny45 and ATtiny85 are smaller than ATtiny2313 and have an internal oscillator RASPBERRY PI SERIAL CONSOLE WITH MAX3232CPE Raspberry Pi Serial Console With MAX3232CPE. In addition to the audio, video, network and USB connectors, the Raspberry Pi also has 26 GPIO pins. These pins also include an UART serial console, which can be used to log in to the Pi, and many other things. However, normal UART device communicate with -12V (logical “1”) and +12V (logical “0 EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include SIMPLE FAT AND SD TUTORIAL PART 1 3. 8. Relative offset to the partition in sectors (LBA) 4. 12. Size of the partition in sectors. 4. The partition type should be 4 for FAT16 partitions that are less than 32 MiB (MiB = 1024^2 bytes), 6 for over 32 MiB partitions and 14 for FAT16 partitions using LBA UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. TUTORIAL: STATE MACHINES WITH C CALLBACKS 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above) AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
WELLER MAGNASTAT AUTOPSY AND REPAIR 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION Connecting Arduino Uno to Raspberry Pi. There’s basically two ways to link the Arduino to the Pi. Easier route would be to just plug Arduino into the Pi via USB. The USB to serial bridge should be automatically recognized and be available at /dev/ttyACM0. But if you want to do it the hard way like I did, you can also connect the PiGPIO pins
EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include SIMPLE FAT AND SD TUTORIAL PART 1 3. 8. Relative offset to the partition in sectors (LBA) 4. 12. Size of the partition in sectors. 4. The partition type should be 4 for FAT16 partitions that are less than 32 MiB (MiB = 1024^2 bytes), 6 for over 32 MiB partitions and 14 for FAT16 partitions using LBA UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. TUTORIAL: STATE MACHINES WITH C CALLBACKS 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above) AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
WELLER MAGNASTAT AUTOPSY AND REPAIR 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION Connecting Arduino Uno to Raspberry Pi. There’s basically two ways to link the Arduino to the Pi. Easier route would be to just plug Arduino into the Pi via USB. The USB to serial bridge should be automatically recognized and be available at /dev/ttyACM0. But if you want to do it the hard way like I did, you can also connect the PiGPIO pins
COMPOSITE VIDEO DECODING: THEORY AND PRACTICE After a few busy weeks, I’ve finally arranged enough time to cover the details behind my color composite video decoding project I featured recently. Before you proceed, I suggest you read the previous post, as well as the one before that covers B/W decoding (this post builds on that one), and watch the video, if you haven’t already:. So, feel ready to learn about composite color coding 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ULN2003, 7-channel darlington array (NPN, i.e. current sinks) 7 resistors, 330 ohm. 2 seven segment displays, common anode. 2 PNP transistors, e.g. BC558B, but almost any will do. 2 resistors, 2.2 kohm. 4.7 kohm pullup resistor (or similar value) 6-pin programming header. A breadboard and jumper wires. 5V DC voltage source ( USB isone option)
AVR ATTINY USB TUTORIAL PART 1 AVR ATtiny USB Tutorial Part 1. I wanted to build an USB device using AVR microcontrollers since I found out that it was possible. However, both the USBtiny project and the more extensive V-USB library lacked an easy-to-approach tutorial. So I decided to make one. This first part covers the basics for making USB-powered devices, and serves as AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
PICOSCOPE 2204 USB OSCILLOSCOPE REVIEW Features at glance. You can get the full rap from the PicoScope2200 datasheet, but here are the basic features of 2204: Two channels, BNC input, 1 Mohm, 20pF. 10 MHz bandwith with 100 MS/s sampling rate. 50 MS/s sampling with two channels, 2 GS/s forLEVEL SHIFTING 101
The first level shifting part is the 4050 hex non-inverting buffer. The “hex” part means there’s actually six separate buffers in one chip, much like there’s four in the parts with “quad” in their description. The Fairchild’s 4050B datasheet explicitly statesin the
SIMPLE FAT AND SD TUTORIAL PART 4 Simple FAT and SD Tutorial Part 4. In the previous parts of this tutorial, we have built both an FAT library as well as a test program to communicate with the SD card. Now it’s time to wrap it up with final parts of code to read a file from SD card and print it out. This part will utilize the previously made FAT library with a few tweaks PICOSCOPE 2208B MSO REVIEW All models have a 5-year warranty which gives confidence that you’re getting a quality product. The review unit I have is the top of the line 2208B which has 2 channels and MSO, and 100 MHz bandwith. The software is the same for all models, so most everything I write herewill
ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION Connecting Arduino Uno to Raspberry Pi. There’s basically two ways to link the Arduino to the Pi. Easier route would be to just plug Arduino into the Pi via USB. The USB to serial bridge should be automatically recognized and be available at /dev/ttyACM0. But if you want to do it the hard way like I did, you can also connect the PiGPIO pins
UNZIP LIBRARY FOR C
Joonas Pihlajamaa: No, it actually looks very decent. Still a slightly larger code footprint than the one I made, but not by a large margin. I didn’t find this one when researching the alternatives, might have saved me a dozen hours of coding. EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. SIMPLE FAT AND SD TUTORIAL PART 1 Are you limited by 128 bytes of EEPROM on your MCU or even the few kilobytes of flash in your project? Instead of just downloading a library like Petit FAT File System Module and following blindly a tutorial on how to customize it to your microcontroller and SD card, would you like to really understand what you are doing, and maybe learn a bit about filesystems and SPI in the process? UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST TUTORIAL: STATE MACHINES WITH C CALLBACKS WELLER MAGNASTAT AUTOPSY AND REPAIR 3.3V UART WITH MAX3232CPE Before diving right into SPI communications for my SD tutorial, I wanted to have a 3.3V development platform that could output some meaningful status information, not just light a LED if something goes wrong.In this post, I will outline the basic testing platform that will be used in the upcoming part 3 of that tutorial, and discuss a little about UART on AVR in the progress. AVR ATTINY USB TUTORIAL PART 2 This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION jokkebk: First, hopefully you read the warning I added last week, as the Arduino programming can put 5 volts to RX, so having a MAX3232 or a level converter chip between the Arduino and Pi is preferred, or at least a series resistor (1k may work, haven’t tried that). EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. SIMPLE FAT AND SD TUTORIAL PART 1 Are you limited by 128 bytes of EEPROM on your MCU or even the few kilobytes of flash in your project? Instead of just downloading a library like Petit FAT File System Module and following blindly a tutorial on how to customize it to your microcontroller and SD card, would you like to really understand what you are doing, and maybe learn a bit about filesystems and SPI in the process? UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST TUTORIAL: STATE MACHINES WITH C CALLBACKS WELLER MAGNASTAT AUTOPSY AND REPAIR 3.3V UART WITH MAX3232CPE Before diving right into SPI communications for my SD tutorial, I wanted to have a 3.3V development platform that could output some meaningful status information, not just light a LED if something goes wrong.In this post, I will outline the basic testing platform that will be used in the upcoming part 3 of that tutorial, and discuss a little about UART on AVR in the progress. AVR ATTINY USB TUTORIAL PART 2 This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION jokkebk: First, hopefully you read the warning I added last week, as the Arduino programming can put 5 volts to RX, so having a MAX3232 or a level converter chip between the Arduino and Pi is preferred, or at least a series resistor (1k may work, haven’t tried that). COMPOSITE VIDEO DECODING: THEORY AND PRACTICE After a few busy weeks, I’ve finally arranged enough time to cover the details behind my color composite video decoding project I featured recently. Before you proceed, I suggest you read the previous post, as well as the one before that covers B/W decoding (this post builds on that one), and watch the video, if you haven’t already:. So, feel ready to learn about composite color coding PICOSCOPE 2208B MSO REVIEW *) Resolution for repeating signals can be increased to 12 bit with multiple samples. Above the 2204 and 2205 sit the 2206, 2207 and 2208 which have 50, 70 and 100 MHz of bandwith, and much larger sample buffers from 32 MS to 128 MS. Sampling rates also go up to 1 GS/s so you can throw almost anything towards these ones and they’ll be ableto handle it.
LEVEL SHIFTING 101
While writing my FAT+SD tutorial, I realized that my projects may soon contain both 3.3 V components like an SD card, and 5.0 V components like LCD displays or a MAX232 UART chip.Considering I only knew how to use resistors as voltage dividers, I decided to learn a bit more about voltage level shifting.UNZIP LIBRARY FOR C
Joonas Pihlajamaa: No, it actually looks very decent. Still a slightly larger code footprint than the one I made, but not by a large margin. I didn’t find this one when researching the alternatives, might have saved me a dozen hours of coding. SIMPLE FAT AND SD TUTORIAL PART 4 In the previous parts of this tutorial, we have built both an FAT library as well as a test program to communicate with the SD card.Now it’s time to wrap it up with final parts of code to read a file from SD card and print it out. This part will utilize the previously made FAT library with a few tweaks – it turned out that some byte and word-sized values needed explicit casting to unsigned PICOSCOPE 2204 USB OSCILLOSCOPE REVIEW Joonas Pihlajamaa: Because maximum streaming is around few million samples per second, bandwith is at most half that, i.e. 1-1.5 MHz. But if you want details in the waveform, your 200 kHz is a fair estimate. AVR ATTINY USB TUTORIAL PART 1 jokkebk: @Tom Yes that would probably be safest. However, I’m not sure but it might actually be that USB spec defines that the port should limit the current (in the case of short circuit etc.) – at least I recall being concerned that I might burn a USB port by drawing too much power, but then reading about it a bit more and realizing that should not happen. AVR ATTINY USB TUTORIAL PART 2 This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION jokkebk: First, hopefully you read the warning I added last week, as the Arduino programming can put 5 volts to RX, so having a MAX3232 or a level converter chip between the Arduino and Pi is preferred, or at least a series resistor (1k may work, haven’t tried that). 7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP Philip: Hey, Nicely written article, I would like to experiment on using the 74HC595 shift register too. I have look into the data sheet for the 595 but it doesn’t seems to have a enough pins to separateinput and output.
TUTORIAL: STATE MACHINES WITH C CALLBACKS EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include SIMPLE FAT AND SD TUTORIAL PART 1 3. 8. Relative offset to the partition in sectors (LBA) 4. 12. Size of the partition in sectors. 4. The partition type should be 4 for FAT16 partitions that are less than 32 MiB (MiB = 1024^2 bytes), 6 for over 32 MiB partitions and 14 for FAT16 partitions using LBA $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above)UNZIP LIBRARY FOR C
7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP WELLER MAGNASTAT AUTOPSY AND REPAIR PICOSCOPE 2208B MSO REVIEW TUTORIAL: STATE MACHINES WITH C CALLBACKS EASY-TO-EMBED SVELTE COMPONENTS AS SCRIPT TAG WITH ROLLUP After Angular, React.js and Vue, svelte is the new and cool kid on the block. I have to admit, the compile-to-plain-javascript philosophy is nice, and what is especially cool is the fact that with Rollup.js you can easily bundle a svelte app into easy-to-embed component. I wanted to make a simple embeddable Svelte component for a friend of mine, that would be as simple as possible to include SIMPLE FAT AND SD TUTORIAL PART 1 3. 8. Relative offset to the partition in sectors (LBA) 4. 12. Size of the partition in sectors. 4. The partition type should be 4 for FAT16 partitions that are less than 32 MiB (MiB = 1024^2 bytes), 6 for over 32 MiB partitions and 14 for FAT16 partitions using LBA $6 DIY BLUETOOTH SHEET MUSIC PAGE TURN PEDAL WITH ESP32 Getting started: ESP32 devkit. The sheet music applications on iPad (and Android) usually have bluetooth keyboard support, turning the page when user presses an arrow key or spacebar. UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST 3.3V UART WITH MAX3232CPE 3.3V regulator such as LD1086V33 or some other 3.3V voltage source. 2 filtering caps for the regulator input/output sides, 10 uF. MAX3232CPE or similar RS-232 transceiver that works on a 3.3V voltage. RS-232 port on your computer or a USB to RS-232 dongle. RS-232 to breadboard connector (home-soldered example seen above)UNZIP LIBRARY FOR C
7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP WELLER MAGNASTAT AUTOPSY AND REPAIR PICOSCOPE 2208B MSO REVIEW COMPOSITE VIDEO DECODING: THEORY AND PRACTICE After a few busy weeks, I’ve finally arranged enough time to cover the details behind my color composite video decoding project I featured recently. Before you proceed, I suggest you read the previous post, as well as the one before that covers B/W decoding (this post builds on that one), and watch the video, if you haven’t already:. So, feel ready to learn about composite color coding UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST The package arrived a bit faster than the promised 21-25 days. See the gallery below for glorious images of various stages of setup. Unboxing of Ugreen M.2 NVME enclosure with USB-C 3.1. Setup was dead simple: Unpack Ugreen enclosure from the box. Slide open the back (no tools required) Take off the rubber “screw”. Insert M.2 NVME drive. AVR ATTINY USB TUTORIAL PART 1 AVR ATtiny USB Tutorial Part 1. I wanted to build an USB device using AVR microcontrollers since I found out that it was possible. However, both the USBtiny project and the more extensive V-USB library lacked an easy-to-approach tutorial. So I decided to make one. This first part covers the basics for making USB-powered devices, and serves asLEVEL SHIFTING 101
The first level shifting part is the 4050 hex non-inverting buffer. The “hex” part means there’s actually six separate buffers in one chip, much like there’s four in the parts with “quad” in their description. The Fairchild’s 4050B datasheet explicitly statesin the
7 SEGMENT MULTIPLEXING WITH ULN2003 & PNP ULN2003, 7-channel darlington array (NPN, i.e. current sinks) 7 resistors, 330 ohm. 2 seven segment displays, common anode. 2 PNP transistors, e.g. BC558B, but almost any will do. 2 resistors, 2.2 kohm. 4.7 kohm pullup resistor (or similar value) 6-pin programming header. A breadboard and jumper wires. 5V DC voltage source ( USB isone option)
UNZIP LIBRARY FOR C
Joonas Pihlajamaa: No, it actually looks very decent. Still a slightly larger code footprint than the one I made, but not by a large margin. I didn’t find this one when researching the alternatives, might have saved me a dozen hours of coding. AVR ATTINY USB TUTORIAL PART 2 AVR ATtiny USB Tutorial Part 2. This is the second part of my USB tutorial for ATtiny2313 and V-USB library. In the first part we learned how to get 3.3V from USB to power our circuits. In this part, we will expand our setup with following parts: Two 27 pF ceramic capacitors to stabilize the crystal. Two 68 Ω resistors between USBdata lines
ARDUINO AND RASPBERRY PI SERIAL COMMUNICATION Connecting Arduino Uno to Raspberry Pi. There’s basically two ways to link the Arduino to the Pi. Easier route would be to just plug Arduino into the Pi via USB. The USB to serial bridge should be automatically recognized and be available at /dev/ttyACM0. But if you want to do it the hard way like I did, you can also connect the PiGPIO pins
V-USB WITH ATTINY45 / ATTINY85 WITHOUT A CRYSTAL One guy at Hack a Day remarked on the long wire runs in my V-USB tutorial breadboard setup.So I thought I’d build upon the part 4 of the tutorial but modify the setup a bit to run the AVR at 5 volts and use zener diodes to drop D+/D- voltage, thus eliminating the need for a regulator. And why not stop there. ATtiny45 and ATtiny85 are smaller than ATtiny2313 and have an internal oscillator LOGIC ANALYSIS WITH BUS PIRATE A nice plus on the already-capable Bus Pirate is the SUMP-compatible logic analyzer mode. The Bus Pirate automatically recognizes when the SUMP logic analyzer software tries to communicate with it, so everything kinda works “out-of-the-box” once you have the software installed. Speaking about the software, it is quite a nuisance toinstall
CODE AND LIFE
Programming, electronics and other cool tech stuff FOLLOW CODE AND LIFERECENT POSTS
* Code and Life site updated to 11ty * Ugreen M.2 NVME drive enclosure with USB-C 3.1 test * TrinketMIDI updated with volume control demo * Filco Majestouch-2 TK (MX Blue) with Dolch keycaps * Correcting image white balance with Python PIL and Numpy CODE AND LIFE SITE UPDATED TO 11TY Sun, Nov 22, 2020 in post Generalcodeandlife
This site has been migrated from Wordpress to 11ty based static site. I took the posts, categories, tags and comments as JSON data and made the necessary templates for conversion. Everything should be _a_ _lot_faster now.
The look is still a bit bare, and some things like tables seem a bit broken. Will address these issues hopefully during upcoming days, weeks and months. Enjoy! PS. Comments are currently disabled, I was only receiving spam in any case. You can check out my homepage at https://joonaspihlajamaa.com/ if you want to contact me.Read post
UGREEN M.2 NVME DRIVE ENCLOSURE WITH USB-C 3.1 TEST Sun, Jan 26, 2020 in post ElectronicsGeneral Reviews
Tips and Tricks adata aliexpress backup enclosurem.2 nvme ssd
ugreen usb usb 3.1usb-c
I’ve been occasionally doing backups of critical files to an external hard drive (in addition to cloud of course :). However, my nice portable drive was only 500 GB and lately I’ve pushed over 600 GB with my Nikon D7200 RAW files. Time for a new drive! Instead of boring mechanical, I noticed that the very nice NVME SSD with AdataXPG SX8200 Pro
with 1 TB capacity was available nearby for just 140€ (ca. $150)! Commercial alternatives like Samsung T5cost
around 230€ here, so I thought I’d get one of those M.2 enclosures. Unfortunately, the ones with NVME support started from 50€ up in Finnish web stores. UGREEN TO THE RESCUE When you have something like M.2 enclosure, you know every manufacturer actually puts Chinese electronics inside. Thus, AliExpress seemed like an obvious destination to check out. I’m bit doubtful to order actual NVME drive (there were some cheap flash drives in the past that did not actually have the reported capacity), the enclosure should be fine.Enter Ugreen
,
my favorite in AliExpress store. I’ve purchased several chargers from them, many having QuickCharge functionality, and the packaging, quality and everything are always top notch. Therefore I was more than happy to find a range of NVME enclosures from them for just $15-30: Ugreen M.2 SSD USB enclosures (from Ugreen product page) Time to order one! Fast forward 2½ weeks of anxious wait… UNPACKING AND INSTALLING SSD TO M.2 ENCLOSURE I got the NVME model which promised up to 10 Gbit/s data rates, and chose the option with extra USB cable as I don’t have USB-C ports on my MB. The package arrived a bit faster than the promised 21-25 days. See the gallery below for glorious images of various stages of setup.Read post
TRINKETMIDI UPDATED WITH VOLUME CONTROL DEMO Sun, Sep 22, 2019 in post Arduino Electronics Tips and Tricksadafruit github
midi trinket volume Just a quick update this time: A long while ago I made a post about using Adafruit Trinket without Arduinoand later
converted that into a TrinketMIDI Github repository for making a MIDIdevice with ATtiny:
https://github.com/jokkebk/TrinketMIDI Now thanks to a contribution by Gerhard Zintel , there is now also a MIDI volume device sample code in the repo. If you want to make a MIDI volume controller, it should be pretty easy with the code as well. Enjoy!Read post
FILCO MAJESTOUCH-2 TK (MX BLUE) WITH DOLCH KEYCAPS Sat, Aug 24, 2019 in post General cherry cherry MX filco filco majestouch keyboardKeyboardCo keycaps
majestouch majestouch-2mx blue PMKB
review tenkeyless
_Note: The keyboard and keycaps in this article are bought by me and not a review sample. I have, however worked with KeyboardCo in the past and like them a lot in general. But just so you know!_ A new keyboard in the house! Namely the Filco Majestouch-2 TK (MXBlue)
Always an exciting happening in the family. After typing happily for a couple of years with superbly compact and slim Apple Magic Keyboard (works fine with Windows btw.) at home, and with my Topre Realforce88UB at
work, I thought it would be fun to get a keyboard with the classicclickly MX blues.
My main reason to get Cherries apart from the amazing blue clicky sound is the fact that one can get a wide selection of custom keycaps, very much unlike the Topre ones where you’re pretty much stuck with the keys they came with, or maybe some with Japanese characters. After some consultation in Geekhack, I decided that out of the options I had available (in Finland pretty much zero apart from some gaming keyboards), Filco would be a good choice. Knowing they stock it, I headed straight to The Keyboard Company website and after some deliberation opted for one in Scandinavian layout — easier to swap here in Finland if I want to switch again. The Filcos are in no way inexpensive, but knowing the amount of time I spend typing, I considered the hourly cost to be quite reasonable. UNBOXING FILCO MAJESTOUCH The delivery from KeyboardCo arrived promptly as always, and I decided to shoot a classic unboxing video. Notice the great “Code and Life” logo in the thumbnail! There are no audio comments in the video, but you can hear the clickies quite well. As an “out of the box” experience, here are my major plusses andminuses list:
PLUSSES
* Very solid build, the case will definitely last a lifetime * Great MX blue typing experience and satisfying sound * Compact layout, it doesn’t expand much outside the keys in anydirection
* It’s a “no frills” workhorse, not much more to be said!MINUSES
* Standard keycaps are quite high, making a wrist support prettymuch a must
* There’s nothing particularly exciting or special about they lookRead post
CORRECTING IMAGE WHITE BALANCE WITH PYTHON PIL AND NUMPY Sat, Aug 17, 2019 in post General Gist Jupyter numpy OpenShotPIL python White
balance
I started writing another blog post about my new keyboard today, and when uploading the unboxing video to my YouTube channel, I realized
they have no “auto white balance” option, not in their new or old video editor either. Shoot. After googling for free video editors, I settled on OpenShot . And guess what? OpenShot doesn’t have a white balance setting either! The author himself said this on Reddit,
asking for help to implement it. I was pretty shocked, as it seems like the first filter I would implement myself, and thought “surely it doesn’t take more than five minutes to implement one, right?”. So I did. Well, it took maybe 15 minutes, plus 45 fiddling with Jupyter notebooks to get PIL and numpy commands right. Sorry, something went wrong. Reload? Sorry, we cannot display this file. Sorry, this file is invalid so it cannot be displayed. Viewer requiresiframe.
view raw
White balance.ipynb
hosted with ❤ by GitHub The Python 3 code above basically loads an image (either local if you run it with Jupyter notebook locally, or over network), get a small subportion of it to act as a grey reference, and adjusts color channel balance with two alternate methods: RGB or YCbCr. More advanced versions should be easy to add as well. You can view the above gist in Github or just copy-paste the code to your own / cloud based notebook to try it out: https://gist.github.com/jokkebk/7a0feab274356768b515db6b05f124bf If you don’t have access to anything that can run a ipynb file, you can just take a look at the PDF version of a sample run. Enjoy!
Read post
VISIT TO THE OFFICIAL RASPBERRY PI STORE IN CAMBRIDGE Sat, Jul 27, 2019 in post Electronics Raspberry Pi Reviewsdiy pi pi store
picade tour
Two weeks ago I had the chance to visit the official Raspberry Pi store in Cambridge. Apart from those living in the UK, I think not many will it that far, so I thought to share my pictures from the visit for you to enjoy (and maybe evaluate whether it’s worth the trip). Enjoy!THE STORE
The Raspberry Pi Store is located in the Grand Arcade shopping mall, and on the second floor. Looks nice and official. Naturally, it houses an excellent selection of the Pi boards. There was 3B-, 3A2, Zero, Zero W, Zero W+, compute modules, Pi 4 of course (with different memory options), all with good availability. To cheapest Zero boards were limited to 1 per customer, much like in web store. All boards had a good choice of cases as well on sale. Verynice.
Read post
First page Next page > End >> Copyright © Joonas Pihlajamaa. All rights reserved.Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0