Go to advanced search

by crastinblack
Wed Nov 15, 2017 1:04 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi3 as serial host - strange data received from scanner
Replies: 5
Views: 1062

Re: Pi3 as serial host - strange data received from scanner

Roger that, thanks for the reply :) I think the baud rate is fine because I took my Python program to grab serial data and ran it on on the Windows PC (only changing the name of the device to 'COM2' and I received the correct characters. The Python program opens the port at 9600baud. This leaves onl...
by crastinblack
Tue Nov 14, 2017 6:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi3 as serial host - strange data received from scanner
Replies: 5
Views: 1062

Re: Pi3 as serial host - strange data received from scanner

https://snag.gy/byWIdF.jpg This is what I get when I plug the scanner into the serial port on my PC. Exactly the data that I expect (along with the packet encapsulation). I now think that I'll have to do some signal inversion for when I plug the scanner into my Pi3. This Sparkfun article says that ...
by crastinblack
Mon Nov 13, 2017 5:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi3 as serial host - strange data received from scanner
Replies: 5
Views: 1062

Re: Pi3 as serial host - strange data received from scanner

OK, I've given up with the raw ASCII data approach and switched the barcode reader into packet mode which encapsulates all data it sends into packets. It seems to be giving me an output that I can now work with. My barcode /A0995 now reads z\x06\xff\xfd \xa1}\x9f\x8d\x8d\x95 \x05\x8b\x00 Green being...
by crastinblack
Mon Nov 13, 2017 1:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Pi3 as serial host - strange data received from scanner
Replies: 5
Views: 1062

Pi3 as serial host - strange data received from scanner

TLDR; when I use my barcode scanner on my PC I get /A0995 :) but when I use it on the Pi3 I get b'h_\xd6\xd6V\x06\x00' :? Hi all, I'm trying to interface my barcode scanner with my pi3. It runs on the serial port. Testing it on my Windows PC through a terminal window to the COM port, when I scan my ...
by crastinblack
Mon Aug 06, 2012 9:12 am
Forum: General discussion
Topic: Powered USB Hub?
Replies: 5
Views: 1686

Re: Powered USB Hub?

Hi, interesting thread - this is exactly what I'm after.

I'm looking to buy a powered USB hub to power my RPi. I see that you've verified that your hubs can provide enough power for the RPi, might I ask what the model numbers are of your hubs please?

Many thanks,

Richard

Go to advanced search