276°
Posted 20 hours ago

Disney Pixar Hello Wall-E

£9.9£99Clearance
ZTS2023's avatar
Shared by
ZTS2023
Joined in 2023
82
63

About this deal

first you need to include 1Shield library and define the shields you are going to use, you can know more about this from 1shield examples. (x != 72 )

The code was developed using PlatformIO. It should be able to compile in the Arduino IDE, probably with a few modifications (lib path, sketch filename, etc.) is multi sheelds, you can connect it with your phone throw bluetooth and then you can access all your mobile sensors. Firstly you should get the numbers for each button you are going to use in your mobile app, that TX is sending from bluetooth module to RX of Arduino.

For talking with Wall-E there is two things, first how could Wall-E hear and understand our voices and how he would reply on us!! Start the loop code with if condition for start reading the incoming serial from the Bluetooth module throw RX on Arduino. !strcmp(NameTwo,VoiceRecognition.getLastCommand()) This code is designed with output serial data to Processing sketch "PulseSensorAmped_Processing-xx" VARIABLES 34int pulsePin = 0 ; // Pulse Sensor purple wire connected to analog pin 0 35int blinkPin = 13 ; // pin to blink led at each beat 36int fadePin = 5 ; // pin to do fancy classy fading blink at each beat 37int fadeRate = 0 ; // used to fade LED on with PWM on fadePin 38 39 40 // these variables are volatile because they are used during the interrupt service routine! 41volatile int BPM ; // used to hold the pulse rate 42volatile int Signal ; // holds the incoming raw data 43volatile int IBI = 600 ; // holds the time between beats, the Inter-Beat Interval 44volatile boolean Pulse = false ; // true when pulse wave is high, false when it's low 45volatile boolean QS = false ; // becomes true when Arduoino finds a beat. 46 47 48 void setup ( ) { 49 pinMode (blinkPin , OUTPUT ) ; // pin that will blink to your heartbeat! 50 pinMode (fadePin , OUTPUT ) ; // pin that will fade to your heartbeat! 51 Serial . begin ( 115200 ) ; // we agree to talk fast! 52 interruptSetup ( ) ; // sets up to read Pulse Sensor signal every 2mS 53 // UN-COMMENT THE NEXT LINE IF YOU ARE POWERING The Pulse Sensor AT LOW VOLTAGE, 54 // AND APPLY THAT VOLTAGE TO THE A-REF PIN 55 //analogReference(EXTERNAL); 56 } 57 58 59 60 void loop ( ) { 61 sendDataToProcessing ( 'S' , Signal ) ; // send Processing the raw Pulse Sensor data 62 if ( QS == true ) { // Quantified Self flag is true when arduino finds a heartbeat 63 fadeRate = 255 ; // Set 'fadeRate' Variable to 255 to fade LED with pulse 64 sendDataToProcessing ( 'B' , BPM ) ; // send heart rate with a 'B' prefix 65 sendDataToProcessing ( 'Q' , IBI ) ; // send time between beats with a 'Q' prefix 66 QS = false ; // reset the Quantified Self flag for next time 67 } 68 69 ledFadeToBeat ( ) ; 70 71 delay ( 20 ) ; // take a break 72 } 73 74 75 void ledFadeToBeat ( ) { 76 fadeRate -= 15 ; // set LED fade value 77 fadeRate = constrain (fadeRate , 0 , 255 ) ; // keep LED fade value from going into negative numbers! 78 analogWrite (fadePin ,fadeRate ) ; // fade LED 79 } 80 81 82 void sendDataToProcessing ( char symbol , int data ) { 83 Serial . print (symbol ) ; // symbol prefix tells Processing what type of data is coming 84 Serial . println (data ) ; // the data to send culminating in a carriage return 85 } 86 87 88 89 90 91 92 93

