Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
fabricademy2017:students:angela.barbour:week_08._open_source_hardware_-_from_fibers_to_fabrics [2018/02/13 19:40] angelabarbour [06. Drawing with Joined Movements] |
fabricademy2017:students:angela.barbour:week_08._open_source_hardware_-_from_fibers_to_fabrics [2018/02/17 20:01] angelabarbour [08. Programing the controls in Arduino] |
||
---|---|---|---|
Line 162: | Line 162: | ||
{{ :fabricademy2017:students:angela.barbour:06_installingjoimovment.jpg |}} | {{ :fabricademy2017:students:angela.barbour:06_installingjoimovment.jpg |}} | ||
+ | |||
+ | |||
+ | ==== 07. Remodeling the electronic structure ==== | ||
+ | |||
+ | After everything was all right I decided to remodel the electronic structure in a bigger protoboard to clear the access to the buttons and controlling. | ||
+ | |||
+ | {{ :fabricademy2017:students:angela.barbour:07_remodeling.jpg |}} | ||
+ | |||
+ | |||
+ | ==== 08. Programing the controls in Arduino ==== | ||
+ | |||
+ | Here is the final program in Arduino, to install the two motors: step and servo motors with their libraries. | ||
+ | |||
+ | Install the buttons to: | ||
+ | |||
+ | 1. control the movement direction of step motor : CW or ACW | ||
+ | |||
+ | 2. control the anglo of the pen with the servo motors: perpendicular to the paper (read to draw), or 30 degrees up | ||
+ | (standby). | ||
+ | |||
+ | With this configuration the control of the draw is made by hand with the buttons. | ||
+ | I could after program some arduino control to a automatic draw, and also use this machine to others purposes as controling and moving a light system in my final project. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{ :fabricademy2017:students:angela.barbour:hack01.jpg |}} | ||
+ | |||