I’m trying to get started with the CactusMicro Rev2. I downloaded the attached serial monitor sketch from Github, thinking that I would talk to the wifi chip via the IDE’s serial monitor.
When the project starts, I get the “Hello Cactus Micro!” line on the serial monitor, but then wrong things happen. I get red errors in the lower part of the IDE. Also, the serial port disconnects (the Cactus is on COM20). It also seems to create a second port (COM21).
I have the IDE set up on COM20 (the correct Cactus port), with board type of Lilypad Arduino USB.
All I want to do at this point is to be able to type AT commands into the Serial Monitor (on COM20 I guess) and see the results in the serial monitor.
I tried this on another development machine using the very latest Arduino IDE, and after the “Hello Cactus Micro!” I get some random characters - almost like the Baud rate is wrong - but it wouldn’t be the case since I get the “Hello…”.
Can anyone point me to a sketch that I can download and just talk to the Cactus’s wifi chip using AT commands and see it’s responses? Or tell me what I’m doing wrong?
I’m also a little confused about the two ports. I can understand that there’s a second internal serial connection going on (between the ATmega chip and the ESP8266 wifi chip. But it seems like that’s somehow getting exposed on the USB connection?
CactusMicro_Serial_Monitor.ino (603 Bytes)