Learn how to dress up Bittle and program it to play Halloween comics Story Hi there, It's been two years since our launch of the . For the Halloween celebration, I made a horror comic clip with Bittle. You may check out the final cut and read the following tutorial to make your Petoi robots play like a pro. Bittle robot dog, a programmable robot kit https://www.youtube.com/watch?v=53airP7kKd4?embedable=true Idea The idea comes from many cute animal videos that dress dogs/cats in costumes. I have both handy. Since their leg structures are very similar to the real ones, I think it would be funny to dress them up. However, the robots are about 15cm in body length, so I adjusted a lot to fit them into the tiniest costumes for real pets. the Bittle dog and Nybble cat robots Hardware I have printed a pumpkin cat head before, but the seems deleted. You may find some variants or design your own. original Thingiverse design file I ODMed some ultrasonic sensors with RGB LEDs. It has three WS2812 RGB LEDs in each column. They can be programmed as blinking eyes using the . Adafruit NeoPixel library I inserted the ultrasonic sensor into the pumpkin head. I also glued a small plastic block between the pumpkin and Bittle's head to raise the pumpkin above the tall collar. Now the main character is ready to go. Storyline I need to add some dramatic storylines to make the simple movements less boring. I have some anatomy models for reference when designing bionic robots. They happen to fit the Halloween theme perfectly. They also look pretty creepy. The assassin (Bittle) should get shocked when facing his mighty victim. I glued a small magnet to the assassin's hand to make the dagger detachable. The magnet's strength is tuned by a thin layer of hot glue so that the dagger will drop with a moderate shock. I will also utilize the built-in behavior "check-around" and "backflip" to make the assassin observe the surroundings and jump backward when shocked. Software Over the past years, I've optimized the software to make it user-friendly. I only need to uncomment the macro definition to activate the LEDs on the ultrasonic sensor. OpenCat I need to disable the distance measuring function to stop the robot from automatic reactions. The basic Arduino code defines the instinctive motions and reactions of the robot. It's pretty encapsulated so that users don't need to worry about the tedious hardware details of a complex robot. A set of top-level can control it through the serial port. string commands I used the to create and preview a new jump behavior. Below are two demos showing how the Skill Composer works. Skill Composer I used a Mac to create a and align all the events in order. You can read it like a regular play script. Python script The script is executed in the terminal by . It will send queries to all the existing serial ports in parallel, decide if a serial port is connected to a Petoi robot, and then send the tasks over the serial port. The serial port can be wired or wireless connection. For the video, I used the Bluetooth dongle to eliminate the wires. python3 hlw.py After the workflow is well-tuned, I can make Bittle repeatedly play the sequences and shoot videos from different perspectives with a single camera. Bittle is the most patient actor and only complained about a low battery once! I shot about 4 hours to collect all media resources. It took about 20 tries to get the dagger to drop in the best direction. The post-editing took more time to search for the proper licensed BGM, clip the appropriate time window, align the soundtrack with motion, and make other tedious adjustments to achieve the best results. Result The final video (at the beginning of this post) turned out cinematic. My friends loved it, and I even got likes from a few professional film directors. They want to use Nybble or Bittle as the hero in their movies. Below is another story between the Nybble cat and Sox. It may look like a waste of time to make a short video. However, I think it's a good demo to show how much we have improved the user interface of OpenCat robots. We have made the V1_2 and V0 fully functional and open-sourced their codes on . Arduino Uno-based NyBoard ESP32-based BiBoard GitHub We have improved the code structure and unified the Arduino motion code for Nybble, Bittle, and a coming 12 DoF model. And the and share the same code structure. Uno version ESP32 version Above the motion base, we have implemented high-level controllers in and on Mac, Windows, and Linux. It can upload firmware, calibrate the joints, and design skills. New skills developed by the Skill Composer or simulation can be sent over to the robot in real-time to test their performance in reality. Gymnastic motions such as climbing upside down and rolling on a high bar can be developed with a few clicks in less than an hour. Python script Tinker GUI We developed a for iOS and Android. It allows programmable buttons to configure and control the robot for competitions. smartphone app We also implemented a package (to be translated) that turns the WiFi dongle into a minimal standalone master computer. It also allows group control for multiple robots. micro-python We have made brief tutorials on and integration with the Petoi robots. Raspberry Pi ROS We keep revising the and adding to improve the user experience. documentation center tutorial videos We developed an introductory C++ curriculum based on Bittle. We also improved the components and packaging a few times since our initial launch. We now offer and to simplify the building and coding experiences. various kits with pre-assembled components fully pre-assembled and tuned robots So far, we have sold about 10, 000 Petoi robots worldwide through our and . The users' feedback is vital for product quality and features iteration. Technology is only valuable when the general public other than its inventor can benefit from it. That's why I've been spending a lot of time polishing the boring bits of the released products. With the fundamental toolchain built during these two years, I hope more users can make full use of their Petoi robots. I look forward to more creative projects on ! online store Amazon our forum ~~ Rz and the Petoi Team Also published . here