Mail Call #4: More Loot from AliExpress and eBay! | Learning Electronics In The Lab With Jay Jay

This post is part of my video blog and you can find more information about this video over here.

You can support this channel on Patreon: patreon.com/JohnElliotV

In this video I receive the following equipment:

Thanks very much for watching! And please remember to hit like and subscribe! :)


Following is a list of products I use which may appear in my videos. Clicking through on these links before purchasing from Amazon, eBay, or AliExpress is a great way to support the channel at no cost to you. Thanks!

Note: you can skip this if you would prefer.

Rigol MSO5074 Mixed Signal OscilloscopeThis is an image of the product.notes
Rigol PLA2216 Logic ProbeThis is an image of the product.notes
ATEN CS1922 2-Port DisplayPort KVMThis is an image of the product.notes
UNI-T UTi260B Thermal ImagerThis is an image of the product.notes
TOMLOV DM602 Pro Digital MicroscopeThis is an image of the product.notes
UNI-T UTG962E Signal GeneratorThis is an image of the product.notes
Leadstar 12″ LCD TVThis is an image of the product.notes
Riden RD6006 Bench Power SupplyThis is an image of the product.notes
Tenma 72-10505 Bench Power SupplyThis is an image of the product.notes
UPERFECT 15.6″ HDMI LCDThis is an image of the product.notes
Pro’sKit SS-331H Desoldering PumpThis is an image of the product.notes
NOYAFA NF-521 Thermal ImagerThis is an image of the product.notes
Dremel 4300 Rotary ToolThis is an image of the product.notes
Epson Perfection V39 Flatbed ScannerThis is an image of the product.notes
Maxitronix 300 In 1 (300in1) Electronics Project Lab KitThis is an image of the product.notes
OWON XDM1041 Bench MultimeterThis is an image of the product.notes
Maxitronix 500 In 1 (500in1) Electronics Project Lab KitThis is an image of the product.notes
Maxitronix 200 In 1 (200in1) Electronics Project Lab KitThis is an image of the product.notes
FILCO Majestouch 2SS 104-key Mechanical KeyboardThis is an image of the product.notes
ANENG AN-999S Bench MultimeterThis is an image of the product.notes
FILCO Majestouch 2SS 87-key Mechanical KeyboardThis is an image of the product.notes
Bosch IXO VI Electric ScrewdriverThis is an image of the product.notes
Victorinox Swiss Champ Red Swiss Army KnifeThis is an image of the product.notes
Kingst LA1010 USB Logic AnalyzerThis is an image of the product.notes
Dremel 2500 Multi-ViseThis is an image of the product.notes
YIHUA 938D Soldering TweezersThis is an image of the product.notes
Dremel 335 Plunge RouterThis is an image of the product.notes
ZKETECH EBD-A20H Electronic LoadThis is an image of the product.notes
Yizhan MicroscopeThis is an image of the product.notes
Miniware DT71 Digital TweezersThis is an image of the product.notes
Maxitronix 130 In 1 (130in1) Electronics Project Lab KitThis is an image of the product.notes
Dremel 220 Drill PressThis is an image of the product.notes
Dremel EZ725 Rotary Tool Accessory SetThis is an image of the product.notes
Rigol PLA2216 Compatible Logic ProbeThis is an image of the product.notes
Maxitronix 60 In 1 (60in1) Electronics Project Lab KitThis is an image of the product.notes
Brother P-Touch D210 Label MakerThis is an image of the product.notes
Brother P-touch H105 Label MakerThis is an image of the product.notes
ENGINEER PA-21 Crimping ToolThis is an image of the product.notes
Fluke 1AC-C2-II VoltAlert Voltage DetectorThis is an image of the product.notes
ENGINEER PA-09 Crimping ToolThis is an image of the product.notes
MESR-100 ESR MeterThis is an image of the product.notes
Horusdy Soldering StationThis is an image of the product.notes
Tera HW0006 Pro Barcode ScannerThis is an image of the product.notes
FNIRSI DSO-TC3 3 in 1 Oscilloscope, Signal Generator, Component TesterThis is an image of the product.notes
Ryobi RYSF5003 Stud FinderThis is an image of the product.notes
Hakko CHP 3C-SA Precision TweezersThis is an image of the product.notes
M6013 Capactance MeterThis is an image of the product.notes
UNI-T UT116A Digital TweezersThis is an image of the product.notes
Maxitronix Electronic Digital Recording Laboratory (59in1) Electronics Project Lab KitThis is an image of the product.notes
Jackcat Electric ScissorsThis is an image of the product.notes
DigiTech QM1323 MultimeterThis is an image of the product.notes
MMOBIEL Helping HandsThis is an image of the product.notes
ZZWS Book HolderThis is an image of the product.notes
TOWOT Industrial TweezersThis is an image of the product.notes
Maxitronix 30 In 1 (30in1) Electronics Project Lab KitThis is an image of the product.notes
Amazon Basics Ratchet ScrewdriverThis is an image of the product.notes
Maxitronix Sensor Robot 20 (20in1) Electronics Project Lab KitThis is an image of the product.notes
Kaisi 35x25cm Repair MatThis is an image of the product.notes
gku AC1009 Underdesk Keyboard DrawerThis is an image of the product.notes
QWORK Helping HandsThis is an image of the product.notes
Kaisi 45x30cm Repair MatThis is an image of the product.notes
Duratech TH-1980 PCB ClampThis is an image of the product.notes
FNIRSI SG-002 Signal GeneratorThis is an image of the product.notes
SHDSL Tape DispenserThis is an image of the product.notes
Maxitronix 10 In 1 (10in1) Electronics Project Lab KitThis is an image of the product.notes
Sudake SDK08 Test ClipsThis is an image of the product.notes
Capactior Discharge PenThis is an image of the product.notes
Portwest Standard Lab CoatThis is an image of the product.notes
Arlec PB91 Plug-In RCD Safety Switch with Surge ProtectorThis is an image of the product.notes
AMTECH NC-559-ASM FluxThis is an image of the product.notes
Klein Tools 32614 4-in-1 Multi-bit Precision Pocket ScrewdriverThis is an image of the product.notes
oz_gear CalipersThis is an image of the product.notes
Sharp EL-546L Scientific CalculatorThis is an image of the product.notes
Bysameyee Head-Mounted MagnifierThis is an image of the product.notes
Scotch Titanium ScissorsThis is an image of the product.notes
Legion Tools Mini Screwdriver SetThis is an image of the product.notes
Maxitronix Crystal Radio Kit Electronics ProjectThis is an image of the product.notes
Maxitronix AM/FM Radio Kit Electronics ProjectThis is an image of the product.notes
RELIFE RL-007GA Solder LugsThis is an image of the product.notes
Super Bright 90000LM LED TorchThis is an image of the product.notes
Bosch IXO Angle Screw AdapterThis is an image of the product.notes
Maxitronix Electronic Metal Detector Kit Electronics ProjectThis is an image of the product.notes
YOUOWO ID Badge HolderThis is an image of the product.notes
Diodrio Leather Pocket ProtectorThis is an image of the product.notes
OZSTOCK Large Folding Step LadderThis is an image of the product.notes
Yum Cha Bootlace Ferrule Crimper KitThis is an image of the product.notes
Craft Knife SetThis is an image of the product.notes
Fuumuui Paint BrushesThis is an image of the product.notes
Dremel Cutting Discs for Rotary ToolThis is an image of the product.notes
Gasmate ButaneThis is an image of the product.notes
Dremel 490 Rotary Tool Dust BlowerThis is an image of the product.notes
nmsafety GlovesThis is an image of the product.notes
HiLetGo USB Logic AnalyzerThis is an image of the product.notes
OZSTOCK Small Folding Step LadderThis is an image of the product.notes
Kaisi Soldering Tools w/ Desoldering PumpThis is an image of the product.notes
Magnetic/Claw Pickup ToolThis is an image of the product.notes
395nm UV LampThis is an image of the product.notes
Sudake SDK07 Test ClipsThis is an image of the product.notes
MECHANIC UV Curing LightThis is an image of the product.notes
Comidox ATX Power Supply TesterThis is an image of the product.notes
SpudgersThis is an image of the product.notes
Kaqiwze Blow TorchThis is an image of the product.notes
Telescopic Magnetic Pickup ToolThis is an image of the product.notes
Third HandThis is an image of the product.notes
Tungfull TH-161 Rotary Tool BitsThis is an image of the product.notes
Adafruit One PCB to Ruler Them All RulerThis is an image of the product.notes
JST XH2.54 Pre-crimped Connector KitThis is an image of the product.notes
Plato Model 170 Wire CuttersThis is an image of the product.notes
Yum Cha Universal Handheld Wire StripperThis is an image of the product.notes
365nm UV LampThis is an image of the product.notes
Drill ExtensionThis is an image of the product.notes
300pcs Heat Shrink Wire ConnectorsThis is an image of the product.notes
IC Chip Pickup ToolThis is an image of the product.notes
Metal SpudgersThis is an image of the product.notes
Telescopic Magnetic Pickup w/ LightThis is an image of the product.notes
Spudger SetThis is an image of the product.notes
Yum Cha 3pcs Drill Scrub BrushThis is an image of the product.notes
CrowbarThis is an image of the product.notes
Yum Cha Nylon Abrasive BrushThis is an image of the product.notes
Ampcom Automatic Network Cable TesterThis is an image of the product.notes
Stainless Steel TrayThis is an image of the product.notes
Multifunction HooksThis is an image of the product.notes
Heat Shrink Wire ConnectorsThis is an image of the product.notes
Yum Cha 10pcs Blue Microfiber ClothThis is an image of the product.notes
JST XH2.54 6pin Pre-crimped ConnectorThis is an image of the product.notes
OULLX NSS-681HDMI-RJ45 Cable TesterThis is an image of the product.notes
Telescopic MagnetThis is an image of the product.notes
Knife BladesThis is an image of the product.notes
SUNSHINE Hard Brush SetThis is an image of the product.notes
Yum Cha Probe TweezersThis is an image of the product.notes
VIBRATITE 5mm Brass Rotary Wire BrushThis is an image of the product.notes
Yum Cha J1091302 Sanding StickThis is an image of the product.notes
Yutiars Flat Paint Brush SetThis is an image of the product.notes
TOOKKS HZY ABS Wire FixtureThis is an image of the product.notes
Yum Cha 29 In 1 Mini Precision Screwdriver SetThis is an image of the product.notes
Yum Cha 2pcs Grease Cleaner Cleaning BricksThis is an image of the product.notes
Yum Cha 100pc Titanium Plated Drill BitsThis is an image of the product.notes
100pcs Heat Shrink Wire ConnectorsThis is an image of the product.notes
DT830B Digital MultimeterThis is an image of the product.notes
Yum Cha 2pcs Magnetic Soft Vise Jaw PadsThis is an image of the product.notes
Digital MeterThis is an image of the product.notes
Yum Cha 6pcs Wire BrushThis is an image of the product.notes
Yutiars Round Paint Brush SetThis is an image of the product.notes
Damotk 5pcs Crevice Cleaning BrushThis is an image of the product.notes
Yum Cha 10pcs Magic Foam SpongeThis is an image of the product.notes
Yum Cha Depth GaugeThis is an image of the product.notes
Yum Cha 100pcs Releasable Cable OrganizerThis is an image of the product.notes
Yum Cha Mini Magnetic Precision Screwdriver SetThis is an image of the product.notes
Ausum 25 In 1 Precision Screwdriver SetThis is an image of the product.notes
Sandleford 4 Piece Funnel SetThis is an image of the product.notes
Yum Cha 4pcs 30mm Deep Hole PenThis is an image of the product.notes
JST XH2.54 Connector KitThis is an image of the product.notes
Yum Cha Long Handle Wire BrushThis is an image of the product.notes
MOKIN CMO-346 3 inch Magnetic TrayThis is an image of the product.notes
Yum Cha Heavy Duty Stainless Steel Wire BrushThis is an image of the product.notes
Oloey Safety GogglesThis is an image of the product.notes
Aokin Wire CutterThis is an image of the product.notes
OOTDTY K9FA1E0555 Sanding DiscThis is an image of the product.notes
Yum Cha Dual-Purpose Sanding SticksThis is an image of the product.notes
Yum Cha Metallic Craftwork PenThis is an image of the product.notes
EXAR Signal GeneratorThis is an image of the product.notes
Yum Cha Double-ended Cotton SwabsThis is an image of the product.notes
Asometech Universal Stylus PenThis is an image of the product.notes
aToolTour Black Hexagon Deburring Drill BitThis is an image of the product.notes
Wozniak Solder LugsThis is an image of the product.notes

