n00bing my way through circuit board design

Edward Farrell (Founder · Mercury Information Security Services)

BSides Canberra VIII (2025) · Day 1 · Off-Main Track

Overview

In "n00bing my way through circuit board design," Edward Farrell, Founder of Mercury Information Security Services, takes the audience on a candid and often humorous journey through his self-taught foray into the world of hardware development. Far from a polished technical presentation on expert PCB design, Farrell’s talk is a deeply personal narrative that champions the spirit of continuous learning, embracing mistakes, and the profound value of hands-on exploration in a domain often perceived as daunting. He highlights a critical skill gap in Australia—a dearth of "builders" versus "coxswains"—and advocates for security professionals to engage in side projects that challenge their comfort zones and foster practical creation.

Watch on YouTube

Visual summary for n00bing my way through circuit board design by Edward Farrell
Visual summary for n00bing my way through circuit board design by Edward Farrell

Key moments

  1. 0:40 Embracing mistakes: Learning is breaking through things
  2. 2:15 Why we need more people building things
  3. 4:20 Early inspiration: USB implants and Bad USB experiments
  4. 8:10 Getting started with circuit design: Easy EDA
  5. 10:40 The dangers of AI in circuit board design
  6. 13:00 Major mistakes: power planning, component selection, troubleshooting
  7. 16:30 Key advice for beginners: Start small, don't give up
  8. 17:30 The hidden cost: Digital junk and e-waste

n00bing my way through circuit board design

Speakers: Edward Farrell, Founder, Mercury Information Security Services

Conference: BSides Canberra

YouTube: https://www.youtube.com/watch?v=ijJE-HGizx8

Overview

In "n00bing my way through circuit board design," Edward Farrell, Founder of Mercury Information Security Services, takes the audience on a candid and often humorous journey through his self-taught foray into the world of hardware development. Far from a polished technical presentation on expert PCB design, Farrell’s talk is a deeply personal narrative that champions the spirit of continuous learning, embracing mistakes, and the profound value of hands-on exploration in a domain often perceived as daunting. He highlights a critical skill gap in Australia—a dearth of "builders" versus "coxswains"—and advocates for security professionals to engage in side projects that challenge their comfort zones and foster practical creation.

The talk transcends typical technical instruction, offering a broader philosophical message about education, resilience, and the responsible integration of emerging technologies like Artificial Intelligence. Farrell leverages his experiences, from experimenting with USB implants and BadUSB devices to designing custom boards for CTFs, to illustrate that true learning comes from grappling with complex problems, even if the initial attempts lead to "digital junk." His presentation serves as an inspiring call to action for anyone, particularly those new to the security industry, to dive into unfamiliar territories, make glorious errors, and ultimately build a deeper, more tangible understanding of the systems they aim to secure or compromise.

Farrell’s journey into circuit board design is presented not as a path to commercial success or immediate mastery, but as an essential practice for intellectual growth and skill diversification. He candidly shares his "stuff-ups" with power management, component selection, and design flaws, transforming them into valuable lessons for the audience. The talk is a testament to the idea that in the rapidly evolving field of cybersecurity, the ability to learn, adapt, and build from scratch is an invaluable asset, enriching both professional capability and personal development.

Background

▶ Watch: Embracing mistakes: Learning is breaking through things (0:40)

Edward Farrell's motivation for embarking on his circuit board design journey stems from a perceived systemic issue within the Australian technology and security landscape: a significant imbalance between strategic oversight and practical implementation. He vividly describes this as having "eight coxswains and one rower" in many companies, where there are ample managers and strategists but a critical shortage of individuals actively "doing things" and building tangible solutions. This observation spurred his personal quest to become more of a "builder," emphasizing the innate human desire to create and the importance of developing practical skills that extend beyond theoretical knowledge.

Farrell's prior experience, while not strictly in professional PCB design, laid a fertile groundwork for his hardware explorations. His history includes extensive tinkering with various embedded systems and microcontrollers for security-related applications. For instance, he built USB micro-implants designed to inject, sniff, or exfiltrate data over a keyboard, recognizing the inherent cool factor and practical utility of such devices. He also utilized ESP32s to create control features for simulating behavior in IoT environments within a postgrad lab at the Australian Defence Force (ADF), demonstrating an early understanding of embedded systems for testing and security research.

Before these projects, Farrell was already leveraging Raspberry Pis and Arduinos to facilitate various penetration tests, highlighting a pragmatic approach to using off-the-shelf hardware for offensive security operations. A notable experiment in 2017 involved deploying a hundred Arduino Leonardo boards configured as BadUSB devices—available for a mere $5.95 from Chinese suppliers—between Sydney and Canberra. This bold experiment even led to an "interesting experience" receiving a phone call from a government agency while at Defcon, underscoring the real-world impact and potential security implications of such readily available tools.

