Utilities

When all buy or rent a house, all utility lines come to your home. This may not be true if you are living off-grid, i.e a no place so far from city, where the city or private companies don't provide any of these utilities. Providing these utilities cost a lot of money, and is recovered from you in form of utility bills and other property taxes. The main utilities include the following:

  • Electricity: This is provided by the power company. Most of the time, it's provided by the City. City is the transmitter of electricity, though it may be generated by private companies too, which sell it to us. If you are off grid, you generate your own electricity via wind or solar panels, and keeping a generator as backup.
  • Gas: This is natural gas used for cooking or heating your home. In countries like India, you buy separate cylinders which come preloaded with LPG. Over here, the city or private company lays gas pipes to bring gas to your home. If you are living off grid, you need to have a big tank outside your home which can store gas. You ask the Gas company to fill it, whenever you are running out of it. This costs lot less than having city supply gas to you via their gas lines. In USA, you will find mostly these 2 gases:
    • Natural Gas: Natural gas is primarily Methane (hydrocarbon with one carbon atom), and is the most used gas for residential gas lines. It's cheaper than electricity for cooking and heating purpose
    • Propane: Propane is another hydorcarbon with 3 carbon atoms. It's usually sold in tanks in grocery stores. It's more expensive than natural gas.
  • Water: Water is provided by the city. They lay those water lines which enter your home. Water is chemically treated in the water plant, which makes it very safe to drink. If you are off grid, you need to have a wellor a hand pump (old style, manual or automatic). Or have a motor which will take water out of the ground from deep below, and store in some good size water tank. This is the way most homes are India are built, where a water tank sits on the roof, and gets it's water via a motor pump which takes water from the ground. There's no water supplied by city. Although that is changing in big size cities.
  • WasteWater: This is the waste water that leaves your house. This includes water leaving your drainage pipe from using the shower, toilet, kitchen, washer, dishwasher, etc. This is not only water, but also poop, grease (from cooking oil) passing down the kitchen drain as well as anything else you shove down your drain. Usually city provides both services = water and wastewater. However, if you are offgrid, you may not get both services. In such  a case, you will need to have a septic system that can get rid of the waste water from your house. We'll talk about installation and repair of  septic system in a separate section.

 


 

Cost of utilities:

Cost of utilities varies a lot from city to city and state to state. I'll try to give a rough estimate of what I pay in Texas.

Electricity Cost:

Electricity costs around 10 cents/KwHr in Texas. The rates go up to 13 cents/Kwhr once you exceed a certain Threshold, usually 1000Kwhr. You have to pay about $20-$30 in fixed costs every month. Assuming you consume 1000 KwHr on avg every month, you have to pay about $150/month in Electricity bill. During summers, your Electricity bill goes to $200/month, but during winter it goes to about $100/month. In some cities as Austin, the City provides Electricity, while in other metros as Dallas, there are 1000 of private companies selling electricity. So, prices in Dallas tend to be lower due to intense competition, while in Austin, it's basically a monopoly of the city.

AC is the biggest consumer of electricity. In summer, it is used to cool the house. Some people keep their AC turned off while not at home during the day, and turn it on when they come back from work. There are lot of competing theories on whether there's any advantage to doing that. Some claim that you actually end up spending more since AC takes up more than 2X the power to cool the room, since it gets very inefficient when cooling the home that is way too hot. There's this nice article, where they show multiple scenarios. Turns out that you may end up saving at most 10% in electricity cost if you keep your AC off for 8 hrs or more during the day. See the graphs in link below. The data is still debatable. I've personally tried a lot of these experiments and frankly the savings are miniscule. I would probably leave AC running at 85F or so during the day, so as to prevent the home from getting too hot. You might save $10-$20 every month in summer doing this.

Link: Does turning the air conditioning off when you're not home actually save energy? Three engineers run the numbers (msn.com)

Keep fans running, since they consume much less energy than AC. Fans are from 20W to 100W power, and so consume about $10-$30 per year. Ceiling fans are most efficient of all fans such as Tower fans, portable fans, etc.

Fan cost => https://www.msn.com/en-us/lifestyle/home-and-garden/do-ceiling-fans-use-a-lot-of-electricity/ar-AA1fqktR

TIP: Ceiling fans should be set to run counterclockwise during summer, and clockwise during winter.

Refrigerators, even though running 24x7 consume only about 200KWhr per month. Electronics such as TV, phones, laptops, etc combined consume less than 100KWhr per month, so not much savings possible there.

 

Gas Cost:

Gas is provided t houses, since heating or cooking with electricity is very expensive. Gas costs around xxx in Texas.

 

 

 

 

Gasoline:

