Advertisement

Quick Links

 
Information contained in this publication regarding device applications and the like is intended
 
through suggestion only and may be superseded by updates. It is your responsibility to ensure that
 
 
your application meets with your specifications. No representation or warranty is given and no
 
 
liability is assumed by Cytron Technologies Incorporated with respect to the accuracy or use of
   
 
such information or infringement of patents or other intellectual property rights arising from such
 
   
use or otherwise. Use of Cytron Technologies's products as critical components in life support
 
 
 
system is not authorized except with express written approval by Cytron Technologies. No licenses
   
 
are conveyed, implicitly or otherwise, under any intellectual property rights. 
Maker-pHAT 
HAT-MAKER 
User's Manual 
Feb 2019
   
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Rev 1.10
 
 
   
     
 
 
 
 
 
   
 
 
 
 
 
 
 
   
 
 
 
 
   
 
   
 
 
   
 
   
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Maker-pHAT and is the answer not in the manual?

Questions and answers

Summary of Contents for Cytron Maker-pHAT

  • Page 1                         liability is assumed by Cytron Technologies Incorporated with respect to the accuracy or use of                          ...
  • Page 2: Table Of Contents

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   INDEX  PAGES 2  INTRODUCTION 3  PACKING LIST 4  PRODUCT SPECIFICATIONS 5  BOARD LAYOUT 6  HARDWARE INSTALLATION 8  GETTING STARTED 20  HIGHLIGHTED FEATURES   21  PYTHON DEMO CODE   24  SCHEMATIC  ...
  • Page 3: Introduction

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   1. INTRODUCTION    What is ​     H AT​ ? ​   H AT   means ​ H ​ a rdware ​ A ​ t tached on ​ T ​ o p. If ​  ...
  • Page 4: Packing List

                          missing, please contact us at ​ s ales@cytron.io​ immediately.        ITEMS QUANTITY Maker pHAT (Code: HAT-​ M AKER​ )   1  1  2x20 Stacking Header (Code: ​ C N-PH-PC104​ )  ...
  • Page 5: Product Specifications

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   3. PRODUCT SPECIFICATIONS    Dimension:        Absolute Maximum Rating of Maker pHAT:    PARAMETERS Unit 4.8  –  5.2  1  Input Voltage via USB connector  V  –  –  USB ...
  • Page 6: Board Layout

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   4. BOARD LAYOUT          LABEL FUNCTION RASPBERRY PI STANDARD 40 HEADER PIN  A  Stack this pHAT to Raspberry Pi through this standard 40 header pin.   BREAKOUT POWER PIN  B ...
  • Page 7: Hardware Installation

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   5. HARDWARE INSTALLATION    5.1 Raspberry Pi Zero WH   Maker pHAT is designed to fit in ​               R aspberry Pi Zero  ...
  • Page 8 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   5.3 Access Breakout Pads on Maker pHAT     Maker pHAT Rev1.10 comes with pre-soldered SMD header pin on the breakout pads.        No worry about short circuit when you stack the Maker pHAT Rev1.10 on the ​  ...
  • Page 9: Getting Started

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   6. GETTING STARTED    6.1 Preparing Hardware   To get started, we recommend you to have:  Maker pHAT  Raspberry Pi Zero WH  16GB Micro SD Card  USB Micro B Cable ...
  • Page 10 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ After done flashing, take the ​           S D card     out and insert back to your laptop. Open ​            ...
  • Page 11 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​       Once detected, disconnect the ​ U SB cable​ . Stack Maker pHAT on the top of ​ R aspberry Pi Zero  WH​ .         6.4 Install PuTTY (Windows)  ...
  • Page 12 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   Open ​   P uTTY   software. Tick on the ​ S erial​ , then write your ​ C OM number (e.g. COM3). Please            ...
  • Page 13 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   6.5 Connect to WiFi   To remote using ​       V NC Viewer​   , we need a WiFi connection. We can set the WiFi connection in  ...
  • Page 14 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Choose your country and press Enter.        Confirm your WiFi country by pressing Enter.                      Created by ​ C ytron Technologies Sdn Bhd ​ – All Rights Reserved Back to ​...
  • Page 15 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Write your WiFi SSID (WiFi name) then Enter, followed by WiFi passphrase (WiFi password)                             then Enter.   ...
  • Page 16 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Next, we need to enable VNC server in Raspberry Pi. Go back to the top menu, and select to                        ...
  • Page 17 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Choose ​ < Yes>​ and Enter.        VNC server is enabled. Press Enter to ​ < Ok>​ .                   Created by ​ C ytron Technologies Sdn Bhd ​ – All Rights Reserved Back to ​...
  • Page 18 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Press ​ E sc to exit Raspberry Pi Configuration Tool. Now, reboot Raspberry Pi to enable WiFi                            ...
  • Page 19 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​     We recommend you to update your Raspbian with following command.    pi@raspberrypi:~$ ​ s udo apt-get update  Update Raspbian OS.    Done update, open ​       V NC Viewer  ...
  • Page 20 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ A warning window will popup. Sometimes the warning is in yellow and sometimes in red.                               Proceed with ​...
  • Page 21 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ Tadaa. Your VNC remote is successful. Now you can access Raspberry Pi Desktop through                             VNC Viewer​ and WiFi connection. ...
  • Page 22 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   7. HIGHLIGHTED FEATURES    Maker pHAT incorporates 4 interesting features which make it interesting and more suitable                          ...
  • Page 23: Python Demo Code

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   8. PYTHON DEMO CODE     User can try this python demo code to control the LEDs and buzzer using push button on              ...
  • Page 24 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ i f​ ledNumber == 4:  ​ LED4.on()  e lse​ :   ​ LED4.off()    i f​ ledNumber == 5:  ​ LED5.on()  e lse​ :   ​ LED5.off()    i f​ ledNumber == 6: ...
  • Page 25 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ e lif​ SW2.is_pressed ​ a nd​ SW3.is_pressed:  ​ sleep(0.5)  f or​ loop ​ i n​ r ange​ ( times):  ​ ​ BUZZER.on()  led(ALL_ON)  sleep(0.2)  BUZZER.off()  led(ALL_OFF)  sleep(0.2)  sleep(0.5)  os.system(“sudo shutdown -h now”)   ...
  • Page 26 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​ To run it, click ​ R un - Run Module (or can press F5). You need to save your python code first.                  ...
  • Page 27: Schematic

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   9. SCHEMATIC           Created by ​ C ytron Technologies Sdn Bhd ​ – All Rights Reserved Back to ​ I NDEX...
  • Page 28: Gallery

    ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​   10. GALLERY                                       Created by ​ C ytron Technologies Sdn Bhd ​ – All Rights Reserved Back to ​...
  • Page 29 ROBOT.HEAD to TOE  H AT-MAKER  Product User’s Manual - ​                 Created by ​ C ytron Technologies Sdn Bhd ​ – All Rights Reserved Back to ​ I NDEX...
  • Page 30: Warranty

                      Prepared by: Cytron Technologies Sdn Bhd www.cytron.io No. 1, Lorong Industri Impian 1, Taman Industri Impian, 14000 Bukit Mertajam, Penang, Malaysia. Tel: +604 - 548 0668 Fax: +604 - 548 0669 Email: support@cytron.io...

Table of Contents