Difference between revisions of "NU32 Electronics and Mechatronics Kits"

From Mech
Jump to navigationJump to search
 
(39 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==
We recommend this kit for simple interfacing with the NU32, as described throughout the book.
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.
* [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)]
* a wire stripper
* [https://www.sparkfun.com/products/12966 a digital multimeter]
* a digital voltmeter
* 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
* 22 AWG solid hook-up wire, typically including black (ground), red, and at least one other color
* a selection of breadboard-ready 1/4 W through-hole resistors, but at least ('''these resistances''')
* 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] (or any phototransistor with good sensitivity to red light, wavelength around 650 nm)
* a selection of breadboard-ready through-hole capacitors (e.g., ceramic), but at least ('''these capacitances''')
* [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)
* [[Media:SFH310.pdf|OSRAM SFH 310 NPN phototransistor]]
You might also consider [https://www.sparkfun.com/products/10003 a kit of basic electronic parts] for further exploration.
* [[Media:WP7113SRC-DU.pdf|Kingbright WP7113SRC/DU red LED]]
* etc., if anything else

I think we can collect together several of the items above into a digikey cart and share the cart, so people can get the cart with a single click. Here is a [http://www.digikey.com/short/t1trnj sample digikey cart], though interestingly it gives an error when you open it.

==Useful Optional Components==
These items are also useful, but not strictly necessary.
* a portable oscilloscope and function generator, such as the [http://nscope.org/ nScope]
* a 16x2 LCD screen (could mention the controller type, HD...)
* potentiometer, pushbuttons, etc.
* etc., if anything else


==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 sites for such motors or try these '''recommendations.'''
* 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)
* 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 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
* [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)
* 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

* etc., if anything else

==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 [http://nscope.org/ nScope]
* [https://www.sparkfun.com/products/255 a 16x2 LCD screen (HD44780-compatible controller chip)]
* [http://www.digikey.com/product-detail/en/23K256-I%2FP/23K256-I%2FP-ND/2001112 Microchip 23K256 SPI Serial SRAM]
* [https://www.pololu.com/product/2127 STMicroelectronics LSM303D accelerometer/magnetometer]
* [https://www.crystalfontz.com/product/cfal12864nab4-module-128x64-graphic-oled 128x64 OLED screen with SSD1306 driver]
* [http://www.digikey.com/product-detail/en/MCP2562-E%2FP/MCP2562-E%2FP-ND/4079966 Microchip MCP2562 CAN transceiver]
* [http://www.digikey.com/product-search/en?pv69=80&FV=fff40027%2Cfff802d2&k=l6234 L6234 three phase brushless motor driver]



==Other Components Referenced or Used in the Book==
==Other Components Referenced or Used in the Book==
These components can be sourced from various suppliers if you want to use them as described in the book:
These components, referenced in the book, can be sourced from various suppliers:
* Chapter 12
** [[Media:23K256.pdf|Microchip 23K256 32 KB SRAM]]
** [[Media:LSM303D.pdf|STMicroelectronics LSM303D accelerometer/magnetometer]]
* Chapter 13
** [[Media:SSD1306.pdf|OLED screen with SSD1306 OLED driver]]
* Chapter 19
** [[Media:MCP2562.pdf|Microchip MCP2562 CAN transceiver]]
* Chapter 21
* Chapter 21
** [[Media:PDV-P5002.pdf|Advanced Photonix PDV-P5002 photocell]]
** [[Media:PDV-P5002.pdf|Advanced Photonix PDV-P5002 photocell]]
** [[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]]
Line 61: Line 54:
** [[Media:MAX9918.pdf|Maxim Integrated MAX9918 current-sense amplifier]]
** [[Media:MAX9918.pdf|Maxim Integrated MAX9918 current-sense amplifier]]
** [[Media:ACS711.pdf|Allegro ACS711 Hall-effect current sensor]]
** [[Media:ACS711.pdf|Allegro ACS711 Hall-effect current sensor]]
* Chapter 27
** [[Media:DRV8835.pdf|Texas Instruments DRV8835 dual H-bridge]]
** [[Media:CopleyAccelus.pdf|Copley Controls Accelus amplifier]]
* Chapter 29
* Chapter 29
** [[Media:TIP120.pdf|Fairchild Semiconductor TIP120 NPN transistor]]
** [[Media:TIP120.pdf|Fairchild Semiconductor TIP120 NPN transistor]]
Line 70: Line 60:
** [[Media:DRV8825.pdf|Texas Instruments DRV8825 stepper motor controller IC]]
** [[Media:DRV8825.pdf|Texas Instruments DRV8825 stepper motor controller IC]]
** [[Media:Pittman-ELCOM-SL-4443S013.pdf|Pittman ELCOM-SL-4443S013 brushless motor]]
** [[Media:Pittman-ELCOM-SL-4443S013.pdf|Pittman ELCOM-SL-4443S013 brushless motor]]
** [[Media:L6234.pdf|STMicroelectronics L6234 three phase brushless motor driver]]

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: