NU32 Electronics and Mechatronics Kits
To complete projects in the book "Embedded Computing and Mechatronics with the PIC32 Microcontroller" (Lynch/Marchuk/Elwin, Newnes 2015), we recommend purchasing the following parts.
Minimum Electronics Kit
We recommend this set of parts for simple interfacing with the NU32, as described throughout the book. These are available from many vendors; below are some examples where they can be purchased.
- a wire stripper and 22 AWG solid hook-up wire, typically including black (ground), red, and at least one other color; alternatively you can use a jumper wire kit (a pre-cut assortment of wires)
- a digital multimeter
- a selection of breadboard-ready 1/4 W through-hole resistors; for example, a kit like this, or individual resistors between 100 ohms and 100K ohms should suffice
- a selection of breadboard-ready through-hole ceramic capacitors; for example, a kit like this, or a few 0.1uF (100nF) and 0.01uF (10nF) capacitors should suffice
- SFH 310 FA-2/3 NPN phototransistor (or any phototransistor with good sensitivity to red light, wavelength around 650 nm)
- Kingbright WP7113SRC/DU red LED (or any bright red LED, wavelength around 650 nm)
You might also consider a kit of basic electronic parts for further exploration.
The Brushed DC Motor Control Kit
These items are needed to complete the projects associated with a brushed DC motor.
- a brushed DC motor with no gearhead that draws less than 1 A at stall when powered by 6 V, with an incremental encoder (as many counts per revolution as possible, preferably at least hundreds). No gearhead makes it easier to characterize the motor without having to worry about high friction in the gearhead. You can search surplus and other sites for such motors (e.g., aliexpress.com, ebay.com, etc.). As of January 2016, this Mabuchi RS-385PH motor and 448-line incremental encoder is available on aliexpress for less than 10 USD.
- a 4xAA battery holder and 4 AA batteries for a 6 V power supply (6 V is not critical; other voltages are possible, provided the motor does not draw much more than about 1 A at stall at this voltage)
- A motor control board, consisting of a TI DRV8835 H-bridge chip, the MAX9918 current-sense amplifier, and a dsPIC33FJ64MC802-I/MM microcontroller that is used to count encoder and report its count via SPI
- 20 ohm 5 W power resistor (used for calibration of the motor current sensor)
- a motor mount to mount the motor securely to the table
- an inertia bar to attach to the motor to vary its load
Optional Components with Source Code
The following equipment is used in code samples in the book. Most products are available from many vendors; below are examples.
- a portable oscilloscope and function generator, such as the nScope
- a 16x2 LCD screen (HD44780-compatible controller chip)
- Microchip 23K256 SPI Serial SRAM
- STMicroelectronics LSM303D accelerometer/magnetometer
- 128x64 OLED screen with SSD1306 driver
- Microchip MCP2562 CAN transceiver
- L6234 three phase brushless motor driver
Other Components Referenced or Used in the Book
These components, referenced in the book, can be sourced from various suppliers:
- Chapter 21
- Advanced Photonix PDV-P5002 photocell
- OPTEK Technology OP906 photodiode
- Fairchild Semiconductor QED123 LED
- OPTEK Technology photointerrupter
- OPTEK Technology OPB742 reflective object sensor
- Contelec WAL305 potentiometer
- Avago Technologies AEAT-9000-1GSH1 absolute optical encoder
- Analog Devices AD2S90 resolver to digital converter chip
- Omega LD320 linear variable differential transformer
- Analog Devices ADXL362 three-axis accelerometer
- STMicroelectronics L3GD20H three-axis gyro
- STMicroelectronics ASM330LXH inertial measurement unit (IMU)
- Toshiba TCS20DPR digital Hall effect switch
- Avago Technologies AEAT-6600 angular magnetic encoder IC
- Sharp infrared distance sensor
- TDK B57164K103J negative temperature coefficient thermistor
- Analog Devices TMP37 temperature sensor
- Maxim Integrated MAX9918 current-sense amplifier
- Allegro ACS711 Hall-effect current sensor
- Chapter 29