Learn Audio Electronics with Arduino
Practical Audio Circuits with Arduino Control
Charlie Cullen
First published 2020
by Routledge
2 Park Square, Milton Park, Abingdon, Oxon OX14 4RN
and by Routledge
52 Vanderbilt Avenue, New York, NY 10017
Routledge is an imprint of the Taylor & Francis Group, an informa business
2020 Charlie Cullen
The right of Charlie Cullen to be identified as author of this work has been asserted by him in accordance with sections 77 and 78 of the Copyright, Designs and Patents Act 1988.
All rights reserved. No part of this book may be reprinted or reproduced or utilised in any form or by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying and recording, or in any information storage or retrieval system, without permission in writing from the publishers.
Trademark notice: Product or corporate names may be trademarks or registered trademarks, and are used only for identification and explanation without intent to infringe.
British Library Cataloguing-in-Publication Data
A catalogue record for this book is available from the British Library
Library of Congress Cataloging-in-Publication Data
A catalog record has been requested for this book
ISBN: 978-0-367-18664-7 (hbk)
ISBN: 978-0-367-18665-4 (pbk)
ISBN: 978-0-429-19749-9 (ebk)
Typeset in Times New Roman
by Newgen Publishing UK
Visit the eResources: www.routledge.com/9780367186654
If you think of something clever or funny, tell them your father said it it works better that way.
Charles J. Cullen Snr
Youve done so much for all of us Dad thank you.
Contents
The idea for this book first occurred while teaching audio electronics, where basic concepts were proving difficult to explain quickly enough to allow audio amplifier and filter projects to be built. Thus, many students would struggle with the fundamentals and then lose interest before the more interesting circuits could be discussed. There are many good books on audio electronics that require a prior knowledge of electronic circuit theory and conversely the books that discuss these theories do not cover audio in detail. Similarly, there are many good audio project tutorials available, but they do not introduce fundamentals like programming and system control. After trying to teach theory before project, then project before theory, it was becoming clear that a text combining both in a series of smaller steps would be more useful the chapters in this book are those resulting steps.
The Arduino is a great learning resource, and this book tries to use it to get circuits built quickly whilst introducing audio electronics fundamentals. Part of the reason for this is the large user base for Arduino there are many great resources available that significantly extend the concepts introduced in these chapters. In addition, DC circuit theory is much easier to learn when building circuits, and the Arduino can quickly extend these circuits into digital control systems. In this book, building MIDI circuits is a great way to put DC circuit theory into practice and there is significant scope to progress beyond the MIDI drum trigger that represents the first milestone project.
The second half of the book uses AC circuit theory to introduce capacitors, which are fundamental to time-varying signals and can often be the extra components in an audio circuit. Although this is only an introductory text, amplification and filtering circuits are arguably much easier to learn when the role of capacitors in DC blocking, AC decoupling and load balancing is also understood. Many students spend significant amounts of time starting at schematics for well-known pedals and amplifiers, thinking that those circuits are unbelievably complex. In reality, these circuits often take simpler amplification and filtering principles and combine them with practical techniques for stability and noise reduction (mostly capacitors) the reality is much less complex than the circuit may initially suggest. It is partly for this reason that some transistor theory is included in the text though it is provided for information rather than application. Many classic effects pedals use transistors, but operational amplifiers are a much better option for modern circuits.
In combining audio circuits with Arduino control, the main aim of this book is to show how digital control of analogue signals is a rich area of potential investigation. It is argued that this is not well covered by existing texts, even though most commercial audio equipment incorporates these techniques. The final project in with lots of ideas for potential circuits of your own this is where electronics becomes really interesting!
I would like to thank Shannon Neill, Hannah Rowe and Claire Margerison from Taylor & Francis for all their patience and assistance during this process it has not been a linear production! I would also like to thank my research collaborators at Xperi (Ming, Ton, James and Ted) who as audio engineering experts have been invaluable in their support of this work. Within my academic institution, particular thanks go to Professor Michael Conlon for giving me the time and space needed to complete the book. On a personal level, I would like to thank my brother John for all his input and discussions during the writing of this book it really helped keep me focussed! The rest of my family always deserve thanks for their help, and I would particularly like to thank my wife Clara for her invaluable support and guidance I hope that Ella will be our best project yet.