His hardware engagements continued with the ADF Cyber Skills Challenge, where he used ESP32s to create Bluetooth wireless challenges and even modulated an AM radio station directly from a GPIO pin, showcasing creative applications of embedded systems. More recently, he built the BSides 2023 wireless CTF, further cementing his hands-on experience in designing and implementing interactive hardware-based challenges. These diverse projects served as a natural progression, building his foundational understanding of microcontrollers and prompting him to ask, "there's got to be more to do." This curiosity eventually led him to the more intricate world of custom circuit board design, starting with basic "Dick Smith style kits" from electronics retailers and drawing inspiration from Defcon badge creators and their detailed write-ups.

Key Findings

▶ Watch: Early inspiration: USB implants and Bad USB experiments (4:20)

Edward Farrell's circuit board design journey yielded several profound findings, extending beyond mere technical lessons to encompass broader principles of learning, innovation, and self-improvement, particularly relevant for security professionals.

Firstly, a core finding is the paramount importance of the learning journey itself, replete with mistakes, over the pursuit of immediate, flawless success. Farrell repeatedly emphasizes that "you're not going to know everything" and that making errors is an intrinsic and necessary part of acquiring new skills. His talk is a testament to the idea that iterative failure and subsequent reflection are the most potent teachers, fostering resilience and deeper understanding.

Secondly, he discovered the immense value of "side projects that are kind of like work that isn't work." These personal endeavors, separate from professional obligations, provide a low-pressure environment for experimentation, skill development, and creative expression. For security professionals, such projects can bridge theoretical knowledge with practical application, leading to innovative solutions or a more profound understanding of attack surfaces.

A significant revelation concerned the double-edged sword of Artificial Intelligence in technical design. Farrell found AI to be exceptionally useful for specific tasks, such as identifying appropriate components based on given parameters (e.g., sifting through PDFs of specifications) and for researching initial concepts. However, he unequivocally discovered its limitations when it came to complex business logic or critical design elements like power management. His "AI slop black hole" board, where AI attempted to design the entire power function and utterly failed, served as a stark lesson: while AI can augment research, human expertise and critical judgment remain indispensable, emphasizing that "you're in control."

Another key finding underscored the necessity of starting small and employing a modular approach to hardware design. His initial "hello world" light circuits and later the development of basic prototyping boards (e.g., a USBC to ESP32 baseboard) proved crucial. This strategy allowed him to isolate and troubleshoot smaller segments of a larger system, preventing overwhelming complexity and facilitating a more manageable learning curve.

Finally, Farrell's journey highlighted the critical role of meticulous attention to detail and thorough troubleshooting in hardware development. Minor oversights, such as components being printed facing the wrong direction or incorrect power planning, led to non-functional boards. These experiences reinforced that success in hardware hinges on precision, systematic problem-solving, and a willingness to revisit and relearn fundamental principles. His accumulation of "digital junk"—non-functional printed circuit boards—also brought to light a broader, often overlooked issue within the technology community regarding electronic waste and the environmental impact of rapid prototyping.

Technical Deep Dive

▶ Watch: The dangers of AI in circuit board design (10:40)

Farrell's foray into circuit board design, while presented as a "noob" journey, involved a surprising array of technical tools, components, and methodologies, revealing the practical challenges and learning opportunities inherent in hardware development.

His primary design tool for creating schematics and PCB layouts was Easy EDA. He praised its straightforward interface and its integrated backend component library, which simplifies the process of selecting and placing electronic parts. The typical design workflow he followed involved:

  1. Conceptualization: Starting with pen and paper to clearly define the desired outcome and functionality.
  2. Schematic Design: Translating the concept into an electrical schematic, detailing component connections and signal flow. Farrell demonstrated a very basic schematic for a simple light circuit, which he described as his "hello world" experiment in PCB design.
  3. PCB Layout: Arranging components and routing traces on the physical board, ensuring electrical connectivity and manufacturability.
  4. Manufacturing: Sending the completed design files to a fabricator for production.

Throughout his projects, Farrell utilized several key microcontroller platforms and components:

  • Arduinos: Primarily used for simpler control tasks and as the basis for his BadUSB experiments (specifically the Arduino Leonardo). He noted that Arduino code is often "more routine" compared to the "smarts and processing" of more advanced microcontrollers.
  • ESP32s: Employed for more complex tasks requiring wireless communication (Bluetooth, Wi-Fi) and greater processing power. He used them for IoT environment simulation, creating Bluetooth wireless challenges for the ADF Cyber Skills Challenge, and even modulating AM radio signals from a GPIO pin. In his custom board designs, ESP32s were integrated with SD card interfaces and LoRa modules for advanced data logging and long-range communication.
  • USB Implants: Early explorations involved custom USB devices designed to inject keystrokes, sniff data, or exfiltrate information over a keyboard interface. These devices highlighted the potential for inline hardware attacks.

