My main problem is to reduce the power consumption of the HC-05 Bluetooth module. As it may be known, such a module consumes lower and lower energy when it is in the AT Command Mode (between 1.5 and 3 mA current). Since my project requires sending real time data that change every 15seconds, I want to keep the module in the AT command mode in the 15seconds that the HC-05 don't receive any data. I obviously believe that this kind of idea/solution will dramatically save the energy of the module. In other words, instead of keeping the module in data mode permanently, it will be set in data mode during 15seconds, and in AT command mode during 15seconds, after that it returns to the data mode and still 15seconds etc... I want to know is there any solution for that ? For example writing a bunch of C code (since my Hc-05 is directly connected to an STM32 board) to pass for the AT commande mode every 15seconds Thanks in advance.
Pass from HC-05 Data Mode to HC-05 AT Command mode by writing some bunch of code
146 Views Asked by falcon_977 At
1
There are 1 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in STM32
- STM32F303VC : device not found
- Very few write cycles in stm32f4
- Put a bootloader program at the bottom of the FLASH memory
- STM32 USB HID reports
- STM32 flashing disabled after flashing a code without R/W protection
- How can I align stack to the end of SRAM?
- STM32 I-CODE and D-CODE buses
- how to use arm-none-eabi-gcc compile STM32 program
- Write a custom bootloader with the STM32L1 series in C
- What are the steps to setup an RTOS application on STM32 using Linux and Makefiles instead of using Windows based IDEs?
- Loosing some bytes on USART transmission with STM32L1XX
- my bootloader doesn't boot my new program on stm32
- Using printf causes error
- Estimating available RAM left with safety margin in C (STM32F4)
- Flashing image to STM3220g-EVAL board using Trace 32
Related Questions in STM32CUBEIDE
- STM32F4 ADC Multimode with Master being triggered by timer
- Why are there 2 generated linker scripts by STM32CubeIDE?
- Came up with an "Unable to stat debugging" error when Debug program for STM32 NUCLEOF103RB
- STM32F4 Uart data forwarding uses DMA and packet loss occurs
- STM32 controller hangs when USB is not connected
- STM32 Flash Erase Fails with "Programming Size Error" and "Programming Alignment Error"
- STMCubeIDE how to change the order of the includes
- what is pData in HAL_IM_IC_START_DMA?
- Extremely Simple Program Won't Compile
- Converting u8_t to JSON and manipulate data, in C
- Creating an Array and filling it with ADC values - STM32L476G
- write to SDRAM in STM32f7xxx
- cubeIDE (eclips) project importer not working
- How to create an interrupt divider using a DMAMUX on STM32 MCUs
- There was a problem during the compilation process of my STM32 Project
Related Questions in HC-05
- BluetoothCtl pairing with pin using python subprocess on Raspberry Pi
- my bluetooth controlled mouse arduino project is not working
- STM32 SD Card (SPI) is not writing in an interrupt
- How to get the port for HC-05 Module on macOS
- Arduino Uno and HC-05: Not showing any output on serial monitor
- How to pair bluetooth HC-05 module to a website
- How to swap HC-05 bluetooth module out of COMMAND mode and into DATA mode
- Is there a way to tell the azsphere cli to use a specific com port?
- Parsing char array to integer, atoi() returns squares
- Trying to understand data transfer behaviour (lag) on a BlueTooth connection using an HC-05 board (connected to an Arduino)
- Issue with Interfacing atmega328p with Bluetooth
- HC-05 Module sending data problem (Mater + Slave)
- Data received by my HC-05/Arduino Uno from MATLAB Bluetooth is in a strange format or the setup is incorrect
- Why are there two Standard Serial over Bluetooth links in HC-05?
- Pass from HC-05 Data Mode to HC-05 AT Command mode by writing some bunch of code
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
In the absence of any sample code, the answer to your only explicit question
is, "Yes."