Hi all!
I made a board based in Arduino and some other designs with an Atmega328P U-TH and a USB type C with the serial CH340P.
The first problem I have is that I can't upload code thru the USB, even tho my computer recognizes the port and the ch340p (so no problem with drivers).
I managed to upload the "Blink" sketch with a Polulu programer thru ISP and Arduino IDE.
The second problem comes when I try to use a Bluetooth module. I use a DSD module (SH-HC-08) and some apps (Serial Bluetooth Terminal and LightBlue). The Bluetooth can receive data but not send it. For example, I can turn on a led typing "1" in Serial Monitor and the app receive it, but if I type it in the app, nothing happens.
I have tried connecting the Bluetooth with external power. It could be the RX pin so I used SoftwareSerial.h with no luck.
I have attached the PCB schematic, the code used and what I see in the app Serial Bluetooth Terminal.
The Bluetooth connections are:
VCC --> 3.3V
GND --> GND
TXD --> RXI
RXD --> TXO
I made a board based in Arduino and some other designs with an Atmega328P U-TH and a USB type C with the serial CH340P.
The first problem I have is that I can't upload code thru the USB, even tho my computer recognizes the port and the ch340p (so no problem with drivers).
I managed to upload the "Blink" sketch with a Polulu programer thru ISP and Arduino IDE.
The second problem comes when I try to use a Bluetooth module. I use a DSD module (SH-HC-08) and some apps (Serial Bluetooth Terminal and LightBlue). The Bluetooth can receive data but not send it. For example, I can turn on a led typing "1" in Serial Monitor and the app receive it, but if I type it in the app, nothing happens.
I have tried connecting the Bluetooth with external power. It could be the RX pin so I used SoftwareSerial.h with no luck.
I have attached the PCB schematic, the code used and what I see in the app Serial Bluetooth Terminal.
The Bluetooth connections are:
VCC --> 3.3V
GND --> GND
TXD --> RXI
RXD --> TXO
Attachments
-
180.1 KB Views: 9
-
20.7 KB Views: 3
-
724 bytes Views: 6
Last edited: