Kamis, 10 April 2014

AVR Electronics Kit Project



Page last updated on: Sunday, March 30, 2014
Assembled My Morse Guide Badge
'My Morse Guide' - 
an AVR Electronics Kit Project
My Morse Guide is an electronics kit aimed at young people. 
The kit delivers both some fun in soldering the kit together as well as having a kit for playing with Morse code  

My Morse code is a project by Ivo PA1IVO, Leo PA0LEZ andMarianne, and is a successor to the successful Share Your Morse project for the Jamboree On The Air 2013 at Scouting Elfregi Zaanstreek. 

The My Morse Guide electronics kit delivers the following functionality after it is successfully soldered together.
• the (pre-programmed) name of the owner is sent in Morse code, or the radio call sign in case of a radio amateur
• all the characters, numbers and NATO alphabet words are sent in Morse code one at a time
• the (pre-programmed) secret words are sent in Morse code, one at a time
• With the '(Speaker/LED)' key the speaker and LED can be switched on and off for sending Morse code
• the pitch of the Morse tone can be set
• the speed ('WPM') of the Morse code can be set

It is possible to send Morse code yourself with the kit, or an external Morse key can be connected. 

Circuit diagram and further information is at
http://ivok.home.xs4all.nl/electronics/MyMorseGuideElectronics.html

Share your Morse 
http://ivok.home.xs4all.nl/electronics/MorseSounder.html



'My Morse Guide', an AVR Electronics Kit Project
My Morse Guide is an electronics kit for children and other people interested. The kit delivers both some fun in soldering the kit together as well as having a kit for playing with morse code. My morse Guide is a project by Ivo PA1IVO, Leo PA0LEZ and Marianne, and is a succession of the successful Share Your Morse project for the Jamboree On the Air 2013 at Scouting Elfregi Zaanstreek. This page contains a technical description of the project.
My Morse Guide Morse BadgeAt the moment only a Dutch version is available, and will be sold and build during the VERON Pinksterkamp 2014 (Dutch site). On this page also information about ordering a kit can be found. Sorry, currently we do not do deliveries outsite of the Netherlands, unless the demand is sufficient to produce an 'English' batch.
English textEr is ook een pagina met algemene informatie in Nederlands aanwezig.
Main functionality
The My Morse Guide electronics kit delivers the following functionality after it is successfully soldered together.
  • With the 'Mijn Morse' key the (pre-programmed) name of the owner is sent in morse code, or the radio call sign in case of a radio amateur.
  • With the 'ABC...789...Zulu' key the all characters, numbers and NATO alfabet words are send in morse code one at a time.
  • With the 'Woorden' key the (pre-programmed) secret words are sent in morse code, one at a time.
  • With the '(Speaker/LED)' key the speaker and LED can be switched on and off for sending morse code.
  • With the '(Toonhoogte)' key the pitch of the morse tone can be set.
  • With the '(Snelheid)' key the speed ('WPM') of the morse code can be set.
With the 'Key' key it is possible to send morse code yourself with the kit, or an external morse key can be connected via the PCB terminal block (short-circuit for key down).
Schematic
The schematic of the electronics is displayed below.Electronic scheme
Electronic schematic.
Component list
Share Your Morse Badge
DescriptionName/valuePart(s)
AVR MicrocontrollerATtiny85V - PDIPIC1
IC socket8w IC socket machined contactsN.A.
Speaker41.T70P015HLFLs1
Battery clipsKeystone 2468N.A.
BatteriesPanasonic Batteries
LR03XWA/B2
Bat1/Bat2
LEDMulticomp OVL-3324LED1
Capacitor100 nFC1
SwitchesAlps SKHHARA010Mijn Morse
Woorden
Key
ABC
PCB Terminal Blok2WAY, 26-12AWGN.A.
Resistor560 OhmR1
Resistor100 OhmR2
Resistor10k OhmR3
Table 1: Component list.

AVR Selection
Share Your Morse BadgeThe heart of the logic of this kit is based on a small AVR microprocessor. The selection for a chip in the AVR range is only based on previous experiences with AVRs, and therefore the availablity of software, programmers, and knowledge. A PIC microprocessor should probably also be able to do the job.
The AVR selection was based on the following criteria:
  • Low price
  • Low voltage, minimum 1.8 Volt was preferred over 2.7 Volt, as we are using two AAA batteries
  • Maximum memory taken the criteria above into account