Let’s go shopping!

Hexing the technical interview meets DALL·E

There is a hilarious quote from Aphyr in Hexing the technical interview:

Vidrun, born of the sea-wind through the spruce
Vidrun, green-tinged offshoot of my bough, joy and burden of my life
Vidrun, fierce and clever, may our clan’s wisdom be yours:
Never read Hacker News

I fed it into DALL·E and it gave me this awesomeness:

And… here we are

This week what we have all been fearing has happened to me: GitHub Copilot generated code for me which seems to meet all the requirements but which I don’t understand very much at all.

To date GitHub Copilot for me has just been mostly a useful auto-complete tool and it hasn’t given me any code which I didn’t understand. But with this code (to control two different hardware timers/counters on my Arduino) I don’t really understand it at all. I have passing familiarity with some of the registers used because I saw them named in the datasheet (which I have only skimmed so far) but basically I don’t understand how this works.

It is tempting to ignore the fact that I don’t fully understand and move on, but there’s a part of me which wants to return to the datasheet so I can understand what every assignment GitHub Copilot offered actually does and what every value it calculated implies. Is that the best use of my time?

Can a Directed Acyclic Graph always be put into the plane?

ChatGPT 4

User:

can a Directed Acyclic Graph always be put into the plane?

ChatGPT:

