Friday, 30 June 2017

Flashback Friday #9 The Sega Master System




Good afternoon folks and welcome to another Flashback Friday this weeks blast from the past is The Sega Master System


The Sega Master System is a third-generation home video game console that was manufactured by Sega. It was originally released in 1985 as the Sega Mark III in Japan. After being redesigned prior to its North American launch, the console was renamed Master System and released in 1986 in North America, 1987 in Europe, and 1989 in Brazil. The Master System was also released in Japan in 1987 with additional features over the overseas models. Both the Mark III and the original Master System models could play with both cartridges (or "Mega Cartridges", as they were officially called) and the credit card-sized Sega Cards, which retailed at lower prices than cartridges but had lower storage capacity; the Master System II and later models did not have the card slot. The Master System also featured accessories such as a light gun and 3D glasses which were designed to work with a range of specially coded games.
Succeeding the SG-1000, the Master System was released as a direct competitor to the Nintendo Entertainment System (NES) in the third generation of video game consoles. The Master System was constructed with hardware superior to that of the NES, but failed to overturn Nintendo's significant market share advantage in Japan and North America. However, it attained significantly more success in Europe and Brazil. The hardware of the Master System also shared many similarities with Sega's handheld game console, the Sega Game Gear. Compared to its competition from Nintendo, the Master System's game library lacks a number of well-received titles due to Nintendo's licensing practices that restricted third-party developers from creating games for any system other than the NES. Sales of the console have been estimated between 10 and 13 million units, not including recent Brazil sales, compared to 62 million NES units sold. Reception to the system given in retrospect lends credit to the console's role in Sega's development of the Sega Genesis, as well as for having a number of well-received titles, particularly in PAL regions, but is generally critical of its small game library. As of 2015, the Master System is the longest-lived game console (30 years and continuing), due to its popularity in Brazil.



History

In the early 1980s, Sega Enterprises, Inc., then a subsidiary of the conglomerate Gulf and Western, was one of the largest arcade game manufacturers active in the United States, with company revenues of $214 million by mid-1982.A downturn in the arcade business starting in 1982 negatively impacted the company, leading Gulf and Western to sell the North American manufacturing and licensing of its arcade games to Bally Manufacturing. The company retained its Japanese subsidiary, Sega Enterprises, Ltd., as well as Sega's North American research and development division. With its arcade business in decline, Gulf and Western executives turned to Sega Enterprises, Ltd.'s president, Hayao Nakayama, for advice on how to proceed. Nakayama advocated that the company leverage its hardware expertise gained through years working in the arcade industry to move into the home console market in Japan, which was in its infancy at the time. Nakayama received permission to proceed with this project, leading to the release of Sega's first home video game system, the SG-1000.
The SG-1000 was first released in Japan on July 15, 1983, at a price of JP¥15,000. It was launched on the same day that Nintendo released the Family Computer (Famicom) in Japan. Shortly after the launch of the SG-1000, Gulf and Western began to divest itself of its non-core businesses after the death of company founder, Charles Bluhdorn, so Nakayama and former Sega CEO David Rosen arranged a management buyout of the Japanese subsidiary in 1984 with financial backing from CSK Corporation, a prominent Japanese software company. Nakayama was then installed as CEO of the new Sega Enterprises, Ltd. Following the buyout, Sega released another console, the SG-1000 II, for ¥15,000. It featured a few hardware tweaks from the original model, including detachable controllers. The SG-1000 II did not sell well, however, leading to Sega's decision to continue work on the video game hardware used for the system. This resulted in the release of the Sega Mark III in Japan in 1985.

Development

Engineered by the same internal Sega team that had created the SG-1000, the Mark III was a redesigned iteration of the previous console.The CPUs in the SG-1000 and SG-1000 II were Zilog Z80s running at 3.58 MHz, while the Mark III, SC-3000—a computer version of the SG-1000—and Master System feature a Z80 running at 4 MHz. The Mark III and Master System also carried over the Sega Card slot used in the SG-1000. According to Edge, lessons from the SG-1000's lack of commercial success were used in the hardware redesign of the Mark III, and the console was designed to be more powerful than the Famicom.
For the console's North America release, Sega restyled and rebranded the Mark III under the name "Master System", similar to Nintendo's own reworking of the Famicom into the Nintendo Entertainment System. The "Master System" name was one of several proposals Sega's American employees considered, and was ultimately chosen by throwing darts against a whiteboard, although plans to release a cheaper console similarly referred to as the "Base System" also influenced the decision. Sega Enterprises Chairman Isao Okawa endorsed the name after being told it was a reference to the competitive nature of both the video game industry and martial arts, in which only one competitor can be the "Master". The futuristic final design for the Master System was intended to appeal to Western tastes.