By using the AVR Compare Devices page (well done!) we selected the ATtiny85V, which has only 8-pins in a DIL housing, a supply voltage down to 1.8 Volt, and the maximum memory in this range.
Speaker Selection
We looked for a small speaker, being a speaker and not a piezo buzzer. With a real speaker you are able to change the tone frequency, which is not possible with a piezo. The speaker selection was based on the following criteria:
  • Low price
  • Easy to mount on a PCB by just soldering
  • Availability on the semi long run (in case more kits have to be produced)
  • Reasonable sound production, both in volume and in tone clearness.
It is hard to find small PCB mounted speakers that are not piezos. We found one at Farnell (it's really a speaker, we opened one ....). It clearly peaks in volume at the resonance frequency of 2048 Hz, but it is still usable a few hundred Hz above and below the resonance frequency.
Software
The AVR software was developed with Atmel Studio, and therefore written in the C programming language.
Pictures
My Morse Guide components
All (electronic) components to build one kit.


My Morse Guide PCB
Front and back side of the printed circuit board (PCB).


Connection external key
Connection for an external morse key and the empty battery holder.


AVR Dragon
Research and development for the My Morse Guide project.
An AVR Dragon programmer is used to perform high voltage serial programming (HVSP) to the AVR.
HVSP is required to be able to use the reset pin of the AVR as an extra input.

© 2014 by Ivo Klinkert, PA1IVO - Contact
Share Your Morse, a JOTA 2013 AVR Electronics Kit project
ComponentsA project by PA1IVO and PA0LEZ.
A link to the non-technical page for the JOTA scouts (in Dutch) can be found here.
Last update: 3 September 2013 - This page will be completed later.....
Idea
To be added here.
Schematic
Experimenteerbordje
Electronic schematic.
Component list
Share Your Morse Badge
DescriptionName/valuePart
AVR MicrocontrollerATtiny85V - PDIPIC1
IC socketASSMANN WSW AR 08 HZL-TTN.A.
Speaker41.T70P015HLFLs1
Battery clips2468N.A.
BatteriesPanasonic Batteries
LR03XWA/B24
Bat1/Bat2
LEDMulticomp OVL-3324LED1
CapacitorMurata RPER71H104K2K1A03B
100 nF
C1
SwitchesAlps SKHHARA010S1/S2/S3
Power switchsafety pinVeiligheidsspeld
Resistors100/560/10k OhmR1/R2/R3
Table 1: Component list.

AVR Selection
Share Your Morse BadgeThe heart of the logic of this kit is based on a small AVR microprocessor. The selection for a chip in the AVR range is only based on previous experiences with AVRs, and therefore the availablity of software, programmers, and knowledge. A PIC microprocessor should probably also be able to do the job.
The AVR selection was based on the following criteria:
  • Low price
  • Low voltage, minimum 1.8 Volt was preferred over 2.7 Volt, as we thought of using two AAA batteries
  • Maximum memory taken the criteria above into account
By using the AVR Compare Devices page (Well done!) we selected the ATtiny85V, which has only 8-pins in a DIL housing, a suuply voltage down to 1.8 Volt, and the maximum memory in this range.
The ATtiny85V has two 8-bit timers, where one is used for the morse audio tone and the other as a random number generator to randomly select new 'secrets words'.
Speaker Selection
We looked for a small speaker, being a speaker and not a piezo buzzer. With a real speaker you are able to change the tone frequency, which is not possible with a piezo. The speaker selection was based on the following criteria:
  • Low price
  • Easy to mount on a PCB by just soldering
  • Availability on the semi long run (in case more kits have to be produced)
  • Reasonable sound production, both in volume and in tone clearness.
It is hard to find small PCB mounted speakers that are not piezos. We found one at Baco in IJmuiden, and one at Farnell. Because of the slightly better tone and the availablility of 16000, we select a small PCB mounted speaker from Farnell.
PCB
To be added here.
Software
The AVR software was developed with Atmel Studio, and therefore written in the C programming language.
Morse tone using PWM
To be added here :-).
Encoding the morse words and program into 512 kB
To be added here :-).
Pictures and movies
Components
All electronic components.


All PCBs.
The batch of 30 PCBs arrived from China.

Movie of a ready badge with a small explanation in Dutch (original video on YouTube).

Improvised movie (in Dutch) of the prototype, taken during a JOTA preparation meeting.


Experimenteerbordje
"Share Your Morse" badge prototype: Software testing.

© 2013 by Ivo Klinkert, PA1IVO - Contact

Tidak ada komentar:

Posting Komentar