Today I learned a little about Python, Jupyter, and Pandas in this video: Data Analysis with Python for Excel Users – Full Course.
Category Archives: Programming
Descent3 Source Code
Today on lobsters there was a link to the Descent3 Source Code. Very cool.
SparkFun ATTiny85 Quick Reference
Today I happened upon this ATTiny85 Quick Reference.
The 6502 Instruction Set Database
This is great: The 6502 Instruction Set Database. It’s a database with details of opcodes for the 6502 processor. You can see the SQL and TSV.
Extra Content #7: The SCSI Bus and IDE Interface: Protocols, Applications and Programming
This post is part of my video blog: In The Lab With Jay Jay.
You can support this channel on Patreon: patreon.com/JohnElliotV
In this video I pull the floppy disk out of the cover of my copy of The SCSI Bus and IDE Interface: Protocols, Applications and Programming (2nd Edition).
I have this wonderful old book The SCSI Bus and IDE Interface: Protocols, Applications and Programming (2nd Edition). It was published in 1997 but is still available for purchase through Amazon.
The book comes with a floppy disk (that’s right: a floppy disk!). I had to buy a USB floppy disk drive to read it. I have made the content from the disk available in a tarball, here: scsi.tgz.
If you just want to read the files, those are here:
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!
Let’s go shopping!
New Book Teardown #3: Learning The Art of Electronics: A Hands-On Lab Course (2016) | In The Lab
This post is part of my video blog and you can find more information about this video on this show’s homepage which is here.
You can support this channel on Patreon: patreon.com/JohnElliotV
Silly Job Title: Master Planner
This video is part of the New Book Teardown feature of my video blog.
In this video I take a look at Learning the Art of Electronics: A Hands-On Lab Course by Thomas C. Hayes and Paul Horowitz published in 2016. The book has 1,140 pages and is a companion to The Art of Electronics 3rd Edition.
Some notes about things of interest we noticed in the book:
- Xilinx was an American technology and semiconductor company, now owned by AMD
- the Ebers–Moll model is useful for modelling Bipolar junction transistors
- Hysteresis is the dependence of the state of a system on its history
- Wien’s bridge is used for precision measurement of capacitance in terms of resistance and frequency
- Wilson current mirror is a three-terminal circuit that accepts an input current at the input terminal and provides a “mirrored” current source or sink output at the output terminal
- a Bessel filter is a type of analog linear filter named in reference to Friedrich Bessel who developed the mathematical theory
- the video about the 6502 I watched recently is: The 6502 CPU Powered a Whole Generation!
- the Cypress PSoC is a family of microcontroller integrated circuits by Cypress Semiconductor
- octopart.com
- learningtheartofelectronics.com
Thanks very much for watching! And please remember to hit like and subscribe!
Following is a product I use picked at random from my collection which may appear in my videos. Clicking through on this to find and click on the green affiliate links before purchasing from eBay or AliExpress is a great way to support the channel at no cost to you. Thanks!
Yum Cha Blue Spudgers |
Let’s go shopping!
Make: AVR Programming
I am reading Make: AVR Programming: Learning to Write Software for Hardware and I found this excellent video: Programming AVR Microcontrollers in C – O’Reilly Webcast available from here: Beyond the Arduino: Programming AVR Microcontrollers in C.
The author’s github page is still operational: https://github.com/hexagon5un/AVR-Programming
Their website littlehacks.org is offline but still available via archive.org: https://web.archive.org/web/20160307235812/http://littlehacks.org/
Also there’s this really cool collection of projects over here: Cornell University ECE 4760 Designing with Microcontrollers Final Projects.
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.
MPLAB® X Integrated Development Environment (IDE)
My mate @gwozniak recommended I check out MPLAB® X Integrated Development Environment (IDE) for programming my ATtiny85 microcontrollers. Gonna try to get around to that soon.
ATtiny85
These are some notes I made about the pin-out of the HW-260 adapter boards I have for my ATtiny85 microcontrollers. I think my ATtiny45’s are also compatible. Not sure about my ATtiny13A’s.