![]() ![]() ![]() ![]() ![]() Alan numitron clock Clapclap 2313/1386 SNES Pi Webserver USB Volume/USB toys Smokey amp Laser cutter WordClock ardReveil v3 SNES Arcade cabinet Game boy projects cameleon Home Presence Detector ![]() AlanFromJapan ![]() ![]() ![]() Akizukidenshi Elec-lab Rand Nerd Tut EEVblog SpritesMods AvrFreaks Gameboy Dev FLOZz' blog Switch-science Sparkfun Suzusho Datasheet Lib Reddit Elec Ermicro Carnet du maker (fr) |
ardTouch codesLast update: Thu Jun 5 22:25:40 2025
(back to the ardTouch main page)
ardTouch codesSchema![]() Abbreviations I will use:
SummaryLike a iPh0ne/iP0d (no I don't have neither want one), the touch-sensitive display shows many buttons that when pressed, will send a message to the pc and do some action (run program, change volume, format hard-drive, ...). Each button on the display has a unique code associated that will be intepreted by the pc.That project has 2 distincts sides :
CommunicationsPC <-> Arduino 2009Communication done by ARCPO packages, both ways :
NB: for now, I limited the unique code of the "keys" on TS to be 1 char. Still gives 256 possibilities, but it's not that fantastic however. This is one thing that has high chance to change in the future. Arduino 2009 <-> TouchSlideCommunication done by "simple" serial characters send/receive, both ways :
Q: Why not implementing also the ARCPO packages stuff between Ard2009 and TS ? A: Because for now that library uses the Serial object, but between the Ard2009 and the TS it is Software serial ! (ard2009 side at least). I need to rewrite this and then I'll 100% sure implement it. But since for now there is no need, let's live like that some time... The Arduino sideCode is very short and simple :
Ideally, the ard2009 could do more thing, like read the temperature, read buttons, make funky rgb mood color, ... but I have not implemented that yet. It is here for comfort and make future evolutions easy. I develop it on the official Arduino software because it seems the gadget stuff don't work well on my pc. Except that, no mystical reason involved. The TouchShield Slide sideThe big part. It makes extensive use of the TouchSlideExt library so check for this on that site.
The PC side-> See ardTouchConnector <- |
||||
All content on this site is shared under the MIT licence (do what u want, don't sue me, hat tip appreciated) electrogeek.tokyo ~ Formerly known as Kalshagar.wikispaces.com and electrogeek.cc (AlanFromJapan [2009 - 2025]) |