Difference between revisions of "NU32 Electronics and Mechatronics Kits"

From Mech
Jump to navigationJump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
To complete projects in the book [[NU32|"Embedded Computing and Mechatronics with the PIC32 Microcontroller"]] (Lynch/Marchuk/Elwin, Newnes 2015), we recommend the following "kits."
To complete projects in the book [[NU32|"Embedded Computing and Mechatronics with the PIC32 Microcontroller"]] (Lynch/Marchuk/Elwin, Newnes 2015), we recommend purchasing the following parts.


==Minimum Electronics Kit==
==Minimum Electronics Kit==
Line 5: Line 5:
* [https://www.sparkfun.com/products/12630 a wire stripper] and [https://www.sparkfun.com/products/8022 22 AWG solid hook-up wire], typically including black (ground), red, and at least one other color; alternatively you can use a [https://www.sparkfun.com/products/124 jumper wire kit (a pre-cut assortment of wires)]
* [https://www.sparkfun.com/products/12630 a wire stripper] and [https://www.sparkfun.com/products/8022 22 AWG solid hook-up wire], typically including black (ground), red, and at least one other color; alternatively you can use a [https://www.sparkfun.com/products/124 jumper wire kit (a pre-cut assortment of wires)]
* [https://www.sparkfun.com/products/12966 a digital multimeter]
* [https://www.sparkfun.com/products/12966 a digital multimeter]
* a selection of breadboard-ready 1/4 W through-hole resistors (for example, [https://www.sparkfun.com/products/10969 a kit like this] or individual resistors between 100 ohms and 10K ohms should suffice)
* a selection of breadboard-ready 1/4 W through-hole resistors; for example, [https://www.sparkfun.com/products/10969 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, [https://www.sparkfun.com/products/13698 a kit like this] or a few 0.1uF (100nF) and 0.01uF (10nF) capacitors should suffice)
* a selection of breadboard-ready through-hole ceramic capacitors; for example, [https://www.sparkfun.com/products/13698 a kit like this], or a few 0.1uF (100nF) and 0.01uF (10nF) capacitors should suffice
* [http://www.digikey.com/product-detail/en/SFH%20310%20FA-2%2F3/475-1444-ND/1228087 SFH 310 FA-2/3 NPN phototransistor]
* [http://www.digikey.com/product-detail/en/SFH%20310%20FA-2%2F3/475-1444-ND/1228087 SFH 310 FA-2/3 NPN phototransistor] (or any phototransistor with good sensitivity to red light, wavelength around 650 nm)
* [http://www.digikey.com/product-detail/en/WP7113SRC%2FDU/754-1274-ND/1747673 Kingbright WP7113SRC/DU red LED]]
* [http://www.digikey.com/product-detail/en/WP7113SRC%2FDU/754-1274-ND/1747673 Kingbright WP7113SRC/DU red LED] (or any bright red LED, wavelength around 650 nm)
You might also consider [https://www.sparkfun.com/products/10003 a kit of basic electronic parts] for further exploration.


==The Brushed DC Motor Control Kit==
==The Brushed DC Motor Control Kit==
These items are needed to complete the projects associated with a brushed DC motor.
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., [http://aliexpress.com aliexpress.com], [http://ebay.com ebay.com], etc.)
* 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., [http://aliexpress.com aliexpress.com], [http://ebay.com ebay.com], etc.). As of January 2016, [http://www.aliexpress.com/item/New-MABUCHI-RS-385PH-motor-high-speed-with-Encoder-448-AB-phase-encoder-motor-high-quality/32218842791.html this Mabuchi RS-385PH motor and 448-line incremental encoder is available on aliexpress for less than 10 USD].
* a 6 V battery pack to power the motor (6 V is not critical; other voltages are possible, provided the motor does not draw much more than about 1 A at stall)
* [https://www.sparkfun.com/products/12083 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|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
* [http://www.digikey.com/product-detail/en/AC05000002009JAC00/PPC5W20.0CT-ND/596701 20 ohm 5 W power resistor] (used for calibration of the motor current sensor)
* 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
* a motor mount to mount the motor securely to the table
* an inertia bar to attach to the motor to vary its load
* an inertia bar to attach to the motor to vary its load



==Useful Optional Components==
==Optional Components with Source Code==
The following equipment is used in code samples in the book.
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 [http://nscope.org/ nScope]
* a portable oscilloscope and function generator, such as the [http://nscope.org/ nScope]
* a 16x2 LCD screen (HD44780-compatible controller chip)
* [https://www.sparkfun.com/products/255 a 16x2 LCD screen (HD44780-compatible controller chip)]
* [[Media:23K256.pdf|Microchip 23K256 32 KB SRAM]]
* [http://www.digikey.com/product-detail/en/23K256-I%2FP/23K256-I%2FP-ND/2001112 Microchip 23K256 SPI Serial SRAM]
* [[Media:LSM303D.pdf|STMicroelectronics LSM303D accelerometer/magnetometer]]
* [https://www.pololu.com/product/2127 STMicroelectronics LSM303D accelerometer/magnetometer]
* [[Media:SSD1306.pdf|OLED screen with SSD1306 OLED driver]]
* [https://www.crystalfontz.com/product/cfal12864nab4-module-128x64-graphic-oled 128x64 OLED screen with SSD1306 driver]
* [[Media:MCP2562.pdf|Microchip MCP2562 CAN transceiver]]
* [http://www.digikey.com/product-detail/en/MCP2562-E%2FP/MCP2562-E%2FP-ND/4079966 Microchip MCP2562 CAN transceiver]
* [[Media:L6234.pdf|STMicroelectronics L6234 three phase brushless motor driver]]
* [http://www.digikey.com/product-search/en?pv69=80&FV=fff40027%2Cfff802d2&k=l6234 L6234 three phase brushless motor driver]

* potentiometers, pushbuttons, etc.


==Other Components Referenced or Used in the Book==
==Other Components Referenced or Used in the Book==
Line 36: Line 38:
** [[Media:OP906.pdf|OPTEK Technology OP906 photodiode]]
** [[Media:OP906.pdf|OPTEK Technology OP906 photodiode]]
** [[Media:QED123.pdf|Fairchild Semiconductor QED123 LED]]
** [[Media:QED123.pdf|Fairchild Semiconductor QED123 LED]]
** [[Media:SFH310.pdf|OSRAM SFH 310 NPN phototransistor]]
** [[Media:WP7113SRC-DU.pdf|Kingbright WP7113SRC/DU red LED]]
** [[Media:OPB370T51.pdf|OPTEK Technology photointerrupter]]
** [[Media:OPB370T51.pdf|OPTEK Technology photointerrupter]]
** [[Media:OPB742.pdf|OPTEK Technology OPB742 reflective object sensor]]
** [[Media:OPB742.pdf|OPTEK Technology OPB742 reflective object sensor]]
** [[Media:WAL305.pdf|Contelec WAL305 potentiometer]]
** [[Media:WAL305.pdf|Contelec WAL305 potentiometer]]
** [[Media:AEAT-9000-1GSH1.pdf|Avago Technologies AEAT-9000-1GSH1 absolute optical encoder]]
** [[Media:AEAT-9000-1GSH1.pdf|Avago Technologies AEAT-9000-1GSH1 absolute optical encoder]]
** [[Media:AD2S90.pdf|Analog Devices AD2S90 resolver]]
** [[Media:AD2S90.pdf|Analog Devices AD2S90 resolver to digital converter chip]]
** [[Media:LD320.pdf|Omega LD320 linear variable differential transformer]]
** [[Media:LD320.pdf|Omega LD320 linear variable differential transformer]]
** [[Media:ADXL362.pdf|Analog Devices ADXL362 three-axis accelerometer]]
** [[Media:ADXL362.pdf|Analog Devices ADXL362 three-axis accelerometer]]

Latest revision as of 21:51, 11 April 2016

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.

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.


Other Components Referenced or Used in the Book

These components, referenced in the book, can be sourced from various suppliers: