Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

chrisly42/Morph-A-Pillar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Morph-A-Pillar - Advanced Hacking of the child's toy Code-A-Pillar

The Morph-A-Pillar code simulates Code-a-Pillar body segments.

Code-a-Pillar is a cute programmable caterpillar robot for sold for 3-6 years old kids.

Picture

This code was inspired by Code-A-Pillar by ffleurey and his reverse engineering efforts!

Check out his stuff, too!

The Code

The sketch can be used to simulate a customizable number of segments, each with its unique feature. I found out several more IDs than those you can buy as expansion pack.

There are also a few part IDs that are actually used for factory testing.

Hardware

The code has been written for attiny85 (8 MHz clock) and uses less than 1.5 KB program code space.

I used a Digispark (clone) PCB that already comes with a USB-A connector that fits directly into the head of the caterpillar. It can be adapted to different microcontrollers and pin-outs by modifying the defines at the top of the file.

Without additional hardware, the Digispark can only be used as last segment (or last N segments). By wiring-up a USB-A female socket and using the optional EN_OUT pin, the module can also be used in between body segments (although this is untested).

The LED on the Digispark is used for error reporting and also simulates the blinking behavior of the segment during use.

Debugging the module really was a PITA :-(

Enjoy and report back what you made out of it.

About

attiny85 (Arduino) Sketch for simulating Code-a-pillar segments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%