A Directed Acyclic Graph (DAG) can usually be drawn in the plane, but whether it can be drawn without any edges crossing (i.e., as a planar graph) depends on the specific structure of the DAG.

Planarity of a Graph:

A graph is considered planar if it can be embedded in the plane without any of its edges crossing each other. Not all graphs are planar. The planarity of a graph is generally tested using Kuratowski’s Theorem, which states that a finite graph is planar if and only if it does not contain a subgraph that is a subdivision of either the complete graph K5 (five vertices each connected to every other vertex) or the complete bipartite graph K3,3 (two sets of three vertices with every vertex of the first set connected to every vertex of the second set).

DAGs and Planarity:

  • Acyclicity: A DAG, by definition, does not contain any cycles. This property alone does not guarantee planarity, but it does simplify the analysis since any subgraph involving cycles can be ignored when considering potential K5 or K3,3 configurations.
  • Structure and Complexity: The more complex the connectivity of the DAG (especially in terms of vertex connectivity and the number of edges relative to the number of vertices), the higher the chance that it could contain a non-planar configuration. A simple DAG with a tree-like structure, where each node has a few successors, is likely planar. However, as the number of edges and vertices increases, and especially if the graph forms dense interconnections between nodes, it could potentially include subdivisions of K3,3, making it non-planar.

