Travis' World

News:

  • Post moderation is in effect for Newbies, thanks to SPAM.

Recent Posts

1
Network Administration / Re: redoing the server rack
« Last post by Travis Farmer on 2019-10-05, 16:05:11 »
Notes: (* = Connected)
P01 -> WLAN *
P02 -> FreeNAS2-a *
P03 -> FreeNAS2-b
P04 -> FreeNAS2-c
P05 -> FreeNAS2-d
P06 -> FreeNAS-a *
P07 -> FreeNAS-b
P08 -> tjfhome-a *
P09 -> tjfhome-b
P10 -> FreePBX-a *
P11 -> FreePBX-b
P12 -> APCUPS *
P13 -> WiBridge *

~Travis
2
Network Administration / Re: redoing the server rack
« Last post by Travis Farmer on 2019-09-22, 06:45:06 »
been a while since i updated.  :tango_face_plain:
i have the analog phone lines going to my FreePBX server POTS card run up to the patch panel, with RJ11 jacks for each line broken out.
I noticed too, that the outdoor-grade CAT-5e cable i have is a little stiff for rack wiring, but i will have to make do.
I would like to re-organize the servers at some point. they are currently just stacked on top of each other. i would like to either mount each server on slide rails, or at least have a shelf for each server. in case i have to pull out a server, i don't want to have to unstack all the servers to get to the bottom one.
I also really need to setup a Raspberry Pi as a UPS monitor to shut-down the servers in the event of a power failure. i think it will even wake-on-lan (WOL) the servers when the power returns.
http://bobbyromeo.com/technology/connecting-a-ups-to-the-rapberry-pi-custom-shutdown-with-wake-on-lan/

~Travis
3
Network Administration / Re: Dell PE R710
« Last post by Travis Farmer on 2019-09-10, 18:21:48 »
 Change of plans... gonna use it for a FreeNAS file server, and run my website off it via a NFS connection.
i currently have two 200GB SAS drives in RAID 1 for the FreeNAS OS, and the two 2TB SAS drives that came with it will buddy up with the other 2TB SAS drives i have on order to complete the FreeNAS.

~Travis
4
Network Administration / Dell PE R710
« Last post by Travis Farmer on 2019-08-31, 07:06:52 »
Just bought a Dell PowerEdge R710 (3.5 X6), and i plan to migrate my web-server to it. it will host various pages using Apache Virtual-Host. the older Dell PowerEdge 1950 will be shutdown, and kept as a spare, pending a use for it.
This transition will allow further upgrades to be possible, and as the R710 is *newer*, i assume it will be more energy efficient.
I have 6 drive bays available, and it comes with 2x 2TB drives. i am unsure what RAID level would be best, but i think i will use RAID 5, as my data isn't super critical, and it would be nice to have the maximum usage + redundancy. i could also use RAID 6... probably more reliable. it comes with 2 drive caddies, and i have ordered 4 more, so when i can afford it, i will need to buy 4 more drives.

~Travis
5
Model Trains / DCC++: my modified version of the base station
« Last post by Travis Farmer on 2019-08-25, 09:18:19 »
Using the schematic here: https://github.com/travisfarmer/DCCpp/blob/master/base-station-v1.pdf , and the Arduino code from here: https://github.com/travisfarmer/DCCpp , i have updated my old prototype to include my Adafruit WiFi module. with the exception of memory usage, the circuit could be mounted on an Arduiono UNO. but because of the memory usage, i opted to use an Arduino MEGA2560. the WiFi module is from here: https://www.adafruit.com/product/3060 , with the UFL adaptor cable, and external antenna. the motor drivers are a pair of IBT_2 from eBay.

At some point, i would like to add a 20X4 I2C LCD screen for basic status reporting of such things like IP address, track power status, etc...

my plan is to build the base station into some sort of enclosure (hence the use of the WiFi module with the external antenna), and use an ATX computer power supply, plus a switching power supply for track power to the motor drivers, activated via a relay powered from the ATX power supply. i am currently torn between using a rack-mount enclosure for the base station, or a smaller unit. i could also build it into a wooden enclosure of some type. i think the rack-mount may provide the easiest mounting, but the wooden enclosure may prove cheaper to build, and modify.

~Travis
6
My CNC Router / Re: Progress with my CNC Router
« Last post by Travis Farmer on 2019-08-11, 18:47:41 »
NOTES:
Quote
yellow wire:counter knife
red:machine protection
green:power -
black: power +

Quote
So that's like a 65mS (65000uS) period.
Create a simple timer that starts when a read of pin changes from low to high,
wait for to go low, then look for the next high.
If the time is more than 65mS, you missed a pulse. If you want to miss 2 or 3 before calling it an error, do that.
Or check for a high/low or low/high transition every 32500uS, and look for 4 or 6 or whatever missing edges.

You could use digitalRead(), or read a port/pin directly. So maybe something like this. All time elements are unsigned long.

void loop(){
while ((PORTD & 0x04) == 0x04){
// wait for a high
}
while ((PORTD & 0x04) == 0x00){
// wait for a low to start looking
}
// okay, go find a good high

while(1){
if ( (PORTD && 0x04) == 0x04){ // look for a 1 on Uno D2 for example
risingEdgeTime = micros();
}
while ((PORTD && 0x04) == 0x04){// wait for it to go low
// waiting
}
fallingEdgeTime = micros();
halfPeriodLowTime = fallingEdgeTime - risingEdgeTime;
if (halfPeriodLowTime <=32500){
Serial.println("bad low half period");
}
else {
// good time span
} // use ( ) here maybe?

while ((PORTD &&0x04) == 0){ //wait for it to go high
// waiting
}
risingEdgeTime = micros();
halfPeriodHighTime = risingEdgeTime - fallingEdgeTime;
if (halfPeriodHighTime <=32500){
Serial.println("bad high half period");
}
else {
// good time span
} // use ( ) here maybe?
} // end while
} // end loop
7
General Discussion / Re: Cyber-bullies
« Last post by Travis Farmer on 2019-07-21, 06:18:28 »
ISBELL JR, JAMES A
P.O. Box 783
601 N SANDPIPER DR
INGLESIDE ON THE BAY, TX 78362

hateful troll


DeltaG
From the Arduino Forum.

fakes intelligence, yet when providing his version of "help", tends to be very condescending.
Vicious hateful troll.
8
General Discussion / Cyber-bullies
« Last post by Travis Farmer on 2019-07-21, 06:10:39 »
It is of my opinion that cyber-bullies are the lowest of low. takes a big tough person to bully somebody from the safety of their computer.
Therefor, i will use this thread to publicly shame bullies with whatever contact information i can find on them.  >:(

~Travis
9
My Project Boat / Re: Rebuild Notes
« Last post by Travis Farmer on 2019-07-20, 07:42:14 »
I had to buy a different transom unit, that wasn't in salt-water. It even came with power steering! The problem is, the engine coupler was for the wrong size shaft...
So, i have ordered a set of couplers. I just use the one i need, and sell the rest. :D

~Travis

Sent from my SM-T560NU using Tapatalk

10
My Project Boat / Re: Rebuild Notes
« Last post by Travis Farmer on 2019-06-08, 19:25:46 »
I picked up some outdrives in a bulk deal. They all use the Tru Course steering system, but fortunately, i got the transom units too. Now i just need to buy a gear to tiller steer adaptor, and i can block off the steering cable holes in the transom.

~Travis

Sent from my SM-T560NU using Tapatalk