Archives March 11, 2007

Sunday 11/03/2007

Chip

I added lots more photos today. I am currently adding more as I speak. Even the ones from Dolphines Point in Ulladulla where I decided to see "what my gear can do" when I took it out in a slight drizzle near the sea. It was great. The gear survived - as it should, something with that many rubber seals should be nearly waterproof! Some of the pictures are a tad foggy because of the water on the front element of the lens! It made for some entertainment for me anyway! It still doesn't top Dad's mate standing in the surf with his gear and tripod to get a shot.

Went to the doctor today and got something for the rash on my finger at last. Hopefully it will fix it. At least this doctor knew what he was looking at. Contact Dermatitis. Apparently detergents are a common cause. I reckon it was probably the Easy-Off BAM or somethiong that did it, that stuff is terribly caustic.

Played a good few hours of World of Warcraft. I got my character up to level 42 and was finally able to wear some gear that was crafted for me about 8-10 months ago! I've been trying to sort the cotf.guildhost.info site out and it appears to be running fine now on the new server.

I got myself a belt today finally. My nice belt I bought for my wedding broke in the weirdest place, you'd expect the belt to pull out of the buckle or something but it broke in the middle of the belt where the holes are. Weird. I have a nasty feeling this $10 belt from K-Mart will last longer than my $69 real leather etc etc belt that I had.

A new week. All of the gear we need is out of both the old Tandy and the David Reid stores which should save us some cash later down the track in shop fittings and consumables. I also partially set up an electronics workshop for the guys down stairs at Adelong which is something different. Next week will probably be setting up of office space for Adelong so that they can get cracking with sales and new business plans and stuff. That shop is going to hammer once the place is a little better organised and separated from its electronics tech business.

I am glad Tandy is gone though. Tandy was a pain, the treatment was poor and the pay was crap. But now, I have a job which far out-strips even a good retail job so I don't really give a shit to be honest... The variety is there which is important, but most important I have a boss that respects me and I am in a situation where I actually want to come to work! It's bloody terrific! He get's his mits on all sorts of work from Security Cameras to Websites to LAN installations for offices. If it's connected to a computer or even just electronic, we probably do it. The main focus of the business is POS (Point of Sale) which is still in development but currently running at a number of stores already.

Saturday 10/03/2007

Chip

Played some WoW and watched some Heroes today. Had a nice BBQ dinner - Some propper sausages, a few chicken kebabs, onions and potatoe chips which I cook on the grille.

I also added a heap of photos.

There were also a whole heap of screenshots, some pictures of my PIC work with the 16f877 and MAX232 Serial Chip.

Mods will be back.

Chip
Once I import my old blog + articles the mods will be back in here.

433MHz Wireless with PIC Microcontrollers

Chip

I have decided to design a wireless sensor system in order to learn about micro controllers, wireless communication and environmental sensing.

I am currently basing my design around a master receiver and wireless transmitter modules. The transmitter is able to select an ID for a sensor and "listen" for a readout. Ultimately the system will use trancievers and will communicate using the I2C protocol.

The design of the wireless sensors will be modular consisting of a transmitter board and a sensor board or only the sensor it's self. This will allow it to be used as a foundation for most types of sensors.

The transmitter module will have a 4 data pin input. This can be expanded with the upgrading of the decode/encode chip at each end. I have selected the SM5162/SM5172 pairs to multiplex, encode, decode, and demultiplex the data. The 4 bit limit on sensors can be upgraded by updating the SM5162/72 pairs to their various models up to a maximum of 6 bits. Addressing the modules is done using the addressing pins on the SM5162/72s. They have up to 12 tri-state pins for addressing themselves. As I have selected the "-4" version of the chips I will have 4 data bits and 8 tri-state address pins. This would be reduced to 6 address pins if the data pins were increased to 6 as in the "-6" model. In reverse; when 12 pins are selected for addressing only 1 data pin is available.

These tri-state pins will only be operated in digital however. When the pins are allowed sit in the third state, or "float" the chip consumes more power. This is not what we want for battery powered wireless sensors! The jumpers that set the address will allow a "float" state to be set but this is primarily to stop jumpering from +5V to ground. This will mean a 2x3 DIL header for each addressing pin. The alternative is using a 4 way DIP switch tied to +5V with pull-down resistors to make sure that the address pins do not float. Any extra address pins will be tied to ground.

The transmitter board will be fitted with an IC socket for the SM-5162, a 6 pin molex header for use with the sensor or sensor board, a 2 pin molex header for power from the battery and a four pin SIL female header. This will be used to fit the transmitter module into. The transmitter board will have a built in +5V regulator on board.. Six pins are supplied to the sensor board/sensor they will be 4 data bits, +5V and ground - This will allow a multitude of different designs to be connected to it. The clock speed of the SM5162 will be set using a 2x4 DIL header and a single jumper to select the appropriate resistor.

The receiver board will consist of a pic16f877, an SM5172, a MAX232 level converter, a +5V regulator and their supporting components. The clock speed of the SM5172 will be set using a 2x4 DIL header and a single jumper to select the appropriate resistor. These will match with the transmitters values as per the clock speed table in the data sheet. The receiver board will communicate with the computer via RS232 Serial.

Data is logged on the computer and inserted into a MySQL database along with an address and a date stamp. Data will then be able to be reported or extracted in a number of ways and/or displayed on a website.