To determine whether a specific DAG is planar, one would typically either:

  1. Look for subdivisions of K5 or K3,3 directly,
  2. Use algorithmic tools that implement planarity testing algorithms (such as the ones based on path addition or cutting algorithms).

Therefore, while many DAGs can indeed be drawn in the plane without crossing edges, it’s not universally true for all DAGs; the specific structure and connectivity must be considered.

ChatGPT 4 on Indian cuisine

User: tell me about Palak Paneer

Palak Paneer is a popular vegetarian dish from the Indian subcontinent, particularly in North Indian cuisine. It’s a creamy and flavorful dish that combines palak (spinach) and paneer (a type of fresh cheese) in a richly spiced curry sauce. The dish is known for its vibrant green color, smooth texture, and delicious taste. Here’s a bit more about it:

Ingredients

  • Spinach (Palak): The base of the sauce, blanched and pureed to give the curry its characteristic green color and nutritional boost.
  • Paneer: Indian cottage cheese, which is cubed and either fried or added as is to the curry. Paneer adds a rich, creamy texture and protein to the dish.
  • Spices and Aromatics: Commonly used spices include cumin seeds, turmeric, coriander powder, garam masala, and fresh ginger and garlic. These spices provide depth and complexity to the flavor.
  • Cream or Yogurt: Used to add richness and smooth out the flavors. Some versions use tomato for a bit of acidity and color contrast.

