Show more

Now we shall mod (Scratch) ... So that it generates the Blinky code ... Without us typing a single Lisp Parenthesis! (°-°)

github.com/AppKaki/blockly-uli

Show thread

(Scratch) needs a Code Generator for each language ... So we copy the Dart generator, paste it as Lisp ... And tweak the Lisp generator for 🛠️

github.com/AppKaki/blockly-uli

Show thread

Previously we've done a Code Generator for Embedded ... But it got complicated because of Type Inference ... Lisp should be simpler, I think 🤔

lupyuen.github.io/articles/adv

Show thread

Yep Web Serial API works with at 2 Mbps ... Soon we shall transfer some uLisp Scripts ... From Blocky (Scratch) to BL602!

googlechromelabs.github.io/ser

Show thread

@lupyuen I might have some insight into the SX1276? issue. It just occurred to me what to do.

Try using sudo and lsusb -v to measure the power being allocated to the BL602 board. I had readings of 98mA. An ammeter would work too. I don't think it's getting the power to emit more radiation.

@AmpBenzScientist Interesting... so we think BL602 might not have sufficient power for the LoRa Module?

Here's what I observed...

(1) BL602 + SX1276 seems to be emitting the right power (see the red chirp)...

lupyuen.github.io/articles/lor

(2) But BL602 + SX1262 seems to be emitting much less power (the faint chirp)...

lupyuen.github.io/articles/lor

If it's a power problem, why is SX1262 affected but not SX1276 🤔

@lupyuen SX1276 is the one I can't use but it's close to 1GHZ. The other uses a frequency about half of that.

@lupyuen As an American I will have scary people hunt me down and put me in the back of a van if I don't abide by FCC regulations. The SX1278 is the only one I can use. If I'm not mistaken it's 915mhz. I also live within rough sensor range of one of the largest Air Force Bases on the East Coast in the US.

@AmpBenzScientist haha it's the same in Singapore. We don't even allow Satellite Dishes 😉

@lupyuen No satellite dishes? They could mandate a mesh size for the parabolic reflector that would mitigate any potential problems for improper use.

@lupyuen Your country is against Chinese influence or for it? My country is both.

@AmpBenzScientist My country is too small ... We won't dare to offend any other country sigh

@lupyuen I don't like minesweeper irl. What are your thoughts on the SX chip problem?

@AmpBenzScientist Hmmm I'm a bit too distracted right now ... Gotta write up about Lisp on BL602 ... Then test the Pine64 LoRa Gateway.

I guess SX1262 works for now, even though it seems suboptimal

@lupyuen DC-DC mode is used for the IC core but the PA is supplied from VBAT. This should be 3.3V for 22+dbi and can be configured with the LDO by connecting VDD_IN + VBAT and ensuring that the voltage is correct. This simplifies the circuit.

I can only assume that the transceiver wasn't getting the optimal voltage from the SDR graphing. Perhaps the weak strength and repeated lower strength sections were from sub or over 3.3V power and the sectors that were weaker are evidence that a component used more power than it did during the other areas. I would say that it's not the correct voltage from what I've seen.

@AmpBenzScientist Hmmm our RFM90 module doesn't expose the VDD_IN from SX1262...

github.com/lupyuen/bl_iot_sdk/

Maybe we put this on hold? I need to take this up with Pine64 before they start selling it 🙂

@lupyuen It would be nice to have a product that doesn't have hardware bugs.

@AmpBenzScientist Aha! Remember "Much of the world is critically underfunded yet critically important"?

It's tough to get exactly what we want in open source ... Because people like me aren't being paid to do this 😉

@lupyuen I would have hoped that their "engineers" could actually Engineer.

Follow

@AmpBenzScientist Ah but the RFM90 engineer might not know how to connect the LoRa module to a LoRaWAN Gateway ... And how to write a proper driver that sets the power amplifier correctly ... They'll just say "refer to the specs" 😉

@lupyuen There are plenty more of these jokes I would like to make but I don't want to go through the catalogue of devices. Or Samsung engineers who made sure that devices could charge safely and properly manage Lithium batteries. That's a good one because it includes laptops, cellphones and tablets from different generations.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.