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
Follow

Drag-n-drop Blinky with these blocks ... Code Generator coming soon ... Try it for yourself here: appkaki.github.io/blockly-ulis

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
Show more
Show more

@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 Frequency and the power required to generate it possibly.

@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.

Show more

@lupyuen It might be necessary to use a better power source for powering the SX chip.

@PawelK @lupyuen These are very different transceivers. The SX1262 might take more energy but the bandwidth is closer to dial up speeds. That's almost double the SX1276. The SX1276 looks like it's losing on all levels. The transmission is a bit more sophisticated and I will need to review the SDR readings to try to better understand what is going on here.

@PawelK @lupyuen It's just a product from Pine. I am not aware of a product they have made that has worked without a massive community effort. Pine makes hardware. The community makes the hardware work. When I got my Braveheart I thought it was broken after a couple of uses. I took it completely apart and photographed it.

It was not broken by me. The battery discharges when powered off and dies after a couple days. I found out why it was getting so hot during use and recommended thermal pads to the developers.

Lee is likely the reason why Pine didn't die. As far as I've seen, he's been involved with every product that they have made. Imagine buying a product that doesn't work at all, working to make it work and never getting paid for it. That's what we do. It's for the community, it's for the knowledge we gain and most importantly for the future.

Show more

@lupyuen@qoto.org might be brave adblocking being weird but nothing happened clicking the play button

@Nonetrix Yep the button doesn't do anything ... Since we don't have an emulator

@lupyuen@qoto.org oh could you use wasm for that I guess but probably would be best to do something in JS

@Nonetrix maybe that button should transmit the uLisp script to BL602 over Web Serial API 🤔

@lupyuen@qoto.org what's that I'm not very familiar with open hardware stuff if that's what it is

@Nonetrix Makecode for BBC micro:bit has an emulator in the web browser, check it out here:

makecode.microbit.org/

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.