Table of Contents

Advertisement

Quick Links

2017
ATNEL
Mirosław Kardaś
[MANUAL - ATB
Basic information regarding ATB sets ver. 1.05. Description of modules included in the design.
Detailed board and modules schematics. Methods of power supply and connection of the
modules. Recommended literature along with links to video guides.
PDF version 1.2
1.05A]

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ATB 1.05A and is the answer not in the manual?

Questions and answers

Summary of Contents for Atnel ATB 1.05A

  • Page 1 2017 PDF version 1.2 ATNEL Mirosław Kardaś [MANUAL - ATB 1.05A] Basic information regarding ATB sets ver. 1.05. Description of modules included in the design. Detailed board and modules schematics. Methods of power supply and connection of the modules. Recommended literature along with links to video guides.
  • Page 2: Table Of Contents

    External EEPROM memory - 24c04e ....................30 RS485 - SN75176 integrated circuit (MAX485) equivalent ..............30 RS485 – transmission and PC control ....................31 USB adapter / RS232 / RS485 ........................33 Scheme of the adapter and connections ..................34 ATB 1.05a manual author: Mirosław Kardaś...
  • Page 3 Components of the ATB set Installing drivers for FT232RL ......................35 Optional ATNEL-AIR slots .........................37 Motor driver L293D ..........................38 Power driver ULN2803 ......................... 39 LCD - ICL7660 contrast converter (option) ..................40 LVT optoisolators (option) ........................41 ADC input system – voltage measurement ..................43 ATB-PWR3 converter ..........................
  • Page 4: Components Of The Atb Set

    1. Contrast-reducing converter to LCD - ICL7660 with capacitors 2. TDA7052A audio power amplifier with volume control - PWM 3. LM358 Microphone Amplifier 4. ATNEL-AIR Stand - 2 pcs 5. Angular USB-A (output 4 of HUB-USB port in ATB kit) 6. S1 switch with jumper under inverter 7.
  • Page 5: Methods Of Power Supply

    Li-Ion batteries and LiPo. It is also possible to use it without any batteries by just connecting external charger to micro USB port (i.e. from mobile device or to USB port in PC). 1. USB cable from the computer 2. External power source 3. External ISP programmer ATB 1.05a manual author: Mirosław Kardaś...
  • Page 6: First Run - Testing The Set

    MkAvrCalculator and clicking the "Install" button in the "avrdude" frame. Figure below: When the folder window appears, either point to an existing folder with an older version of Avrdude, or create a new folder (preferably directly on C: \). C:\AVRDUDE ATB 1.05a manual author: Mirosław Kardaś...
  • Page 7: Mkavrcalculator Software - License

    For performing operations on microcontroller i.e. reading, programming, checking proper behavior, it is necessary to always use up-to-date MkAvrCalculator software which can be downloaded from http://atnel.pl/mkavrcalculator.html. Once downloaded, unpack it to destination folder of your choice. After download, the software runs in FREE/DEMO mode by default.
  • Page 8: Mkbootloader Software - License

    MkBootloader software - license It is necessary to always use up-to-date MkBootloader software which can be downloaded from http://atnel.pl/MkBootloader.html. Once downloaded, unpack it to destination folder of your choice. After download, the software runs in FREE/DEMO mode by default. Everyone who bought ATB set receive a license file via email (lic.dat) for MkBootloader software.
  • Page 9: Build-In Atb-Usbasp Programmer

    Windows will notify you about newly discovered USB hardware. Drawback here is that the device will show missing appropriate drivers. In this case you just need to start MkAvrCalculator software which will automatically detect missing ATB 1.05a manual author: Mirosław Kardaś...
  • Page 10 This confirms that the operation has completed successfully and allows to continue work with use of build-in or external USBasp programmer. These drivers work with any USBasp programmers which are fully compliant with USBasp standard. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 11: Atb Set Fusebit Settings

    First run - testing the set ATB set fusebit settings Every Atmega32 microcontroller mounted by Atnel corporation in the ATB set has fuse settings different from factory defaults. Changes include: Enabled external clocking source (quartz 11,0592 MHz included in the set) Disabled JTAG.
  • Page 12: Bls Reading- First Test Of Proper Operation Of The Microcontroller

    BLS reading- first test of proper operation of the microcontroller Every Atmega32 microcontroller mounted by Atnel corporation in the ATB set has changed fusebits responsible for placing the bootloader in a Flash memory, as well as its automatic start after the reset.
  • Page 13: Jumpers In The Atb Set

    BLS (bootloader) can be uploaded at any time. To do this, take a look at the guide on youtube: https://www.youtube.com/watch?v=1KcyLMuvcHQ Jumpers in the ATB set View from the top of the ATB set ATB and the default settings of all jumpers. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 14 Jumpers in the ATB set SHIFT+CTRL+MINUS - rotate left SHIFT+CTRL+PLUS - rotate right ATB 1.05a manual author: Mirosław Kardaś...
  • Page 15 3.3V, RS232 pins of FT232RL in 3,3V standard JP16 closed, when the ATB-PWR3 converter operates with +5 V open *, when the ATB-PWR3 converter works with +3,3V (stabilizier system 3,3V for ATB-Microport is omitted) ATB 1.05a manual author: Mirosław Kardaś...
  • Page 16 IR receiver output to pin PD6 open *, disconnection of IR receiver output [ J15 ] position RW->uC, display RW pin connected to the processor position RW->GND *, display RW pin connected to GND ATB 1.05a manual author: Mirosław Kardaś...
  • Page 17: General Scheme Of The Atb Set

    SHIFT+CTRL+MINUS – turn left SHIFT+CTRL+PLUS – turn right General scheme of the ATB set The scheme is divided to three sheets and presented in this manual only demonstratively. The schemes are available in separate PDF files. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 18 General scheme of the ATB set SHIFT+CTRL+MINUS – turn left SHIFT+CTRL+PLUS – turn right ATB 1.05a manual author: Mirosław Kardaś...
  • Page 19 General scheme of the ATB set ATB 1.05a manual author: Mirosław Kardaś...
  • Page 20 2. Rotary encoder. 3. Buck converter ICL7660 contrast with external elements. 4. Sockets ATNEL - AIR (supports the modules ATB - BTM -222 or ATNEL - WIFI232 - T) . 5. Two optoisolators (U13 and U14) LTV335T with ARK connector.
  • Page 21: Microcontrollers In The Atb Set

    (resistors in series on lines MOSI, MISO, SCK), during programming various modules can be connected to PORTB pins, such us: LCD display, SD memory card, or other using the SPI data bus through ATB-Microport. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 22: Methods Of Microcontroller Clocking

    Source of the TTL generator clocking comes from FT232RL, that is why it has to be powered. In order to do it you have to connect USB cable to the set. External RC oscillator consists of: R26 resistor and C16 capacitor. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 23: Connector Of The Isp - Kanda Programmer (Internal / External Programmer)

    To sum up, the ATB sets v. 1.05 can be used as the external USBasp programmer. Thus, with one band you can connect to external system (apart from the ISP lines) also power supply such as VCC and GND. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 24: Methods Of Microcontroller Reset

    FT232R, the state on the input changes from Hi to Lo and back several Times. As a result, the ceramic capacitor charges and discharges for several times which leads to short-time give of low state on RESET microcontroller line. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 25 It is important that the performance of this power supply is at a minimum of 500 mA. Recommended performance is 1 A to 1,5 A . Both Atnel converters provide possibility to power the set by one of the two voltages with use of a jumper on the converted. By default every converter is set on +5 V voltage.
  • Page 26: Lcd Display 2X16Cz

    (along with the capacitors) enabling correct work of the display with the set under +3,3V is not assembled. You can buy the converter at the Atnel online store and assembly it on your own. Then, the converter is activated by changing the position of the SMD R78 resistor in the opposite direction.
  • Page 27: Oled Display - I2C

    This display is perfectly suitable for the most important exercise described in my book „Mikrokontrolery AVR - Język C podstawy programowania” ( http://atnel.pl/wydawnictwo.html ATB 1.05a manual author: Mirosław Kardaś...
  • Page 28: Led Diodes - 8 Pieces

    LED1 will be also lit. Steering with the IR diode takes place with use of PNP transistor and R3 resistor (39R) in order to obtain as wide range of transmitting as possible. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 29: Infrared Receiver (Tsop31236) And Tsmp58000 (Ir Carrier)

    J48. The TSMP58000 receiver needs to be purchased separately. Output of the received is connected directly to the INT0 (PD2) pin of the microcontroller. This option is designed especially for the Mk2Decode software, which can be downloaded here: http://atnel.pl/mk2decoder- ir.html Digital temperature sensor DS18B20 There is an integrated temperature sensor soldered into the ATB set PCB, marked as DS18B20.
  • Page 30: Buzzer (Loudspeaker)

    One of the pins is described as BUZ and it can be connected to whichever microcontroller’s pin to steer the buzzer. Buttons (key buttons) tact-switch type Every set is equipped with five tact-switch buttons. You can find their pins on J26 juncture. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 31: External Eeprom Memory - 24C04E

    Three signals are available: RX, TX and DE (the DE signal consist of joint RE and DE pins of the system) which makes it more convenient to switch from transmitting to receiving (and vice versa) through changing the state from Hi to Lo and vice versa. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 32: Rs485 - Transmission And Pc Control

    PC can be steered as in the RS232 mode, because system of FT232RL adapter takes care itself of switching the state of DE line in order to listen or sand data through MAX485. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 33 Because the jumpers along with the goldpins are presented in a form of a picture, you do not need to check number of a particular jumper. The first system in the top left corner of the table is marked with an asterisk, what makes the default configuration of PCF8585 significantly easier. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 34: Usb Adapter / Rs232 / Rs485

    USB adapter / RS232 / RS485 The USB/RS232 adapter based on FT232RL is one of the strongest feature of the ATB sets from Atnel. The great advantage of the built-in adapter in our sets is use of all the possibilities of the FT232RL in 100 %,...
  • Page 35: Scheme Of The Adapter And Connections

    You will find instruction, description and a video guide explaining how to use the built-in ATB-FT232R programmer, in the ELECTRONICS section on Atnel website by choosing from menu on the left side „FT232 programmer in ATB” or using the below link: 6.
  • Page 36: Installing Drivers For Ft232Rl

    Once the download is complete it is necessary to start the file and to follow the installation programme. During the process, the user has to accept several license provisions, and in the end of the installation just press “finish” key. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 37 Once the uninstall is complete you can start installation of the drivers once again, in accordance with the instruction above. Warning! The uninstaller removes the drivers from every previously installed device with the built-in FT232RL system. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 38: Optional Atnel-Air Slots

    ATNEL-AIR 2 ATNEL-AIR 1 Location of the ATNEL-AIR stands in the ATB set is in line with the picture below. In the ATB set you can install on your own slots (stands) ATNEL-AIR type for the following modules: Bluetooth ATB-BTM-222...
  • Page 39: Motor Driver L293D

    Motor driver L293D Motor driver L293D Atnel is the first company in Poland to introduce to AVR start-up kits the DC motor driver and bipolar stepper motor driver. MOT1 and MOT2 pins are used to connect motors. Smart design allows the control of each channel of the L293D by PWM signal from the microcontroller.
  • Page 40: Power Driver Uln2803

    In case you use +12V (applied to the ATB-PWE3 converter of the set) to power the transmitters, motor or other devices, then you have to close the jumper Inputs of the system are available on J28 goldpin. Internal structure of the system ATB 1.05a manual author: Mirosław Kardaś...
  • Page 41: Lcd - Icl7660 Contrast Converter (Option)

    R78 resistor) in the opposite direction (to the right), as in the picture below. It is all placed from the bottom of PCB, below the LCD display. Warning! By default the converter is not assembled in the set. You can buy the necessary components at Atnel online store and solder them on your own. www.sklep.atnel.pl ATB 1.05a manual...
  • Page 42: Lvt Optoisolators (Option)

    PCB SMD resistors R42 and R43 are already soldered, as well as the J31 connector. WARNING! By default the optoisolators and ARL terminal blocks are not assembled in the set. You can buy them on your own in Atnel online store: www.sklep.atnel.pl ATB 1.05a manual...
  • Page 43 WARNING! By default the ENCODER itself is not assembled in the set. You can buy it on your own in Atnel online store: www.sklep.atnel.pl We highly recommend a series of video guides on econders and their connections: https://www.youtube.com/playlist?list=PLtXXWLsA5QNjgCQ3Op_drDTFthk3YAmhE...
  • Page 44: Adc Input System - Voltage Measurement

    R31 resistor. It also presents sample calculations for the selection of the input voltage divider with respect to Uwe. You will find more information and video guides on the Atnel website: http://atnel.pl/atb-pomiar-napiecia-adc.html ATB 1.05a manual author: Mirosław Kardaś...
  • Page 45: Atb-Pwr3 Converter

    The input voltage may vary in range of +8V up to +40V (max.) The current efficiency of the inverter is up to 1.2 A! You will find details abort the converter, its configuration and possible use on: http://atnel.pl/przetwornice-atb-pwr-3.html ATB 1.05a manual author: Mirosław Kardaś...
  • Page 46: Digi-Lion 2 Converter

    Zworki SMD JP10 oraz JP9 You can buy the newest converters (buffer power supply) ATB-LION at Atnel online store and assembly them optionally in place of ATB-PWR3. Both types of converter fit to the same slot in the set. The ATB-LION converter allows for powering the set both with Li-Ion batteries and Li-Po, as well as from the micro USB slot –...
  • Page 47 After making the above changes, you are not allowed under any circumstances to use the ATB-PWR3 converter, without at least opening SMD jumpers J9 and J10. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You can find details about the converter, its configuration and possible use on: http://atnel.pl/atb-lion.html ATB 1.05a manual author: Mirosław Kardaś...
  • Page 48: Atb-Microport Juncture

    SS (CS) signal, I2C and UART (RS232 RX/TX). For better readability, pins of ATmega32 microcontroller are also presented. The juncture is available at Atnel online store as a complete library component for software Cadsoft Eagle (*.LBR) and Altium Designer.
  • Page 49: V-Usb System Or Clear Usb Lines For Microcontroller

    . It is a female juncture because it minimalises the risk of the USB line short circuit, or connecting in this place wire jumpers for other modules by mistake. Taken this into consideration, connecting of the lines U+ and U- to the microcontroller requires two female/male wire jumpers. ATB 1.05a manual author: Mirosław Kardaś...
  • Page 50: Audio Amplifier With Pwm Volume Control (Option)

    C59, and C60. The signal input is on connector J43. Warning! By default the parts are not assembler In the set, unless the client orders the DELUXE pack. You can order them in our shop and assembly them on your own. www.sklep.atnel.pl ATB 1.05a manual author: Mirosław Kardaś...
  • Page 51: Microphone Amplifier (Option)

    ADC input of the PA7 microcontroller. Warning! By default the parts are not assembler In the set, unless the client orders the DELUXE pack. You can order them in our shop and assembly them on your own. www.sklep.atnel.pl ATB 1.05a manual author: Mirosław Kardaś...
  • Page 52: Usb-A Angular Socket (Option)

    USB-A angular socket (option) Starting from version ATB 1.05a there is a 4-port HUB-USB . This allows one of the channels to support the ATB-USBASP built- in programmer, the second channel supports the USB2 / RS232 (FT232R) adapter, and the third channel remains available to the user on the right side of the J17 connector with a possibility to configure it in the V-USB mode.
  • Page 53: Recommended Literature

    Recommended literature Recommended literature Recommended textbook for learning the basics of programming microcontrollers in C programming language with start-up kits ATB series from Atnel: http://atnel.pl/mikrokontrolery-avr-jezyk-c.html Welcome to our blog: www.mirekk36.blogspot.com Welcome to our technical suport forum: www.forum.atnel.pl Welcome to our video guides on youtube: www.youtube.com/mirekk36...
  • Page 54: Contact Info

    CONTACT INFO CONTACT INFO ATNEL Mirosław Kardaś Addres: ul. Uczniowska 5A, 70 - 893 Szczecin, Poland Tel.: +48 91 4635 683 +48 501 008 523 Website: www.atnel.pl www.sklep.atnel.pl e-mail: biuro@atnel.pl sklep@atnel.pl ATB 1.05a manual author: Mirosław Kardaś...

Table of Contents