Launch

The Sega Mark III was released in Japan in October 1985 at a price of ¥15,000. Despite featuring technically more powerful hardware than its chief competition, the Famicom, the Mark III did not prove to be successful at its launch. Difficulties arose from Nintendo's licensing practices with third-party developers at the time, whereby Nintendo required that titles for the Famicom not be published on other consoles. To overcome this, Sega developed its own titles and obtained the rights to port games from other developers, but they did not sell well. NEC later used the same strategy on some of Sega's titles when developing games for the TurboGrafx-16. In preparation for the launch, Mark Cerny has stated that "pressure was very, very high", with a typical game being allotted only three months of development time.
After being restyled the "Master System", the console was released in North America in 1986 at a price of US$200 (equivalent to $437 in 2016), including a multicart of the games Hang-On and Safari Hunt. It and Nintendo, which was similarly exporting the Famicom to the US as the Nintendo Entertainment System (NES), planned to spend $15 million in fall and winter 1986 to market their consoles; Sega hoped to sell 400,000 to 750,000 consoles in 1986. By the end of 1986, the Master System had sold 125,000 consoles, more than the Atari 7800's 100,000 but less than Nintendo's 1.1 million. As in Japan, the Master System in North America had a limited game library that was not as well received as the NES. Against Nintendo's licensing practices, Sega only had two third-party American publishers, Activision and Parker Brothers. By 1988, Nintendo commanded 83 percent of the North American video game market share. Sega claimed that "our system is the first one where the graphics on the box are actually matched by the graphics of the game", and marketing for the Master System was targeted at bringing home the arcade experience, but its marketing department was run by only two men, giving Sega a disadvantage in advertising.
The console was re-released as the Master System in Japan in October 1987 for ¥16,800. However, similar to the Mark III, this launch was not successful. The console in neither of its forms posed a serious challenge to Nintendo in Japan.
The European launch of the Master System occurred in 1987. It was distributed by Mastertronic in the United Kingdom, Master Games in France, and Ariolasoft in Germany. Mastertronic advertised the Master System as "an arcade in the home" and launched the system at £99 (equivalent to £251 in 2015). Advance orders from retailers were high, but Sega proved unable to deliver inventory until Boxing Day on December 26, causing many retailers to cancel their orders. As a result, Master Games and Mastertronic both entered financial crises and Ariolasoft vowed never to work with Sega again. Mastertronic had already sold a minority interest to Richard Branson and the Virgin group to enter the console business and now sold the remainder of the company to avoid bankruptcy. The newly rebranded Virgin Mastertronic then took over all European distribution in 1988. Virgin Mastertronic consequently focused marketing the Master System on ports of Sega's arcade games and positioning it as a superior alternative to the Commodore 64 and the ZX Spectrum home computers in terms of video games. As a result of this marketing and of Nintendo's less effective approaches in Europe, the Master System began to attract European-based developers.The Master System held a significant part of the video game console market in Europe through the release of Sega's succeeding console, the Mega Drive. Brazil was also a successful market for the Master System, where the console was released in 1989 and distributed by Tectoy.

Hardware