The camera mount point is a bit too high though, or viewing angle too narrow, for obstacle avoidance.See in the picture above, only top half of the right hand is visible in the camera feed. I'll have to try with a fish-eye lens. Makes a great gift for kids and fans 4 years and older, who will love engaging and playing with this best friend robot. This change of mind return policy is in addition to, and does not affect your rights under the Australian Consumer Law including any rights you may have in respect of faulty items. To return faulty items see our Returning Faulty Items policy. !strcmp(EvaTwo,VoiceRecognition.getLastCommand()) Additionally, Ithink a minor redesign of the head might allow to hide another ESP32-CAM module inside the head, and have another video stream directly from the eye (that is, with the head pan/tilt movements).Stop moving. 40 void Stop ( ) { 41 digitalWrite (MOTORright_RELAY1 , HIGH ) ; 42 digitalWrite (MOTORright_RELAY2 , HIGH ) ; 43 digitalWrite (MOTORleft_RELAY1 , HIGH ) ; 44 digitalWrite (MOTORleft_RELAY2 , HIGH ) ; } 45 46 //Move rirht arm Up. 47 void upright ( ) { 48 digitalWrite (MOTORright_RELAY1 , LOW ) ; 49 digitalWrite (MOTORright_RELAY2 , HIGH ) ; } 50 51 //Move rirht arm Down. 52 void downright ( ) { 53 digitalWrite (MOTORright_RELAY1 , HIGH ) ; 54 digitalWrite (MOTORright_RELAY2 , LOW ) ; } 55 56 //Move left arm Up. 57 void upleft ( ) { 58 digitalWrite ( MOTORleft_RELAY1 , LOW ) ; 59 digitalWrite ( MOTORleft_RELAY2 , HIGH ) ; } 60 61 //Move left arm Down. 62 void downleft ( ) { 63 digitalWrite ( MOTORleft_RELAY1 , HIGH ) ; 64 digitalWrite ( MOTORleft_RELAY2 , LOW ) ; } 65 66 void setup ( ) { 67 //begin he serial connection between the Arduino and Bluetooth module. 68 Serial . begin ( 9600 ) ; 69 HC05 . begin ( 9600 ) ; 70 71 //Define the Relays pins as Output. 72 pinMode ( A1 , OUTPUT ) ; 73 pinMode ( A2 , OUTPUT ) ; 74 pinMode ( A3 , OUTPUT ) ; 75 pinMode ( A4 , OUTPUT ) ; 76 //Define the Relays pins as High in the beginning of the code. 77 digitalWrite ( A1 , HIGH ) ; 78 digitalWrite ( A2 , HIGH ) ; 79 digitalWrite ( A3 , HIGH ) ; 80 digitalWrite ( A4 , HIGH ) ; } 81 82 void loop ( ) { 83 /*Start the loop code with if condition for start reading the incoming serial from the Bluetooth module throw RX on Arduino. This update changes the HRV variable name to IBI, which stands for Inter-Beat Interval, for clarity. During start-up, the ESP8266 shows a typical Wall-E boot screen on the OLED screen, and briefly moves the actuators. This serves as both self-test, and as an audible notification when a unintended reset occurs. if ( HC05 . available ( ) ) { 87 x = HC05 . read ( ) ; } 88 if (x == 73 ) { 89 Serial . println (x ) ; 90 upleft ( ) ; } 91 else if (x == 74 ) { 92 downleft ( ) ; 93 Serial . println (x ) ; } 94 else if (x == 71 ) { 95 upright ( ) ; 96 Serial . println (x ) ; } 97 else if (x == 72 ) { 98 downright ( ) ; 99 Serial . println (x ) ; } 100 else if ( (x != 73 ) WALLE stands approximately 9.5 inches (24 cm) tall and features a true-to-movie design that fans will love!

Asda Great Deal

Free UK shipping. 15 day free returns.
Community Updates
*So you can easily identify outgoing links on our site, we've marked them with an "*" symbol. Links on our site are monetised, but this never affects which deals get posted. Find more info in our FAQs and About Us page.
New Comment