dfrobot leonardo with xbee socket and wifi bee esp v1.0.

userHead fignewton83 2016-02-13 00:30:52 3149 Views3 Replies
I'm not sure how to get this thing working. I don't know how the leonardo communicates with the wifi chip and such. I've read some tutorials but they all involve using an intermediate ftdi usb adapter or breakout board or shield of some type. None of them seem to work with this setup.

How do I get my projects on the internet with this leonardo and wifi module? Are there any good tutorials for this specific combination?

Someone school me up please!
2016-02-16 10:50:55 Hi,

Just want to talk about the AT command that if you don't have the USB adapter, you can try to use the the code below to send AT command through USB port directly! (From: ... _the_Board)

Code: Select all
 * The sketch here will make Leonardo exchange
 * data between the USB serial port and *** module.
void setup() {
  Serial.begin(115200); //initialize Serial(i.e. USB port)
  Serial1.begin(115200); //initialize Serial1
void loop() {
  //If Serial1 receive data, print out to Serial
  while (Serial1.available()) {
  //If Serial receive data, print out to Serial1
  while (Serial.available()) {
  delay(1);  //delay for a short time to
  // avoid unstable USB communication
userHeadPic Leff
2016-02-15 10:21:18 Yes that is the board that I have. And the wifi module is this one: ... sE0ltC1fs8

I have read through the tutorial on the leonardo wiki page. Same with the wiki for the wifi module. Unfortunately I cant get it to work 100% with the examples. For instance, how do I send AT commands to it and receive a response? I've used some sample code and seen output over one of the leonardo's serials. However I dont know how to send the command. I've tried using serial monitor with no luck.

In the end, I need this board/wifi module to be able to remotely receive commands. I need it to be able to shut off some relays mostly. And send some sensor data to a website.
userHeadPic fignewton83
2016-02-14 11:48:25 Hey, thanks for the post

I assume you are talking about DFR0221? Have you checked the product wiki? ... DFR0221%29

What is the intended function of your project?
userHeadPic Maht