Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente | Ultima revisione Entrambe le parti successive la revisione | ||
projects:upshack [14/11/2013 15:54] admin |
projects:upshack [14/11/2013 15:56] admin |
||
---|---|---|---|
Linea 11: | Linea 11: | ||
But then I saw a predisposition for serial port... some checks and it worked! | But then I saw a predisposition for serial port... some checks and it worked! | ||
- | === Warnings === | + | ===== Warnings ===== |
This is a hack onto shock hazardous circuits. 230VAC (300VDC) are present everywhere also when everything shut down. | This is a hack onto shock hazardous circuits. 230VAC (300VDC) are present everywhere also when everything shut down. | ||
Linea 21: | Linea 21: | ||
**This hack is not 100% safe** | **This hack is not 100% safe** | ||
- | === Adding the Fan === | + | ===== Adding the Fan ===== |
{{:projects:smallhacks:img_0081.jpg?200|}} | {{:projects:smallhacks:img_0081.jpg?200|}} | ||
Linea 31: | Linea 31: | ||
Note. Fan wires ARE actually connected to MAINS. | Note. Fan wires ARE actually connected to MAINS. | ||
- | === Adding the RS-232 interface === | + | ===== Adding the RS-232 interface ===== |
{{:projects:smallhacks:detail2.jpg?300|}} | {{:projects:smallhacks:detail2.jpg?300|}} | ||
Linea 44: | Linea 44: | ||
Note. Opto-isolators separate RS-232 circuits (SAFE) from ups ttl circuits (NOT SAFE, connected to MAINS). | Note. Opto-isolators separate RS-232 circuits (SAFE) from ups ttl circuits (NOT SAFE, connected to MAINS). | ||
- | == Solving a "problem" == | + | ==== Solving a "problem" ==== |
Initially it did'nt work. This is what I got. | Initially it did'nt work. This is what I got. | ||
Linea 55: | Linea 55: | ||
{{:projects:smallhacks:conddtl.jpg?300|}} | {{:projects:smallhacks:conddtl.jpg?300|}} | ||
- | === Communication Protocol === | + | ==== Communication Protocol ==== |
- | == NUT rulez == | + | === NUT rulez === |
It works with "network ups tools" ([[http://www.networkupstools.org/]]). The driver is called "**blazer_ser**". | It works with "network ups tools" ([[http://www.networkupstools.org/]]). The driver is called "**blazer_ser**". | ||
Protocol used is "Megatec/Q1". | Protocol used is "Megatec/Q1". | ||
Linea 88: | Linea 88: | ||
</file> | </file> | ||
- | == Watching how the driver works (reversing protocol) == | + | === Watching how the driver works (reversing protocol) === |
Link is 2400 baud, 8n1 | Link is 2400 baud, 8n1 | ||
Linea 107: | Linea 107: | ||
I don't know if other //commands// could be sent to the UPS, in addition to the shutdown. | I don't know if other //commands// could be sent to the UPS, in addition to the shutdown. | ||
- | == I'm a stupid == | + | === I'm a stupid === |
**//Some day after//** | **//Some day after//** | ||
Linea 130: | Linea 130: | ||
</code> | </code> | ||
- | === Final hack === | + | ===== Final hack ===== |
This is more likely a CISCO router related topic. However, I have connected the ups serial port to the router's AUX port and configured as ''modem inout''. | This is more likely a CISCO router related topic. However, I have connected the ups serial port to the router's AUX port and configured as ''modem inout''. | ||