NU32 Electronics and Mechatronics Kits
From Mech
To complete projects in the book "Embedded Computing and Mechatronics with the PIC32 Microcontroller" (Lynch/Marchuk/Elwin, Newnes 2015), we recommend the following "kits."
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 10K 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
- Kingbright WP7113SRC/DU red LED]
You might also consider a kit of basic electronic parts.
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.)
- 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)
- 20 ohm 5 W power resistor
- the motor control board, consisting of a TI DRV8835 H-bridge chip, the MAX9918 current-sense amplifier, and a PICxxx? encoder counter chip that speaks SPI
- a motor mount to mount the motor securely to the table
- an inertia bar to attach to the motor to vary its load
Useful Optional Components
The following equipment is used in code samples in the book. Most products are available from many vendors.
- a portable oscilloscope and function generator, such as the nScope
- a 16x2 LCD screen (HD44780-compatible controller chip)
- Microchip 23K256 32 KB SRAM
- STMicroelectronics LSM303D accelerometer/magnetometer
- OLED screen with SSD1306 OLED driver
- Microchip MCP2562 CAN transceiver
- STMicroelectronics L6234 three phase brushless motor driver
- potentiometers, pushbuttons, etc.
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
- OSRAM SFH 310 NPN phototransistor
- Kingbright WP7113SRC/DU red 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
- 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