Preparation

The preparation of Palak Paneer involves several steps:

  1. Blanching the Spinach: Spinach is quickly boiled and then plunged into ice water to retain its vibrant green color.
  2. Making the Curry Base: Aromatics and spices are sautéed to release their flavors, followed by the addition of spinach puree.
  3. Adding Paneer: Paneer cubes are added to the spinach curry and simmered until they are soft and have absorbed the flavors of the curry.
  4. Finishing Touches: The dish is finished with cream or yogurt to add richness and sometimes adjusted for seasoning with salt and a sprinkle of garam masala.

Serving

Palak Paneer is traditionally served with flatbreads like naan or roti and can also be enjoyed with rice. It’s a staple in Indian restaurants worldwide and is appreciated for its comforting taste and nutritious profile, being rich in iron from the spinach and protein from the paneer.

Nutritional Value

Palak Paneer is considered a healthy option due to the high content of spinach, which is rich in iron, vitamins A and C, and fiber. Paneer adds protein to the dish, making it a balanced meal. However, the nutritional value can vary based on the amount of cream or oil used in preparation.

This dish is a beautiful example of Indian culinary tradition, blending rich flavors, textures, and colors into a delicious and visually appealing meal.

User: what do you mean “fresh cheese”?

“Fresh cheese” refers to cheeses that are not aged or matured as part of their production process. Unlike aged cheeses, which can develop complex flavors and textures over time, fresh cheeses are meant to be consumed shortly after they are made. They are characterized by their soft texture, mild flavor, and high moisture content. Here are some key features of fresh cheese:

  • Texture: Fresh cheeses tend to be soft and moist. Some are creamy and spreadable (like ricotta or cream cheese), while others can be firmer but still tender (like paneer or mozzarella).
  • Flavor: These cheeses typically have a mild, sometimes slightly tangy or sweet flavor. The taste is more about the freshness and quality of the milk used rather than the fermentation or aging process.
  • Aging: There is minimal to no aging process involved. Fresh cheeses are usually consumed within a few days to a couple of weeks after production.
  • Uses: Fresh cheeses are versatile and can be used in a wide range of dishes, from salads and sandwiches to pizzas and desserts. They are also often enjoyed on their own or with a simple accompaniment of fruits or bread.

Paneer, the cheese used in Palak Paneer, is a perfect example of fresh cheese. It is made by curdling milk with a food acid (like lemon juice or vinegar) and then pressing the curds to form a firm block. Paneer is cherished for its ability to absorb flavors while maintaining its shape and texture, making it an excellent addition to various dishes in Indian cuisine.

User: tell me about Lamb Saag

Lamb Saag is a rich and flavorful dish from the Indian subcontinent that combines tender pieces of lamb with saag, a term used in Indian cuisine to refer to leafy green vegetables such as spinach, mustard greens, or a mix of greens. This dish is a variation of the traditional Saag, which is often prepared with paneer (cheese) or potatoes for vegetarian versions. Lamb Saag brings the unique, deep flavors of lamb meat into the mix, offering a hearty and satisfying meal. Here’s a closer look at this delicious dish:

Ingredients

  • Lamb: Typically, boneless lamb is cut into bite-sized pieces. The lamb is marinated and then cooked until tender, making it the star of the dish.
  • Greens: Spinach is the most commonly used green in Lamb Saag, but mustard greens, collard greens, or a mix can also be used. The greens are usually blanched and then pureed to form the base of the curry.
  • Spices and Aromatics: Aromatic spices such as cumin, coriander, turmeric, garam masala, and fresh ingredients like garlic, ginger, and onions are used to build layers of flavor.
  • Yogurt or Cream: To add richness and balance the flavors, yogurt or cream is often stirred into the curry towards the end of cooking.

