I need software code in C language for PIC24HJ128GP502 to make communicate following:
RN42-i/rm Bluetooth module, which will be later connected to mobile application, and application platform will send few character "M", "AF", "E", and "N". This abbreviation represents the time interval of the day. Once the command is sent, the micro controller will drive this data to normal LCD display, as well as another message that "pill is ready to take". At the same time It will turn on the LED(Green) for 1 minutes or RED for not taking pill. It will also provide signal to solenoid to eject the pill from pill box. If the pill is not taken in 1 minutes, it will send msg back to the application on mobile device that the pill is missed. After doing this, micro controller should keep checking for the bluetooth signal 24*7 and do its work as described previously.
I would like to have source code, to make it run on MPLAB, block diagram for connections, as well as the short video showing the connection and working of the project.
Requirement: Urgent, asap.
List of parts:
Red and green LED, Solenoid([login to view URL]), RN42-i/rm Bluetooth module([login to view URL]), Microcontroller PIC24HJ128GP502
RN42 is costly why don't you prefer some cheaper BT module. I have experience in Arduino and PIC family.
I you want to control over BT , you can use Arduino with HC-05/06 but only if you want to tranceive the mp3/audio over BT then use RN42. But if you require audio streaming I'll suggest you some cheaper option.
Happy chatting
hi, i have good experience in pic devices. like pic 32 , pic16, pic8 series. i worked with CAN, SPI and uart in these devices. and i saw datasheet of Bluetooth which has uart interface for data communication. so, allow me to do you work. i also worked with one module in which it has wifi mode for data transfer. so this is the same kind of stuff. also i am familiar with mplab and its library.
Hi
I have very good experience in SCADA/PLC Programmer, Development, Testing in Industrial Automation Fields, and Implementation of Various PLC/SCADA/Embedded based Applications products,
If my profile suits for your requirement, please let me know
Looking forward to work with you
thanks
Ramkumar