We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
posted on 2016/04/11 09:26:29 PM CEST
Have an Arduino Mega 2560 with the MikroBus click shield attached. 4-20mA T Click in slot 1, OLED B Click in Slot 2, and RS485 in slot 3.
I would like to have this Arduino send a query string through the RS485 and parse the response string into variables. These variables would be displayed on the OLED B Click and transmitted through the 4-20mA current loop. Documentation and examples for the Arduino IDE are pretty slim at the moment.
Willing to pay for code.
posted on 2016/03/21 03:36:12 PM CET
can any one help with code density based traffic light system using pic16f877a if i need pay i will do that
posted on 2016/03/04 09:36:46 AM CET
hi, am doing final year project on rfid access control. i have this code that i wrote but it keeps displaying weird characters on my lcd. please i need help. Thanks. I use PIC 18F45K22
// LCD module connections
sbit LCD_RS at RB4_bit;
sbit LCD_EN at RB5_bit;
sbit LCD_D4 at RB0_bit;
sbit LCD_D5 at RB1_bit;
sbit LCD_D6 at RB2_bit;
sbit LCD_D7 at RB3_bit;
sbit LCD_RS_Direction at TRISB4_bit;
sbit LCD_EN_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB0_bit;
sbit LCD_D5_Direction at TRISB1_bit;
sbit LCD_D6_Direction at TRISB2_bit;
sbit LCD_D7_Direction at TRISB3_bit;
// End LCD module connections
char i,rfid[13] ;
char rfid2[] = "0123456789123" ;
int count = 0;
void main()
{
ANSELB = 0;
ANSELD = 0;
ANSELC = 0;
Lcd_Init(); // Initialize LCD
Lcd_Cmd(_LCD_CLEAR); // Clear display
Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
//Lcd_Out(1,1,"RFID Tag Reader"); // Write text in first row
UART2_Init(9600);
rfid[12] = '\0';
while(1)
{
if(UART2_Data_Ready())
{
for(i=0;i<12;)
{
if(UART2_Data_Ready())
{
rfid[i] = UART2_Read();
i++;
}
}
Lcd_Out(1,1,rfid);
if(!strcmp(rfid,rfid2)){
Lcd_Out(2,1,"ACCESS GRANTED");
delay_ms(1000);
Lcd_Cmd(_LCD_CLEAR);
//Lcd_Out(1,1,"RFID Tag Reader");
}
else {
Lcd_Out(2,1, "ACCESS DENIED");
delay_ms(1000);
Lcd_Cmd(_LCD_CLEAR);
//Lcd_Out(1,1,"RFID Tag Reader");
}
}
}
}
posted on 2016/02/22 06:27:17 PM CET
posted on 2016/02/22 01:37:17 PM CET
Hi
I am looking for code that will blink an LED on RB0 at 7.9hz. I would relay appreciate any help with this project.
Kind Reagrds