Search found 7691 matches

by RogerClark
Fri Feb 23, 2018 8:49 pm
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

I am not sure the USB scanner is a reliable indicator of whether a device is present on the bus. Even with software I2C I had problems with some devices. I would write some test code that reads from the ID register on that device ( or the status register etc) and use a logic analyser to look at the ...
by RogerClark
Fri Feb 23, 2018 5:59 am
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

Wow

Looks a cool analyser.

In similar circumstances I solder some tiny wire to the PCB in order to attach the logic analyser. I normally use "wire wrap" wire but if thats too thick I resort to very thin enameled copper wire
by RogerClark
Fri Feb 23, 2018 4:20 am
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

Hardware is fixed to using specific pins

Software is defaulted to use the same pins but can use any pins

You can't use them both at the same time on the same pins.
by RogerClark
Fri Feb 23, 2018 4:19 am
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

If you don't already have one. Those $10 8 channel logic analysers is almost essential for doing any thing like this, then you can look at the bus timing in detail Search for "logic analyzer 24Mhz 8 channel" on your favorite online shopping site You could potentially try the official STM Arduino cor...
by RogerClark
Fri Feb 23, 2018 1:50 am
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

I'd try a lower pullup.

e.g. 2.2k
by RogerClark
Thu Feb 22, 2018 10:01 pm
Forum: Postbag
Topic: Andy's Postbag and random ebay links
Replies: 161
Views: 6701

Re: Andy's Postbag and random ebay links

:lol: :lol: :lol:
by RogerClark
Thu Feb 22, 2018 9:37 pm
Forum: General discussion
Topic: AC Dimmer
Replies: 51
Views: 1057

Re: AC Dimmer

Roger, your project interests me. My brother has a solar powered water pump system, and often the pump can handle more water than the well can supply. He and I have put it on a timed system, which is working for now, but we would like to detect when it starts pumping air, or even better, when it ge...
by RogerClark
Thu Feb 22, 2018 9:32 pm
Forum: Problems with libraries
Topic: HDC1080 and MS5611 sensors
Replies: 22
Views: 215

Re: HDC1080 and MS5611 sensors

Is the issue the I2C Scanner does not work now, or that this device does not work with Hardware I2C ?? I can't remember what speed the Hardware I2C is set to by default. I'd hope it was 100Khz but it may have been defaulted to 400KHz which may be too fast for this device Also, what value pullups are...
by RogerClark
Wed Feb 21, 2018 11:09 am
Forum: Builds and Announcements
Topic: Optimisation and clock speed menu - enhancements
Replies: 22
Views: 1359

Re: Optimisation and clock speed menu - enhancements

I think to change speed at runtime would require some changes to the code to make F-CPU a variable, because I think at the moment it’s effectively a constant or. Define Btw. I presume you know USB only works at 72 and 48 because of a limitation in the USB PLL divider setting register ( it’s just 1 b...
by RogerClark
Wed Feb 21, 2018 10:15 am
Forum: Off topic
Topic: Any idea what this protocol is ????
Replies: 3
Views: 110

Re: Any idea what this protocol is ????

@Pito Its a Radioddity GD77, which is actually a rebranded TYT MD-760 @Vassilis The cable on the newer radios does not contain a USB to Serial converter like in some older radios. The new generation of radios have USB on the MCU I have a TYT MD-380, which uses a STM32F405 (and uses the USB directly)...