|

THE MAGIC DINOBOT
- From Jameson Hunter, an
original TV series idea, germinated in 2016. Jimmy dreams of building a giant
robot ant as a special project, then one day his dreams come true when the robot he
has built is transformed into a living, breathing, companion.
<<
SCENE 13
CHAPTER
14 - COMPUTER CODING EXTRAVAGANZA (MINEFIELD)
**INT. JIMMY'S WORKSHOP - DAY**
Sunlight streams into JIMMY'S workshop. He stands amidst his tools and the growing frame of the Dinobot, a thoughtful expression on his face. He's been wrestling with a big question for months, maybe even years, ever since he started building simple robots at school.
**JIMMY**
(To himself, tapping his chin)
What's the best code for a robot? It's like a giant puzzle!
---
**INT. SCHOOL CLASSROOM - DAY (FLASHBACK)**
The school bell shrills. Kids scatter like confetti, but Jimmy lingers, pretending to pack his bag slowly. MR. RIPPENGALL (40s, his IT teacher, patient and insightful) watches him with a knowing smile, arranging his papers.
**MR. RIPPENGALL**
(Warmly)
All stowed away, Jimmy?
**JIMMY**
(A little hesitant)
Yes, Sir. Mr.
Rippengall, I wondered if you could help me with just a little more guidance?
**MR. RIPPENGALL**
(Tapping his watch playfully)
Of course, Jimmy. How can I help you this fine Friday afternoon? I do need to get home fairly soon.
**JIMMY**
Sir, as you know, I'm working on a hexapod robot, and I'm thinking about the programming languages.
**MR. RIPPENGALL**
Yes, we spoke about that at length. I believe you've got a good grasp of the
current state of the
art.
**JIMMY**
I have, Sir. And, thanks to your help, and some from my Dad, I've finally decided on the hardware!
**MR. RIPPENGALL**
(Surprised)
I thought your father was in the Army.
**JIMMY**
He is, Sir, a General! But I'm not quite sure exactly what he does. He did teach me how to cut metals and weld them together, though! I designed and built the frame the **chassis** myself!
..... Couldn't have done that without his help.
Mr. Rippengall raises an eyebrow, clearly impressed. He's an IT teacher, not a welder! This is a fascinating new side to his quiet pupil.
**MR. RIPPENGALL**
(A twinkle in his eye)
Welding and fabrication, eh? Just what dimensions is this robot, Jimmy?
**JIMMY**
(Proudly)
About twelve feet long, Sir!
**MR. RIPPENGALL**
(His jaw dropping, then a slow, theatrical blink)
Twelve feet?!
Twelve feet... (He quickly converts in his head) Three point six meters... I was thinking twelve inches!
He sounds just like Dr. Emmett Brown from *Back to the
Future*! Mr. Rippengall paces the classroom, four short strides, then looks back at the distance, trying to imagine the enormity.
**MR. RIPPENGALL (CONT'D)**
And you have built this?
**JIMMY**
I have, Sir!
**MR. RIPPENGALL**
Your mother and father allowed you to build it?
**JIMMY**
They actually helped quite a bit too, Sir!
**MR. RIPPENGALL**
(A gasp)
Really? Is that so? But where is such a giant machine parked, for heaven's sake?
**JIMMY**
He's in a shed in our backyard.
**MR. RIPPENGALL**
(Eyes wide)
"Oh, *He*."
Mr. Rippengall shakes his head, trying to picture it.
**MR. RIPPENGALL (CONT'D)**
Considering the nature of a robot hexapod, a combination of languages and hardware would probably be best as we've discussed. But what sort of size and capabilities are we looking at?
**JIMMY**
(His eyes gleaming with ambition)
Well, Sir, it has to carry a man and be safe to operate. And respond to voice commands. And be able to speak intelligently, and work things out for itself if required! It also needs a **self-preservation agenda**; a **survival mode**!
**MR. RIPPENGALL**
(A playful smirk)
You're not asking for much, then?
Jimmy laughs out loud. He doesn't mention wishing for it to come true last
Christmas that would sound truly crazy!
**MR. RIPPENGALL (CONT'D)**
(Joining in the laughter, enjoying this immensely)
Well, programming languages. Ah, there's another minefield! It's like how we all speak English in England, America, and
Australia. It's the same language, but spoken so differently, a Southern gentleman might not understand a Scotsman! And then Italian and French are such beautiful languages, often associated with magnificence and expressive hand gestures!
Jimmy looks a little confused.
**MR. RIPPENGALL (CONT'D)**
Are you with me, Jimmy?
**JIMMY**
(Thinking hard)
So far, Sir, I think. In terms of computer code, these languages might be likened to aesthetically pleasing, well-structured code that is efficient and a joy to behold. An orchestra in harmony, rather than a single musician.
**MR. RIPPENGALL**
(Grinning)
Nearly there, Jimmy! German, known for its precision and orderliness, could be compared to structured, efficient, and reliable code. Just as German emphasizes clarity and logic, well-written German code would be characterized by its clear structure, logical flow, and attention to detail.
**JIMMY**
Then what of Japan, Sir, home to imaginative robotic creativity?
**MR. RIPPENGALL**
The Japanese language, Jimmy, with its intricate writing system and emphasis on nuance, might be likened to complex, expressive, and efficient code. Of course, Japanese has no alphabet. Japanese uses pictographic characters called **kanji**. Similar to how Japanese can convey subtle meanings, well-written Japanese as a computer code could be highly expressive and efficient, even if it may appear complex to those unfamiliar with the language and symbols.
**MR. RIPPENGALL (CONT'D)**
Are you with me, Jimmy?
**JIMMY**
Sort of, Sir, though unclear how coding might be undertaken in pictorial fashion.
**MR. RIPPENGALL**
(Chuckles)
Me too, Jimmy! Just to continue then, the Russian language, known for its literary tradition and its ability to convey complex emotions and ideas, could be compared to powerful, expressive, and versatile code. Just as Russian can be used to write everything from poetry to technical manuals, well-written Russian code can be used for a wide range of applications, from simple scripts to complex software systems!
**JIMMY**
(A lightbulb moment)
Never thought of programming in those terms before, Sir! I think what you mean, in essence, is that while each language has its own unique qualities, they can all be seen as tools for communication and expressive variety, or culture. Just as a skilled artist can use different brush sizes and paint textures, a skilled programmer can use different languages to write efficient, expressive, and reliable code!
**MR. RIPPENGALL**
(Beaming, genuinely impressed)
Couldn't have put it better myself, Jimmy! But what of practicality, forsaking art for efficiency in real time?
**JIMMY**
That is my weakness, Sir. I don't have much time. A leap of faith is required, not a thesis. Mere acceptance for now sleeves rolled up, hammer hitting the anvil time! I think we agreed when we last spoke on the subject that the **Android operating system** is the best umbrella for the level of AI I'm hoping to integrate.
**MR. RIPPENGALL**
Yes, Jimmy, Google recognized the advantages of using a proven, open-source kernel for its mobile operating system. The **Linux kernels** reliability, flexibility, and community support made it an ideal platform. Now, back to action, as efficiently as possible! Well then, **Python** is a versatile and easy-to-learn language that is well-suited for robotics and automation. Its readability and large community make it a good choice for prototyping and developing complex algorithms.
**JIMMY**
Sir, as you know from Robot
Wars, I used Python and **C++** already with some success. C++ for performance-critical tasks, such as controlling the robot's motors and sensors, where C++ provides fine-grained control over hardware and can be used to optimize code for speed.
**MR. RIPPENGALL**
Jimmy, think of Android as a versatile toolbox. It's designed to handle a wide range of tasks, from simple apps to complex systems. It's like having a Swiss Army knife for your digital world!
**JIMMY**
So, it's like a do-it-all operating system?
**MR. RIPPENGALL**
Exactly! It's based on **Java**, which is a language known for its flexibility and ease of use. This means you can create all sorts of applications, from games to productivity tools. Unlike traditional computer operating systems, Android is specifically designed for mobile devices. It's optimized for smaller touch-screens, and it's designed to run multiple apps simultaneously.
**JIMMY**
That I don't need, Sir. I need the interface to respond to audio or wireless inputs, understanding vocal communication rather than screen touch commands. I need the robot to respond to voice commands, and radio transmitted mission parameters. But how does it compare to something like Python or C++?
**MR. RIPPENGALL**
Okay, Jimmy, and sorry to be less than clear for you. It's been a long day. You could create an app that uses **machine learning** to recognize objects or understand natural language. Python or C++ are more powerful for certain tasks, especially when it comes to performance-critical applications. But Android is excellent for building user-friendly interfaces and integrating with hardware components.
**JIMMY**
(A small jump)
I'm still buzzing, Sir! I wanted to speak with you all day!
Mr. Rippengall is visibly flattered.
**JIMMY (CONT'D)**
So, if I want to create a complex AI for my Dinobot, should I use Android or one of those other languages?
**MR. RIPPENGALL**
That's a great question, Jimmy! Android can certainly be used for AI, but it might not be the most efficient choice for extremely complex tasks. You could consider using a combination of Android and a more powerful language like Python for certain parts of the AI.
**JIMMY**
That makes sense, Sir! So, Android is kind of like the foundation, and then I can build on top of, or under it, with other tools?
**MR. RIPPENGALL**
Exactly, Master Watson! Think of it like building a house. Android is the foundation for AI, with Python for the base machine function. And then you can add different rooms and features as needed.
**JIMMY**
Okay, I think I'm starting to get it, Mr. Rippengall! So, if I want to create a sophisticated AI that can learn and adapt, I might need to combine Android with other tools and languages!
**MR. RIPPENGALL**
That's right, lad! But remember, the most important thing is to focus on the overall functionality and user experience. Don't get too caught up in the technical details.
**JIMMY**
(A sudden thought)
Sir, my Dad used to rave about his Amiga computer, and something called **Cloanto**. What's that all about?
**MR. RIPPENGALL**
(Shakes his head, a genuine smile)
That's something else. Out of my league. Better ask your father about that one. You'd best be getting along. Mum will worry. Nice to chat again, Jimmy. Please keep me up to speed on your project. It sounds quite remarkable.
**JIMMY**
Thank you, Sir! Likewise, if anything else crops up...
---
**EXT. BUS STOP - DAY**
Jimmy scampers off, a whirlwind of information swirling in his head. He loves the bus ride home. The low rumble of the
diesel engine and the soft whine of the gearbox are oddly soothing, giving him time to think.
---
**INT. BUS - DAY**
He spots JULIA (12, his best friend) already on the bus. She looks up, concerned.
**JULIA**
You look worried, Jimmy. A bit of a mess.
**JIMMY**
(Sighs)
You look pretty, Julia. A breath of fresh air.
**JULIA**
That bad, is it?
**JIMMY**
Just robot stuff. I need to speak to Dad about something. I am a bit disheveled, sorry.
**JULIA**
Trouble?
**JIMMY**
Just robot stuff. Programming decisions, my brain is in La-La land at the moment. You know me. I can't operate properly in a confused state.
**JULIA**
But you enjoy the bus ride home?
**JIMMY**
(Smiling, exhaling slowly)
For sure. And more so with good company.
They sit in comfortable silence, admiring the scenic countryside, marred occasionally by building sites. Julia frowns at the new houses and the
broken
tarmac. She tells Jimmy about the raw sewage being pumped into the English
Channel, making her fume. She's shared these worries with Marion, who even became a councillor for a while to understand the problem.
---
**EXT. JIMMY'S HOUSE - DAY**
When they get off the bus, Julia gives Jimmy a hug and a soft kiss on the cheek. He truly needed that. For the first time ever, Jimmy kisses her back on the cheek. They hold hands meaningfully for a moment, just gazing at each other, two genuine allies who deeply care for one another.
**JULIA**
(Blushing a little)
Thanks, Juliet.
**JIMMY**
(Grinning)
Romeo, wherefore art thou?
CUT TO
**INT. KITCHEN - EVENING**
Jimmy is first at the dinner table, sniffing the air.
**JIMMY**
Hi, Mum! Smells delicious!
MARION (40s, kind and loving) calls into the lounge.
**MARION**
Come on, Tim, get it while it's hot!
TIM (40s, practical, also a General) is on his laptop, half-watching the news, surfing for a battery hedge trimmer.
**JIMMY**
(Playfully)
Dad, we're waiting!
Tim finally comes through, rubbing his hands together.
**TIM**
(With an apologetic nod)
Sorry, Mum! Think I've found a bargain trimmer at Homebase.
Marion mouths "Thank you" to Tim, then says aloud, "Thought we'd have bangers and mash tonight! What have my boys been up to?"
**TIM**
All the usual, dear. How was your day? Ummmm, smells great!
Marion carries in their plates, loaded with homemade cheesy mashed potato and thick, real pork sausages from a farm at Upper Dicker.
**JIMMY**
(Eyes widening, stomach rumbling)
Oh my! Are those from Hackhurst Lane? The really meaty ones?!
**MARION**
They are! Just some broccoli and beans.
She dishes out the vegetables, then sits down herself.
**MARION (CONT'D)**
(Smiling)
Ohhh. On your marks, get set!
Jimmy dives into the mashed potato, relishing his mum's cheesy mash. Tim goes straight for the sausages.
**TIM**
(Mouth full)
How do they do it? And your mashed potato, dear, uummm!
There's little time for talking as they eat. Even Marion is quite hungry, almost keeping up with her boys in the
"Herstmonceux Eating Stakes."
**JIMMY**
(Barely chewing)
Delicious, Mum!
**TIM**
Don't forget the broccoli, son, and chew for a little longer!
Jimmy giggles. In only a few minutes, the feast is over. The family sits at the table, delightfully bloated, laughing at each other. Jimmy has mashed potato on his chin.
**MARION**
(Answering Tim's earlier question)
In answer to your question, darling, it's a family business. They rear their own pigs and make their own sausages from the finest pork cuts.
**TIM**
Whatever, they hit the spot!
**JIMMY**
Sure did, Mum! My jaw aches from eating so fast. I couldn't stop!
**MARION**
(Motioning to the kettle)
Coffee or Banoffee?
**TIM**
Just coffee for me, darling.
**JIMMY**
Nothing for me, Mum.
A long silence falls. Then Jimmy strikes.
**JIMMY**
(Hesitantly)
Daaad...?
**TIM**
(Playfully)
Jimmeee!
**JIMMY**
Didn't you once have an **Amiga** computer?
**TIM**
(Sighs dramatically)
Now don't get me started...
A minute passes in comfortable silence as Marion's lads gather their thoughts, their digestion systems working overtime.
**JIMMY**
But Dad, Mr. Rippengall said you were the person to ask about **Cloanto**! What is that? He didn't have a clue.
**TIM**
(Chuckles)
I suspect he may have, son. You probably exhausted him.
---
**INT. KITCHEN - CONTINUOUS**
**A DIGITAL TIME MACHINE**
Tim thinks about the question for a moment. He still remembers his Amiga fondly a very advanced machine for its day, way ahead of PCs and Apple. But fortunes change.
**TIM**
Imagine you have an old video game console. You love playing the games on it, but your new TV doesn't have the right inputs.
Jimmy nods, understanding the analogy.
**JIMMY**
So, you need a way to play those old games on your new TV.
**TIM**
Exactly. That's where **emulation** comes in. An **emulator** is like a translator that allows software designed for one system to run on a different system and patch into new interfaces.
**JIMMY**
So, the **Dalvik Virtual Machine** is like an emulator for Android apps?
**TIM**
That's a good way to think of it. It translates the **Java bytecode** that Android apps are written in, into **machine code** that can be understood by the device's processor. (He takes a breath) You can draw a comparison between the Dalvik Virtual Machine (DVM) and Amiga Forever/Cloanto programs. Both the DVM and Amiga Forever/Cloanto programs serve as virtual environments that allow software designed for one platform (Android for DVM, Amiga for Amiga Forever/Cloanto) to run on a different platform.
**JIMMY**
So where does **Android Runtime** come in?
**TIM**
In later versions of Android, the Dalvik Virtual Machine was replaced by the Android Runtime (ART), improving application performance and reducing
battery consumption.
**JIMMY**
Oh, nice one! But why do we need an emulator?
**TIM**
(Explaining patiently)
Because Android apps are designed to run on a specific environment. The Dalvik Virtual Machine provides that environment, regardless of the underlying hardware. It's like having a **time machine** that allows you to run old software on modern devices.
Jimmy thinks about this for a moment.
**JIMMY**
So, it's like playing a classic video game on a new console?
**TIM**
Exactly! The emulator provides a **compatibility layer** that allows the old software to run on the new hardware.
Jimmy nods, finally understanding the concept.
**JIMMY**
(Awe-struck)
That's really cool! I never thought about it like that before.
The Army General smiles, a genuine smile.
**TIM**
It's a fascinating concept, and it has a lot of practical applications. The Dalvik Virtual Machine, or later Android Runtime, is just one example of how emulation can be used to preserve software and enable cross-platform compatibility.
**JIMMY**
(Standing up, giving his dad a big hug, then his mum)
I think I get it now! Thanks, Dad!
**TIM**
(With a knowing wink and a gentle tap on Jimmy's nose)
I hope that helps your Dinobot choices!
Jimmy smiles to himself. He knows that by combining all these elements the **Raspberry Pi**, the **Arduino**, the **Android smartphone processor**, and the carefully chosen programming languages he can create a powerful and versatile autonomous robot hexapod with a full range of
AI abilities. But the programming will take time.
**JIMMY**
(To himself, a determined glint in his eye)
A quiet room for days on end, I'd wager. Blessed tranquility, if only!
>>
SCENE 15


Some
of Jimmy Watson's friends, with the Magic Dinobot
|
SCENE
1 |
Dreaming
about a robot hexapod, Christmas wish |
|
SCENE
2 |
Marion
finds Jimmy's moneybox under carpet floorboards |
|
SCENE
3 |
There
is more
money in his moneybox, than he expected |
|
SCENE
4 |
Johnny
Baxter's (The Johnson) detention, King
Geek and the Geeklets |
|
SCENE
5 |
Jimmy
saves hard for nine months, while programming @ school |
|
SCENE
6 |
Mum
and Dad approve of Jimmy ordering his robot parts |
|
SCENE
7 |
Dad
builds Jimmy a shed for a workshop |
|
SCENE
8 |
Dad's
idea for Chameleon camouflage, invisibility cloak |
|
SCENE
9 |
Jimmy
begins assembling the Dinobot |
|
SCENE
10 |
Dad
buys Jimmy a welder, and teaches him how to use it |
|
SCENE
11 |
Jimmy
installs the electric drive motors |
|
SCENE
12 |
The
copper cable wiring challenge |
|
SCENE
13 |
Raspberry
Pi, Arduino and smart phone
computer micro processors |
|
SCENE
14 |
Coding
software extravaganza |
|
SCENE
15 |
It
moves, the Military review security with the
PM &
Buckingham
Palace |
|
SCENE
16 |
Johnny
breaks into Jimmy's shed with a thug, and gets tazed |
|
SCENE
17 |
Jimmy
uploads AI, GPS and other enhancements |
|
SCENE
18 |
Father
Christmas and the elves in the North Pole |
|
SCENE
19 |
Christmas
Eve, Jimmy retires exhausted |
|
SCENE
20 |
Jimmy
dreams of Santa Claus and his Dinobot coming to life |
|
SCENE
21 |
Christmas
Day, Where is the Dinobot? |

ANTICS
- ARDUINO
- ARMOUR
- ARTWORK
- BLACK
BOX - ELECTRONICS - ENERGY - FRAME
- FORMICARIUM
HEAD - JAWS -
KITS -
LEGS - MECHANICS
- MOTORS -
MOVIE
- RASPBERRY
Pi - R/C DRONE
-
SENTRY
SOFTWARE -
SOUND
PROOFING - SPACE
ROVERS - SPEED -
SUSPENSION - TAIL
- WEAPONS
- WARGAMING
|