Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi,
Here is worked example where we send and read data from ModBus Energy Meter using USB<>RS485 adapter:
**broken link removed**
Hope this help you.
Regards
KMtonic
Hi,
Normal state RTS pin is low state: -12Volts
When you use command:
serialport.RTSEnable = true;
it go to high state: +12Volts
I recommend you to use USB<>RS485 adapter with FTDI chip because it automatic switch Transmit/Receiving pin and you no need to control it.
Here is such adapter...
Hi,
Here is simple VB NET software for control USB Relay incl. source code
**broken link removed**
**broken link removed**
Source code:
**broken link removed**
pic18f4550 usb project
Hi carrie,
I think (but no sure) that for "USB not recognized" problem is not guilty driver.
This means that there is hardware problem.
When I program PIC without Config Bits Windows show "USB not recognized".
After program PIC as must – Windows show “Found New Hardware”...
pic18f4550
After I found out one article regarding USB functions of PIC18F4550, I have decided to devote some time for experiments.
At the beginning I took the necessary elements:
1 pc Universal board
1 pc. PIC18F4550
1 pc. 40PIN Socet
1 pc 20MHz Crystal
1 pc USB Connector
1 pc. 470nF...
Re: V basic RS232
Hi,
I have this Visual Basic 6 code who send in HEX 'FF 01 00' and 'FF 01 01' to RS232. Hope this help you.
Private Sub cmdOff_Click()
With MSComm1
'make sure the serial port is open
If .PortOpen = False Then .PortOpen = True
'send the data
.Output = Chr$(255)...
Hello,
I have this Visual Basec 6 code:
--------
Private Sub cmdOff_Click()
With MSComm1
'make sure the serial port is open
If .PortOpen = False Then .PortOpen = True
'send the data
.Output = Chr$(255)
.Output = Chr$(1)
.Output = Chr$(0)
End With 'MSComm1
End Sub
Private Sub cmdOn_Click()
With...
attiny projects
Hi,
I develop for one my project board with Attiny2313. This board have one relay and two inputs. I use for control some sewing-machines.
When develop I add some connectors what I don't use in this project. Board have connector for RS232 (VCC, GND, TX and RX) and connector...
at commands mcu
Hi seadolphine2000,
I use this C+ code to call to one number.
I using PIC16F877 and Siemens :
printf("AT");
delay_ms(500);
printf("D+359xxxxxxxxxL;");
"+359" is country code.
"xxxxxxxxxx" is number
Kuzito
atmega 24c16
Hello all,
Im beginner and try to connect I2C 8bit serial eeproms 24C02 and 24C16 to ATMEGA16.
There is code and work great with 24C02 because this eeprom have addresses from 0x00 to 0xFF.
#define EEPROM_BUS_ADDRESS 0xa0
eeprom_read_8bit(unsigned char address)
{
i2c_start()...
Re: small serial port project, and hello from a new member :
Hi and excuse fo my bad english,
I try to run similar project including PIC16F874 , MAX232 RS to TTL convertor and simple software to control 8 outputs with relays.
**broken link removed**
I send via Windows Terminal or this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.