SuperHouseTV #16: Compiling Arduino sketches on Pocket CHIP
Vložit
- čas přidán 25. 08. 2024
- * www.superhouse....
* www.superhouse....
Do your ever find yourself inside your ceiling or under the floor working on your home automation system, and need to SSH to a remote machine or re-flash an Arduino? I may have found the answer.
SuperHouse:
- www.superhouse.tv
- superhousetv
- superhousetv/
Jonathan Oxer:
- jonoxer/
- jonoxer
Please support me on Patreon: www.patreon.com/superhouse - Věda a technologie
I just received a few chips past weekend and not only are they amazing in build quality, they are just well designed from a to z. I have five woking units. With the Raspi I had one faulty unit in a shipment of four. I will put some chips into the wall - their size allows for installation in a regular sized power socket cup (in Germany). With a NFC extended chip and a bunch of NFC enabled Arduinos on each floor of the house ... I'm looking at my own super house rather soon. Thanks for testing and backing the PocketChip. Cheers!
Actually, you CAN flash an Arduino board with your phone ! :) Of course, it's easier with a bigger screen.
Anyway, another great video ! Thanks :)
Phone screens are generally much better than the Pocket CHIP screen, which is really limited so there's no real advantage there for the CHIP. The main advantage of doing it with CHIP is that it runs Linux so it's easy to install a full development environment, and that it has a USB host port so you can just plug in an MCU board like you would with a normal computer. Everything can be done locally with no reliance on annoying cloud services (or any Internet connection at all) so it'll work anywhere, any time.
Actually, most Android phones have a USB host port (with USB OTG), and you can also install a full development environment (editor, compiler, uploader), no need for annoying cloud services !
Next time incorporate an ESP8266 module with the project and update the firmware OTA with WiFi from now on :) No more crawling under the house! If done right you can set up a server, drop an updated firmware to the server and the arduino will auto update.
Yes, I already do that too. This was just one example of how the Pocket CHIP can be useful.
I'm getting my pocket chip system soon. Good to know i can do SSH and to use it on my Arduino. Thanks for the share :)
THX for share bro
Looking forward to receiving mine!
Yes, or you could use an o
OTG adapter (if your requires this) an upload an write sketches easily! Works well! Even burning the bootloader.
Got to use one in a little maker studio, was really cool.
Thk a lot , very helpful , you have a clever way to explain things thanks again
Well done. Subscribed.
For the CHIP. I have been looking at it to be used as a gateway. Serial, bluetooth, wifi and radio. For example. I could install one or more arduino in the greenhouse. Monitor a number of different environment, soil and maybe two to four cameras. Since it's remove it could be used to receive Radio transmissions from the central controller in the greenhouse which maybe an arduino mega or perhaps as another CHIP. Another fit for this is simple services. For example, DHCP, to remotely push a new update, etc. For the web server am still at a loss of what would really fit the bill. I could easily stand up a standard server which will remote all of the information and present them on dashboards where you could open a different page for that object for more data, configuration changes, etc. But yes, it does fit the bill for allot of possibilities. But even with the reduced storage option you could add a shield or just connect to a NFS server somewhere that has the storage. It can pull or update those files through that methodology.
I love the design and screen of this thing. I wonder if it would be possible to connect a raspberry pi to this thing?
Nice video ☺️
I can't wait for it to arrive. I pre-ordered it and it should've been here a month ago, but they delayed production and I won't receive it until September :(
It looks like CHIP has been far more successful than the makers expected. They seem to be doing a good job scaling up production though, so you should get yours eventually.
SuperHouseTV Yes, however they made a few peculiar choices in the progress. Instead of first producing the pre-orders that people have made in order to back up the mass production of the thing, they stopped producing those and scaled up production first.
This means that the initial promise that was made to many of the people who pre-ordered the device has been broken purposefully. Now, I don't mind waiting at all, but I won't be able to actually use the CHIP for months now after I finally receive it. That's a shame really.
Dont forget to try the new pocketchip version 4.4, adds drivers for the gpu and mcl nand support so the internal storage is now 8Gb!
Hi SuperHouseTV i'd like to just get your thoughts on one thing
do you think you'd be able to hook up some kind of GSM module so the Pocket CHIP (the one that looks like the Game Bog)
Sure! There are GSM modules with simple serial interfaces (driven by old-school AT commands, even) that could connect to a UART on the CHIP. I've used ADH8066 modules in the past, but they're out of production now. There are plenty of equivalent modules though.
epic as i've seen these videos of people using Arduino and GSM boards and i had just through to myself i'd love to be able to send and receive texts of this thing but i'll keep this in mind and thank you very much for answering my question :)
That's neat could be useful for a lot of applications were laptops are awkward like maybe car tuning.
Looks handy, what about battery life?
Hmm I wonder if there is going to be an osciliscope add on to it then it would be quite handy
Oooh, now that's a cool idea. The Pocket CHIP already has IO breakouts along the top edge.
I can see a daughter board in the works coming soon ...
Yes but you might need a pretty fast dac to cope with the signal inputs
Depends what bandwidth you want to measure. Even a basic Arduino reading some values from its internal ADC is useful in some situations. In Practical Arduino I showed how to make a super simple scope / logic analyser: www.practicalarduino.com/projects/scope-logic-analyzer
Very interesting! Does the CHIP know when external power has been removed and it's running from LiPO? Can the OS be signalled to shut down cleanly?
There's access to a variety of charge information including battery voltage. This may be useful: www.reddit.com/r/ChipCommunity/comments/4otxsp/script_for_checking_battery_life_on_pocket_chip/
Perfect, thank you :-)
Damn your camera focus is a fast one! @2:02
I was also thinking given the nature of the rugged design it would be perfect for an obd 2 scanner for the car which im currently looking for a cheap alternative
It has Bluetooth built in, so you could bind a BT OBD-II dongle to it. Similar to what I did in the vehicle datalogger project in Practical Arduino. Or you could use a hard-wired serial dongle, or create a specific CANbus adapter.
Yes sadly I think my newly aquired 96 suby Liberty wagon has the earlier 9 pin obd 2 so I think I will need to grab an adapter cable and even then the scanners may not be compatible with the Ecuador on the suby
dtec30 That was right around the time that manufacturers were first implementing OBD-II, so there were a few strange variations around. Hopefully you can make up a cable to suit it.
yeah i was hoping it would be "normal" lol maybe the next car might be more up to date
I reflash my Gameboy flash cart on my phone. :) But yeah, PocketCHIP is good for that
15:09 i think there was a lion with you who was interested in your pocketchip
The Chip with version 4.4 software on it has 8GB ram.
the 4.4 update added a new mcl driver that made all current existing chips capable of accessing all 8Gb of FLASH, not ram, ram is still at 512mb. also this 8gb upgrade is only for existing models, all new chips ship with a true 4gb flash chip
Understand what you have is the platform to PICO. A rather curious and easy-to-learn programming language geared for writing video games. But yes, the keyboard is scheisse and ruins the whole thing.
You say the cost is $9 but not really honest. I disagree, the price is very honest. All devices have wires, cables and accessories that are required or could be added and used. The Pi for example requires a memory card, they all require a power source. I hope the best for CHIP because competition brings us more options as consumers.
For managing your arduino compatibele devices (and other devices you need to connect to via serial link for updating firmware/debugging) you might want to check out esp-link - connect to the device over wifi using a cheap esp8266. github.com/jeelabs/esp-link
Very cool
So, this runs some kind of Linux distro, right?
Why not build an app that runs on the Pocket CHIP, that does all the SSH stuff in a nice "app shell".
I have been using Xojo (www.xojo.com) to make all sorts of apps for my iPhone, Mac, Windows Linux and some raspberry pi projects. Works like a charm. I think it might be worth your while to check it out. Xojo is rather easy to use: It is a lot like Visual Basic.
I play a lot with the shell commands. Making a nice interface makes it easier to work in those environments like your attic. You could build a flash app, to update your hard-to-reach boards.
lol, the modern day diy! no seriously you could see someone liking that to fit a house up with "linux powered" home automation
That's exactly what I use it for
look at arduinodroid on google play
Damn I lusted after this thing and still want it but I just don't have the $$$
watching this in 2023
Heh, not a very useful way to spend time though!
If you don't want to drag an expensive laptop in your crawl space why not just buy an older thinkpad? The hardware is fine for linux and they're pretty cheap, so if you break it you're only out maybe $200 instead of $3000.
Sure, that's another option. But the PocketCHIP will be $69, has a sealed keyboard and a case that I'd confidently drop on the ground from shoulder height, and it literally fits in my pocket. For most things I'd agree that a second hand laptop is better than a PocketCHIP, but I'm surprised to find that I really like this little thing.
For a price like that the PocketCHIP actually sounds better than a used thinkpad for a lot of purposes you'd normally go to a small thinkpad for. I would like to see a version with just the screen bits and maybe a stand instead of a keyboard though.
ergonomy of this thing is very horribly designed. I think look and feel of OQO computers is masterpiece for this kind of portable devices.
Seems that this pocketCHIP has no future. Searched eBay - nothing. Even link you provided - no price tag on it. I don't to buy something unknown.
I wouldn't expect to find it on eBay. It was a hugely successful Kickstarter that has just finished fulfilling $2M of backer orders, and only became available for order by the general public within the last couple of days. It's available for order right now from their site, with the price shown: getchip.com/pages/store
@@SuperHouseTV Too bad that link doesn't work at this point...
Dude! Move the mic out if your throat. I can hear you swallow and breathe. Super annoying.