View previous topic :: View next topic |
Author |
Message |
O-Family
Joined: 23 May 2010 Posts: 309 Location: Japan

|
Posted: Mon Feb 10, 2020 2:20 am Post subject: DDS AD9833 Controller for Arduino LCD Keypad Shield. |
|
|
Analog Devices AD9833 is controlled by Arduino LCD Keypad Shield.
The connection to the DDS module is made up of two power lines and three SPI interfaces.
Circuit diagram
https://drive.google.com/open?id=1JXYliu83b2AujtUyNUQxdRVs0yE652_f
Operate using the character LCD and key switch mounted on the “LCD Keypad Shield” board.
Move the setting cursor displayed at the bottom of the LCD to set the output waveform and frequency.
The operation method of the key switch is described in the following "Operation Manual".
https://drive.google.com/open?id=1esjkVThUk-4vaVL1UG9J_TNtK0uRFcV8 |
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 5686 Location: Holland

|
Posted: Mon Feb 10, 2020 10:47 am Post subject: |
|
|
Hello O-Family
Thank you for sharing your project.
The circuit and instruction pdfs are very clear. While your code is easy to read, i thank you for taking the time to make the operating manual. There are many options and this is very convenient  _________________ Mark |
|
Back to top |
|
 |
O-Family
Joined: 23 May 2010 Posts: 309 Location: Japan

|
|
Back to top |
|
 |
albertsm
Joined: 09 Apr 2004 Posts: 5686 Location: Holland

|
Posted: Fri Feb 14, 2020 3:28 pm Post subject: |
|
|
an excellent addition.
Do you have a link for the second board? Where to purchase i mean. _________________ Mark |
|
Back to top |
|
 |
Plons
Joined: 24 May 2005 Posts: 434 Location: Hilversum - The Netherlands

|
|
Back to top |
|
 |
O-Family
Joined: 23 May 2010 Posts: 309 Location: Japan

|
|
Back to top |
|
 |
O-Family
Joined: 23 May 2010 Posts: 309 Location: Japan

|
|
Back to top |
|
 |
matjazs
Joined: 08 Nov 2016 Posts: 67
|
Posted: Thu Apr 29, 2021 4:00 pm Post subject: |
|
|
Hello.
O-Family, I upgraded your project AD9833 that works paralell with your and GUI-O application on Smart phone.
All details (*.BAS code, Schematic, Pictures) are in attach.
https://www.youtube.com/watch?v=8iPABwZyiAc
www.gui-o.com
Regards, MS |
|
Back to top |
|
 |
O-Family
Joined: 23 May 2010 Posts: 309 Location: Japan

|
Posted: Fri Apr 30, 2021 12:36 am Post subject: |
|
|
Hi, matjazs
Great project!
I am also very interested in controlling from a smartphone.
It was a very good reference. |
|
Back to top |
|
 |
matjazs
Joined: 08 Nov 2016 Posts: 67
|
Posted: Fri Apr 30, 2021 10:30 pm Post subject: |
|
|
Yes, it is very easy to program.
GUI-O is a universal application and there is no need to do anything on the Android device site.
You just select an object, give it a unique name, assign it an X and Y position on the screen and that's it.
In the opposite direction, you read the unique name and value that follows it.
f.e. @ bt1 1 (button named bt1 that sends the value 1)
The delimiter between the parameters can be a space or a comma. |
|
Back to top |
|
 |
bellon
Joined: 01 Mar 2019 Posts: 31

|
Posted: Fri Jan 27, 2023 4:47 pm Post subject: |
|
|
hello O-family,
I want to use an arduino NANO card and the programming language and BASCOM (and not ARDUINO IDE) my NANO card is connected with a wiffi esp8266 or HC06 module to communicate with the GUI-O application which is on my phone. So far I communicate with my phone using Gui-O live designer (TCP-IP) and it works fine. The next step is to connect ESP or HC06 with my phone. What is the procedure for this? Is it enough to use the "Quick pair" function on the GUI-O application or I missed a step!
Thanks for your help |
|
Back to top |
|
 |
matjazs
Joined: 08 Nov 2016 Posts: 67
|
Posted: Mon Jan 30, 2023 9:49 am Post subject: |
|
|
You can use the following methods to connect your device to your phone:
- Bluetooth module HC06
nothing to do here, just connect HC06 to Tx or RX pin of Nano. (Pay attention to the baudrate setting)
- ESP8266 module
you can do as described here
https://www.mcselec.com/index2.php?option=com_forum&Itemid=59&page=viewtopic&t=15115
You only need the Arduino IDE to prepare the ESP module. After you simple replace HC06 modul with ESP8266. Use Bascom after this on your Arduino Nano board.
Be careful when programming the Arduino Nano with the bootloader that the Rx and Tx pin is disconnected from the HC06 or Wemos D1 during programming!!
(Nano Bootloader use the same port RxTx)
A wiring diagram and brief instructions are attached. |
|
Back to top |
|
 |
bellon
Joined: 01 Mar 2019 Posts: 31

|
Posted: Wed Feb 01, 2023 9:04 pm Post subject: |
|
|
Hello Matjaz,
Thank you for all your explanations, now I communicate with my phone via Bluetooth. I have another question, in my application. I use a graph. If my software (bascom) sends him the command:
Print "@ch0 PLI:'pl0' PLC:'#6d9dc5' YP:'28' XP:'0' " (28 is a constant) the graph works very well!
but I would like to send it a variable (byte , string, single) my command is as follows: Print "@ch0 PLI:'pl0' PLC:'#6d9dc5' YP: " ; Humidity ; " XP:'0' " ( in this case, Humidity is a variable byte ) and the app (GUI-O) on my phone gives me an error : "Number of parameters mismatch error (ch0) "
I tried many possibilities but without success! do you have an idea ?
Bernard |
|
Back to top |
|
 |
bellon
Joined: 01 Mar 2019 Posts: 31

|
Posted: Thu Feb 02, 2023 3:02 pm Post subject: |
|
|
Hello Matjaz
Finally I found the correct command to update the graph, it is: "@ch0 PLI:'pl0' PLC:'#fc0000' YP:"; Temperature ; "XP:'0'"
thank you for your excellent tutorial!
Bernard |
|
Back to top |
|
 |
matjazs
Joined: 08 Nov 2016 Posts: 67
|
|
Back to top |
|
 |
|