-
Hi all,
Complete electronics luddite here. I have the following LCD touchscreen for a project which uses the following chipsets:
I'm just wondering if someone can help me identify the pins and how they map to those on the ST7735 (and if you want to be really helpful how I'd wire these up to an espruino wifi).
Thanks, Lloyd.
-
-
Hi,
Not strictly related to espruino, hope its ok :)
I want to attach this to a cog/something to turn it into a pulley (see my other post from months ago about a chicken door). Thing is there's loads of cheap cog kits on amazon, but they are all for circular shafts, not a flat ended one like this.
Is there an online shop where I can get bits for the physical attachment of things like this?
Any help/pointers appreciated, Lloyd.
-
Yeah it was all relay side, switch out a couple of wires (maybe use something a bit thicker too), and use the higher torque motor.
I did originally try to use a servo and a stepper from geek kit from kickstarter but they were non-(kick)starters.
I've had a look inside a couple of commerical units (mainly because you can see stuff on their install videos and it looks like a geared DC motor (e.g. https://youtu.be/Kw6RZGMiz7I?t=2m22s
)As for charging, the commerical units run off 4 AA for a couple of years happily, so the large 4.7v LiPo (4.7v 2700mAh HJ7534100) should go for some time without charging, but that's boring, I was looking at https://www.ebay.co.uk/itm/NEW-Mini-Solar-Lipo-Charger-Board-CN3065-Lithium-Battery-Charger-Board-Module/173335088589?_trkparms=aid%3D111001%26algo%3DREC.SEED%26ao%3D1%26asc%3D20160908105057%26meid%3D42ddb3fc36d742b49a20773034fd7809%26pid%3D100675%26rk%3D2%26rkt%3D15%26sd%3D163059043652%26itm%3D173335088589&_trksid=p2481888.c100675.m4236&_trkparms=pageci%3Ab37bf9ca-6faa-11e8-8bde-74dbd1800b6a%7Cparentrq%3Afd5a852a1630aada0a15920bfffaf3e8%7Ciid%3A1 and then a small solar panel just to trickle charge it when the sun is around. Its going to be two motor winds a day, and two wifi connections to send a message and then deep sleep so I don't think it'll use much.
Anyway, whilst I wait for the motor I've got some nesting boxes to build. Thanks for all the help
-
So got it all spinning in each direction. Rigged up a coffee cup lid and connected it to the motor.
Didn't use my brain and the motor wasn't able to lift the chicken door (<500g) but ignored it, and we'll the wires started smoking, from memory impedance?
Anyway I've now ordered a higher torque motor which I can just swap in (it can lift up to 2.5kg apparently) https://www.amazon.co.uk/WINOMO-3V-6V-Short-Shaft-Torque/dp/B010SP427I/ref=redir_mobile_desktop?_encoding=UTF8&psc=1&ref_=ya_aw_od_pi
So will give that a go on Friday. The next step is to get some sort of small solar panel and charge unit, seem them for around £6 (I may need to bug you again Gordon!). Just to keep things topped up.
Short term I think it'll just be an LDR and sitting outside with my laptop takin g measurements for door opening Vs closing times. Eventually I'd like to link to WiFi, have a minimum opening time of 7am, and then something ~45 minutes after sunset. LDR is cheaper and doesn't involve me doing the WiFi/cat5 to our garden (longer term plan regardless). Oh and to report that the door is open and closed (WiFi could also periodically sync the time).
Once the motor is working on the door it'll just be two reed switches to ensure door opens and closes at the right point rather than relying on timing which could go wrong, or something could slip (I think commercial systems just rely on time and calibration - maybe good enough, bit reed switches aren't expensive!).
I'll write up the chicken door at some point. Theres a couple of Arduino examples. But it would be good to get an espruino example shared because it's such a great project and I've done it with very little experience and knowledge (except my JS).
Thanks!
-
Actually i've found this online using an arduino, looks good, https://drive.google.com/file/d/1fFhEGzO6kGI7plBqrEAgKL9d_WUagGxj/view, I'll try this.
-
-
-
Using a system very similar to http://www.espruino.com/Heater+Controller
I can see the relay is being switched on and off because I se the IN1 flashing in time with LED on my pico.
However I get nothing from the motor. If I connect the motor across the battery terminals is goes like crazy.
If I move the yellow cable from pin 3 (? leftmost of K1) to pin 1 the motor goes like crazy but there's no switching it off.
I'm clearly going wrong somewhere very simple, little help? Thanks, Lloyd.
-
-
Hi,
I was wondering if anyone could help/make suggestions.
I have a solar setup on the roof which, via the inverter, sends data to a portal giving me information on generation, power import, power export, and self consumption. The PV installer sold me on the ability to measure this data internally via a modbus interface. This is partly true in that I can measure the solar generation, but the import/export meter can only send data to the portal, or provide data via modbus, not both.
I've looked at the price of an additional meter is £200, plus wiring it up, and configuring. But I also have a few original espruino and a few picos hanging around, so why not try myself?
A CT (current transform) clamp is about £15, so one wrapped around my electricity meter (one external, one internal) should give me the data I need (....I think).
I guess I'd get the espruino to convert analogue current measurements to digital, calibrate with my portal data, and then just log somewhere (probably socket connection to home server).
Has anyone done anything like this? Any suggestions about where to start - apart from buying the clamps :)
Cheers, Lloyd.
-
-
Going to make up the addressable LED project for controllable lighting in my living room, I've bought a string of 50 LEDs (bright enough for a 3.5x3.5m room?) but I'm looking for a suitable power supply.
Looking at the math a 2A power supply should be ok, but I'd prefer a bit of headroom (plus if lights aren't bright enough I'll double numbers and reduce spacing). I've come across this on amazon and wondering if it would be suitable? http://www.amazon.co.uk/Slingbox-Sling-Replacement-Supply-Adapter/dp/B008FZ4DZ0/ref=pd_bxgy_ce_text_y
Open to other suggestions too.
Planning on doing standard brightness/colour ideas with changing patterns but also thinking of hooking it up to a browser with webaudio and projecting a spectrum analyser type pattern on the wall. If I get there/am successful I'll post the code.
Thanks for any help, Lloyd.
Thanks @Gordon! Will get back if (really "when") I'm stuck :)