top of page

Search Results

285 results found with an empty search

  • Basic 90-Degree Turn

    This program should see the robot be able to turn 90 degrees to the left and 90 degrees to the right. < Back Basic 90-Degree Turn This program should see the robot be able to turn 90 degrees to the left and 90 degrees to the right. Program --- Basic 90 degrees Turn Program This program should see the robot be able to turn 90 degrees to the left and 90 degrees to the right. --- prog_vars = d/count 0 prog_vars. prog_start = pclear print "Basic Drive Program Start" stop prog_start. prog_loop = left_turn_90deg -- right_turn_90deg exitnow prog_loop. left_turn_90deg = -- The robot should turn 90 degrees to the left. -- Adjust the delay value in the dly command to -- make the robot turn to the left by 90 degrees. stop rms 50 dly 250 -- change this delay to make the turn work stop left_turn_90deg. right_turn_90deg = -- The robot should turn 90 degrees to the right -- adjust the delay value in the dly command to -- make the robot turn to the right by 90 degrees. stop lms 50 dly 250 -- change this delay to make the turn work stop right_turn_90deg. prog_stop = print "Bye" prog_stop.

  • Smart LED Random Flashing

    Smart LED Random Flashing Program This program has 6 WS2812B smart LEDs connected to port A pin a1. It will cycle the LEDs through random colors. < Back Smart LED Random Flashing Smart LED Random Flashing Program This program has 6 WS2812B smart LEDs connected to port A pin a1. It will cycle the LEDs through random colors. Program --- Smart LED Random Flashing Program This program has 6 WS2812B smart LED's connected to port A pin a1. It will cycle the LEDs through random colors. --- prog_vars = d/led_no 0 d/red 0 d/green 0 d/blue 0 prog_vars. prog_start = print "Smart LED Program Started" -- turn all 6 leds off sled a1 6 0 /red /green /blue prog_start. prog_loop = -- Set each color to a random value rand 0 255 -> /red rand 0 255 -> /green rand 0 255 -> /blue -- Set the LEDs color -- /led_no is the LED we are setting. sled a1 6 /led_no /red /green /blue -- Inc to the next LED and then start again. any /led_no >= 6 -> /led_no 0 else inc /led_no enda. prog_loop. prog_stop = print "prog stopped" prog_stop.

  • Projects - Rainbow LED Display

    In this project, you will utilise all five LEDs on the TOP to create a rainbow. With proper commands, you can even make it pulse in sequence. < Back Rainbow LED Display In this project, you will utilise all five LEDs on the TOP to create a rainbow. With proper commands, you can even make it pulse in sequence. This project uses the TOP and its LEDs to create a rainbow that turns on in a sequence. We do this by connecting the LEDs to Port A on the JackBord and running a few commands to turn them on, including aon, daisy chains, and delays. This is a great introductory project if you’re just getting started, and sets the basis for future projects such as the Electronic Dice. You can find the PDF instructions using the button below. PDF INSTRUCTIONS Project Gallery

  • RC Servo Simple Claw

    This program uses an RC Servo on port pin A1 as a claw to grip toilet rolls. Create an open and close button on the show page. Open angle is 0 degrees and closed angle is 60 degrees. < Back RC Servo Simple Claw This program uses an RC Servo on port pin A1 as a claw to grip toilet rolls. Create an open and close button on the show page. Open angle is 0 degrees and closed angle is 60 degrees. Program --- RC Servo Demo 3 Program: Simple Claw This program uses an rc servo on port pin A1 as a claw to grip toilet roles. Create an open and close button on the show page. Open angle is 0 deg Closed angle is 60deg tmt3NneW --- prog_vars = d/run_no 0 d/claw_angle 0 prog_vars. prog_start = pclear ptl 10 0 ^ts=25^tc=red^ "RC Servo Demo 3: Simple Claw" -- open the claw by default. svp a1 0 -- Display the buttons pb 100 100 ^n=Open^p=svp a1 0^ pb 200 100 ^n=Close^p=svp a1 60^ -- Display the quit button pb 300 100 ^n=Quit^p=exitprog^ prog_start. prog_loop = -- Waste time patcat prog_loop. prog_stop = print "Bye" ptl 200 200 ^ts=45^ "Bye" svp a1 0 prog_stop.

  • JackBorders

    JackBorders Dashboard JackBorders Site SHOP Welcome to the real world of JackBord, a world of STEM where young learners-or JackBorders- will learn about science, technology, engineering, mathematics, robotics, programming and electronics. Supported by numerous activities and ongoing online support JackBorders' can learn at their own place and pace, igniting their innate curiosity and imaginations to create all manner of cool projects, with or without the support of teachers. The JackBord Pro and Basic are powerful, robust, long lasting electronics devices, incorporating powerful processors and virtually indestructible hardware. JackBorders of all ages and abilities can learn about electronics, undertake science projects, analyse data , build and play games, build robots. Octagon- our own intuitive programming software will allow JackBorders to programme and create projects limited only by their imaginations, and provides an easy segue into other programmes like Python. More experienced programmers can operate JackBords with Python from the get go. The JackBord Pro can operate remotely using its inbuilt wi fi, bluetooth, long life battery, and is the platform to build robots with servers, motors using our own metal JacKano with real nuts 'n bolts. All JackBorders have the Virtual JackBord to continue programming without the hardware. Our world needs young learners to become the next generation of scientists, engineers, and technicians. Jackbord has been designed specifically with this and you in mind. Find out what other JackBorders think Electronics Using our ingenius TOP (for both Basic and Pro) understand the theory, componentry and application of electronics, essential to understanding robotics and programming. Build circuits, activate switches and LEDs. Here, the TOP is attached to the JackBord Pro. Let's Go Programming & Data Analytics Learn how to use commands, write programs and analyse data, using Octagon, our own programming language providing an easy pathway to more complex programmes such as Java Script or Python Let's Go Sensors Measure light, humidity, temperature, soil moisture, water quality, proximity....the options to use sensors to conduct your experiments and projects are almost limitless. Check out this soil moisture sensor. Let's Go Control Learn how to use readings from sensors or programs to make physical decisions, such as moving servos or driving with motors Check out this claw for our beach cleaning robot Let's Go Construction Build your own robots with real metal, nuts and bolts. Here's our pendulum Let's Go Table of User Guides & Activities Robotics Combine electronics, programming, sensors, engineering, construction and control to make robots! Just like our Mars robot Let's Go Dashboard JackBorders Site SHOP

  • About | Jackbord

    About JackBord-the ultimate solution for teaching and learning STEM JackBord provides authentic, hands on, real world experiences to ignite young learners imaginations and innate curiosity and creativity in Science, Technology, Engineering, Maths, Electronics, Graphics, sought by educators world wide. We are on a mission to help young learners of all abilities into the exciting world of STEM. JackBord's "out of the box" extensive suite of long life, robust, multifunctional electrical devices, sensors, servos, construction materials, software and learning materials require no prior knowledge to use. Because Jack is dyslexic he needed to make devices difficult to break and "brick", and learning materials easy for learners of all abilities to use. There is a JackBord for everyone, from the JackBord Basic, the Virtual JackBord to the JackBord Pro, with its powerful processors, numerous inbuilt sensors and remote capability. Users can add external sensors built on JackBord's unique Universal Sensor Interface, pre built science and robotic kits using our own metal JacKano (or make up their own) and learn coding, data logging and analytics with JackBord's own Octagon programme-an easy segue to other programmes such as Python. Whilst the user guides and numerous activities are designed for students of all abilities to learn at their own pace and place -and for educators to guide them whilst aligning to curriculum-there are structured activities and projects at various levels to guide teachers and users on their journey. We encourage JackBorders to actively participate in the JackBord eco system by providing feedback for improvement and sharing their learnings so that we can curate and share with other JackBorders. We're all on this continuous learning journey together. That's STEM! The possibilities are in the hands and minds of users. The JackBord eco system The JackBord ecosystem is made up of a number of component parts. The main parts are: The Boards The Dashboard ESP and the User Website The EMQX MQTT Server The Boards The Boards, or JackBords, come in 3 types: PRO BASIC Virtual Running on the Boards are two main types of Firmware: Pinky - which runs all the programmes, network comms, system management etc Brain - which runs all the ports and I/O, etc The PRO has both a Pinky and a Brain, the BASIC just a Brain, and the Virtual just a Pinky. To use a JackBord BASIC, the user must also use a Virtual JackBord. However, a Virtual JackBord can be used stand alone, but it has limited I/O capabilities. Connecting to the PRO and BASIC we also have a number of sensors, motors, etc. Controlling these is done via the Brain, often using programmes being run on the Pinky. The Dashboard The Dashboard is the main user interface for the user in terms of software. This is where they can send commands, write programmes and display outputs onto a screen. ESP and the User Website The user website is run by a bespoke Enterprise Service Platform. ESP acts as an administrative hub in the JackBord ecosystem. It is where we link users to JackBords. It is also our content management system for the user website. The EMQX MQTT Server MQTT is the main communication protocol used in the JackBord ecosystem, allowing us to connect Dashboard users to JackBords and to connect to additional services such as data logging and data processing. The EMQX Server is the "broker" or intermediary that sits in the middle, directing the traffic. User Experience User experience is crucial to the success of JackBord. Our hardware offers an authentic, hands on, learning experience, and our user website and Dashboard wrap around that experience. Therefore, the user experience needs to be considered holistically across all three of those components - the Boards, the Dashboard, and the User Website. Our Mission is to remove barriers to learning, without removing learning opportunities. Our Vision is to have a cohesive, consistent and intuitive user experience across the whole ecosystem, for users of all abilities and backgrounds, inspiring them into STEM careers. Back Story Jack Penman is a gifted educator and creative electronics engineer, and a TED Talks presenter who brings a rare and innovative vision to the challenge of teaching young and diverse minds. His unique brain distills complexity into simple solutions. Jack’s difficulties and frustrations accessing the education that both interested him and suited his learning style has driven him to address the many problems facing all learners, particularly the neuro diverse and minority groups. Drawing upon his innate curiosity, considerable knowledge, different way of thinking, and an ability to inspire others, Jack -with students and teacher colleagues- has created the JackBord -a system that is now is transforming the lives of many students of all abilities and backgrounds. Purpose (the why) We open a world of opportunity for curious young minds for careers in science, technology, engineering and more….. Mission (the how ) To remove the barriers to teaching and learning STE(A)M subjects for young learners of ALL abilities and backgrounds Vision The enjoyment of learning "Let’s deliver them a path that can take them to a variety of destinations, limited only by their imaginations.” Jack Penman, Inventor and founder

  • Investors

    For Investors JackBord Works Limited - a private company - was formed in 2019 with six founding shareholders. They all wanted to help the next generation shape the future of how we live, work and play, enabling curious minds to experiment and create, applying robotics to everyday problems, - to deliver youth a path that can take them to a variety of destinations, limited only by their imagination, whilst supporting them while they learn new skills and begin to think differently about things. Since, we have worked with local primary and secondary schools, and home schoolers, libraries and youth groups around New Zealand to develop, test and perfect the JackBord devices and associated learning materials. We have sold over 300 JackBords Pros and JackBord Basics throughout New Zealand (and Hong Kong) and the feedback has been fabulous. There is considerable interest to purchase JackBords, including unsolicited interest from Nigeria and Pacifica . JackBords are perfect for the STEM education needs of the developing and developed world, AND ultimately for commercial and agricultural use. There are no other products quite like JackBord Pro and JackBord Basic anywhere. Whilst there are robots and software platforms that target STEM there is no competitor product that we know of that does it all. And at such amazing value. Our markets are worldwide. In New Zealand there are over 2,500 schools (800,000 students) and 12,000 home schoolers -all needing to teach STEM. Then there are libraries, youth groups, parents, grandparents wanting to keep the kids off their screens and occupied with constructive fun activities. Extrapolate that worldwide! We source our hardware materials from established and reputable suppliers who provide high quality parts quickly, and because of their scale and technology enable us to continue to innovate cost effectively. The hardware is proving faultless. We have an comprehensive range of guides and continue to grow our extensive library of video and written activities and projects. Our programming application "Octagon" is proving easy to use and an ideal segue to other programming languages, such as Python. We will be developing a pure Python version to operate the JackBord systems. ESP-Enterprise Support Platform (ESP) is our own highly sophisticated system designed by Jack to support our user experience and manage inventory. We continue to work closely with and sell JackBords to four primary and secondary schools in Kapiti and have a number of exciting projects underway. We continue to sell directly to other schools and the public, but are keeping our "powder dry" until we have adequate staff and customer systems in place to support planned marketing initiatives to scale. Investment opportunity We are seeking additional seed capital to hire staff and provide for marketing to generate further sales in preparation for our initial capital raise to scale to realise the considerable potential in New Zealand ,then worldwide markets. An ideal investor could be someone who shares our vision, perhaps participate in a senior operational role in the business, or as a director on the board. It is too early to make a meaningful valuation. With a good deal of risk now eliminated this is a wonderful opportunity to invest at ground level for a significant stake and return in an exciting business that will make a significant social impact as it changes the lives of many for the better. If you are interested in investing, please contact Stuart Ayres Aaron Jordan Chair With 20 years of experience across both the public and private sectors, Aaron brings a range of skills to his Director role at Jackbord. In his Senior Leadership roles at Toitū Te Whenua – Land Information New Zealand (LINZ), Aaron supports LINZ to navigate the future, from influencing mindsets and the ways of working, to how to experiment and invest in capabilities, technology and data. Aaron also has accountability across a wide range of operational functions and geospatial disciplines, including Mapping, Charting, Positioning and Property Information. He is also an experienced member of the Board of Trustees for West Park Primary School. On Jackbord, Aaron says - “… it really appeals to me and my imagination. I can see Jackbord giving 1000s of kids an opportunity to explore their endless imaginations, not only giving them a grounding in STEM, but also building their confidence and entrepreneurial spirit, to enter the workforce and build some great businesses that Aotearoa would be proud of.” Geoff Fellows Director Geoff has been engaged in ICT his whole career, with roles encompassing software development, systems and network engineering, sales and marketing, along with general and regional management. Starting his own company, Geoff engaged in project management and management consulting roles. Now a Kapiti resident, Geoff was introduced to the JackBord and stepped in as General Manager in formative years to help a terrific team of creative people by setting up the supporting processes and systems and seeking initial funding. Geoff has a considerable network, particularly in the IT sector, and has many interests including sailing, biking, motorcycling, helping others and spending time with his grandchildren. Geoff brings many qualities to the role of Director with his sense of calm and humour, gravitas, considerable networks and deep tech experience. Jack Penman Director Of course Jack, as founder and creative director, is on the board! Jack has set our culture of fun, transparency, inclusiveness and continuous improvement, has an innate understanding and respect in our markets, terrific vision and energy, and of course creative genius. He is the "owner" and keeper of the Trust's principles which are centred around social impact enabling and encouraging students of all walks of life into science and engineering, and environmentally friendly design, materials, construction and use. Jack recently attended TEDx Kapiti as a speaker. Click here to watch his talk!

  • 50-tcg Homepage

    Back Robotics 5001 - Introduction to Robotics This series of activities combine the principles and skills that you have learnt so far and applies them to practical issues and solutions.

  • Coding

    Coding This page will help get you started with coding and programming, and will give you more information on the JackBord’s own language Octagon. If you’re after Octagon programs, visit the Programs page. Helpful Links Default Octagon Program This is the default new Octagon program. You can use this as a template to create a new program. Click Here Soft-Serve Using Python If you would like to use Python with your JackBord, check out this Python library for the JackBord written by Lachlan Paulson! This library lets you use Python to control your JackBord and adds a whole new layer of capability. Click Here Octagon Cheat Sheet This is a cheat sheet with the Octagon basics - great as a point of reference when working on a project! Click Here

  • Home | JackBord Learning

    JackBord delivers a complete educational system for students of all ages and abilities. We help students realise their potential to become tomorrow's innovators, scientists and engineers and provide teachers with the tools they need to guide them. Introducing the JackBord BASIC We are delighted to announce the arrival of the JackBord BASIC. After 18 months of development the BASIC provides an affordable entry into the world of STE(A)M for classrooms and individuals of all ages and abilities. Young learners innate curiosity and creativity will be sparked by over 100 activities that can be aligned to curriculum and qualifications. They will learn electronics, coding, robotics, and better understand the world about them with exciting science projects. The BASIC is a perfect segue to the JackBord PRO. For more about the BASIC ............ JackBord provides the ultimate tools for teaching and learning STEM subjects for young learners Opening a world of opportunity for young people by delivering fun and authentic learning experiences for curious and creative minds of ALL abilities, creating pathways to careers in science, engineering and technology Authentic learning Jackbord focuses on learning the fundamentals through growing a student's practical skills in electronics, coding, sensors and control, with hands on lessons and projects The Jackbord system is specifically designed to enable students from any background and ability to confidently explore and learn Science, Technology, Engineering and Maths in an applied and fun way Your partner in STEM Inventor Jack Penman wanted to help learners of all abilities and backgrounds to realise their potential to become tomorrow's innovators, scientists and engineers. He didn't want them to face the same barriers he experienced as a student. "Those that think and learn differently are the ones who will make a difference to solving the worlds problems" So he invented the JackBord Pro, a powerful, unique, enduring tool and system that will excite, inspire and partner students throughout their learning journey to confidently explore science, create engineering projects, learn about electronics, develop programming skills, master robotics, analyse data, and have fun doing so. Since he has developed the JackBord Basic, TOPS (to learn electronics), a Universal Sensor Interface, JacKano, Virtual JackBord and Octagon for kids to learn coding. “Let’s deliver them a path that can take them to a variety of destinations, limited only by their imaginations.” Limited only by your imagination With the incredibly powerful Jac kBord Pro and entry level Basic supported by numerous components and extensive easy to follow guid es and activities, the possibilities for learning and exploring are virtually endless. We support you to master STEM so that you dare to dream, explore, develop and realise your imagination. Engage in forums, share your projects with us and other JackBorders. The world needs y ou! to take on science, technology and engineering. JackBord will help with you to get there . Jack spoke about his own learning experiences and challenges, and why he created Jackbord at TEDx Kapiti in a talk titled "Why I'm terrified of being normal " Dashboard JackBorders Site SHOP Educators are able to deliver curriculum and qualifications (and learn themselves!) We don't set out to be educators, however teachers will find they can easily apply our activities to meet curriculum and provide qualifications. Jack's detailed yet easy to follow videos and written guides and activities mean that students (and teachers) can learn without assistance or further guidance, however we recommend the guidance of teachers or parents. JackBord is ideal for teacher professional development. Whilst our guides and activities are designed for self learning we provide online support throughout your journey. Your partner in STEM. more..... Curious about what our users think? Here are a few testimonials from teachers and students! Jackano Jacobs tank Soccer Jackano 1/7

  • Bumper Robot

    Bumper Robot Turn your JackBord into a bumper robot! In version 1, your JackBord will go backwards and do a slight turn when it bumps into an object. In version 2, LEDs will start to flash. Bumper Robot Version 1 Bumper Robot Version 2 Construction Videos

  • Terms of Use

    LEGAL Privacy Policy, Terms of Sale & Website Use Terms & Conditions of Sale Privacy Policy Websites Terms of Use

  • Testimonials | Jackbord

    Our clients say Anita Taylor, Science Teacher, Paraparaumu College "The beauty of the JackBord interface is that students are able to engage with the learning in their own space and at their own pace. Students are not frustrated by step-by-step teacher directions, they can be given the robot and sensors, and learn through the website videos. Currently our Year 11 classes use the Jackbord to produce data from gas and soil moisture sensors. All students learn to wire up the sensor and use the website to find a program to run to collect data. Students enjoy using their fine motor and computing skills to collect quantitative data that is quickly produced and easily processed." Campbell Scott, Home School Student "Adopting the Jackbord was an enjoyable task, and the instructions were clear and easy to follow. Using the TOP was an excellent learning experience and I was fascinated and impressed at the wide range of possibilities available. I just recently added the motors and wheels and found the driving experience to be excellent, the controls simple and easy to use, and enjoyed coding different tasks to the various buttons. As for the other activities you provided links for, I have already tried out the short range proximity sensor and temperature \ humidity metre. Both were great ideas and I look forward to trying out the other activities. I really appreciated the easy to follow, step by step guide videos, and am continually amazed at the diversity of functions that one can achieve with the Jackbord. I can't think of any criticism to give you" Elgene, Student, Victoria University "JackBord is well designed and highly functional. It is a great tool for entry level robotics students and enthusiasts. The Octagon software is reliable and intuitive. I recommend it to anyone wanting an innovative and interesting learning tool." Jacob, Year 13 Student, Paraparaumu College "During lockdown having a JackBord of my own made doing my own robotics projects possible. I still had everything that I needed to get my robots up and running due to the JackBord being so robust and including everything you ever need built in; all I had to do was plug in my components. Because the JackBord works with WiFi it can be controlled from anywhere in the world so we were able to have JackBord races from at home in our own bubble" Lance Flavell,Digital Technology Teacher, Bishop Viard College "I've never really ventured into electronics with any of my classes until now, so the idea of using JackBords was out of my comfort zone. I initially had concerns about managing the electrical components and whether students might be put-off by the programming interface. Instead, the students were super enthusiastic to wire up their JackBords to meet the challenges. Students previously distracted by social media and youtube were now actively engaged in setting up their JackBords. We are continuing to develop learning units and the JackBord experience has allowed me to unpack parts of the technology curriculum I'd previously considered out of reach." Anonymous, Home Educator "So far, we have really enjoyed the JackBord, and were amazed at all the cool things Matthew could do with it. (I was so happy that I don’t need to be a specialist on the subject for him to be able to do it). The videos are easy to follow, and it’s good that terminology now also gets explained. …... Matthew also really enjoyed the online sessions with Jack and the other participants. This is really well done, and I will recommend it to any parent who has a child interested in electronics. Absolutely well worth the money. Thanks for a great product" Sophie Tukikino,Former Principal, Te Kura Maori o Porirua "The Jackbord Robotics program is presently being delivered in Te Kura Mãori o Porirua to Year 7-8 and Year 9-10 students. The JackBord is a durable, robust product, therefore it is very easy for students to become hands-on straight away. JackBord allows students to become familiar with basic coding and using a range of components to build on the robots functionality. There is scope for students to use the JackBord to explore a range of responses to a problem, through a process of trial and error, develop a solution or, a range of solutions. The feedback from our students has been very positive, teachers have observed highly motivated, engaged students who are often reluctant to move onto their next subject." Noah, Home School Student “It has worked well and connects to the internet pretty fast. Thank you" Theo's mother, Home Educator “We have never seen Theo so excited. He must have spent at least 6 hours with it yesterday and was up early this morning to get going on it again. Have a wonderful day!”

  • Gallery

    Funding Our mission is for JackBord to be the notebook equivalent for STEM subjects in all schools Our early adopter schools have identified the efficiency of the JackBord as being the key item in their teaching toolkit and are setting aside budget to purchase more. We understand some schools may have fully allocated budgets, or simply struggle for sufficient funding to undertake anything other than traditional education, often not enough for many students to achieve curriculum or realise potential; especially those with special needs or where traditional learning fails to trigger their interest. Here are some ideas for schools to consider to fund a system that could make a difference to them and their students. The JackBord Trust Visit Website JackBord Works Limited's main shareholder is a registered charity, the JackBord Trust. The Trust's primary purpose is to find ways to reach and encourage more students to take up coding, engineering and science as careers through educational advancement. The Trust could assist schools and students to find ways to fund its purpose through the purchase and or donation of JackBords from any dividends from its shareholding in the business, or as a vehicle for businesses, parents and other charities to make a tax deductible donation.

  • RC Servo Commands

    Command Guide < Back RC Servo Commands svp - Set servo position Purpose This sets the shaft position of an rc servo connected to the JackBord Syntax svp #~ pos Arguments #~ The pin to which the servo is connected to on ports A, C, D & E. pos svs - Sweep Servo from 0 to pos Purpose Sweep the servo from 0 to the specified position and back. An optional delay between 1deg steps may also be added. Syntax svs #~ pos delay Arguments #~ The pin to which the servo is connected to on ports A, C, D & E. pos The position to sweep to. 0 -180deg. delay (optional) This is an optional delay, in milli- seconds, between each 1deg step of the servo’s shaft. 5 to 50,000 milli-seconds. Examples svs a1 0 svs a1 90 svs a1 180 50 svt - Sweep Servo from position 1 to position 2 Purpose Allow a servo to sweep from one angle to another and back. eg from 90 to 100 and back. Syntax svt #~ pos1 pos2 delay Arguments #~ The pin to which the servo is connected to on ports A, C, D & E. pos1 The start position to sweep the servo to. 0 top 180deg. pos2 The stop position to sweep the servo to. 0 top 180deg. delay (optional) This is an optional delay, in milli- seconds, between each 1deg step of the servo’s shaft. 5 to 50,000 milli-seconds. Examples svt a1 45 90 svt a1 90 120 50 svt a1 /pos1 /pos2/ /delay

  • I2C Commands

    Command Guide < Back I2C Commands i2con - Enable the i2c system Purpose Turn on I2c System and update config. Syntax i2con i2coff - Disable the i2c system Purpose Turn off I2c System and update config. Syntax i2coff f2c - Find attached i2c devices Purpose This will scan the i2c port looking for attached i2c devices. When a new device is found it will be setup. Syntax f2c Examples > f2c < Finding I2C Devices.... < Setup BME280 temp on next free chan [26] < Setup BME280 RH on next free chan [27] < Setup BME280 Pressure on next free chan [28] Found 1 devices Channels & Vars Each of the devices found will be allocated the channels the require automatically. Their readings will appear in the gt command etc. g2c - Get register value from an i2c device Purpose This will get the value of the specified register from the specified i2c device address. Syntax g2c addr reg bytes Arguments addr The i2c devices address from the l2d command. 0 to 128 reg The register number from 0 to 256 bytes The number of bytes to expect back from the i2c device. 1 to 256. Pushers Yes Returns Nothing Examples > g2c 118 137 1 < g2c data 0[111] 1[0] final [111] Get reg no 137, one bytes from i2c address 118. Notes This can be used from the command line and in programs. l2c - List active i2c devices & sensors Purpose Lists all of the active i2c devices connected to the JackBord’s i2c port. This will list all of the devices associated with each i2c address. Syntax l2c l2d - List active i2c devices only Purpose Lists all of the active i2c devices connected to the JackBord’s i2c port. It only lists whole devices, not sub devices. Syntax l2d s2c - Send data to i2c device register Purpose Send data to the specified register on the specified i2c device. All values are integers. Syntax s2c addr reg value Arguments addr The i2c devices address from the l2d command. 0 to 128 reg The register number from 0 to 256 value An integer value between 0 and 256. Pushers Yes Examples > s2c 118 137 23 ->/result Notes This can be used from the command line and in programs. v2c - Show the status of the i2c system Purpose Displays the status of the i2c system including the number of devices connected and the i2c pins. Syntax v2c rsti2c - Reset all i2c devices Purpose This will reset all of the i2c devices connected to the JackBord and remove them from the system. Syntax rsti2c Examples rsti2c

  • Random Number Test

    This program shows you how to use the rand, random number generator command. It will generate a random number between zero and five each time the main program loop runs. If the number generated is 4 the program will exit and print BOOM!. You can use random numbers in programs where you want an event to occur at an unpredictable time. When the program runs it will exit after a random interval. This interval is dependent on how quickly the number 4 arises in the random number sequence. < Back Random Number Test This program shows you how to use the rand, random number generator command. It will generate a random number between zero and five each time the main program loop runs. If the number generated is 4 the program will exit and print BOOM!. You can use random numbers in programs where you want an event to occur at an unpredictable time. When the program runs it will exit after a random interval. This interval is dependent on how quickly the number 4 arises in the random number sequence. Program --- Random Number Test Program This program will generate a random number between zero and five. It Will wait until the number four comes up and then exit. --- prog_vars = d/count 1 d/randno 0 prog_vars. prog_start = print "Random Number Test Program" prog_start. prog_loop = rand 0 5 -> /randno print "Count /count rand /randno" any /randno = 4 -> "BOOOM!"|exitprog inc /count prog_loop. prog_stop = print "Prog STOPPED!" prog_stop.

  • Raspberry Shake Quake Alert

    Raspberry Shake Quake Alert Program This program gets the Raspberry Pi Shakes geophone EHZ channel and d-trends it before plotting it. It also lets you set an alert threshold such that when the geophone value goes above the threshold an alert message is displayed. < Back Raspberry Shake Quake Alert Raspberry Shake Quake Alert Program This program gets the Raspberry Pi Shakes geophone EHZ channel and d-trends it before plotting it. It also lets you set an alert threshold such that when the geophone value goes above the threshold an alert message is displayed. Program --- Raspberry Shake Quake Alert Program This program gets the Raspberry Pi Shakes geophone EHZ channel and detrends it before plotting it. Set an alert threshold for the alarm to be triggered. --- prog_vars = d/count 0 d/xpos 0 -- Processed Geophone Sensor Value -- This has been detrended d/pro_EHZ 0.0 d/prev_EHZ 0.0 prog_vars. prog_start = pclear d500 -- Display the Title. ptl 100 1 ^ts=24^tc=blue^ "Raspberry Shake Alert Program" -- Add Quit Button pb 25 50 ^n=Quit^p=exitprog^ prog_start. prog_loop = -- main program loop inc /count -- Stop after 10,000 readings any /count >= 10000 -> exitprog -- Ignore the first few readings so the de-ttending can work any /count >= 3 -> -- Get a fresh set of readings from the shake -- grsk AM.R5C47 grsk AM.R7DD4 -- Wait a while for next readings -- NEED this delay. d250 -- d-trend the reading sub /rs_EHZ /prev_EHZ -> /pro_EHZ -- Invert the negative values abs /pro_EHZ -> /pro_EHZ -- Plot the pro_EHZ geophone value plot 10 150 ^id=rs^t1n=Z^t2n=E^t3n=N^xp=/xpos^v1=/pro_EHZ^ -- Display the plot value ptl 30 100 ^ts=16^ "X /xpos > EHZ /rs_EHZ pro EHZ /pro_EHZ " -- Check for a Quake any /pro_EHZ >= 500 -> -- YES we have a quake ptl 100 40 ^ts=25^tc=red^ "Tapapa Hopukina Kia mau" else -- NO no quake ptl 100 40 ^ts=25^tc=Lime^ "OK" enda. -- Next Xpos inc /xpos enda. -- Update the previous value. /prev_EHZ /rs_EHZ prog_loop. prog_stop = ptl 25 25 ^ts=75^ "Bye" prog_stop.

  • Rocket Launch

    This program displays some information during a rocket launch. < Back Rocket Launch This program displays some information during a rocket launch. Program --- First Octagon Progam Refer to section 5.2 of the JackBord JOurneys book no 1 while looking at this program. --- prog_vars = d/launch_rocket 0 d/air_temperature 0.0 d/rh 0 d/address "" prog_vars. prog_start = -- Setup the pgoram /launch_rocket 10 /air_temperature 28.5 /rh 80 /address "1 Olympus Mons Mars" prog_start. prog_loop = -- Display some information print "Launch in /launch_rocket secs" print "to /address" print "where the air temp is /air_temperature RH is /rh" exitprog prog_loop. prog_stop = print "Prog STOPPED!" prog_stop.

bottom of page