Farrell encountered significant technical challenges and "stuff-ups", which formed the core of his learning:

  • Power Planning: This was a recurring and major stumbling block. On several custom boards, he experienced "unstable" power, glitches, and complete failures in the battery and USB interfaces. A specific challenge involved converting the 5V supplied by a standard USB connection down to the 3.3V required by many microcontrollers like the ESP32. While he initially used breadboards for this, his custom PCB designs often failed here, suspecting incorrect component selection for voltage regulation.
  • Component Selection: Beyond power, choosing the correct components that align with the design's electrical requirements and physical footprint proved difficult.
  • Layout Mistakes: Errors in the physical arrangement of components were common. In one notable instance, a fully functional board was rendered useless because the components were printed onto the board "facing the wrong direction," a critical oversight in attention to detail.
  • Aesthetics and Lighting: Even seemingly minor details like the direction and effect of onboard LEDs presented challenges, revealing a personal "weakness" in design aesthetics.
  • Troubleshooting: Relearning and refining a systematic troubleshooting process became essential for diagnosing issues like unstable power or non-functional sections of a board.

His experience with Artificial Intelligence (AI) in design was particularly insightful. He experimented with using AI to assist in designing the power function of a board. This resulted in an "AI slop black hole" where the AI, attempting to be "helpful" like Mr. Meeseeks, continuously added unnecessary components, overloading the design and rendering it non-functional. This underscored AI's current limitations in handling complex, context-dependent engineering logic, especially without deep human oversight. He concluded that AI excels at identifying components based on specifications and assisting with research by parsing PDF datasheets, but it is not yet capable of robust, autonomous design for critical functions like power management.

To mitigate complexity and facilitate learning, Farrell adopted a strategy of starting small and building prototyping boards. For example, he designed a basic board specifically to interface a USBC connector with an ESP32, providing a modular base for connecting other components. This approach allowed him to manage a "smaller surface" for troubleshooting and gradually build confidence before attempting more ambitious, integrated designs.

Demo / Proof of Concept

▶ Watch: Major mistakes: power planning, component selection, troubleshooting (13:00)

Edward Farrell's presentation featured a compelling "show and tell" rather than a live, interactive demonstration, allowing him to physically illustrate his journey and the tangible outcomes of his circuit board design efforts. He brought several physical circuit boards to the stage, serving as concrete proof points for his successes, challenges, and "stuff-ups."

Among the items displayed were:

  • Simple Light Circuits: These were his "hello world" projects, basic PCBs designed solely to illuminate lights. He described these as straightforward and easy to get working, forming the foundation of his learning.
  • A Personal Project for the Army Corps of Signals: This more complex board included a simple light show, but also integrated an ESP32 microcontroller, an SD card interface, and a LoRa communication module. Farrell candidly shared that this specific board had significant issues with its power side, describing it as "bugging me" and "really unstable," often glitching or failing to power on correctly due to problems with the battery and USB interface.
  • The "AI Slop Black Hole" Board: This was a stark visual example of AI's limitations. Farrell presented a board whose entire power function was "completely screwed" after he relied on AI to design it. He kept this board as a tangible reminder of his "big learning lesson" regarding the responsible use of AI in design.
  • ESP32 Prototyping Boards: He showed a set of these boards, which were designed to serve as basic interfaces, specifically connecting USBC power to an ESP32. These were built for "doing weird and wonderful connections with other components" and for providing a smaller, more manageable surface for troubleshooting. He highlighted an ongoing issue with these, struggling to correctly drop the 5V USB input down to the 3.3V required by the ESP32, indicating a component selection or layout problem he was still diagnosing.
  • A Fully Functional Board with a Critical Flaw: Farrell displayed a board that was technically sound in its electronic design, but rendered non-functional due to a manufacturing oversight. The components had been printed onto the board "facing the wrong direction," a powerful illustration of the importance of meticulous attention to detail in the design and fabrication process.

While Farrell mentioned that he could show some of the Easy EDA design interface if time allowed, the primary focus of his "demo" was the physical hardware itself, allowing the audience to see the tangible results—both successful and failed—of his personal journey into circuit board design.

Defensive Implications

▶ Watch: The hidden cost: Digital junk and e-waste (17:30)

Edward Farrell's journey into circuit board design, while a personal learning endeavor, carries significant defensive implications for security professionals, fostering a deeper understanding of hardware, supply chains, and the practicalities of embedded systems.