Preparation

  1. Marinating the Lamb: The lamb pieces are marinated in a mixture of yogurt and spices to tenderize and infuse them with flavor.
  2. Cooking the Lamb: The marinated lamb is then cooked with onions, garlic, and ginger, along with additional spices until it’s browned and tender.
  3. Preparing the Greens: The greens are blanched, pureed, and then cooked with the lamb, allowing the flavors to meld together.
  4. Final Touches: Additional seasoning adjustments are made, and yogurt or cream is added to create a rich, creamy sauce.

Serving

Lamb Saag is traditionally served with flatbreads like naan or roti, as well as with rice. The dish is garnished with fresh herbs or a dollop of cream to enhance its appeal.

Nutritional Profile

Lamb is a good source of protein, iron, and other essential nutrients, making Lamb Saag a nutritious option. The greens add fiber, vitamins, and minerals to the dish. However, the nutritional value can vary depending on the amount of oil, cream, or yogurt used in the recipe.

Lamb Saag is appreciated for its combination of tender meat, nutritious greens, and the depth of flavor from the spices. It’s a testament to the versatility of Indian cuisine, where a single ingredient can inspire a myriad of delicious variations.

ISP vs ICSP

User:

ISP vs ICSP

ChatGPT 4:

When discussing programming and interfacing with microcontrollers, “ISP” and “ICSP” are two terms that often come up. Here’s a breakdown of what each means and how they compare:

ISP (In-System Programming)

  • Definition: ISP refers to the ability to program a microcontroller while it is placed within the actual system or circuit where it will operate. This method doesn’t require the microcontroller to be removed from its application circuit for programming. It’s a very convenient way to update firmware or make changes to the program running on the microcontroller without needing to disassemble the system.
  • Advantages: It enables easy updates and debugging since the microcontroller does not need to be removed. This can significantly speed up development cycles and make maintenance simpler.
  • Usage: Common in many microcontrollers, including AVR, ARM, and others. It typically requires a few specific pins to be accessible for the programming interface.

ICSP (In-Circuit Serial Programming)

  • Definition: ICSP is a form of ISP specifically using a serial interface to program the microcontrollers while they are installed in a circuit. It’s a subset of ISP with a focus on the serial communication aspect. This method is often associated with Microchip microcontrollers but is not exclusive to them.
  • Advantages: The serial nature of ICSP means it usually requires fewer pins and can sometimes support lower voltage programming, making it suitable for a wide range of devices and situations. It’s particularly useful for devices where space and pin count are at a premium.
  • Usage: Predominantly seen with Microchip’s PIC microcontrollers, though the concept applies broadly. Like ISP, it necessitates access to specific programming pins but often fewer than other methods.

Comparison

  • Scope: ISP is a broader term encompassing any in-system programming technique, including serial, parallel, or any other method. ICSP is specifically about serial programming.
  • Interface and Protocol: ICSP typically involves specific protocols and hardware interfaces tailored for serial communication. In contrast, ISP can use various protocols and interfaces depending on the microcontroller and the system’s requirements.
  • Microcontroller Support: While many microcontroller families support ISP, ICSP is more commonly associated with certain brands or families, like Microchip’s PIC series.

In summary, ICSP is a specific form of ISP. The choice between ISP and ICSP often comes down to the specific requirements of the project, including the microcontroller being used, the available pins for programming, and the preferred programming method. Both aim to provide flexibility and ease of use for developers and engineers when programming microcontrollers within their final application environment.

The Brain User’s Handbook: A Neuroscience-inspired Guide to Peace of Mind

I am reading The Brain User’s Handbook: A Neuroscience-inspired Guide to Peace of Mind which has this awesome image I want to share:


An imagined interaction between a human baby and a young LLM in training. They are sharing impressions about the endeavor of modeling the world from scratch. Image generated with DALLE-3 via ChatGPT