English Français
Search
Generic filters

1-877-967-2726

Coding with Blockly: Displaying a Smart Cart’s Velocity Vector

Today I got to work through an experiment using PASCO’s Wireless Smart Cart and Blockly code on SPARKvue.  I followed the Blockly Extension: Vector Display lab from the PASCO Experiment Library. This lab guides you to use Blockly code to display text on the screen depending on the speed of the Smart Cart.

I connected the Smart Cart through Bluetooth to SPARKvue and read through the lab procedure. I started off by slowly moving the Smart cart along my desk while observing the velocity graph. I conducted three runs, one to determine a low velocity, a medium velocity, and a high velocity. I took note of these three velocities, as shown in the image on the right, so that they could be included within the code. After getting familiar with the lab, I copied the example code, adjusting the velocity values to the ones I recorded, as shown in the image on the left. I tested my code by clicking start and moving the Smart Cart. At first, I was not sure where to look for the displayed text. I realized I had to change my display from a graph to digits. Then, by clicking the variable being displayed, I switched from Sensors to User-entered and chose Velocity Vector (the variable I created in the Blockly code). This time when I pressed start, the vectors I assigned to each velocity displayed on the screen depending on the Smart Cart’s speed. I decided to change the text displayed from vectors to words. As shown in the video below, I used simple terms such as slow, medium, and fast to describe the carts’ velocities.

I found this lab super cool! It was my first time experimenting with the Wireless Smart Cart using Blockly code and I am looking forward to coding more products.


Sign Up For Our Newsletter - Get Info About New Products & Teaching Ideas

Sign Up For Our Newsletter

  • A big thanks for all the help and support you provided – I want to take some time to say a big thanks for all the help and support you provided me to select the best equipment in order to make the best possible use of the funds available. It is really exceptional that you happily connected with me multiple times even during the weekend and was always motivated to help. Please accept my big thanks for this.

    Gurpreet Sidhu | Physics Instructor | University College of North | The Pas, MB

  • Wireless Spectrometer Big Hit With Students – PASCO’s wireless spectrometer has been utilized very well by our earth science and physical science teachers. It’s an excellent piece of equipment and we have very much enjoyed its addition to enriching our classroom. It definitely brings students to a higher level of understanding wave interaction at a molecular level.

    Matt Tumbach | Secondary Instructional Technology Leader | Tommy Douglas Collegiate | Saskatoon, SK

  • Excellent Smart Cart – I thought the cart was excellent. The quick sampling rate for force will be very useful for momentum and collision labs we do. I’m recommending we include this in our order for next school year.

    Reed Jeffrey | Science Department Head | Upper Canada College | Toronto ON

  • Your lab equipment is of the highest quality and technical support is always there to help. During the 25 years we have used a wide array of lab equipment including computer interfacing. Your Pasco line has a high profile in our lab and will continue to do so far into the future.

    Bob Chin | Lab Technician | Kwantlen Polytechnic University | Surrey, BC

  • Datalogging Activities are Cross-Curricular

    Throughout the province of Nova Scotia, PASCO’s probeware technology has been merged with the rollout of the new P-6 curriculum. We chose a number of sensors for use with our project-based activities. Both the functionality and mobility of PASCO’s dataloggers enable students to collect authentic, real-world data, test their hypotheses and build knowledge.

    Mark Richards | Technology Integration Consultant | Annapolis Valley R.S.B. | Nova Scotia

  • We have a large number of PASCO wireless spectrometers and love how they have improved the learning experience for our students.

    Shawn McFadden | Technical Specialist | Ryerson University | Toronto, Ontario

  • During distance learning due to COVID-19 school shut down, I was given a short window to collect what I could from my classroom to teach online. The PASCO wireless sensors and Smart Carts were my top priority to collect to implement distance learning. By sharing experimental data with students via SPARKVue, the sensors were pivotal in creating an online experience that still allowed students to grow with their lab skills. It was easy to record videos of the data collection and share the data with my students. They did a phenomenal job examining and interpreting the data.


    Michelle Brosseau | Physics Teacher | Ursuline College Chatham | Chatham, Ontario

Exclusive Canadian Distributor
for PASCO Scientific

Contact Us

7-233 Speers Road
Oakville, ON Canada L6K 0J5
Toll Free: 1-877-967-2726
Phone: 905-337-8486
Technical Support: 1-877-967-2726  ext. 713
PASCO Support: 1-800-772-8700 ext. 1004
Order Form:  2022 AYVA Order Form

Save & Share Cart
Your Shopping Cart will be saved and you'll be given a link. You, or anyone with the link, can use it to retrieve your Cart at any time.
Back Save & Share Cart
Your Shopping Cart will be saved with Product pictures and information, and Cart Totals. Then send it to yourself, or a friend, with a link to retrieve it at any time.
Your cart email sent successfully :)