You can almost always get 5% in rewards for gas by using a credit card that allows that. You don't have to buy a dedicated Gas credit card for that (sold by the Brands as Exxon, Chevron, etc). Your regular Chase, Discover, etc cards give you 5% during some of the quarters, while crads like Amex, Bank of America will have offers from time to time for 5% to 10% off.

Tmobile Tuesday gives you 10 cents off every week for buying gas from Shell. The offer comes every Tuesday. You don't need to be a Tmobile customer to get that discount. But you do need their "Tmobile Tuesday" app on the phone.

MAny grovery stores have rewards program where they allow you to take $1 off per gallon, when you rack up enough points buying stuff from their stores. Kroger is the most generous one here. They give you 4X points on many gift card purchases almost every month. You need 1000 points per month to get $1 off per gallon. Ths discount applies to first 35 gallons of gasoline only.

Load up on gasoline at that time. There are jerry containers that you can buy from ebay to store gasoline as reserve in your garage. Your car may take 10-15 gallons of gas, and remaining may be filled up in these tanks. These tanks used to sell for $20 in 2017, but as of 2022, I see them listed for $40 (almost double the price). May be time to look into other containers at walmart which may go on sale from time to time. 

UPDATE: June, 2023: => These Jerry cand are again going for $25, much more reasonable than $40 in 2022.

 

Oil:

Oil is expensive. Your car needs 5-7quart of oil for 1 oil change in your car. You should only need 1 oil change per year with newer vehicles that use synthetic oil. Cheapest oils go for $3/quart. You can almost always find Oil on sale. Look below in deals section.

Exxon Mobil and Pennzoil are two reputed brands. They both give you mail in rebate offers couple of times a year, where you can get synthetic oil for $1/quart or less. You have to buy it from one the retailers listed (amazon is NOT on the list, but a lot of other auto store chains including Walmart are listed there). I would suggest buying it from Walmart, as most of the times the cheapest price is at Walmart, especially when they go on sale. Your car probably needs 4 to 7 quart of oil, so cost of oil for your oil change is about $5 or so. Buying 2 of these 5 quart jugs will be enough to survive your car for a year. You may buy more and keep it stored too, as they don't go bad

The links for offer and rebates are usually on their websites:

https://www.mobil.com/en/lubricants/promotions  => Mobil 1 link for all promotions

https://www.pennzoil.com/en_us/promotions.html => Pennzoil link for all promotions

 

DEALS:

 

 

2025:

 
 


 

03/01/2025: Pennzoil Oil Rebate: $30 rebate for 10 quart synthetic oil => Runs from Feb 27, 2025 - August 31, 2025

https://slickdeals.net/f/18154126-pennzoil-synthetic-motor-oil-rebate-get-up-to-a-30-mastercard-virtual-reward-card-good-til-8-31-25

Same as last few years, except that rebate is lower this year. Only "Ultra Platinum" qualifies for $30 rebate. "Platinum" only qualifies for $20 while all others qualify for $10. So, worse rebate than last year. Rebate is in form of Mastercard GC.

Limit is 1 per household. Lots of eligible retailers. Price at Walmart for 0W-20, 5W-20, and some other synthetic oil is $24 for 5 qt. So, $$50-$20=$30 for 10 quartz. However, walmart.com (or buy online and pick up in store)and amazon.com don't qualify. Best to buy it in store at walmart, and submit the receipt.

 


 

 

2024:

 
 


 

02/01/2024: Pennzoil Oil Rebate: $25 rebate for 10 quart synthetic oil => Runs from Feb 1, 2024 - September 30, 2024

https://slickdeals.net/f/17269471-2024-pennzoil-platinum-rewards-promotion?src=frontpage

Direct link to rebate site: https://www.pennzoil.com/en_us/promotions/do-it-yourself-oil-change/pennzoil-platinum-rewards-national-promotion.html

Limit is 1 per household. Lots of eligible retailers. Price at Walmart for 0W-20, 5W-20, and some other synthetic oil is $24 for 5 qt. So, $$50-$25=$25 for 10 quartz. However, walmart.com (or buy online and pick up in store) doesn't qualify, change of terms since last year. Best to buy it in store at walmart, and submit the receipt.

 


 

 

2023:

 

 


 

06/01/2023: Mobil1 Oil Rebate: $6 to $10 per 5 quart oil, Limit 2 per household. Available at multiple stores for various prices => Runs from 3 months from 06/01/2022 to 08/31/2022

https://slickdeals.net/f/16673588-buy-select-mobil-synthetic-motor-oil-mobil-products-at-participating-retailers-get-up-to-20-rebate

Direct link to rebate site (you need to have an account): https://mobilpromotions.us/rebate/default.asp

Limit is 2 per household for a max of $20.  Rebate is inferior from last few times, as synthetic oil only has max $12 rebate, unless you buy the more expensive one, which has a $20 rebate.No brainer to gowith Pennzoil oil rebate. 

 


 