The main CPU of the Master System is a Zilog Z80, an 8-bit processor running at 4 MHz. It has 8 kB of ROM, 8 kB of RAM and 16 kB of video RAM. Video is provided through an RF switch and displays at a resolution of 256 × 192 pixels and up to 32 colors at one time from a total palette of 64 colors. Physically, the Master System measures 365 by 170 by 70 millimetres (14.4 in × 6.7 in × 2.8 in), while the Mark III measures 318 by 145 by 52 millimetres (12.5 in × 5.7 in × 2.0 in). Both the Mark III and the Master System possess two slots for game input: one for Mega Cartridges and one for Sega Cards, along with an expansion slot and 2 controller ports. Sound is provided by the SN76489 PSG chip. The Japanese version also integrates the YM2413 FM chip,which had been an optional feature on the Mark III. With few exceptions, Master System hardware is identical to the hardware in the Mark III. Titles for the console are playable on the Sega Genesis by use of an accessory known as the Power Base Converter, as well as on the Game Gear by use of the Master System Converter.
The Master System was designed with superior hardware when compared to the NES. It contains twice as much memory as its competitor from Nintendo. The CPU of the Master System runs at a faster clock rate than the processor in the NES, which is a Ricoh NMOS 6502 running at 1.79 MHz, though a Z80 requires more cycles to execute an instruction than the 6502. The NES is capable of displaying 25 colors at a time from a master palette of 54, in contrast to the 32 colors at a time from a 64 color master palette on the Master System.[
 were created for the Mark
A number of accessories III and Master System, which are cross-compatible with one another. The controller for each console consists of a rectangular shape with a control pad and two buttons. Sega also introduced additional controllers, such as a bike handle controller and paddle controller, for the Mark III and a special sports controller for the Master System. A pair of 3D glasses known as SegaScope 3-D were also created for games such as Space Harrier 3D. although Mark III users need an additional converter to use them. The Mark III also had an optional RF transmitter accessory, allowing wireless play that broadcast the game being played on a UHF television signal A light gun peripheral known as the Light Phaser was also released  Its design was based on the weapon of the same name from the Japanese anime Zillion.
The Master System was produced in several variations. Released in 1990, the Master System II removed a number of components in order to reduce the cost of the console, including the Sega Card slot, reset button, power light, expansion port, and activation music and logo upon turning on the system. Several licensed variations of the console also exist in Brazil, created by Tectoy. A variation known as the Master System 3 Compact was capable of functioning wirelessly with an RF transmitter, while Tectoy also sought to appeal to female gamers in Brazil with the Master System Girl, which was molded in bright pink plastic. A more recent version, released in 2006 in Brazil known as the Master System 3 Collection, contains 120 built-in games. Another Master System, built as a handheld game console, was released under several brands including Coleco in 2006.

Game library 

Games for the Master System are in two formats: ROM cartridges are capable of holding up to 4 Mbit of game code, while Sega Cards can hold up to 256 kbit. Cards were cheaper to manufacture than the cartridges and included titles such as Spy vs. Spy and Super Tennis but Sega Cards were eventually dropped due to their lack of memory. Master System cartridges were initially branded Mega Cartridges to emphasize their larger ROM size compared to cards, but this label fell into disuse after Sega ceased production of new card software. Games manufactured for the system include Psycho Fox, Golvellius, and Phantasy Star, which became a successful franchise for Sega and is considered one of the benchmark role-playing games.[4
he Master System also hosted games featuring Sega's flagship character at the time, Alex Kidd, including Alex Kidd in Miracle World. Wonder Boy III: The Dragon's Trap has garnered recognition as "a genuine milestone in video game design" due to its innovative blend of platforming gameplay with RPG elements.Built-in titles are common in Master System hardware, including Snail Maze and Hang-On, as well as Alex Kidd in Miracle World and Sonic the Hedgehog. Additional titles were also released in Brazil by Tectoy, including ports of Street Fighter II and Dynamite Headdy after the Master System was discontinued elsewhere.
A number of writers have criticized the game library for its lack of depth. Computer Gaming World compared new Sega titles to "drops of water in the desert". Due to Nintendo's licensing practices, few third-party developers contributed games for the Master System. According to Damien McFerran, "Nintendo requested that developers keep their games 'NES exclusive', and given the unassailable position the console enjoyed, few had the will to defy this request." In addition, according to game designer Mark Cerny, most of Sega's early Master System titles were developed within a strict three-month deadline, which negatively impacted game qualityTitles for the Master System, however, did take advantage of the advanced hardware of the console in comparison to the NES; Alex Kidd in Miracle World, for example, showcases "blistering colors and more detailed sprites" than competing NES games. In addition, the Master System version of R-Type has garnered retrospective praise for its quality, with its visuals considered comparable to those found in the TurboGrafx-16 port of the same title.
On the other hand, Retro Gamer praised the system's PAL library, referring to it as a "superb library of interesting ports and excellent exclusives" which offered significantly greater depth than what was available in North America and provided a "drip-feed of quality titles" that continued to be released in Europe up until the mid-1990s.Such titles ranged from 8-bit entries of Mega Drive franchises such as Sonic the Hedgehog and Streets of Rage to dozens of exclusive PAL releases such as Lucky Dime Caper, Asterix, Ninja Gaiden, Master of Darkness and Power Strike II.

My experience 

I loved my master system I spent many hours playing it I would recommend give one a try if you haven't palyed on one .




Don't forget to check out the daily dobby on social media Facebook   Twitter 




Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 



Thursday, 29 June 2017

Toolbox Thursday #9 Wire snips

Good afternoon folks and welcome to another Toolbox Thursday this weeks tool is Wire cutters 



How my toolbox Thursday reviews work the first thing I will talk about is what its like to setup  then I will move on what its like to use and to where you can get one from (there may be an affiliate link if you would like to help me out ) and if its good value for money and the last thing in the review will be my overall rating of the item it will be a 5 star system with 1 being the lowest and 5 being the highest .



Setup 

there is no set up for these 



Use 

there is a wide ranges of uses for this I use them for cutting wires of all thicknesses as well snipping component leads from boards as well many other uses 



Where can you get one 



Rating 

these are one of the best buys I have made they work great they are always within arms length of me when I'm working in the shed I have had these for months and have had no issues with them  
These are great snips I use them all the time I can not give them any less than 5 stars 



Don't forget to check out the daily dobby on social media Facebook   Twitter 


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00BST for another update thanks again. Dobby 


Wednesday, 28 June 2017

Postbox #9

Good afternoon folks and welcome to another post box this I have 6 items to show you let's get started.



Item one 

the first item this week is a bga rework kit I got this from banggood and paid about £5 for it as I been looking for one a while and I think this is a great little kit I am a big fan of the magnetic mounts that it comes with it .


Item two 

next up is one touch switch I had order 10 but only got one the ebay seller refunded my 99p payment so I was free in the end 

Item three

next up is a set of 12 different voltage regulators that I got from ebay for 99p

 Item four 

the fourth item is a roll if copper wire that I got from banggood for 76p I picked this up to make some coils for a few projects I have in the works 






Item five 

the next item is a 10 pack of female usb jacks that I got for a usb charging hub that I am working on these came from ebay and cost 99p 

 Item six 

the last item this week is a pack of slide switches that I picked up for 99p from ebay mainly so I could try them out in couple of breadboard projects I am working on 









Don't forget to check out the daily dobby on social media Facebook   Twitter 


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 

Tuesday, 27 June 2017

Training Tuesday #9 Welding Basics

Good afternoon folks welcome to another Training Tuesday this week we will cover  Arc Welding basics 



Tools or items needed 

an arc welder  
safety gear (helmet, gloves ect )
electrodes
wire brush 
metal to practice on 


Step one 

The arc is started by touching the electrode momentarily against the work to complete the electrical circuit before raising the electrode to establish the arc.

Step two

once you have an arc started draw the arc  in a steady  U shaped movement keeping while maintaining the gap between the electrode and the metal your welding on .

Step three

Practice drawing arcs on a flat piece of metal until you feel comfortable and your lines are clean 

Step four 

practice joining pieces of metal together there a number of different joints that can use I find that a step joint is a good one to learn first you can do the by overlapping the pieces of metal and running the the weld at the edge where they join  

What have we learned 

we have now a basic understanding of arc welding which we can use in a number of ways 


Don't forget to check out the daily dobby on social media Facebook   Twitter 


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 



Monday, 26 June 2017

Circuit Monday #9 Fault Finder

Good afternoon folks and welcome to another Circuit Monday todays circuit is Fault Finder


Components needed 

  • 1 10k resistor
  • 2 leds 
  • jumper wires 

all my Circuits are breadboarded on the prototype board I made here 





Uses for this circuit 

this circuit is really useful for checking for shorts as well checking current flow and a number of other tests .


Step one 

place an led into the board 

Step two

place another led in the reversed orientation to the first   into the board and then connect it to the other led with a jumper wire 

Step three

now connect a jumper wire  to each of the ends of the leds that are not connected to  by  the first jumper wire

Step four

now connect the 10k resistor to the the ends of the jumper wires that we put on the board in the last step and the connect a wire to end of the resistor and to the same row as the first led   

Step five

now the circuit is finished you will see depending on the current flow one of the leds lighting up while the other stays off 



Fritzing layouts 






Don't forget to check out the daily dobby on social media Facebook   Twitter 


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 

Sunday, 25 June 2017

Project Day #8 plug change

Good afternoon folks and welcome to another Project day this weeks project is the plug changing 



Why do this project 

the main reason to this is to make life easier and safer when using products from china and other places by changing the to  a U.K plug .


Parts Needed

  • a U.K plug 
  • a fuse (correct value for the product you swapping the plug )
  • an product you want to change the plug on 





Step one 

cut the old plug off 

Step two

Strip the casing on the lead back 

Step three

open the plug and feed the wire into it 

Step four

wire the plug up the brown wire goes to the terminal  nearest the fuse and blue wire goes to the left hand terminal 

Step five

the last step is to close the plug up and test it out 

remember to always check that you can run the product on your local ac current and check that you have a fuse of  the right value fitted in the plug 

Don't forget to check out the daily dobby on social media Facebook   Twitter 


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 



Saturday, 24 June 2017

The News #8

Good afternoon folks and welcome to this weeks news update where I talk about how my weeks gone and upcoming projects and other things.

not much news this week by the time you read this I will out for a friends birthday

the first bit of news is you can now get to the this blog via www.thedailydobby.co.uk also on Facebook


this weekalso saw the first mini build I was quite pleased with it I have another one planned for next week so keep an eye out for that.

I have started planning a big arcade based project which I am thinking will have to be spread across a few weeks of project days but I'm sure it will be worth it I am very much looking forward to sharing it with you.

I also have ordered a radio kit which will be in a future project day it should be a fun also I am working on the car radio project which I am hoping to get done soon,

I am also working on some upgrades for the shed which I will be sharing with you soon one of which will be a new lighting system. I have plans to fit solar power to it as well which will be fun to do.

The research into a getting a 3d printer kit has been going well and I should be ordering it at the end of July with a view to build it for a post then have other post involving it  such as upgrades for it and making parts for other projects .

I am also hoping to get a few interviews from people in the tech and electronics world in the very near future I have a number of positive responses to the email I have sent .


that just about wraps it up for this weeks news if there is anything you like see or you would like me to change let me know I am always open to suggestions feel free to email me dobby@thedailydobby.co.uk






This weeks post 



Don't forget to check out the daily dobby on social media Facebook   Twitter 

Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again Dobby


Friday, 23 June 2017

Flashback Friday #8 Apple I

Good afternoon folks and welcome to another Flashback Friday this weeks blast from the past is Apple I




Apple Computer 1, also known later as the Apple I, or Apple-1, is a desktop computer released by the Apple Computer Company (now Apple Inc.) in 1976. It was designed and hand-built by Steve Wozniak. Wozniak's friend Steve Jobs had the idea of selling the computer. The Apple I was Apple's first product, and to finance its creation, Jobs sold his only motorized means of transportation, a VW Microbus, for a few hundred dollars, and Wozniak sold his HP-65 calculator for $500; however, Wozniak said that Jobs planned to use his bicycle if necessary. It was demonstrated in July 1976 at the Homebrew Computer Club in Palo Alto, California.
Production was discontinued on September 30, 1977, after the June 10, 1977, introduction of its successor, the Apple II, which Byte magazine referred to as part of the "1977 Trinity" of personal computing (along with the PET 2001 and the TRS-80).

History

On March 5, 1975, Steve Wozniak attended the first meeting of the Homebrew Computer Club in Gordon French's garage. He was so inspired that he immediately set to work on what would become the Apple I computer. After building it for himself and showing it at the Club, he and Steve Jobs gave out schematics (technical designs) for the computer to interested club members and even helped some of them build and test out copies. Then, Steve Jobs suggested that they design and sell a single etched and silkscreened circuit board—just the bare board, no electronic parts—that people could use to build the computers. Wozniak calculated that having the board design laid out would cost $1,000 and manufacturing would cost another $20 per board; he hoped to recoup his costs if 50 people bought the boards for $40 each. To fund this small venture, their first company, Jobs sold his van and Wozniak sold his HP-65 calculator. Very soon after, Steve Jobs arranged to sell "something like 100" completely built computers to the Byte Shop (a computer store in Mountain View, California) at $500 each. To fulfill the $50,000 order, they obtained $20,000 in parts at 30 days net and delivered the finished product in 10 days.
The Apple I went on sale in July 1976 at a price of US$666.66, because Wozniak "liked repeating digits" and because of a one-third markup on the $500 wholesale price.
The first unit produced was used in a high school math class, and donated to Liza Loop's public access computer center. About 200 units were produced and all but 25 were sold during nine or ten months.
The Apple I's built-in computer terminal circuitry was distinctive. All one needed was a keyboard and an inexpensive television set. Competing machines such as the Altair 8800 generally were programmed with front-mounted toggle switches and used indicator lights (red LEDs, most commonly) for output, and had to be extended with separate hardware to allow connection to a computer terminal or a teletypewriter machine. This made the Apple I an innovative machine for its day. In April 1977, the price was dropped to $475. It continued to be sold through August 1977, despite the introduction of the Apple II in April 1977, which began shipping in June of that year.In October 1977, the Apple I was officially discontinued and removed from Apple's price list. As Wozniak was the only person who could answer most customer support questions about the computer, the company offered Apple I owners discounts and trade-ins for Apple IIs to persuade them to return their computers. These recovered boards were then destroyed by Apple, contributing to their rarity today.


My experience 

Due to its rarity I have never seen one of these in person and if any one in the U.K knows where I could find one please let me know I would be very grateful .


Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 


Thursday, 22 June 2017

Toolbox Thursday #8 Files

Good afternoon folks and welcome to another Toolbox Thursday this weeks tool is files



How my toolbox Thursday reviews work the first thing I will talk about is what its like to setup  then I will move on what its like to use and to where you can get one from (there may be an affiliate link if you would like to help me out ) and if its good value for money and the last thing in the review will be my overall rating of the item it will be a 5 star system with 1 being the lowest and 5 being the highest .



Setup 

there is no setup with these its just a case of picking the file you want and using it .



Use 

I have found a number of uses for the files the main use I have for them is the clean up holes from drilling such I did in project day #7 but I have also used them to make channels for wires in cases .



Where can you get one 

Rating 

I am very please with these files although not for everyone they are really good in and a really good addition to my toolbox I give these 4stars 





Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00BST for another update thanks again. Dobby 


Wednesday, 21 June 2017

Postbox #8

Good afternoon folks and welcome to another post box this I have five items to show you let's get started.



Item one 

First up this week is a set of jumper wires with male and female ends which I got to for breadboarding mainly but also a few other things as well



Item two 

next up Is this a calculator which I got to do a tear down on but sadly there is not enough inside it for one 




Item three 

the third item is two project boxes which I got for a few project ideas I have and because they where cheap 




Item four 

the fourth item is a plastic case for my Arduino it was a really cheap a 15p from ebay so why not ay ?
 



Item five 

the final item is another calculator I have not opened this one yet but I'm hoping it will be good for a tear own but keep your eyes peeled for a teardown post coming this week 




Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 


Mini build #1 small helping hand

good morning folks  and welcome to the first mini build I have done hope you enjoy .

in this build we will make a small helping hand that can be used for holding wires and other things.



Items needed 

  • 2 crocodile clips 
  • heat shrink 
  • a s shaped allen key ( I got mine from a flat pack furniture tool kit but you can buy them online )



Step one

use a pair of pliers to open up the ends of the crocodile clips 


Step two

Tin the crocodile clips 


 

Step three

solder the crocodile clips to the Allen key



 Step four

heat shrink the ends of the crocodile clips 



thanks for reading I hope you have found this helpful check back at 17.00bst for another update 

Dobby


Tuesday, 20 June 2017

Training Tuesday #8 Pic Programming

Good afternoon folks welcome to another Training Tuesday this week we will cover pic programming 



Tools or items needed 

  • Pic microcontroller 
  • Pickit 3
  • breadboard 



Step one 


Before doing any programming the first step is to build the hardware. Although the PIC18F portfolio is very large, many of the chips have several commonalities. For more detailed information see the "Guidelines for Getting Started with PIC18Fxxxx Microcontrollers" section in your devices datasheet. For detailed pin-outs of the PIC microcontroller see the "Pin Diagram" section in your devices datasheet.

Note: VDD = Positive Voltage and VSS = Ground.
  1. Connect the MCLR pin through a 1kΩ resistor to VDD.
  2. Connect a 0.1μF capacitor between every pair of adjoining VDD-VSS pairs or AVDD-AVSS pairs.
  3. Connect a 10μF capacitor between VCAP and Vss.
  4. Connect MCLR pin to pin 1 of the PICkit 3.
  5. Connect VDD to pin 2 of the PICkit 3.
  6. Connect VSS to pin 3 of the PICkit 3.
  7. Connect PGD pin to pin 4 of the PICkit 3.
  8. Connect PGC pin to pin 5 of the PICkit 3.
  9. Leave pin 6 of the PICkit 3 unconnected.
  10. Connect any analog inputs to pins with ANx functionality where x is a number.
  11. Connect any digital inputs or outputs to pins with Rxy functionality where x is a letter identifying the port, and y is a number identifying the bit.
For my example I have an LED connected between RA0 and ground, the wiper of a potentiometer connected to AN1, and a DPST switch connected to RA2. You may find it easier to program the PIC if you have sketched down a schematic of your circuit.

Step two

now is the time to get the software you can  do that here 

Step three

In this step we will create a new project based on a template from Microchip.
  1. On the menu bar select File->New Project...
  2. In the new file dialog box expand Samples and select Microchip Embedded
  3. In the project box select PIC18 C Template
  4. Select Next
  5. Give the project any name you like
  6. Choose a location to save the project to in the Project Location box
  7. Leave the Project Folder as default options
  8. Check "Set as Main Project" box
  9. Select Finish
The project will now show up in Project Explore on the left hand side of the screen.

Step four

Before we can get started programming we need to set the build parameters.
Create Configuration
  1. Right click on the project name in the projects tool bar.
  2. In the Project Properties dialog select Manage Configurations...
  3. In the Configurations dialog select New
  4. In the New Configuration Name dialog enter Default and click OK
  5. In the Configurations dialog make sure Default is selected and click Set Active
  6. Click OK in the Configurations dialog
Set Configuration Properties
  1. In the Project Properties dialog select "Conf: [Default]" in the Categories list
    1. In the Device box type the name of the device you are using. In my case PIC18F26K80
    2. In the Hardware Tools list select PICkit3
    3. In the Compiler Toolchain select XC8 (v...) Where ... is the version you have installed.
    4. Select Apply
  2. Under Conf: [Default] select PICkit 3
    1. For Option categories select
    2. Power Check "Power target circuit from PICkit3
    3. Select Apply.
    4. Under Conf: [Default] select XC8 compiler
      1. For Option categories select Optimizations
      2. Set "Optimization Set" to "none"
      3. Select Apply
    5. Click OK to close the dialog box

Step five

The next step is setting the configuration bits. The configuration bits tell the MCU its initial conditions for when it turns on. They are used to set the clock source and speed, watchdog time configuration, and other similar features. Configuration bits are device dependent, so check the data sheet for the chip you are using for more information.
  1. In the project explorer expand Source Files and open configuration_bits.c
  2. Remove all the text below the #endif line
  3. Notice a new tab has opened at the bottom of the screen
  4. Set the bits as needed for your project. Since these are chip dependent, check the data sheet for more information about what each does. Some common settings follow:
    1. Extended Instruction Set -- Should be set to OFF when using template
    2. Oscillator -- Used to select the processor. Unless you are using an external crystal, leave set as Internal RC oscillator. See data sheet for other oscillator configurations. Note: CLKOUT will allow for easier debugging, and should be turned on if available.
    3. PLL Enable -- Will allow for future use of the PLL. Note: this will not turn on the PLL, it will only enable it. It is recommended to enable it.
    4. Watchdog Timer -- The watch dog timer is used to ensure the processor will not lock up. It however makes it much harder to debug.  It is recommended to disable it while initially programming, and only enable it after the project is nearly done.
    5. Code/Table Write/Read protects -- Used to disable writing or reading to certain ranges of memory. Leave all of these disabled.
    6. If unsure about a setting, it is usually safe to leave it default.
    7. After all configuration bits have been set, click the "Generate Source Code to Output" button at the bottom of the panel.
    8. The panel will now switch to the Output tab. Select all the text in this tab and copy it to the clip board
    9. Paste it at the bottom of the configuration_bits.c file and pres save.
    10. Clean and build the project again by clicking the broom and hammer icon.
    11. Ensure the build was successful. Also check to make sure there was no errors in the output

Step six

The next step is to start programming; however, before we get to the application code we must program the system code. The system code are the low level functions such as configuring the oscillator and basic delay functions.
Determining Settings
Before we can program the settings, we must choose what speed we would like to run at. For this example I will use 16MHz as most PIC's can run at this speed. For my configuration I will use the 4MHz postscaller from the HF-INTOSC, and the 4x PLL giving an output frequency of 4MHz*4x=16MHz
  1. In the datasheet find the section labeled Oscillator Configurations
  2. The first thing listed in this section is Oscillator Types. If you are using the internal oscillator then use the settings relating to INTIO1
  3. On the next page or two you will find a schematic drawing of the oscillator similar to the one shown. It is helpful to trace the signal on this drawing to ensure the correct speed is being selected.
The next step is to program these settings to the MCU. This is done by setting registers. The first register to set is OSCCON. IDLEN -- used to control the action of the sleep command. Can be left as default.

  • IRCF -- Oscillator selection. Since I am using HF-INTOSC/4 (4MHz) I will need to set this to a binary value of 101
  • OSTS -- Read only bit
  • HFIOFS -- Read only bit
  • SCS -- clock select bits. Since I am using the internal oscillator, I will set to 1x where x can be 0 or 1
  • The next register is OSCCON2; however, this register is mostly read only and not important at this point
  • The last oscillator configuration register is OSCTUNE. We will not tune the frequency for this project, however we must use this register to turn on the PLL using the PLLEN bit.
  • Applying Settings
    1. Return to MPLAB
    2. In the project explorer under Source Files open system.c
    3. At the bottom of this file is the function ConfigureOscillator. Remove the comments in that function
    4. When finished build and check for warnings/errors
    5. Do the same for all other needed oscillator registers. See below for an example of a finished ConfigureOscillator function.
    6. Set all the bits as determined above for the OSCCON register. Example: OSCCONbits.IRCF = 0b101;
    7. To set the bits follow that with an equal sign. To use binary type 0bXXXX where XXXX is the binary number. Lastly end the line with a semi-colon.
    8. To set the bits of a register type in all caps the register name, followed by the lowercase word bits and then a period and the bit name.

    What have we learned 

    we have learned the basics of pic programming and now have the software to do so the rest depends on what you would like to do there are many uses for a pic chip the best way to learn it is just to have a play.

    Useful links 

    http://www.microchip.com/mplab/mplab-code-configurator



    Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 

    Monday, 19 June 2017

    Circuit Monday #8 dimmer switch


    Good afternoon folks and welcome to another Circuit Monday todays circuit is dimmer switch

    Components needed 


    • 1 220 resistor
    • 1 led 
    • jumper wires
    • 100k potentiometer

    all my Circuits are breadboarded on the prototype board I made here 





    Uses for this circuit 

    this circuit can be used for a diming lights ,controlling the speed of a motor or even adjusting volume 



    Step one 

    place the 100k potentiometer on the board 


    Step two

    next up connect the 220 resistor to the third pin of the potentiometer and then to a unused row on the board 

    Step three

    connect the anode of the led to the resistor 

    Step four

    connect the cathode of the led to the negative rail of the board using a jumper wire 

    Step five

    connect pin one of the potentiometer to the negative rail on the broad 

    Step six

    connect pin 2 of the potentiometer to the positive rail the board 

    Step seven

    power the broad with 5 volts and test the results 

    Fritzing layouts


    Thanks for taking the time to read this if you liked what you've read then please check back tomorrow after 17.00bst for another update thanks again. Dobby 

    dobby repairs

    Hi everyone I know that I haven't posted on here for quite some time  I probably won't be posting on here again for a while but I wa...

    Total Pageviews