CEB Press Control Code: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


The current CEB Control Code can be found in the OSE repository at OpenPario: [http://www.openpario.net/documents/1251 CEB Press Control Code]
The current CEB Control Code can be found in the OSE repository at OpenPario: [http://www.openpario.net/documents/1251 CEB Press Control Code]


'''Note: The above testing code is updated to these: CEBTestingV2, 01/20/2012 02:20 pm, and  to CEBTestingV2Uno python code (for Arduino Duemilanove and Uno, respectively), found towards bottom of http://www.openpario.net/projects/oseceb/documents
'''Note: The above testing code is updated to these: CEBTestingV2, 01/20/2012 02:20 pm, and  to CEBTestingV2Uno python code (for Arduino Duemilanove and Uno, respectively), found towards bottom of http://www.openpario.net/projects/oseceb/documents
'''  
'''
 
== '''Startup and Operation Procedure''' ==
**If you are using Arduino Uno, go to the following webpage and download the CEBTestingV2Uno.py file:
 
http://openpario.mime.oregonstate.edu/attachments/4467/CEBTestingV2Uno.py
 
*If you are using Arduino Duemilanove, go to the following webpage and download the CEBTestingV2.py file:
 
http://openpario.mime.oregonstate.edu/attachments/4466/CEBTestingV2.py
 
*Go to the following webpage and follow the steps for uploading the CEBTesting.ino code into the Arduino Microcontroller
 
http://opensourceecology.org/wiki/CEB_Press/Manufacturing_Instructions/Code_Upload
 
*Connect the computer to the Arduino Microcontroller on the CEB Press via USB cable
 
*Open Terminal and navigate to the folder containing the CEBTestingV2.py file
 
*In Terminal, type:
 
python CEBTestingV2.py
 
*Note: for Windows and Mac users, open the file using python through a method of your own choosing/compatibility
 
*Note: The CEB Testing Graphical User Interface should now pop up in a new window
 
*In the GUI, click "Open Connection"
 
*Click other buttons to test the CEB Press:
 
Mosfet C11 starts the shaker
 
Mosfet C10 moves the drawer right
 
Mosfet C9 moves the drawer left
 
Mosfet C6 moves the pressfoot up
 
Mosfet C3 moves the pressfoot down
 
Sensors lights the sensor LEDs on the solenoid driver board when you move a magnet around the sensors
 
LED Blink lights the sensor LEDs on the solenoid driver board intermittently
 
*Note: see the annotations within the code using a text editor for more details on the testing procedure
 
*Note: look for the LEDs of the solenoid driver board and of the solenoid valves lighting up as you click on the relevant buttons within the GUI
 
*Note: Connect a battery to the controller box to power the solenoid valves
 
*Note: Start the hydraulic pump for live testing of the CEB press when you are confident with the testing procedure and the CEB Press
{{Civilization_Starter_Kit_DVD}}
{{Civilization_Starter_Kit_DVD}}

Revision as of 22:57, 23 May 2012

The current CEB Control Code can be found in the OSE repository at OpenPario: CEB Press Control Code

Note: The above testing code is updated to these: CEBTestingV2, 01/20/2012 02:20 pm, and to CEBTestingV2Uno python code (for Arduino Duemilanove and Uno, respectively), found towards bottom of http://www.openpario.net/projects/oseceb/documents

Startup and Operation Procedure

    • If you are using Arduino Uno, go to the following webpage and download the CEBTestingV2Uno.py file:

http://openpario.mime.oregonstate.edu/attachments/4467/CEBTestingV2Uno.py

  • If you are using Arduino Duemilanove, go to the following webpage and download the CEBTestingV2.py file:

http://openpario.mime.oregonstate.edu/attachments/4466/CEBTestingV2.py

  • Go to the following webpage and follow the steps for uploading the CEBTesting.ino code into the Arduino Microcontroller

http://opensourceecology.org/wiki/CEB_Press/Manufacturing_Instructions/Code_Upload

  • Connect the computer to the Arduino Microcontroller on the CEB Press via USB cable
  • Open Terminal and navigate to the folder containing the CEBTestingV2.py file
  • In Terminal, type:

python CEBTestingV2.py

  • Note: for Windows and Mac users, open the file using python through a method of your own choosing/compatibility
  • Note: The CEB Testing Graphical User Interface should now pop up in a new window
  • In the GUI, click "Open Connection"
  • Click other buttons to test the CEB Press:

Mosfet C11 starts the shaker

Mosfet C10 moves the drawer right

Mosfet C9 moves the drawer left

Mosfet C6 moves the pressfoot up

Mosfet C3 moves the pressfoot down

Sensors lights the sensor LEDs on the solenoid driver board when you move a magnet around the sensors

LED Blink lights the sensor LEDs on the solenoid driver board intermittently

  • Note: see the annotations within the code using a text editor for more details on the testing procedure
  • Note: look for the LEDs of the solenoid driver board and of the solenoid valves lighting up as you click on the relevant buttons within the GUI
  • Note: Connect a battery to the controller box to power the solenoid valves
  • Note: Start the hydraulic pump for live testing of the CEB press when you are confident with the testing procedure and the CEB Press

Back to Table of Contents