03/01/2023: Pennzoil Oil Rebate: $20 reabte for 10 quart synthetic oil => Runs from March 1, 2023 - September 30, 2023

https://slickdeals.net/f/16483510-pennzoil-2023-rebate-offer-now-active-get-20-back-3-1-2023-to-9-30-2023

Direct link to rebate site: https://www.pennzoil.com/en_us/promotions/do-it-yourself-oil-change/pennzoil-platinum-rewards-national-promotion.html

The prices at walmart for 5W-20 synthetic is $30. Buying 2 will cost $60. With $20 rebate, it's only $40. So, in total 10 quart for $40 sounds too expensive, as these were closer to $1/quart for last few years. So, pretty much a regular price from 2022 and before. Would wait towards the end of this promotion, to see if any deals pop up at Walmart or any of these Auto shop stores. Limit is 1 per household.

UPDATE 06/07/2023: Price at Walmart for 0W-20, 5W-20, and some other synthetic oil is $24 for 5 qt. So, $12 cheaper now. However, walmart.com (or buy online and pick up in store) doesn't qualify, change of terms since last month. Best to but it in store at walmart, nd submit the receipt.

 


 

 

2022:

 

 


 

10/06/2022: Pennzoil Oil Rebate: $25 reabte for 10 quart synthetic oil. Available at walmart at $20 for 12 quart => Runs from February 15, 2022 - October 31, 2022

https://slickdeals.net/f/16080088-2x-pennzoil-5w-20-synthetic-5-quart-plus-2x-bonus-quart-at-walmart-after-25-rebate

Direct link to rebate site: https://www.pennzoil.com/en_us/promotions/do-it-yourself-oil-change/pennzoil-platinum-rewards-national-promotion.html

The prices at walmart for 5W-20 synthetic is $22 for 2 jugs of pennzoil totalling 6 quart (5 quart + free 1 quart). This is on sale, so you get 12 quart for $45. After $25 rebate, it's around $20 for 12 quart which is about $1.60 per quart. That's a good price. Different oil 0W-20, 5W-30 etc are at different prices, so you may wait for better prices. Make sure 5W-20 is compatible with your car before you buy this deal.

UPDATE 10/12/22: Walmart price for 5W-20 oil has gone up to $35 per 6 quart, so not worth buying any more. It will cost $35*2-$25=$45 for 12 quart, which is pretty much a regular price even without rebate.

 


 

10/05/2022: Chevron/Texaco Rewards signup - $1 off per gallon on upto 25 gallons:

Chevron/Texaco is offering $1 off on up to 25 gallons. Your car may take only 10-15 gallons, so either bring 2 cars or bring extra Jerry cans to get to 25 gallons. It's free money.

https://slickdeals.net/f/16078324-chevron-texaco-rewards-us-1-00-off-per-gallon?src=frontpage

 UPDATE: Looks like it's only showing a very small number of chevron/Texaco stations participating in this promo. There's no store participating in Texas.

 


 

07/01/2022: Exxon Mobil Oil Rebate: $5 to $10 per 5 quart oil, Limit 2 per household. Available at multiple stores for various prices => Runs from 3 months from 07/01/2022 to 09/30/2022

https://slickdeals.net/f/15873931-2022-mobil-1-rebate-program-jul-1-sep-30-receive-up-to-10-rebate-on-select-oil?src=frontpage

Direct link to rebate site (you need to have an account): https://acbincentives.com/mobil1/default.asp

Limit is 2 per household for a max of $20.  Different oil 0W-20, 5W-30 etc are at different prices, so you may wait for better prices. Buy Extended Performance as that has the $10 rebate, and will cost you the least. Advance Auto Parts (AAP) has separate $15 rebate promo going on, so may combine that with this. However, AAP prices are usually much higher.

 


 

 

2021:

 

 


 

08/06/2021: Exxon Mobil Oil Rebate: $5 to $15 per 5 quart oil, Limit 2 per household. Available at walmart for various prices => Runs from 6 months from 04/01/2021 to 09/30/2021

https://slickdeals.net/f/15204772-mobil-1-extended-performance-10w-30-5-quart-5-96-after-15-rebate-at-walmart?src=frontpage

Direct link to rebate form:

https://acbincentives.com/mobil1/pdf/2021%20PVL%20Rebate_Digital%20Tearpad.pdf

Limit is 2 per household.  Different oil 0W-20, 5W-30 etc are at different prices, so you may wait for better prices. Buy Extended Performance as that has the $15 rebate, and will cost you the least.

 


 

VLSI Testing;