Firstly, understanding the hardware layer is crucial for both offensive and defensive security. For defenders, knowing how circuit boards are designed, components are selected, and power is managed provides invaluable context for identifying potential vulnerabilities in embedded systems, IoT devices, and even traditional computing hardware. When a security professional struggles with issues like power stability (e.g., 5V to 3.3V conversion, battery management), they gain firsthand insight into common failure points and potential attack surfaces that could be exploited through power glitching or manipulation. This hands-on experience demystifies the physical components that underpin software, enabling more comprehensive security assessments.

Secondly, Farrell's experiments with BadUSB devices (Arduino Leonardo, $5.95 from China) directly highlight supply chain risks and the ease of hardware-based attacks. The fact that hundreds of these devices could be cheaply acquired and deployed demonstrates how readily malicious hardware can be introduced into an environment. Defenders who understand the simplicity of creating such devices are better equipped to implement physical security controls, educate users about unknown USB devices, and develop detection mechanisms for suspicious HID (Human Interface Device) behavior. This knowledge is not just theoretical; it comes from the practical experience of sourcing and deploying such tools.

Thirdly, his work with ESP32s for IoT simulation and CTF challenges underscores the importance of embedded system security. IoT devices often have limited resources, complex power requirements, and unique communication protocols (like LoRa or Bluetooth). By actively building and troubleshooting these systems, defenders can better grasp the nuances of securing them, from robust firmware development and secure boot processes to physical tamper detection and secure over-the-air updates. The challenges he faced in getting these boards to work reliably mirror the real-world complexities that attackers might exploit.

Fourth, Farrell's insights into the use of Artificial Intelligence in design offer a critical defensive lesson. While AI can be a powerful tool for research and component identification, his "AI slop black hole" demonstrates its current limitations in handling complex, critical logic like power management. This translates to a broader cautionary tale for security professionals: AI-generated code or designs, particularly for sensitive components, must be rigorously audited and validated by human experts. Relying solely on AI for critical infrastructure or security-sensitive designs without deep human oversight can introduce subtle, exploitable vulnerabilities that are difficult to detect. The lesson is not to avoid AI, but to use it intelligently, recognizing its strengths as an assistant and its weaknesses in autonomous decision-making for complex engineering.

Finally, the concept of "digital junk" and the environmental impact of hardware development, while not directly a defensive security issue, prompts reflection on responsible technology development. As the industry increasingly relies on custom hardware, the lifecycle of these devices, from design to disposal, becomes a broader concern that security professionals should be aware of, particularly in areas like secure disposal of sensitive hardware.

Key Takeaways

  • Embrace Mistakes as Learning Opportunities: Edward Farrell's journey emphatically demonstrates that making errors, particularly in complex domains like hardware design, is not a failure but an essential, often painful, path to deeper understanding and skill acquisition.
  • Cultivate Side Projects for Growth: Engaging in personal projects, separate from professional work, provides a low-pressure environment for skill development, experimentation, and intellectual curiosity, which can significantly enhance a security professional's practical capabilities.
  • Leverage AI Judiciously: Artificial Intelligence is a powerful tool for research, component identification, and augmenting design processes. However, it should not be blindly trusted for critical design logic, especially in areas like power management, where human expertise and rigorous validation remain indispensable.
  • Start Small and Prototype Systematically: Tackling complex hardware projects effectively requires a modular approach. Beginning with "hello world" circuits and developing basic prototyping boards allows for manageable troubleshooting and builds foundational confidence before scaling to more intricate designs.
  • Prioritize Attention to Detail and Meticulous Planning: Hardware design demands extreme precision. Overlooking seemingly minor details, such as component orientation, power planning, or proper component selection, can lead to complete project failure and highlights the need for thoroughness in all stages of development.
  • Hands-on Hardware Experience is Invaluable for Security: Directly engaging with circuit board design, microcontrollers, and embedded systems provides security professionals with a tangible understanding of hardware vulnerabilities, supply chain risks, and the practical challenges of securing IoT and other physical systems.

About the Speaker(s)

Edward Farrell is the Founder of Mercury Information Security Services, demonstrating his leadership and expertise within the cybersecurity industry. His talk reveals a deep personal passion for hands-on technical exploration and a commitment to fostering practical skills. Farrell is an experienced builder and educator, evidenced by his history of creating tools for penetration testing, simulating IoT environments with ESP32s, and designing complex challenges for cybersecurity competitions. He was instrumental in building the ADF Cyber Skills Challenge and the BSides 2023 wireless CTF. Throughout his presentation, Edward champions a philosophy of continuous learning, embracing mistakes, and encouraging others to dive into unfamiliar technical domains, positioning himself as a relatable guide for those seeking to expand their practical knowledge beyond traditional security roles.

Reviews

→ Top-rated talks at BSides Canberra VIII (2025)

All talks from BSides Canberra VIII (2025)