I guess then, the sending device is interrupted by the USB routines while sending and as a consequence the transmission of RS-232 at that time is corrupted.
Ioannis
Maybe you can use a small stepper motor with linear motion like the ones on the CD head mechanism?
Like this one...
I've never used those types of switches before. Do you have a link?
I need a latching pushbutton switch to simulate these controls. They have to remain down when pressed ON, and pop out when...
One of the suppliers that had quoted me for that switch with the red shaft has a model with 100gf to operate. The model I am testing now uses 330gf.
It would be easier to use that switch cause I...
Hall effect switch with small magnet or if there is magnetic field around solenoid coil that the hall effect device can sense
amgen Yesterday, 18:36So I have a need to override a pushbutton (from ON to OFF) and came up with this concept; a solenoid piggyback on a pushbutton switch with a 3D printed cap held by a strand of wire.
...
The sending device has the typical 18F4550 USB setup and it is set to "Define OSC 48". The receiving device is set to "DEFINE OSC 16".
rsocor01 - 24th April 2024, 19:56What is the clock of each PIC you use?
Ioannis
There is probably a little bit of both. I did a search in the forum, but couldn't find anyone having the same issue.
rsocor01 - 23rd April 2024, 23:22Qualifying Compiler |
Upgrade Description | |
![]() |
Upgrade PICBASIC PRO (PBP) 2.60 or later to PBP3 Gold Edition | |
![]() |
|
|
![]() |
|
|
![]() |
Upgrade PICBASIC Compiler (PBC) to PBP3 Silver Edition |
Re: SERIN2 Receiving Wrong Data
If you're using interrupts on either end then you shouldn't use SEROUT/SERIN as interrupts will upset the timing.
tumbleweed Today, 13:12You should use the hardware HSEROUT/HSERIN routines, but then you will have to use...