This section deals with all aspects of testing a chip. When a chip is being fabricated and ready to use, how do we know that the chip does everything that's supposed to do. One way is to use it the wy user is supposed to use, and check if you get expected output. 50 years back, this might have been easy. Now with billions of transistors on chip, it's almost impossible. So, we develop a mechanism to not only test the chip, but also be able to debug it, in case it malfunctions while in the field.

There are various ways to achieve our testing goals. I list a few of them here:

  1. DFT: Here our purpose is to test the chip when it's being produced. This is called DFT or Design for Testability. We have separate section for DFT.
  2. JTAG: On top of DFT, we also have JTAG that allows testing the chip, when chip goes wrong in the field, and we wnt to debug it while it's running. This helps us to debug exactly where things went wrong. We talk about JTAG also in a separate sub section.

 

JTAG:

If you've ever been involved in debug of a chip, you must have heard of JTAG. in 1980's, boundary scan was developed along with Test Access Port (TAP) to get access to internals of the chip using just few test pins on the chip. This scheme was standardized in IEEE 1149.1, which came to be known as JTAG. JTAG or Joint Test Action Group is the name of the group which developed it, but the term JTAG was given to this std too.  Here are few links to JTAG intro:

Introduction to JTAG and TAP: https://www.allaboutcircuits.com/technical-articles/introduction-to-jtag-test-access-port-tap/

JTAG connectors and i/f: https://www.allaboutcircuits.com/technical-articles/jtag-connectors-and-interfaces/

 

All JTAG compliant devices have these blocks:

  1. Test Access Port (TAP): This is additional pieceof logic that is added on the chip. It has 4 or 5 standard pins thru which we get access to data inside the chip, as well as drive data to write into the chip to make it perform some action. We'll have a separate section on TAP. Here's some intro: https://www.allaboutcircuits.com/technical-articles/jtag-test-access-port-tap-state-machine/
  2. Boundary Scan Registers (BSR): The std allows for implementation of Boujndary scan. Recall that chips now have 1000's of pins on the package, and it may not be functionally possible to drive all the pins of the chip to desired values. Boundary scan std solves this issue. In testmode, it allows user data to be driven on these IO pins. That way we can control all values on IO i/f of chip. This is very helpful in debug of other chips connected to this chip. We can also read values that are driven on input pins of our chip.

Together TAP and BSR constitute JTAG std.

SWD:

ARM's Serial Wire Debug (SWD) is an extension of JTAG developed by ARM Company. This is brief intro about ARM's SWD.

ARM SWD: https://www.allaboutcircuits.com/technical-articles/jtag-implementation-arm-core-devices

 


 

Interface Timing:

Both Jtag and SWD i/f have 1 common timing protocol they adhere to => Data is always captured (by the slave or target) on rising edge of clock. This means that Data should be driven by the driver (master or host) on the falling edge of clock, so that we have 1/2 cycle setup and 1/2 cycle hold. However, this is not compulsory. Master can drive data on rising edge of clk and slave can still capture the data on next rising edge of clk, iving a full 1 cycle setup. But in this case, the hold time is 0 cycle, which may be difficult to meet across all corners.

JTAG Timing diagram:

 

ARM's SWD Timing diagram:

ARM link => https://developer.arm.com/documentation/dui0517/a/serial-wire-debug/swd-timing-requirements?lang=en

 


 

 

 

Oscilloscope:

Oscilloscopes are the most used piece of hardware by electrical engineers. Whenever you are working on real chip, and need to debug it, oscilloscope is your first gadget. They allow you to observe signals on various pins of the chip. Oscilloscopes allow you to observe analog signals, but digital signals can be observed as well. Oscilloscopes are very expensive costing 1000's of dollars. The price of oscilloscope is highly dependent on the Bandwidth of the Oscilloscope. Most cheaper ones on ebay selling for < $50 are digital and can sample only 1 Million samples per second (BW is ~ 100 KHz). Ones selling for > $200 have sample rates of 1 gig samples per second (BW is ~100 MHz).

Best place to buy an oscilloscope is from a local education institute. They usually clean their electronics lab every few years, and give them away for almost free. Other good place is to buy a used one for ebay. One such oscilloscope selling for $200 here:

Tektronix TDS 210 Oscilloscope: https://www.ebay.com/itm/314109595520 => selling for $200 with BW=60MHz. Usually sufficient for home made electronics.

Siglent 100MHz Oscillocope:  https://slickdeals.net/f/16074640-siglent-technologies-sds1104x-e-100mhz-digital-oscilloscope-4-channels-standard-decoder-grey-399-10 => An even better one for $400 (see comments for a youtube link for all cool things you can do)

 

Building Oscilloscope:

Best way to learn about anything is to build it yourself. Here's a nice tutorial on how to build your own oscilloscope.

https://picaxe.com/docs/osc001_design.pdf

I've a local copy of it here: oscilloscope_diy_design.pdf

I haven't built it myself. Will try it someday.